UNPKG

637 BTypeScriptView Raw
1import { AuthFields } from './authInfo';
2import { ScratchOrgInfo } from './scratchOrgTypes';
3export declare const scratchOrgLifecycleEventName = "scratchOrgLifecycleEvent";
4export declare const scratchOrgLifecycleStages: readonly ["prepare request", "send request", "wait for org", "available", "authenticate", "deploy settings", "done"];
5export interface ScratchOrgLifecycleEvent {
6 stage: typeof scratchOrgLifecycleStages[number];
7 scratchOrgInfo?: ScratchOrgInfo;
8}
9export declare const emit: (event: ScratchOrgLifecycleEvent) => Promise<void>;
10export declare const emitPostOrgCreate: (authFields: AuthFields) => Promise<void>;