@inf-monkeys-tech/monkeys-cli 0.12.24 → 0.12.26
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 +1 -1
- package/README.zh.md +1 -1
- package/dist/command/metadata.d.ts.map +1 -1
- package/dist/command/metadata.js +3 -0
- package/dist/command/metadata.js.map +1 -1
- package/dist/commands/navigation/deactivate.d.ts +18 -0
- package/dist/commands/navigation/deactivate.d.ts.map +1 -0
- package/dist/commands/navigation/deactivate.js +30 -0
- package/dist/commands/navigation/deactivate.js.map +1 -0
- package/dist/declarative/client.d.ts +51784 -21
- package/dist/declarative/client.d.ts.map +1 -1
- package/dist/declarative/client.js +18 -1
- package/dist/declarative/client.js.map +1 -1
- package/dist/declarative/deactivate.d.ts +509 -2
- package/dist/declarative/deactivate.d.ts.map +1 -1
- package/dist/declarative/deactivate.js +30 -13
- package/dist/declarative/deactivate.js.map +1 -1
- package/dist/declarative/lifecycle.d.ts.map +1 -1
- package/dist/declarative/lifecycle.js +37 -0
- package/dist/declarative/lifecycle.js.map +1 -1
- package/dist/transport/http-client.d.ts.map +1 -1
- package/dist/transport/http-client.js +19 -0
- package/dist/transport/http-client.js.map +1 -1
- package/oclif.manifest.json +107 -1
- package/package.json +3 -3
|
@@ -9,11 +9,518 @@ interface Options {
|
|
|
9
9
|
yes?: boolean;
|
|
10
10
|
reason?: string;
|
|
11
11
|
}
|
|
12
|
+
type DeactivatableKind = 'page' | 'navigation';
|
|
13
|
+
export declare function deactivateRelease(kind: DeactivatableKind, options: Options, suppliedClient?: DeclarativeClient): Promise<{
|
|
14
|
+
subscription: string;
|
|
15
|
+
baseUrl: string;
|
|
16
|
+
tenant: string;
|
|
17
|
+
resourceKind: DeactivatableKind;
|
|
18
|
+
resourceId: string;
|
|
19
|
+
action: string;
|
|
20
|
+
releaseSlotId: string;
|
|
21
|
+
routePath: string | undefined;
|
|
22
|
+
dryRun: boolean;
|
|
23
|
+
intent: {
|
|
24
|
+
idempotencyKey: string;
|
|
25
|
+
definitionVersion: number;
|
|
26
|
+
releaseSlotId?: string | undefined;
|
|
27
|
+
releaseExpectedVersion: number;
|
|
28
|
+
publicationExpectedGeneration: number;
|
|
29
|
+
target: {
|
|
30
|
+
environmentRef: {
|
|
31
|
+
kind: string;
|
|
32
|
+
id: string;
|
|
33
|
+
ownerRepo: string;
|
|
34
|
+
visibility: "global" | "public" | "tenant";
|
|
35
|
+
tenantScope?: {
|
|
36
|
+
tenantRef: {
|
|
37
|
+
kind: string;
|
|
38
|
+
id: string;
|
|
39
|
+
ownerRepo: string;
|
|
40
|
+
};
|
|
41
|
+
dataSpaceRef: {
|
|
42
|
+
kind: string;
|
|
43
|
+
id: string;
|
|
44
|
+
ownerRepo: string;
|
|
45
|
+
};
|
|
46
|
+
teamRef?: {
|
|
47
|
+
kind: string;
|
|
48
|
+
id: string;
|
|
49
|
+
ownerRepo: string;
|
|
50
|
+
} | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
};
|
|
53
|
+
environmentRevisionRef: {
|
|
54
|
+
revision: number;
|
|
55
|
+
schemaVersion: number;
|
|
56
|
+
contentHash: string;
|
|
57
|
+
kind: string;
|
|
58
|
+
id: string;
|
|
59
|
+
ownerRepo: string;
|
|
60
|
+
visibility: "global" | "public" | "tenant";
|
|
61
|
+
tenantScope?: {
|
|
62
|
+
tenantRef: {
|
|
63
|
+
kind: string;
|
|
64
|
+
id: string;
|
|
65
|
+
ownerRepo: string;
|
|
66
|
+
};
|
|
67
|
+
dataSpaceRef: {
|
|
68
|
+
kind: string;
|
|
69
|
+
id: string;
|
|
70
|
+
ownerRepo: string;
|
|
71
|
+
};
|
|
72
|
+
teamRef?: {
|
|
73
|
+
kind: string;
|
|
74
|
+
id: string;
|
|
75
|
+
ownerRepo: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
};
|
|
79
|
+
surface: "kernel" | "studio";
|
|
80
|
+
routeClaimIndex?: number | undefined;
|
|
81
|
+
legacyRouteTakeoverAuthorization?: {
|
|
82
|
+
contract: "LegacyRouteTakeoverAuthorization";
|
|
83
|
+
schemaVersion: 1;
|
|
84
|
+
routeSpaceRevisionRef: {
|
|
85
|
+
revision: number;
|
|
86
|
+
schemaVersion: number;
|
|
87
|
+
contentHash: string;
|
|
88
|
+
kind: string;
|
|
89
|
+
id: string;
|
|
90
|
+
ownerRepo: string;
|
|
91
|
+
visibility: "global" | "public" | "tenant";
|
|
92
|
+
tenantScope?: {
|
|
93
|
+
tenantRef: {
|
|
94
|
+
kind: string;
|
|
95
|
+
id: string;
|
|
96
|
+
ownerRepo: string;
|
|
97
|
+
};
|
|
98
|
+
dataSpaceRef: {
|
|
99
|
+
kind: string;
|
|
100
|
+
id: string;
|
|
101
|
+
ownerRepo: string;
|
|
102
|
+
};
|
|
103
|
+
teamRef?: {
|
|
104
|
+
kind: string;
|
|
105
|
+
id: string;
|
|
106
|
+
ownerRepo: string;
|
|
107
|
+
} | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
};
|
|
110
|
+
normalizedPath: string;
|
|
111
|
+
legacyAdapterRevisionRef: {
|
|
112
|
+
revision: number;
|
|
113
|
+
schemaVersion: number;
|
|
114
|
+
contentHash: string;
|
|
115
|
+
kind: string;
|
|
116
|
+
id: string;
|
|
117
|
+
ownerRepo: string;
|
|
118
|
+
visibility: "global" | "public" | "tenant";
|
|
119
|
+
tenantScope?: {
|
|
120
|
+
tenantRef: {
|
|
121
|
+
kind: string;
|
|
122
|
+
id: string;
|
|
123
|
+
ownerRepo: string;
|
|
124
|
+
};
|
|
125
|
+
dataSpaceRef: {
|
|
126
|
+
kind: string;
|
|
127
|
+
id: string;
|
|
128
|
+
ownerRepo: string;
|
|
129
|
+
};
|
|
130
|
+
teamRef?: {
|
|
131
|
+
kind: string;
|
|
132
|
+
id: string;
|
|
133
|
+
ownerRepo: string;
|
|
134
|
+
} | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
};
|
|
137
|
+
sourceRevisionRef: {
|
|
138
|
+
revision: number;
|
|
139
|
+
schemaVersion: number;
|
|
140
|
+
contentHash: string;
|
|
141
|
+
kind: string;
|
|
142
|
+
id: string;
|
|
143
|
+
ownerRepo: string;
|
|
144
|
+
visibility: "global" | "public" | "tenant";
|
|
145
|
+
tenantScope?: {
|
|
146
|
+
tenantRef: {
|
|
147
|
+
kind: string;
|
|
148
|
+
id: string;
|
|
149
|
+
ownerRepo: string;
|
|
150
|
+
};
|
|
151
|
+
dataSpaceRef: {
|
|
152
|
+
kind: string;
|
|
153
|
+
id: string;
|
|
154
|
+
ownerRepo: string;
|
|
155
|
+
};
|
|
156
|
+
teamRef?: {
|
|
157
|
+
kind: string;
|
|
158
|
+
id: string;
|
|
159
|
+
ownerRepo: string;
|
|
160
|
+
} | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
};
|
|
163
|
+
inspectedSourceContentHash: string;
|
|
164
|
+
targetResourceRef: {
|
|
165
|
+
kind: string;
|
|
166
|
+
id: string;
|
|
167
|
+
ownerRepo: string;
|
|
168
|
+
visibility: "global" | "public" | "tenant";
|
|
169
|
+
tenantScope?: {
|
|
170
|
+
tenantRef: {
|
|
171
|
+
kind: string;
|
|
172
|
+
id: string;
|
|
173
|
+
ownerRepo: string;
|
|
174
|
+
};
|
|
175
|
+
dataSpaceRef: {
|
|
176
|
+
kind: string;
|
|
177
|
+
id: string;
|
|
178
|
+
ownerRepo: string;
|
|
179
|
+
};
|
|
180
|
+
teamRef?: {
|
|
181
|
+
kind: string;
|
|
182
|
+
id: string;
|
|
183
|
+
ownerRepo: string;
|
|
184
|
+
} | undefined;
|
|
185
|
+
} | undefined;
|
|
186
|
+
};
|
|
187
|
+
workbenchCatalogDefaults?: {
|
|
188
|
+
order: number;
|
|
189
|
+
isDefaultCandidate: boolean;
|
|
190
|
+
} | undefined;
|
|
191
|
+
contentHash: string;
|
|
192
|
+
} | undefined;
|
|
193
|
+
placement?: string | undefined;
|
|
194
|
+
order?: number | undefined;
|
|
195
|
+
isDefaultCandidate?: boolean | undefined;
|
|
196
|
+
};
|
|
197
|
+
targetReleaseVersion?: number | undefined;
|
|
198
|
+
ttlSeconds?: number | undefined;
|
|
199
|
+
audienceSimulation?: {
|
|
200
|
+
groupRefs: {
|
|
201
|
+
kind: string;
|
|
202
|
+
id: string;
|
|
203
|
+
ownerRepo: string;
|
|
204
|
+
visibility: "global" | "public" | "tenant";
|
|
205
|
+
tenantScope?: {
|
|
206
|
+
tenantRef: {
|
|
207
|
+
kind: string;
|
|
208
|
+
id: string;
|
|
209
|
+
ownerRepo: string;
|
|
210
|
+
};
|
|
211
|
+
dataSpaceRef: {
|
|
212
|
+
kind: string;
|
|
213
|
+
id: string;
|
|
214
|
+
ownerRepo: string;
|
|
215
|
+
};
|
|
216
|
+
teamRef?: {
|
|
217
|
+
kind: string;
|
|
218
|
+
id: string;
|
|
219
|
+
ownerRepo: string;
|
|
220
|
+
} | undefined;
|
|
221
|
+
} | undefined;
|
|
222
|
+
}[];
|
|
223
|
+
permissions: string[];
|
|
224
|
+
} | undefined;
|
|
225
|
+
reason?: string | undefined;
|
|
226
|
+
};
|
|
227
|
+
retainedReleaseSlotIds: string[];
|
|
228
|
+
} | {
|
|
229
|
+
subscription: string;
|
|
230
|
+
baseUrl: string;
|
|
231
|
+
tenant: string;
|
|
232
|
+
resourceKind: DeactivatableKind;
|
|
233
|
+
resourceId: string;
|
|
234
|
+
action: string;
|
|
235
|
+
releaseSlotId: string;
|
|
236
|
+
routePath: string | undefined;
|
|
237
|
+
verified: boolean;
|
|
238
|
+
releaseRevisionRef: {
|
|
239
|
+
revision: number;
|
|
240
|
+
schemaVersion: number;
|
|
241
|
+
contentHash: string;
|
|
242
|
+
kind: string;
|
|
243
|
+
id: string;
|
|
244
|
+
ownerRepo: string;
|
|
245
|
+
visibility: "global" | "public" | "tenant";
|
|
246
|
+
tenantScope?: {
|
|
247
|
+
tenantRef: {
|
|
248
|
+
kind: string;
|
|
249
|
+
id: string;
|
|
250
|
+
ownerRepo: string;
|
|
251
|
+
};
|
|
252
|
+
dataSpaceRef: {
|
|
253
|
+
kind: string;
|
|
254
|
+
id: string;
|
|
255
|
+
ownerRepo: string;
|
|
256
|
+
};
|
|
257
|
+
teamRef?: {
|
|
258
|
+
kind: string;
|
|
259
|
+
id: string;
|
|
260
|
+
ownerRepo: string;
|
|
261
|
+
} | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
};
|
|
264
|
+
retainedReleaseSlotIds: string[];
|
|
265
|
+
}>;
|
|
12
266
|
export declare function deactivatePageRelease(options: Options, suppliedClient?: DeclarativeClient): Promise<{
|
|
13
267
|
subscription: string;
|
|
14
268
|
baseUrl: string;
|
|
15
269
|
tenant: string;
|
|
16
|
-
resourceKind:
|
|
270
|
+
resourceKind: DeactivatableKind;
|
|
271
|
+
resourceId: string;
|
|
272
|
+
action: string;
|
|
273
|
+
releaseSlotId: string;
|
|
274
|
+
routePath: string | undefined;
|
|
275
|
+
dryRun: boolean;
|
|
276
|
+
intent: {
|
|
277
|
+
idempotencyKey: string;
|
|
278
|
+
definitionVersion: number;
|
|
279
|
+
releaseSlotId?: string | undefined;
|
|
280
|
+
releaseExpectedVersion: number;
|
|
281
|
+
publicationExpectedGeneration: number;
|
|
282
|
+
target: {
|
|
283
|
+
environmentRef: {
|
|
284
|
+
kind: string;
|
|
285
|
+
id: string;
|
|
286
|
+
ownerRepo: string;
|
|
287
|
+
visibility: "global" | "public" | "tenant";
|
|
288
|
+
tenantScope?: {
|
|
289
|
+
tenantRef: {
|
|
290
|
+
kind: string;
|
|
291
|
+
id: string;
|
|
292
|
+
ownerRepo: string;
|
|
293
|
+
};
|
|
294
|
+
dataSpaceRef: {
|
|
295
|
+
kind: string;
|
|
296
|
+
id: string;
|
|
297
|
+
ownerRepo: string;
|
|
298
|
+
};
|
|
299
|
+
teamRef?: {
|
|
300
|
+
kind: string;
|
|
301
|
+
id: string;
|
|
302
|
+
ownerRepo: string;
|
|
303
|
+
} | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
};
|
|
306
|
+
environmentRevisionRef: {
|
|
307
|
+
revision: number;
|
|
308
|
+
schemaVersion: number;
|
|
309
|
+
contentHash: string;
|
|
310
|
+
kind: string;
|
|
311
|
+
id: string;
|
|
312
|
+
ownerRepo: string;
|
|
313
|
+
visibility: "global" | "public" | "tenant";
|
|
314
|
+
tenantScope?: {
|
|
315
|
+
tenantRef: {
|
|
316
|
+
kind: string;
|
|
317
|
+
id: string;
|
|
318
|
+
ownerRepo: string;
|
|
319
|
+
};
|
|
320
|
+
dataSpaceRef: {
|
|
321
|
+
kind: string;
|
|
322
|
+
id: string;
|
|
323
|
+
ownerRepo: string;
|
|
324
|
+
};
|
|
325
|
+
teamRef?: {
|
|
326
|
+
kind: string;
|
|
327
|
+
id: string;
|
|
328
|
+
ownerRepo: string;
|
|
329
|
+
} | undefined;
|
|
330
|
+
} | undefined;
|
|
331
|
+
};
|
|
332
|
+
surface: "kernel" | "studio";
|
|
333
|
+
routeClaimIndex?: number | undefined;
|
|
334
|
+
legacyRouteTakeoverAuthorization?: {
|
|
335
|
+
contract: "LegacyRouteTakeoverAuthorization";
|
|
336
|
+
schemaVersion: 1;
|
|
337
|
+
routeSpaceRevisionRef: {
|
|
338
|
+
revision: number;
|
|
339
|
+
schemaVersion: number;
|
|
340
|
+
contentHash: string;
|
|
341
|
+
kind: string;
|
|
342
|
+
id: string;
|
|
343
|
+
ownerRepo: string;
|
|
344
|
+
visibility: "global" | "public" | "tenant";
|
|
345
|
+
tenantScope?: {
|
|
346
|
+
tenantRef: {
|
|
347
|
+
kind: string;
|
|
348
|
+
id: string;
|
|
349
|
+
ownerRepo: string;
|
|
350
|
+
};
|
|
351
|
+
dataSpaceRef: {
|
|
352
|
+
kind: string;
|
|
353
|
+
id: string;
|
|
354
|
+
ownerRepo: string;
|
|
355
|
+
};
|
|
356
|
+
teamRef?: {
|
|
357
|
+
kind: string;
|
|
358
|
+
id: string;
|
|
359
|
+
ownerRepo: string;
|
|
360
|
+
} | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
};
|
|
363
|
+
normalizedPath: string;
|
|
364
|
+
legacyAdapterRevisionRef: {
|
|
365
|
+
revision: number;
|
|
366
|
+
schemaVersion: number;
|
|
367
|
+
contentHash: string;
|
|
368
|
+
kind: string;
|
|
369
|
+
id: string;
|
|
370
|
+
ownerRepo: string;
|
|
371
|
+
visibility: "global" | "public" | "tenant";
|
|
372
|
+
tenantScope?: {
|
|
373
|
+
tenantRef: {
|
|
374
|
+
kind: string;
|
|
375
|
+
id: string;
|
|
376
|
+
ownerRepo: string;
|
|
377
|
+
};
|
|
378
|
+
dataSpaceRef: {
|
|
379
|
+
kind: string;
|
|
380
|
+
id: string;
|
|
381
|
+
ownerRepo: string;
|
|
382
|
+
};
|
|
383
|
+
teamRef?: {
|
|
384
|
+
kind: string;
|
|
385
|
+
id: string;
|
|
386
|
+
ownerRepo: string;
|
|
387
|
+
} | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
};
|
|
390
|
+
sourceRevisionRef: {
|
|
391
|
+
revision: number;
|
|
392
|
+
schemaVersion: number;
|
|
393
|
+
contentHash: string;
|
|
394
|
+
kind: string;
|
|
395
|
+
id: string;
|
|
396
|
+
ownerRepo: string;
|
|
397
|
+
visibility: "global" | "public" | "tenant";
|
|
398
|
+
tenantScope?: {
|
|
399
|
+
tenantRef: {
|
|
400
|
+
kind: string;
|
|
401
|
+
id: string;
|
|
402
|
+
ownerRepo: string;
|
|
403
|
+
};
|
|
404
|
+
dataSpaceRef: {
|
|
405
|
+
kind: string;
|
|
406
|
+
id: string;
|
|
407
|
+
ownerRepo: string;
|
|
408
|
+
};
|
|
409
|
+
teamRef?: {
|
|
410
|
+
kind: string;
|
|
411
|
+
id: string;
|
|
412
|
+
ownerRepo: string;
|
|
413
|
+
} | undefined;
|
|
414
|
+
} | undefined;
|
|
415
|
+
};
|
|
416
|
+
inspectedSourceContentHash: string;
|
|
417
|
+
targetResourceRef: {
|
|
418
|
+
kind: string;
|
|
419
|
+
id: string;
|
|
420
|
+
ownerRepo: string;
|
|
421
|
+
visibility: "global" | "public" | "tenant";
|
|
422
|
+
tenantScope?: {
|
|
423
|
+
tenantRef: {
|
|
424
|
+
kind: string;
|
|
425
|
+
id: string;
|
|
426
|
+
ownerRepo: string;
|
|
427
|
+
};
|
|
428
|
+
dataSpaceRef: {
|
|
429
|
+
kind: string;
|
|
430
|
+
id: string;
|
|
431
|
+
ownerRepo: string;
|
|
432
|
+
};
|
|
433
|
+
teamRef?: {
|
|
434
|
+
kind: string;
|
|
435
|
+
id: string;
|
|
436
|
+
ownerRepo: string;
|
|
437
|
+
} | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
};
|
|
440
|
+
workbenchCatalogDefaults?: {
|
|
441
|
+
order: number;
|
|
442
|
+
isDefaultCandidate: boolean;
|
|
443
|
+
} | undefined;
|
|
444
|
+
contentHash: string;
|
|
445
|
+
} | undefined;
|
|
446
|
+
placement?: string | undefined;
|
|
447
|
+
order?: number | undefined;
|
|
448
|
+
isDefaultCandidate?: boolean | undefined;
|
|
449
|
+
};
|
|
450
|
+
targetReleaseVersion?: number | undefined;
|
|
451
|
+
ttlSeconds?: number | undefined;
|
|
452
|
+
audienceSimulation?: {
|
|
453
|
+
groupRefs: {
|
|
454
|
+
kind: string;
|
|
455
|
+
id: string;
|
|
456
|
+
ownerRepo: string;
|
|
457
|
+
visibility: "global" | "public" | "tenant";
|
|
458
|
+
tenantScope?: {
|
|
459
|
+
tenantRef: {
|
|
460
|
+
kind: string;
|
|
461
|
+
id: string;
|
|
462
|
+
ownerRepo: string;
|
|
463
|
+
};
|
|
464
|
+
dataSpaceRef: {
|
|
465
|
+
kind: string;
|
|
466
|
+
id: string;
|
|
467
|
+
ownerRepo: string;
|
|
468
|
+
};
|
|
469
|
+
teamRef?: {
|
|
470
|
+
kind: string;
|
|
471
|
+
id: string;
|
|
472
|
+
ownerRepo: string;
|
|
473
|
+
} | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
}[];
|
|
476
|
+
permissions: string[];
|
|
477
|
+
} | undefined;
|
|
478
|
+
reason?: string | undefined;
|
|
479
|
+
};
|
|
480
|
+
retainedReleaseSlotIds: string[];
|
|
481
|
+
} | {
|
|
482
|
+
subscription: string;
|
|
483
|
+
baseUrl: string;
|
|
484
|
+
tenant: string;
|
|
485
|
+
resourceKind: DeactivatableKind;
|
|
486
|
+
resourceId: string;
|
|
487
|
+
action: string;
|
|
488
|
+
releaseSlotId: string;
|
|
489
|
+
routePath: string | undefined;
|
|
490
|
+
verified: boolean;
|
|
491
|
+
releaseRevisionRef: {
|
|
492
|
+
revision: number;
|
|
493
|
+
schemaVersion: number;
|
|
494
|
+
contentHash: string;
|
|
495
|
+
kind: string;
|
|
496
|
+
id: string;
|
|
497
|
+
ownerRepo: string;
|
|
498
|
+
visibility: "global" | "public" | "tenant";
|
|
499
|
+
tenantScope?: {
|
|
500
|
+
tenantRef: {
|
|
501
|
+
kind: string;
|
|
502
|
+
id: string;
|
|
503
|
+
ownerRepo: string;
|
|
504
|
+
};
|
|
505
|
+
dataSpaceRef: {
|
|
506
|
+
kind: string;
|
|
507
|
+
id: string;
|
|
508
|
+
ownerRepo: string;
|
|
509
|
+
};
|
|
510
|
+
teamRef?: {
|
|
511
|
+
kind: string;
|
|
512
|
+
id: string;
|
|
513
|
+
ownerRepo: string;
|
|
514
|
+
} | undefined;
|
|
515
|
+
} | undefined;
|
|
516
|
+
};
|
|
517
|
+
retainedReleaseSlotIds: string[];
|
|
518
|
+
}>;
|
|
519
|
+
export declare function deactivateNavigationRelease(options: Options, suppliedClient?: DeclarativeClient): Promise<{
|
|
520
|
+
subscription: string;
|
|
521
|
+
baseUrl: string;
|
|
522
|
+
tenant: string;
|
|
523
|
+
resourceKind: DeactivatableKind;
|
|
17
524
|
resourceId: string;
|
|
18
525
|
action: string;
|
|
19
526
|
releaseSlotId: string;
|
|
@@ -228,7 +735,7 @@ export declare function deactivatePageRelease(options: Options, suppliedClient?:
|
|
|
228
735
|
subscription: string;
|
|
229
736
|
baseUrl: string;
|
|
230
737
|
tenant: string;
|
|
231
|
-
resourceKind:
|
|
738
|
+
resourceKind: DeactivatableKind;
|
|
232
739
|
resourceId: string;
|
|
233
740
|
action: string;
|
|
234
741
|
releaseSlotId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate.d.ts","sourceRoot":"","sources":["../../src/declarative/deactivate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,UAAU,OAAO;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"deactivate.d.ts","sourceRoot":"","sources":["../../src/declarative/deactivate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,UAAU,OAAO;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,KAAK,iBAAiB,GAAG,MAAM,GAAG,YAAY,CAAC;AAQ/C,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,iBAAiB,EAAE,OA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
|
throw new CliError(message, { code: 'DECLARATIVE_DEACTIVATION_MISMATCH', exitCode: EXIT_CODES.validation });
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
const resourceLabel = (kind) => (kind === 'page' ? 'Page' : 'Navigation');
|
|
13
|
+
export async function deactivateRelease(kind, options, suppliedClient) {
|
|
13
14
|
const runtime = suppliedClient?.runtime ??
|
|
14
15
|
(await loadSemanticRuntime({
|
|
15
16
|
subscription: options.subscription,
|
|
16
17
|
inheritDefaultTeam: false,
|
|
17
18
|
...(options.team ? { team: options.team } : {}),
|
|
18
19
|
}));
|
|
19
|
-
const client = suppliedClient ?? new DeclarativeClient(runtime,
|
|
20
|
+
const client = suppliedClient ?? new DeclarativeClient(runtime, kind);
|
|
20
21
|
const before = await client.bootstrap(options.id, options.surface);
|
|
21
|
-
const resources = before.resources.filter((resource) => resource.resourceKind ===
|
|
22
|
+
const resources = before.resources.filter((resource) => resource.resourceKind === kind && resource.resourceId === options.id);
|
|
22
23
|
if (resources.length !== 1)
|
|
23
|
-
invalid(
|
|
24
|
+
invalid(`The ${resourceLabel(kind)} is absent or ambiguous in this context.`);
|
|
24
25
|
const resource = resources[0];
|
|
25
26
|
const placements = resource.releasePlacements.filter((placement) => placement.releaseRevisionRef.id === options.releaseSlot &&
|
|
26
27
|
(!options.surface || placement.surface === options.surface) &&
|
|
27
28
|
resource.activeReleaseRevisionRefs.some((ref) => same(ref, placement.releaseRevisionRef)));
|
|
28
29
|
if (placements.length !== 1)
|
|
29
|
-
invalid(
|
|
30
|
+
invalid(`The exact release slot is not active for this ${resourceLabel(kind)} and surface.`);
|
|
30
31
|
const placement = placements[0];
|
|
31
32
|
if (placement.definitionRevisionRef.id !== options.id)
|
|
32
|
-
invalid(
|
|
33
|
+
invalid(`The release slot belongs to another ${resourceLabel(kind)}.`);
|
|
33
34
|
if (placement.surface === 'studio')
|
|
34
|
-
requireSemanticTeam(runtime,
|
|
35
|
+
requireSemanticTeam(runtime, `${kind} deactivate`);
|
|
35
36
|
const environments = before.environmentChoices.filter((choice) => same(choice.stableRef, placement.environmentRef));
|
|
36
37
|
if (environments.length !== 1 || !environments[0].revisionRef)
|
|
37
38
|
invalid('The release environment cannot be resolved exactly.');
|
|
@@ -41,14 +42,19 @@ export async function deactivatePageRelease(options, suppliedClient) {
|
|
|
41
42
|
releaseSlotId: options.releaseSlot,
|
|
42
43
|
releaseExpectedVersion: placement.releaseRevisionRef.revision,
|
|
43
44
|
publicationExpectedGeneration: before.generation,
|
|
44
|
-
target: {
|
|
45
|
+
target: {
|
|
46
|
+
environmentRef: placement.environmentRef,
|
|
47
|
+
environmentRevisionRef: environments[0].revisionRef,
|
|
48
|
+
surface: placement.surface,
|
|
49
|
+
...(placement.placement ? { placement: placement.placement } : {}),
|
|
50
|
+
},
|
|
45
51
|
...(options.reason ? { reason: options.reason } : {}),
|
|
46
52
|
});
|
|
47
53
|
const meta = {
|
|
48
54
|
subscription: runtime.context.subscription,
|
|
49
55
|
baseUrl: runtime.context.baseUrl,
|
|
50
56
|
tenant: runtime.context.tenant,
|
|
51
|
-
resourceKind:
|
|
57
|
+
resourceKind: kind,
|
|
52
58
|
resourceId: options.id,
|
|
53
59
|
action: 'deactivate',
|
|
54
60
|
releaseSlotId: options.releaseSlot,
|
|
@@ -64,16 +70,21 @@ export async function deactivatePageRelease(options, suppliedClient) {
|
|
|
64
70
|
assertConfirmation({ interactive: Boolean(process.stdin.isTTY), risk: 'privileged', yes: Boolean(options.yes) });
|
|
65
71
|
const result = await client.deactivate(options.id, intent);
|
|
66
72
|
const item = result.items.length === 1 ? result.items[0] : undefined;
|
|
73
|
+
const returnedDefinition = item?.release.contract === 'PageRelease'
|
|
74
|
+
? item.release.pageRevisionRef
|
|
75
|
+
: item?.release.contract === 'NavigationRelease'
|
|
76
|
+
? item.release.navigationRevisionRef
|
|
77
|
+
: undefined;
|
|
67
78
|
if (result.action !== 'publication-plan' ||
|
|
68
79
|
!item ||
|
|
69
|
-
item.resourceKind !==
|
|
80
|
+
item.resourceKind !== kind ||
|
|
70
81
|
item.resourceId !== options.id ||
|
|
71
|
-
item.release.contract !== 'PageRelease' ||
|
|
82
|
+
item.release.contract !== (kind === 'page' ? 'PageRelease' : 'NavigationRelease') ||
|
|
72
83
|
item.release.operation !== 'deactivate' ||
|
|
73
84
|
item.bundle !== undefined ||
|
|
74
85
|
item.releaseRevisionRef.id !== options.releaseSlot ||
|
|
75
86
|
item.releaseRevisionRef.revision !== placement.releaseRevisionRef.revision + 1 ||
|
|
76
|
-
!same(
|
|
87
|
+
!same(returnedDefinition, resource.draftRevisionRef))
|
|
77
88
|
invalid('The deactivation response does not match the selected release. Read history before retrying.');
|
|
78
89
|
const history = await client.releaseHistory(options.id, options.releaseSlot, { pageSize: 1 });
|
|
79
90
|
if (history.items.length !== 1 ||
|
|
@@ -81,7 +92,7 @@ export async function deactivatePageRelease(options, suppliedClient) {
|
|
|
81
92
|
!same(history.items[0].body, item.release))
|
|
82
93
|
invalid('The exact deactivation could not be verified from release history.');
|
|
83
94
|
const after = await client.bootstrap(options.id, placement.surface);
|
|
84
|
-
const current = after.resources.find((entry) => entry.resourceKind ===
|
|
95
|
+
const current = after.resources.find((entry) => entry.resourceKind === kind && entry.resourceId === options.id);
|
|
85
96
|
if (!current ||
|
|
86
97
|
current.activeReleaseRevisionRefs.some((ref) => ref.id === options.releaseSlot) ||
|
|
87
98
|
resource.activeReleaseRevisionRefs
|
|
@@ -95,4 +106,10 @@ export async function deactivatePageRelease(options, suppliedClient) {
|
|
|
95
106
|
retainedReleaseSlotIds: current.activeReleaseRevisionRefs.map((ref) => ref.id),
|
|
96
107
|
};
|
|
97
108
|
}
|
|
109
|
+
export async function deactivatePageRelease(options, suppliedClient) {
|
|
110
|
+
return deactivateRelease('page', options, suppliedClient);
|
|
111
|
+
}
|
|
112
|
+
export async function deactivateNavigationRelease(options, suppliedClient) {
|
|
113
|
+
return deactivateRelease('navigation', options, suppliedClient);
|
|
114
|
+
}
|
|
98
115
|
//# sourceMappingURL=deactivate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../src/declarative/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../src/declarative/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAahD,MAAM,IAAI,GAAG,CAAC,CAAU,EAAE,CAAU,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,KAAK,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAC7F,SAAS,OAAO,CAAC,OAAe;IAC9B,MAAM,IAAI,QAAQ,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,mCAAmC,EAAE,QAAQ,EAAE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