UI for Zipcoin Blue

app.d.ts 654B

123456789101112131415161718
  1. import { AppAssociation, AppDetails, AssociationType, IApp, IClient, IPaginator, Response } from '../definitions';
  2. export declare class App implements IApp {
  3. token: string;
  4. protected client: IClient;
  5. constructor(token: string, client: IClient);
  6. load(app_id: string): Promise<AppDetails>;
  7. paginate(): Promise<IPaginator<Response<AppDetails[]>>>;
  8. create({name}: {
  9. name: string;
  10. }): Promise<AppDetails>;
  11. createAssociation(id: string, association: {
  12. repoId: number;
  13. type: AssociationType;
  14. branches: string[];
  15. }): Promise<AppAssociation>;
  16. deleteAssociation(id: string): Promise<void>;
  17. }