1 | import { SfProjectJson } from '../sfProject';
|
2 | import { Org } from './org';
|
3 | import { ScratchOrgInfo } from './scratchOrgTypes';
|
4 | type PartialScratchOrgInfo = Pick<ScratchOrgInfo, 'ConnectedAppConsumerKey' | 'AuthCode' | 'Snapshot' | 'Status' | 'LoginUrl' | 'SignupEmail' | 'SignupUsername' | 'SignupInstance' | 'Username'>;
|
5 | export interface ScratchOrgInfoPayload extends PartialScratchOrgInfo {
|
6 | orgName: string;
|
7 | package2AncestorIds: string;
|
8 | features: string | string[];
|
9 | connectedAppConsumerKey: string;
|
10 | namespace: string;
|
11 | connectedAppCallbackUrl: string;
|
12 | durationDays: number;
|
13 | }
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | export declare const getAncestorIds: (scratchOrgInfo: ScratchOrgInfoPayload, projectJson: SfProjectJson, hubOrg: Org) => Promise<string>;
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare const generateScratchOrgInfo: ({ hubOrg, scratchOrgInfoPayload, nonamespace, ignoreAncestorIds, }: {
|
31 | hubOrg: Org;
|
32 | scratchOrgInfoPayload: ScratchOrgInfoPayload;
|
33 | nonamespace?: boolean | undefined;
|
34 | ignoreAncestorIds?: boolean | undefined;
|
35 | }) => Promise<ScratchOrgInfoPayload>;
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 | export declare const getScratchOrgInfoPayload: (options: {
|
52 | durationDays: number;
|
53 | definitionjson?: string;
|
54 | definitionfile?: string;
|
55 | connectedAppConsumerKey?: string;
|
56 | nonamespace?: boolean;
|
57 | noancestors?: boolean;
|
58 | orgConfig?: Record<string, unknown>;
|
59 | }) => Promise<{
|
60 | scratchOrgInfoPayload: ScratchOrgInfoPayload;
|
61 | ignoreAncestorIds: boolean;
|
62 | warnings: string[];
|
63 | }>;
|
64 | export {};
|