UNPKG

@salesforce/core

Version:

Core libraries to interact with SFDX projects, orgs, and APIs.

11 lines (10 loc) 637 B
import { AuthFields } from './authInfo'; import { ScratchOrgInfo } from './scratchOrgTypes'; export declare const scratchOrgLifecycleEventName = "scratchOrgLifecycleEvent"; export declare const scratchOrgLifecycleStages: readonly ["prepare request", "send request", "wait for org", "available", "authenticate", "deploy settings", "done"]; export type ScratchOrgLifecycleEvent = { stage: (typeof scratchOrgLifecycleStages)[number]; scratchOrgInfo?: ScratchOrgInfo; }; export declare const emit: (event: ScratchOrgLifecycleEvent) => Promise<void>; export declare const emitPostOrgCreate: (authFields: AuthFields) => Promise<void>;