Skip to content

Commit

Permalink
feat: typings for CMS-2768 CMS-2769 CMS-2770
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-scherzinger committed May 8, 2017
1 parent ac5a465 commit 1907fcc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions typings/PublicAPI.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ export declare class PublicAPI extends Core {
resolve(reload: boolean): PublicAPI;

modelList(): any;

setClientID(clientID: string): PublicAPI;

login(email: string, password: string): Promise<string>;

logout(): Promise<void>;

emailAvailable(email: string): Promise<boolean>;

signup(email: string, password: string, invite: string): Promise<string>;

resetPassword(email: string): Promise<undefined>;
}

type environment = 'live' | 'stage' | 'nightly' | 'develop';

0 comments on commit 1907fcc

Please sign in to comment.