-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented eventarc event publishing API (#1617)
- Loading branch information
Showing
12 changed files
with
2,022 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
## API Report File for "firebase-admin.eventarc" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
/// <reference types="node" /> | ||
|
||
import { Agent } from 'http'; | ||
|
||
// @public | ||
export class Channel { | ||
readonly allowedEventTypes?: string[]; | ||
get eventarc(): Eventarc; | ||
get name(): string; | ||
publish(events: CloudEvent | CloudEvent[]): Promise<void>; | ||
} | ||
|
||
// @public | ||
export interface ChannelOptions { | ||
allowedEventTypes?: string[] | string | undefined; | ||
} | ||
|
||
// @public | ||
export interface CloudEvent { | ||
[key: string]: any; | ||
data?: object | string; | ||
datacontenttype?: string; | ||
id?: string; | ||
source?: string; | ||
specversion?: CloudEventVersion; | ||
subject?: string; | ||
time?: string; | ||
type: string; | ||
} | ||
|
||
// @public | ||
export type CloudEventVersion = '1.0'; | ||
|
||
// @public | ||
export class Eventarc { | ||
// Warning: (ae-forgotten-export) The symbol "App" needs to be exported by the entry point index.d.ts | ||
get app(): App; | ||
channel(name: string, options?: ChannelOptions): Channel; | ||
channel(options?: ChannelOptions): Channel; | ||
} | ||
|
||
// @public | ||
export function getEventarc(app?: App): Eventarc; | ||
|
||
``` |
Oops, something went wrong.