Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Add Feature Firebase Invites #362 (additional TypeScript support)
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jun 2, 2017
1 parent de2d42e commit 35d183b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions firebase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,16 @@ export interface SendInvitationOptions {
iosClientID?: string;
}

export interface SendInvitationResult {
count: number,
invitationIds: any
}

export interface GetInvitationResult {
deeplink: any;
invitationId: any;
}

export function init(options?: InitOptions): Promise<any>;

// Database
Expand Down Expand Up @@ -712,6 +722,6 @@ export function unsubscribeFromTopic(topicName): Promise<any>;
export function sendCrashLog(options: SendCrashLogOptions): Promise<any>;

// invites
export function sendInvitation(options: SendInvitationOptions): Promise<any>;
export function sendInvitation(options: SendInvitationOptions): Promise<SendInvitationResult>;

export function getInvitation(): Promise<any>
export function getInvitation(): Promise<GetInvitationResult>

0 comments on commit 35d183b

Please sign in to comment.