@copado/agentia-cli 0.83.0-alpha.0 → 0.85.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +695 -162
- package/dist/commands/cicd/metadata/dependency/list.js +1 -1
- package/dist/commands/cicd/metadata/dependency/list.js.map +1 -1
- package/dist/commands/cicd/pipeline/connection/create.d.ts +19 -0
- package/dist/commands/cicd/pipeline/connection/create.js +67 -0
- package/dist/commands/cicd/pipeline/connection/create.js.map +1 -0
- package/dist/commands/cicd/pipeline/connection/delete.d.ts +15 -0
- package/dist/commands/cicd/pipeline/connection/delete.js +62 -0
- package/dist/commands/cicd/pipeline/connection/delete.js.map +1 -0
- package/dist/commands/cicd/pipeline/connection/open.d.ts +12 -0
- package/dist/commands/cicd/pipeline/connection/open.js +30 -0
- package/dist/commands/cicd/pipeline/connection/open.js.map +1 -0
- package/dist/commands/cicd/pipeline/connection/update.d.ts +19 -0
- package/dist/commands/cicd/pipeline/connection/update.js +55 -0
- package/dist/commands/cicd/pipeline/connection/update.js.map +1 -0
- package/dist/commands/cicd/pipeline/create.d.ts +19 -0
- package/dist/commands/cicd/pipeline/create.js +42 -0
- package/dist/commands/cicd/pipeline/create.js.map +1 -0
- package/dist/commands/cicd/pipeline/list.d.ts +3 -0
- package/dist/commands/cicd/pipeline/list.js +5 -3
- package/dist/commands/cicd/pipeline/list.js.map +1 -1
- package/dist/commands/cicd/pipeline/stage-connection/create.d.ts +12 -0
- package/dist/commands/cicd/pipeline/stage-connection/create.js +33 -0
- package/dist/commands/cicd/pipeline/stage-connection/create.js.map +1 -0
- package/dist/commands/cicd/pipeline/stage-connection/delete.d.ts +16 -0
- package/dist/commands/cicd/pipeline/stage-connection/delete.js +34 -0
- package/dist/commands/cicd/pipeline/stage-connection/delete.js.map +1 -0
- package/dist/commands/cicd/pipeline/stage-connection/list.d.ts +10 -0
- package/dist/commands/cicd/pipeline/stage-connection/list.js +37 -0
- package/dist/commands/cicd/pipeline/stage-connection/list.js.map +1 -0
- package/dist/commands/cicd/pipeline/stage-connection/open.d.ts +12 -0
- package/dist/commands/cicd/pipeline/stage-connection/open.js +16 -0
- package/dist/commands/cicd/pipeline/stage-connection/open.js.map +1 -0
- package/dist/commands/cicd/pipeline/stage-connection/update.d.ts +15 -0
- package/dist/commands/cicd/pipeline/stage-connection/update.js +38 -0
- package/dist/commands/cicd/pipeline/stage-connection/update.js.map +1 -0
- package/dist/commands/cicd/pipeline/update.d.ts +20 -0
- package/dist/commands/cicd/pipeline/update.js +52 -0
- package/dist/commands/cicd/pipeline/update.js.map +1 -0
- package/dist/commands/cicd/stage/create.d.ts +14 -0
- package/dist/commands/cicd/stage/create.js +28 -0
- package/dist/commands/cicd/stage/create.js.map +1 -0
- package/dist/commands/cicd/stage/delete.d.ts +14 -0
- package/dist/commands/cicd/stage/delete.js +28 -0
- package/dist/commands/cicd/stage/delete.js.map +1 -0
- package/dist/commands/cicd/stage/get.d.ts +10 -0
- package/dist/commands/cicd/stage/get.js +17 -0
- package/dist/commands/cicd/stage/get.js.map +1 -0
- package/dist/commands/cicd/stage/list.d.ts +12 -0
- package/dist/commands/cicd/stage/list.js +27 -0
- package/dist/commands/cicd/stage/list.js.map +1 -0
- package/dist/commands/cicd/stage/open.d.ts +12 -0
- package/dist/commands/cicd/stage/open.js +16 -0
- package/dist/commands/cicd/stage/open.js.map +1 -0
- package/dist/commands/cicd/stage/update.d.ts +14 -0
- package/dist/commands/cicd/stage/update.js +30 -0
- package/dist/commands/cicd/stage/update.js.map +1 -0
- package/dist/lib/dependency-from-changes.d.ts +3 -2
- package/dist/lib/dependency-from-changes.js +58 -48
- package/dist/lib/dependency-from-changes.js.map +1 -1
- package/dist/lib/mcp/tools.d.ts +134 -2
- package/dist/lib/mcp/tools.js +383 -5
- package/dist/lib/mcp/tools.js.map +1 -1
- package/dist/lib/navigation.d.ts +1 -1
- package/dist/lib/navigation.js +3 -0
- package/dist/lib/navigation.js.map +1 -1
- package/dist/lib/pipeline-connection-flags.d.ts +62 -0
- package/dist/lib/pipeline-connection-flags.js +309 -0
- package/dist/lib/pipeline-connection-flags.js.map +1 -0
- package/dist/lib/pipeline-flags.d.ts +74 -0
- package/dist/lib/pipeline-flags.js +154 -0
- package/dist/lib/pipeline-flags.js.map +1 -0
- package/dist/lib/pipeline-stage-connection-flags.d.ts +25 -0
- package/dist/lib/pipeline-stage-connection-flags.js +46 -0
- package/dist/lib/pipeline-stage-connection-flags.js.map +1 -0
- package/dist/lib/pipeline-types.d.ts +91 -2
- package/dist/lib/pipeline-types.js +51 -5
- package/dist/lib/pipeline-types.js.map +1 -1
- package/dist/lib/sdr-metadata-registry.generated.d.ts +18 -0
- package/dist/lib/sdr-metadata-registry.generated.js +6330 -0
- package/dist/lib/sdr-metadata-registry.generated.js.map +1 -0
- package/dist/lib/sdr-path-resolver.d.ts +7 -0
- package/dist/lib/sdr-path-resolver.js +116 -0
- package/dist/lib/sdr-path-resolver.js.map +1 -0
- package/dist/lib/stage-flags.d.ts +19 -0
- package/dist/lib/stage-flags.js +29 -0
- package/dist/lib/stage-flags.js.map +1 -0
- package/dist/lib/stage-types.d.ts +67 -0
- package/dist/lib/stage-types.js +69 -0
- package/dist/lib/stage-types.js.map +1 -0
- package/oclif.manifest.json +2977 -1858
- package/package.json +3 -2
|
@@ -1,18 +1,35 @@
|
|
|
1
|
+
import type { PipelineStageConnection } from './stage-types.js';
|
|
1
2
|
import { type ListPaginationQuery, type PaginatedListResult } from './list-pagination.js';
|
|
3
|
+
export declare const PIPELINE_PLATFORMS: readonly ["Salesforce", "SFDX", "Heroku", "Mulesoft", "Marketing", "Other"];
|
|
4
|
+
export type PipelinePlatform = (typeof PIPELINE_PLATFORMS)[number];
|
|
5
|
+
export declare const PIPELINE_CALCULATE_BASED_ON_VALUES: readonly ["User Story", "Branch"];
|
|
6
|
+
export type PipelineCalculateBasedOn = (typeof PIPELINE_CALCULATE_BASED_ON_VALUES)[number];
|
|
7
|
+
export declare const PIPELINE_CONNECTION_SYNC_STATE_NEEDS_RECALCULATING = "Needs recalculating";
|
|
2
8
|
export type Pipeline = {
|
|
9
|
+
active?: boolean | null;
|
|
10
|
+
blockCommits?: boolean | null;
|
|
11
|
+
calculateBasedOn?: null | PipelineCalculateBasedOn;
|
|
12
|
+
enableSmartConflictResolution?: boolean | null;
|
|
13
|
+
gitRepositoryId?: null | string;
|
|
3
14
|
id?: null | string;
|
|
4
15
|
mainBranch?: null | string;
|
|
5
16
|
name?: null | string;
|
|
6
17
|
pipelineConnections?: PipelineConnection[];
|
|
18
|
+
platform?: null | PipelinePlatform;
|
|
7
19
|
};
|
|
8
20
|
export type PipelineConnection = {
|
|
9
21
|
branch?: null | string;
|
|
10
22
|
destinationBranch?: null | string;
|
|
11
23
|
destinationEnvironment?: Environment | null;
|
|
24
|
+
destinationEnvironmentId?: null | string;
|
|
12
25
|
id?: null | string;
|
|
13
26
|
name?: null | string;
|
|
14
27
|
pipelineId?: null | string;
|
|
15
28
|
sourceEnvironment?: Environment | null;
|
|
29
|
+
sourceEnvironmentId?: null | string;
|
|
30
|
+
stageConnectionId?: null | string;
|
|
31
|
+
syncMergeState?: null | string;
|
|
32
|
+
syncPullState?: null | string;
|
|
16
33
|
};
|
|
17
34
|
export type Environment = {
|
|
18
35
|
id?: string;
|
|
@@ -47,6 +64,53 @@ export type QualityGateRuleCondition = {
|
|
|
47
64
|
stage?: null | string;
|
|
48
65
|
status?: null | string;
|
|
49
66
|
};
|
|
67
|
+
export type PipelineSystemProperty = {
|
|
68
|
+
apiName?: null | string;
|
|
69
|
+
environmentId?: null | string;
|
|
70
|
+
isGlobal?: boolean;
|
|
71
|
+
isPublic?: boolean;
|
|
72
|
+
isSensitive?: boolean;
|
|
73
|
+
name?: null | string;
|
|
74
|
+
pipelineId?: null | string;
|
|
75
|
+
userId?: null | string;
|
|
76
|
+
value?: null | string;
|
|
77
|
+
};
|
|
78
|
+
export type PipelineMutationPayload = {
|
|
79
|
+
active?: boolean;
|
|
80
|
+
blockCommits?: boolean;
|
|
81
|
+
calculateBasedOn?: PipelineCalculateBasedOn;
|
|
82
|
+
enableSmartConflictResolution?: boolean;
|
|
83
|
+
gitRepositoryId?: string;
|
|
84
|
+
mainBranch?: string;
|
|
85
|
+
name?: string;
|
|
86
|
+
platform?: PipelinePlatform;
|
|
87
|
+
};
|
|
88
|
+
export type PipelineConnectionMutationPayload = {
|
|
89
|
+
branch: string;
|
|
90
|
+
destinationBranch?: string;
|
|
91
|
+
destinationEnvironmentId: string;
|
|
92
|
+
id?: string;
|
|
93
|
+
sourceEnvironmentId: string;
|
|
94
|
+
stageConnectionId?: string;
|
|
95
|
+
syncMergeState?: string;
|
|
96
|
+
syncPullState?: string;
|
|
97
|
+
};
|
|
98
|
+
export type PipelineConnectionUpdatePayload = {
|
|
99
|
+
branch?: string;
|
|
100
|
+
destinationBranch?: string;
|
|
101
|
+
destinationEnvironmentId?: string;
|
|
102
|
+
id: string;
|
|
103
|
+
sourceEnvironmentId?: string;
|
|
104
|
+
stageConnectionId?: string;
|
|
105
|
+
syncMergeState?: string;
|
|
106
|
+
syncPullState?: string;
|
|
107
|
+
};
|
|
108
|
+
export type PipelineConnectionBulkUpdatePayload = {
|
|
109
|
+
connections: PipelineConnectionUpdatePayload[];
|
|
110
|
+
};
|
|
111
|
+
export type PipelineConnectionBulkDeletePayload = {
|
|
112
|
+
connectionIds: string[];
|
|
113
|
+
};
|
|
50
114
|
export type PipelineListPage = {
|
|
51
115
|
currentPage?: number;
|
|
52
116
|
data?: Pipeline[];
|
|
@@ -61,29 +125,54 @@ export type PipelineListResponse = {
|
|
|
61
125
|
message?: string;
|
|
62
126
|
status?: string;
|
|
63
127
|
};
|
|
128
|
+
export type PipelineResponse = {
|
|
129
|
+
data?: Pipeline;
|
|
130
|
+
message?: string;
|
|
131
|
+
status?: string;
|
|
132
|
+
};
|
|
64
133
|
export type PipelineDescribe = {
|
|
134
|
+
active?: boolean | null;
|
|
65
135
|
automations?: AutomationRule[];
|
|
136
|
+
blockCommits?: boolean | null;
|
|
137
|
+
calculateBasedOn?: null | PipelineCalculateBasedOn;
|
|
66
138
|
connections?: PipelineConnection[];
|
|
67
|
-
|
|
139
|
+
enableSmartConflictResolution?: boolean | null;
|
|
140
|
+
gitRepositoryId?: null | string;
|
|
68
141
|
id?: null | string;
|
|
69
142
|
lastJobs?: JobExecution[];
|
|
70
143
|
mainBranch?: null | string;
|
|
71
144
|
name?: null | string;
|
|
145
|
+
platform?: null | PipelinePlatform;
|
|
72
146
|
qualityGates?: QualityGateRuleCondition[];
|
|
73
147
|
repository?: GitRepository | null;
|
|
148
|
+
stageConnections?: PipelineStageConnection[];
|
|
149
|
+
systemProperties?: PipelineSystemProperty[];
|
|
74
150
|
};
|
|
75
151
|
export type PipelineDescribeResponse = {
|
|
76
152
|
data?: PipelineDescribe;
|
|
77
153
|
message?: string;
|
|
78
154
|
status?: string;
|
|
79
155
|
};
|
|
80
|
-
export type
|
|
156
|
+
export type PipelineConnectionListResponse = {
|
|
157
|
+
data?: PipelineConnection[];
|
|
158
|
+
message?: string;
|
|
159
|
+
status?: string;
|
|
160
|
+
};
|
|
161
|
+
export type PipelineListFilters = ListPaginationQuery & {
|
|
162
|
+
active?: boolean;
|
|
163
|
+
name?: string;
|
|
164
|
+
platform?: PipelinePlatform;
|
|
165
|
+
};
|
|
81
166
|
export declare function pipelineListEndpoint(filters?: PipelineListFilters): string;
|
|
167
|
+
export declare function pipelineEndpoint(id: string): string;
|
|
82
168
|
export declare function pipelineDescribeEndpoint(id: string): string;
|
|
169
|
+
export declare function pipelineConnectionsEndpoint(pipelineId: string): string;
|
|
83
170
|
export declare function normalizePipelinesListPage(response: Pipeline[] | PipelineListResponse): PaginatedListResult<Pipeline>;
|
|
84
171
|
export declare function normalizePipelines(response: Pipeline[] | PipelineListResponse): Pipeline[];
|
|
172
|
+
export declare function normalizePipeline(response: Pipeline | PipelineResponse): Pipeline;
|
|
85
173
|
export declare function pipelineConnectionsFromPipelines(pipelines: Pipeline[]): PipelineConnection[];
|
|
86
174
|
export declare function normalizePipelineDescribe(response: PipelineDescribe | PipelineDescribeResponse): PipelineDescribe;
|
|
175
|
+
export declare function normalizePipelineConnections(response: PipelineConnection[] | PipelineConnectionListResponse): PipelineConnection[];
|
|
87
176
|
export declare function formatPipelineTable(pipelines: Pipeline[]): string;
|
|
88
177
|
export declare function formatPipelineConnectionTable(connections: PipelineConnection[]): string;
|
|
89
178
|
export declare function formatPipelineDetail(pipeline: PipelineDescribe): string;
|
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
import { cellValue, table } from './format.js';
|
|
2
2
|
import { appendListPaginationQueryParams, paginatedResultFromNestedData, } from './list-pagination.js';
|
|
3
3
|
import { preferSalesforceId } from './salesforce-id.js';
|
|
4
|
+
export const PIPELINE_PLATFORMS = [
|
|
5
|
+
'Salesforce',
|
|
6
|
+
'SFDX',
|
|
7
|
+
'Heroku',
|
|
8
|
+
'Mulesoft',
|
|
9
|
+
'Marketing',
|
|
10
|
+
'Other',
|
|
11
|
+
];
|
|
12
|
+
export const PIPELINE_CALCULATE_BASED_ON_VALUES = ['User Story', 'Branch'];
|
|
13
|
+
export const PIPELINE_CONNECTION_SYNC_STATE_NEEDS_RECALCULATING = 'Needs recalculating';
|
|
4
14
|
export function pipelineListEndpoint(filters = {}) {
|
|
5
15
|
const params = new URLSearchParams();
|
|
16
|
+
if (filters.name !== undefined) {
|
|
17
|
+
params.set('name', filters.name);
|
|
18
|
+
}
|
|
19
|
+
if (filters.active !== undefined) {
|
|
20
|
+
params.set('active', String(filters.active));
|
|
21
|
+
}
|
|
22
|
+
if (filters.platform !== undefined) {
|
|
23
|
+
params.set('platform', filters.platform);
|
|
24
|
+
}
|
|
6
25
|
appendListPaginationQueryParams(params, filters);
|
|
7
26
|
const query = params.toString();
|
|
8
27
|
return query.length > 0 ? `/corpus/pipelines?${query}` : '/corpus/pipelines';
|
|
9
28
|
}
|
|
29
|
+
export function pipelineEndpoint(id) {
|
|
30
|
+
return `/corpus/pipelines/${encodeURIComponent(preferSalesforceId(id))}`;
|
|
31
|
+
}
|
|
10
32
|
export function pipelineDescribeEndpoint(id) {
|
|
11
|
-
return
|
|
33
|
+
return `${pipelineEndpoint(id)}/describe`;
|
|
34
|
+
}
|
|
35
|
+
export function pipelineConnectionsEndpoint(pipelineId) {
|
|
36
|
+
return `${pipelineEndpoint(pipelineId)}/connections`;
|
|
12
37
|
}
|
|
13
38
|
export function normalizePipelinesListPage(response) {
|
|
14
39
|
return paginatedResultFromNestedData(response);
|
|
@@ -16,6 +41,12 @@ export function normalizePipelinesListPage(response) {
|
|
|
16
41
|
export function normalizePipelines(response) {
|
|
17
42
|
return normalizePipelinesListPage(response).data;
|
|
18
43
|
}
|
|
44
|
+
export function normalizePipeline(response) {
|
|
45
|
+
if ('data' in response && response.data !== undefined) {
|
|
46
|
+
return response.data;
|
|
47
|
+
}
|
|
48
|
+
return response;
|
|
49
|
+
}
|
|
19
50
|
export function pipelineConnectionsFromPipelines(pipelines) {
|
|
20
51
|
return pipelines.flatMap((pipeline) => pipeline.pipelineConnections ?? []);
|
|
21
52
|
}
|
|
@@ -25,17 +56,30 @@ export function normalizePipelineDescribe(response) {
|
|
|
25
56
|
}
|
|
26
57
|
return response;
|
|
27
58
|
}
|
|
59
|
+
export function normalizePipelineConnections(response) {
|
|
60
|
+
if (Array.isArray(response)) {
|
|
61
|
+
return response;
|
|
62
|
+
}
|
|
63
|
+
if ('data' in response && Array.isArray(response.data)) {
|
|
64
|
+
return response.data;
|
|
65
|
+
}
|
|
66
|
+
return [];
|
|
67
|
+
}
|
|
28
68
|
export function formatPipelineTable(pipelines) {
|
|
29
69
|
return table([
|
|
30
70
|
{ alias: 'ID', value: 'id' },
|
|
31
71
|
{ alias: 'NAME', value: 'name' },
|
|
32
72
|
{ alias: 'MAIN BRANCH', value: 'mainBranch' },
|
|
73
|
+
{ alias: 'PLATFORM', value: 'platform' },
|
|
74
|
+
{ alias: 'ACTIVE', value: 'active' },
|
|
33
75
|
{ alias: 'CONNECTIONS', value: 'connections' },
|
|
34
76
|
], pipelines.map((pipeline) => ({
|
|
77
|
+
active: cellValue(pipeline.active),
|
|
35
78
|
connections: cellValue(pipeline.pipelineConnections?.length ?? 0),
|
|
36
79
|
id: cellValue(pipeline.id),
|
|
37
80
|
mainBranch: cellValue(pipeline.mainBranch),
|
|
38
81
|
name: cellValue(pipeline.name),
|
|
82
|
+
platform: cellValue(pipeline.platform),
|
|
39
83
|
})));
|
|
40
84
|
}
|
|
41
85
|
export function formatPipelineConnectionTable(connections) {
|
|
@@ -50,11 +94,11 @@ export function formatPipelineConnectionTable(connections) {
|
|
|
50
94
|
], connections.map((connection) => ({
|
|
51
95
|
branch: cellValue(connection.branch),
|
|
52
96
|
destinationBranch: cellValue(connection.destinationBranch),
|
|
53
|
-
fromEnvironmentId: cellValue(connection.sourceEnvironment?.id),
|
|
97
|
+
fromEnvironmentId: cellValue(connection.sourceEnvironment?.id ?? connection.sourceEnvironmentId),
|
|
54
98
|
id: cellValue(connection.id),
|
|
55
99
|
name: cellValue(connection.name),
|
|
56
100
|
pipelineId: cellValue(connection.pipelineId),
|
|
57
|
-
toEnvironmentId: cellValue(connection.destinationEnvironment?.id),
|
|
101
|
+
toEnvironmentId: cellValue(connection.destinationEnvironment?.id ?? connection.destinationEnvironmentId),
|
|
58
102
|
})));
|
|
59
103
|
}
|
|
60
104
|
export function formatPipelineDetail(pipeline) {
|
|
@@ -62,9 +106,11 @@ export function formatPipelineDetail(pipeline) {
|
|
|
62
106
|
`ID: ${cellValue(pipeline.id)}`,
|
|
63
107
|
`Name: ${cellValue(pipeline.name)}`,
|
|
64
108
|
`Main Branch: ${cellValue(pipeline.mainBranch)}`,
|
|
65
|
-
`
|
|
109
|
+
`Platform: ${cellValue(pipeline.platform)}`,
|
|
110
|
+
`Active: ${cellValue(pipeline.active)}`,
|
|
111
|
+
`Repository ID: ${cellValue(pipeline.repository?.id ?? pipeline.gitRepositoryId)}`,
|
|
66
112
|
`Repository Name: ${cellValue(pipeline.repository?.name)}`,
|
|
67
|
-
`
|
|
113
|
+
`System Properties: ${cellValue(pipeline.systemProperties?.length ?? 0)}`,
|
|
68
114
|
`Connections: ${cellValue(pipeline.connections?.length ?? 0)}`,
|
|
69
115
|
`Last Jobs: ${cellValue(pipeline.lastJobs?.length ?? 0)}`,
|
|
70
116
|
].join('\n');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline-types.js","sourceRoot":"","sources":["../../src/lib/pipeline-types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pipeline-types.js","sourceRoot":"","sources":["../../src/lib/pipeline-types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAC,MAAM,aAAa,CAAA;AAC5C,OAAO,EACL,+BAA+B,EAG/B,6BAA6B,GAC9B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAA;AAErD,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,UAAU;IACV,WAAW;IACX,OAAO;CACC,CAAA;AAIV,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,YAAY,EAAE,QAAQ,CAAU,CAAA;AAInF,MAAM,CAAC,MAAM,kDAAkD,GAAG,qBAAqB,CAAA;AAoLvF,MAAM,UAAU,oBAAoB,CAAC,UAA+B,EAAE;IACpE,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAA;IAEpC,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;IAClC,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QACjC,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC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CAAC;QAC5C,eAAe,EAAE,SAAS,CAAC,UAAU,CAAC,sBAAsB,EAAE,EAAE,IAAI,UAAU,CAAC,wBAAwB,CAAC;KACzG,CAAC,CAAC,CACJ,CAAA;AACH,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,QAA0B;IAC7D,OAAO;QACL,OAAO,SAAS,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;QAC/B,SAAS,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QACnC,gBAAgB,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;QAChD,aAAa,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QAC3C,WAAW,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACvC,kBAAkB,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,EAAE,IAAI,QAAQ,CAAC,eAAe,CAAC,EAAE;QAClF,oBAAoB,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE;QAC1D,sBAAsB,SAAS,CAAC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,IAAI,CAAC,CAAC,EAAE;QACzE,gBAAgB,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC,EAAE;QAC9D,cAAc,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC,CAAC,EAAE;KAC1D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACd,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const SDR_REGISTRY_SOURCE = "@salesforce/source-deploy-retrieve@12.37.2";
|
|
2
|
+
export type SdrCompactType = {
|
|
3
|
+
name: string;
|
|
4
|
+
directoryName: string;
|
|
5
|
+
suffix?: string;
|
|
6
|
+
adapter: string;
|
|
7
|
+
strictDirectoryName?: boolean;
|
|
8
|
+
ignoreParentName?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type SdrObjectChildType = {
|
|
11
|
+
typeName: string;
|
|
12
|
+
suffix: string;
|
|
13
|
+
ignoreParentName?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const SDR_SUFFIX_TYPES: Record<string, SdrCompactType>;
|
|
16
|
+
export declare const SDR_DIRECTORY_TYPES: Record<string, SdrCompactType>;
|
|
17
|
+
export declare const SDR_BUNDLE_TYPES: SdrCompactType[];
|
|
18
|
+
export declare const SDR_OBJECT_CHILDREN: Record<string, SdrObjectChildType>;
|