@salesforce/plugin-devops-center 1.2.6 → 1.2.7
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 +16 -16
- package/lib/commands/project/deploy/pipeline/report.d.ts +1 -1
- package/lib/common/base/abstractAsyncOperation.d.ts +1 -0
- package/lib/common/base/abstractAsyncOperation.js +1 -0
- package/lib/common/base/abstractAsyncOperation.js.map +1 -1
- package/lib/common/base/abstractPromote.d.ts +8 -8
- package/lib/common/base/abstractPromote.js +2 -0
- package/lib/common/base/abstractPromote.js.map +1 -1
- package/lib/common/base/abstractQuick.d.ts +4 -4
- package/lib/common/base/abstractQuick.js +2 -0
- package/lib/common/base/abstractQuick.js.map +1 -1
- package/lib/common/base/abstractReportOnPromote.d.ts +2 -2
- package/lib/common/base/abstractReportOnPromote.js +2 -0
- package/lib/common/base/abstractReportOnPromote.js.map +1 -1
- package/lib/common/base/abstractResume.d.ts +5 -5
- package/lib/common/base/abstractResume.js +2 -1
- package/lib/common/base/abstractResume.js.map +1 -1
- package/lib/common/deployPipelineCache.d.ts +1 -2
- package/lib/common/deployPipelineCache.js.map +1 -1
- package/lib/common/flags/flags.d.ts +4 -1
- package/lib/common/flags/promote/promoteFlags.d.ts +4 -1
- package/lib/common/selectors/selectorUtils.js.map +1 -1
- package/npm-shrinkwrap.json +18027 -0
- package/oclif.lock +1789 -760
- package/oclif.manifest.json +294 -212
- package/package.json +35 -22
package/README.md
CHANGED
|
@@ -77,9 +77,9 @@ FLAGS
|
|
|
77
77
|
-r, --use-most-recent Use the job ID of the most recently validated deployment.
|
|
78
78
|
-w, --wait=<minutes> [default: 33 minutes] Number of minutes to wait for command to complete and
|
|
79
79
|
display results.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
--async Run the command asynchronously.
|
|
81
|
+
--concise Show concise output of the command result.
|
|
82
|
+
--verbose Show verbose output of the command result.
|
|
83
83
|
|
|
84
84
|
GLOBAL FLAGS
|
|
85
85
|
--json Format output as json.
|
|
@@ -131,7 +131,7 @@ FLAG DESCRIPTIONS
|
|
|
131
131
|
"sf project deploy pipeline report".
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
_See code: [src/commands/project/deploy/pipeline/quick.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.
|
|
134
|
+
_See code: [src/commands/project/deploy/pipeline/quick.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.7/src/commands/project/deploy/pipeline/quick.ts)_
|
|
135
135
|
|
|
136
136
|
## `sf project deploy pipeline report`
|
|
137
137
|
|
|
@@ -175,7 +175,7 @@ FLAG DESCRIPTIONS
|
|
|
175
175
|
your most recent operation was longer than 3 days ago, this flag won't find the job ID.
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
_See code: [src/commands/project/deploy/pipeline/report.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.
|
|
178
|
+
_See code: [src/commands/project/deploy/pipeline/report.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.7/src/commands/project/deploy/pipeline/report.ts)_
|
|
179
179
|
|
|
180
180
|
## `sf project deploy pipeline resume`
|
|
181
181
|
|
|
@@ -191,8 +191,8 @@ FLAGS
|
|
|
191
191
|
-r, --use-most-recent Use the job ID of the most recent deploy operation.
|
|
192
192
|
-w, --wait=<minutes> [default: 33 minutes] Number of minutes to wait for command to complete and
|
|
193
193
|
display results.
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
--concise Show concise output of the command result.
|
|
195
|
+
--verbose Show verbose output of the command result.
|
|
196
196
|
|
|
197
197
|
GLOBAL FLAGS
|
|
198
198
|
--json Format output as json.
|
|
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
|
|
|
237
237
|
returns the job ID. To check the status of the operation, run "sf project deploy pipeline report".
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/project/deploy/pipeline/resume.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.
|
|
240
|
+
_See code: [src/commands/project/deploy/pipeline/resume.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.7/src/commands/project/deploy/pipeline/resume.ts)_
|
|
241
241
|
|
|
242
242
|
## `sf project deploy pipeline start`
|
|
243
243
|
|
|
@@ -260,9 +260,9 @@ FLAGS
|
|
|
260
260
|
-v, --bundle-version-name=<value> Version name of the bundle.
|
|
261
261
|
-w, --wait=<minutes> [default: 33 minutes] Number of minutes to wait for command to complete and
|
|
262
262
|
display results.
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
--async Run the command asynchronously.
|
|
264
|
+
--concise Show concise output of the command result.
|
|
265
|
+
--verbose Show verbose output of the command result.
|
|
266
266
|
|
|
267
267
|
GLOBAL FLAGS
|
|
268
268
|
--json Format output as json.
|
|
@@ -333,7 +333,7 @@ FLAG DESCRIPTIONS
|
|
|
333
333
|
"sf project deploy pipeline report".
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
_See code: [src/commands/project/deploy/pipeline/start.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.
|
|
336
|
+
_See code: [src/commands/project/deploy/pipeline/start.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.7/src/commands/project/deploy/pipeline/start.ts)_
|
|
337
337
|
|
|
338
338
|
## `sf project deploy pipeline validate`
|
|
339
339
|
|
|
@@ -356,9 +356,9 @@ FLAGS
|
|
|
356
356
|
-v, --bundle-version-name=<value> Version name of the bundle.
|
|
357
357
|
-w, --wait=<minutes> [default: 33 minutes] Number of minutes to wait for command to complete and
|
|
358
358
|
display results.
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
--async Run the command asynchronously.
|
|
360
|
+
--concise Show concise output of the command result.
|
|
361
|
+
--verbose Show verbose output of the command result.
|
|
362
362
|
|
|
363
363
|
GLOBAL FLAGS
|
|
364
364
|
--json Format output as json.
|
|
@@ -429,7 +429,7 @@ FLAG DESCRIPTIONS
|
|
|
429
429
|
"sf project deploy pipeline report".
|
|
430
430
|
```
|
|
431
431
|
|
|
432
|
-
_See code: [src/commands/project/deploy/pipeline/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.
|
|
432
|
+
_See code: [src/commands/project/deploy/pipeline/validate.ts](https://github.com/salesforcecli/plugin-devops-center/blob/1.2.7/src/commands/project/deploy/pipeline/validate.ts)_
|
|
433
433
|
|
|
434
434
|
<!-- commandsstop -->
|
|
435
435
|
|
|
@@ -7,7 +7,7 @@ export default class DeployPipelineReport extends ReportOnPromoteCommand<typeof
|
|
|
7
7
|
static readonly examples: string[];
|
|
8
8
|
static readonly state = "beta";
|
|
9
9
|
static flags: {
|
|
10
|
-
'job-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
10
|
+
'job-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
11
11
|
'use-most-recent': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
12
12
|
};
|
|
13
13
|
protected operationName: string;
|
|
@@ -4,6 +4,7 @@ import { Duration } from '@salesforce/kit';
|
|
|
4
4
|
import { AsyncOperationResultJson } from '../types';
|
|
5
5
|
import { PromoteOutputService } from '../outputService';
|
|
6
6
|
export declare abstract class AsyncCommand extends SfCommand<AsyncOperationResultJson> {
|
|
7
|
+
static readonly enableJsonFlag = true;
|
|
7
8
|
protected targetOrg: Org;
|
|
8
9
|
private asyncOperationId;
|
|
9
10
|
private outputService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractAsyncOperation.js","sourceRoot":"","sources":["../../../src/common/base/abstractAsyncOperation.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAA0D;AAC1D,iEAAwD;AAExD,gEAA6D;AAE7D,oCAAgG;AAChG,yCAAoF;AAGpF,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,Q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AC,oBAAoB,KAAK,SAAS;YAC3C,QAAQ,CAAC,oBAAoB,KAAK,4BAAoB,CAAC,UAAU,EACjE;YACA,MAAM,QAAQ,GAAgB,IAAA,kCAAyB,EACrD,IAAI,CAAC,SAAS,EACd,IAAI,EACJ,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,aAAa,CACnB,CAAC;YACF,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;SAC1B;aAAM;YACL,IAAI,CAAC,aAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;SAC7C;IACH,CAAC;;AArGH,oCAsGC;AArGwB,2BAAc,GAAG,IAAI,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Org } from '@salesforce/core';
|
|
2
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
3
2
|
import { Interfaces } from '@oclif/core';
|
|
4
3
|
import { PipelineStage, PromoteOptions } from '..';
|
|
@@ -6,16 +5,17 @@ import { AsyncOperationResultJson } from '../../common';
|
|
|
6
5
|
import { AsyncCommand } from './abstractAsyncOperation';
|
|
7
6
|
export type Flags<T extends typeof SfCommand> = Interfaces.InferredFlags<(typeof PromoteCommand)['baseFlags'] & T['flags']>;
|
|
8
7
|
export declare abstract class PromoteCommand<T extends typeof SfCommand> extends AsyncCommand {
|
|
8
|
+
static readonly enableJsonFlag = true;
|
|
9
9
|
static baseFlags: {
|
|
10
|
-
'branch-name': Interfaces.OptionFlag<string,
|
|
11
|
-
'bundle-version-name': Interfaces.OptionFlag<string | undefined,
|
|
10
|
+
'branch-name': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
11
|
+
'bundle-version-name': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
12
12
|
'deploy-all': Interfaces.BooleanFlag<boolean>;
|
|
13
|
-
'devops-center-project-name': Interfaces.OptionFlag<string,
|
|
14
|
-
'devops-center-username': Interfaces.OptionFlag<
|
|
15
|
-
tests: Interfaces.OptionFlag<string[] | undefined,
|
|
16
|
-
'test-level': Interfaces.OptionFlag<import("..").TestLevel | undefined,
|
|
13
|
+
'devops-center-project-name': Interfaces.OptionFlag<string, Interfaces.CustomOptions>;
|
|
14
|
+
'devops-center-username': Interfaces.OptionFlag<import("@salesforce/core").Org, Interfaces.CustomOptions>;
|
|
15
|
+
tests: Interfaces.OptionFlag<string[] | undefined, Interfaces.CustomOptions>;
|
|
16
|
+
'test-level': Interfaces.OptionFlag<import("..").TestLevel | undefined, Interfaces.CustomOptions>;
|
|
17
17
|
async: Interfaces.BooleanFlag<boolean>;
|
|
18
|
-
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration,
|
|
18
|
+
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration, Interfaces.CustomOptions>;
|
|
19
19
|
verbose: Interfaces.BooleanFlag<boolean>;
|
|
20
20
|
concise: Interfaces.BooleanFlag<boolean>;
|
|
21
21
|
};
|
|
@@ -19,6 +19,7 @@ class PromoteCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
|
19
19
|
const { flags } = await this.parse({
|
|
20
20
|
flags: this.ctor.flags,
|
|
21
21
|
baseFlags: super.ctor.baseFlags,
|
|
22
|
+
enableJsonFlag: this.ctor.enableJsonFlag,
|
|
22
23
|
});
|
|
23
24
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
24
25
|
this.flags = flags;
|
|
@@ -109,6 +110,7 @@ class PromoteCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
exports.PromoteCommand = PromoteCommand;
|
|
113
|
+
PromoteCommand.enableJsonFlag = true;
|
|
112
114
|
// common flags that can be inherited by any command that extends PromoteCommand
|
|
113
115
|
PromoteCommand.baseFlags = {
|
|
114
116
|
'branch-name': promoteFlags_1.branchName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractPromote.js","sourceRoot":"","sources":["../../../src/common/base/abstractPromote.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"abstractPromote.js","sourceRoot":"","sources":["../../../src/common/base/abstractPromote.ts"],"names":[],"mappings":";;;AASA,0BAAqG;AACrG,0CAAsG;AACtG,gEAOuC;AACvC,4CAAyE;AAEzE,oDAAwD;AACxD,oCAAiC;AACjC,qEAAwD;AAMxD,MAAsB,cAA2C,SAAQ,qCAAY;IAArF;;QAqBU,kBAAa,GAAG,EAAE,CAAC,CAAC,8EAA8E;IAwH5G,CAAC;IAtHQ,KAAK,CAAC,IAAI;QACf,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,mEAAmE;QACnE,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC;YACjC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK;YACtB,SAAS,EAAG,KAAK,CAAC,IAA8B,CAAC,SAAS;YAC1D,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc;SACzC,CAAC,CAAC;QACH,mEAAmE;QACnE,IAAI,CAAC,KAAK,GAAG,KAAiB,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QACtD,IAAI,CAAC,gBAAgB,CAAC,IAAI,oCAAoB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAC9G,CAAC;IAES,KAAK,CAAC,gBAAgB;QAC9B,IAAA,qBAAiB,EAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC9D,IAAI,CAAC,WAAW,GAAG,MAAM,IAAA,iCAA6B,EACpD,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,KAAK,CAAC,4BAA4B,CAAC,EACxC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAC1B,CAAC;QACF,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A4B,EAAE,+BAAuB;IACrD,wBAAwB,EAAE,IAAA,2BAAmB,GAAE;IAC/C,KAAK,EAAE,4BAAa;IACpB,YAAY,EAAE,IAAA,wBAAS,GAAE;IACzB,KAAK,EAAL,oBAAK;IACL,IAAI,EAAJ,YAAI;IACJ,OAAO,EAAP,eAAO;IACP,OAAO,EAAP,eAAO;CACR,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Interfaces } from '@oclif/core';
|
|
2
|
-
import { Org } from '@salesforce/core';
|
|
3
2
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
4
3
|
import { PipelineStage, PromoteOptions } from '..';
|
|
5
4
|
import { AsyncOperationResultJson } from '../../common';
|
|
6
5
|
import { AsyncCommand } from './abstractAsyncOperation';
|
|
7
6
|
export type Flags<T extends typeof SfCommand> = Interfaces.InferredFlags<(typeof QuickPromotionCommand)['baseFlags'] & T['flags']>;
|
|
8
7
|
export default abstract class QuickPromotionCommand<T extends typeof SfCommand> extends AsyncCommand {
|
|
8
|
+
static readonly enableJsonFlag = true;
|
|
9
9
|
static baseFlags: {
|
|
10
10
|
async: Interfaces.BooleanFlag<boolean>;
|
|
11
11
|
concise: Interfaces.BooleanFlag<boolean>;
|
|
12
12
|
verbose: Interfaces.BooleanFlag<boolean>;
|
|
13
|
-
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration,
|
|
14
|
-
'devops-center-username': Interfaces.OptionFlag<
|
|
15
|
-
'job-id': Interfaces.OptionFlag<string | undefined,
|
|
13
|
+
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration, Interfaces.CustomOptions>;
|
|
14
|
+
'devops-center-username': Interfaces.OptionFlag<import("@salesforce/core").Org, Interfaces.CustomOptions>;
|
|
15
|
+
'job-id': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
16
16
|
'use-most-recent': Interfaces.BooleanFlag<boolean>;
|
|
17
17
|
};
|
|
18
18
|
protected flags: Flags<T>;
|
|
@@ -19,6 +19,7 @@ class QuickPromotionCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
|
19
19
|
const { flags } = await this.parse({
|
|
20
20
|
flags: this.ctor.flags,
|
|
21
21
|
baseFlags: super.ctor.baseFlags,
|
|
22
|
+
enableJsonFlag: this.ctor.enableJsonFlag,
|
|
22
23
|
});
|
|
23
24
|
this.flags = flags;
|
|
24
25
|
this.targetOrg = this.flags['devops-center-username'];
|
|
@@ -88,6 +89,7 @@ class QuickPromotionCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
exports.default = QuickPromotionCommand;
|
|
92
|
+
QuickPromotionCommand.enableJsonFlag = true;
|
|
91
93
|
QuickPromotionCommand.baseFlags = {
|
|
92
94
|
async: promoteFlags_1.async,
|
|
93
95
|
concise: flags_1.concise,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractQuick.js","sourceRoot":"","sources":["../../../src/common/base/abstractQuick.ts"],"names":[],"mappings":";;AAOA,
|
|
1
|
+
{"version":3,"file":"abstractQuick.js","sourceRoot":"","sources":["../../../src/common/base/abstractQuick.ts"],"names":[],"mappings":";;AAOA,2CAA4C;AAC5C,iEAA0E;AAE1E,0BAA6F;AAC7F,4CAAqD;AACrD,gEAA6D;AAC7D,gEAAsD;AACtD,0CAA6E;AAC7E,oDAAwD;AAExD,sFAGgD;AAChD,8EAA2F;AAC3F,qEAAwD;AAMxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,+BAA+B,CAAC,CAAC;AAE5G,MAA8B,qBAAkD,SAAQ,qCAAY;IA0B3F,KAAK,CAAC,IAAI;QACf,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC;YACjC,KAAK,EAAE,IA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AsE;YACtE,GAAG,IAAI,CAAC,iBAAiB,EAAE;SAC5B,CAAC;IACJ,CAAC;;AA9HH,wCA6IC;AA5IwB,oCAAc,GAAG,IAAI,CAAC;AAC/B,+BAAS,GAAG;IACxB,KAAK,EAAL,oBAAK;IACL,OAAO,EAAP,eAAO;IACP,OAAO,EAAP,eAAO;IACP,IAAI,EAAJ,YAAI;IACJ,wBAAwB,EAAE,IAAA,2BAAmB,GAAE;IAC/C,QAAQ,EAAE,uBAAO,CAAC,YAAY,CAAC;QAC7B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;QAC5D,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACpD,UAAU,EAAE,CAAC,iBAAiB,EAAE,QAAQ,CAAC;KAC1C,CAAC;IACF,iBAAiB,EAAE,uBAAO,CAAC,OAAO,CAAC;QACjC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,mCAAmC,CAAC;QACrE,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;QAC7D,UAAU,EAAE,CAAC,iBAAiB,EAAE,QAAQ,CAAC;KAC1C,CAAC;CACH,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Org } from '@salesforce/core';
|
|
2
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
3
2
|
import { Interfaces } from '@oclif/core';
|
|
4
3
|
import { PromotePipelineResult } from '../../common';
|
|
5
4
|
export type Flags<T extends typeof SfCommand> = Interfaces.InferredFlags<(typeof ReportOnPromoteCommand)['baseFlags'] & T['flags']>;
|
|
6
5
|
export declare abstract class ReportOnPromoteCommand<T extends typeof SfCommand> extends SfCommand<PromotePipelineResult> {
|
|
6
|
+
static readonly enableJsonFlag = true;
|
|
7
7
|
static baseFlags: {
|
|
8
|
-
'devops-center-username': Interfaces.OptionFlag<
|
|
8
|
+
'devops-center-username': Interfaces.OptionFlag<import("@salesforce/core").Org, Interfaces.CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
protected flags: Flags<T>;
|
|
11
11
|
protected abstract operationName: string;
|
|
@@ -22,6 +22,7 @@ class ReportOnPromoteCommand extends sf_plugins_core_1.SfCommand {
|
|
|
22
22
|
const { flags } = await this.parse({
|
|
23
23
|
flags: this.ctor.flags,
|
|
24
24
|
baseFlags: super.ctor.baseFlags,
|
|
25
|
+
enableJsonFlag: this.ctor.enableJsonFlag,
|
|
25
26
|
});
|
|
26
27
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
27
28
|
this.flags = flags;
|
|
@@ -52,6 +53,7 @@ class ReportOnPromoteCommand extends sf_plugins_core_1.SfCommand {
|
|
|
52
53
|
}
|
|
53
54
|
}
|
|
54
55
|
exports.ReportOnPromoteCommand = ReportOnPromoteCommand;
|
|
56
|
+
ReportOnPromoteCommand.enableJsonFlag = true;
|
|
55
57
|
ReportOnPromoteCommand.baseFlags = {
|
|
56
58
|
'devops-center-username': (0, flags_1.requiredDoceOrgFlag)(),
|
|
57
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractReportOnPromote.js","sourceRoot":"","sources":["../../../src/common/base/abstractReportOnPromote.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"abstractReportOnPromote.js","sourceRoot":"","sources":["../../../src/common/base/abstractReportOnPromote.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAA4C;AAC5C,iEAAwD;AAExD,0EAAuE;AAEvE,oDAA+D;AAE/D,wFAAiG;AAEjG,kFAA+E;AAE/E,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,cAAc,CAAC,CAAC;AAM3F,MAAsB,sBAAmD,SAAQ,2BAAgC;IAQxG,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,oBAAoB;YACjE,OAAO,EAAE,eAAe,CAAC,oBAAoB,CAAC,qBAAqB;YACnE,YAAY,EAAE,eAAe,CAAC,oBAAoB,CAAC,2BAA2B;SAC/E,CAAC;IACJ,CAAC;;AAnDH,wDAoDC;AAnDwB,qCAAc,GAAG,IAAI,CAAC;AAC/B,gCAAS,GAAG;IACxB,wBAAwB,EAAE,IAAA,2BAAmB,GAAE;CAChD,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Org } from '@salesforce/core';
|
|
2
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
3
2
|
import { Interfaces } from '@oclif/core';
|
|
4
3
|
import { AsyncOperationResultJson, AsyncOperationStatus } from '../../common';
|
|
@@ -13,16 +12,17 @@ export declare function isNotResumable(status: AsyncOperationStatus): boolean;
|
|
|
13
12
|
export type Flags<T extends typeof SfCommand> = Interfaces.InferredFlags<(typeof ResumeCommand)['baseFlags'] & T['flags']>;
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
|
-
* Base class with the common logic to resume an in progress
|
|
15
|
+
* Base class with the common logic to resume an in progress operation
|
|
17
16
|
*/
|
|
18
17
|
export declare abstract class ResumeCommand<T extends typeof SfCommand> extends AsyncCommand {
|
|
18
|
+
static readonly enableJsonFlag = true;
|
|
19
19
|
static baseFlags: {
|
|
20
|
-
'devops-center-username': Interfaces.OptionFlag<
|
|
21
|
-
'job-id': Interfaces.OptionFlag<string | undefined,
|
|
20
|
+
'devops-center-username': Interfaces.OptionFlag<import("@salesforce/core").Org, Interfaces.CustomOptions>;
|
|
21
|
+
'job-id': Interfaces.OptionFlag<string | undefined, Interfaces.CustomOptions>;
|
|
22
22
|
'use-most-recent': Interfaces.BooleanFlag<boolean>;
|
|
23
23
|
concise: Interfaces.BooleanFlag<boolean>;
|
|
24
24
|
verbose: Interfaces.BooleanFlag<boolean>;
|
|
25
|
-
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration,
|
|
25
|
+
wait: Interfaces.OptionFlag<import("@salesforce/kit").Duration, Interfaces.CustomOptions>;
|
|
26
26
|
};
|
|
27
27
|
protected flags: Flags<T>;
|
|
28
28
|
protected abstract operationType: string;
|
|
@@ -27,7 +27,7 @@ function isNotResumable(status) {
|
|
|
27
27
|
exports.isNotResumable = isNotResumable;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* Base class with the common logic to resume an in progress
|
|
30
|
+
* Base class with the common logic to resume an in progress operation
|
|
31
31
|
*/
|
|
32
32
|
class ResumeCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
33
33
|
async init() {
|
|
@@ -55,6 +55,7 @@ class ResumeCommand extends abstractAsyncOperation_1.AsyncCommand {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
exports.ResumeCommand = ResumeCommand;
|
|
58
|
+
ResumeCommand.enableJsonFlag = true;
|
|
58
59
|
// common flags that can be inherited by any command that extends ResumeCommand
|
|
59
60
|
ResumeCommand.baseFlags = {
|
|
60
61
|
'devops-center-username': (0, flags_1.requiredDoceOrgFlag)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractResume.js","sourceRoot":"","sources":["../../../src/common/base/abstractResume.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"abstractResume.js","sourceRoot":"","sources":["../../../src/common/base/abstractResume.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAA4C;AAG5C,yCAKsB;AACtB,oDAA6G;AAC7G,kEAA+D;AAC/D,sDAA0D;AAC1D,qEAAwD;AAExD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,cAAc,CAAC,CAAC;AAE3F;;;;;GAKG;AACH,SAAgB,cAAc,CAAC,MAA4B;IACzD,OAAO,CAAC,6BAAoB,CAAC,SAAS,EAAE,6BAAoB,CAAC,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C,uBAAuB,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAC;SAClG;QAED,IAAI,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACrC,OAAO,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;;AA/CH,sCAgDC;AA/CwB,4BAAc,GAAG,IAAI,CAAC;AAC7C,+EAA+E;AACjE,uBAAS,GAAG;IACxB,wBAAwB,EAAE,IAAA,2BAAmB,GAAE;IAC/C,QAAQ,EAAE,aAAK;IACf,iBAAiB,EAAE,qBAAa;IAChC,OAAO,EAAP,eAAO;IACP,OAAO,EAAP,eAAO;IACP,IAAI,EAAJ,YAAI;CACL,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TTLConfig } from '@salesforce/core';
|
|
2
|
-
import { JsonMap } from '@salesforce/ts-types';
|
|
3
2
|
export type AsyncOperationData = Record<string, never>;
|
|
4
3
|
/**
|
|
5
4
|
* Caches the AOR data
|
|
@@ -27,7 +26,7 @@ export declare class DeployPipelineCache extends TTLConfig<TTLConfig.Options, As
|
|
|
27
26
|
* Updates the aorId with the data sent
|
|
28
27
|
* Merges the data sent with the existing one
|
|
29
28
|
*/
|
|
30
|
-
static update(aorId: string, data:
|
|
29
|
+
static update(aorId: string, data: Partial<TTLConfig.Entry<AsyncOperationData>>): Promise<void>;
|
|
31
30
|
/**
|
|
32
31
|
* Returns the data associated with the aorId
|
|
33
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployPipelineCache.js","sourceRoot":"","sources":["../../src/common/deployPipelineCache.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA+D;AAC/D,yCAA2C;
|
|
1
|
+
{"version":3,"file":"deployPipelineCache.js","sourceRoot":"","sources":["../../src/common/deployPipelineCache.ts"],"names":[],"mappings":";AAAA;;;;;GA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,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;IAED;;OAEG;IACI,GAAG,CAAC,KAAa;QACtB,OAAO,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC1B,CAAC;IAED;;OAEG;IACI,mBAAmB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,IAAI,CAAC,KAAK,EAAE;YACV,MAAM,aAAa,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;SACxD;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAlED,kDAkEC"}
|
|
@@ -12,7 +12,10 @@ export declare const wait: OptionFlag<Duration>;
|
|
|
12
12
|
* Makes this flag required and validates that passed in alias/username corresponds to an authenticated org.
|
|
13
13
|
* If no value is passed in, then it looks for the alias/username set in the --target-devops-center config variable.
|
|
14
14
|
*/
|
|
15
|
-
export declare const requiredDoceOrgFlag: import("@oclif/core/lib/interfaces
|
|
15
|
+
export declare const requiredDoceOrgFlag: import("@oclif/core/lib/interfaces").FlagDefinition<Org, import("@oclif/core/lib/interfaces").CustomOptions, {
|
|
16
|
+
multiple: false;
|
|
17
|
+
requiredOrDefaulted: true;
|
|
18
|
+
}>;
|
|
16
19
|
export declare const jobId: OptionFlag<string | undefined>;
|
|
17
20
|
export declare const useMostRecent: BooleanFlag<boolean>;
|
|
18
21
|
export declare const verbose: BooleanFlag<boolean>;
|
|
@@ -5,7 +5,10 @@ export declare const branchName: OptionFlag<string>;
|
|
|
5
5
|
* Custom flag for the test level.
|
|
6
6
|
* Validates that the passed in value is a valid test level.
|
|
7
7
|
*/
|
|
8
|
-
export declare const testLevel: import("@oclif/core/lib/interfaces
|
|
8
|
+
export declare const testLevel: import("@oclif/core/lib/interfaces").FlagDefinition<TestLevel, import("@oclif/core/lib/interfaces").CustomOptions, {
|
|
9
|
+
multiple: false;
|
|
10
|
+
requiredOrDefaulted: false;
|
|
11
|
+
}>;
|
|
9
12
|
export declare const specificTests: OptionFlag<string[] | undefined>;
|
|
10
13
|
export declare const deployAll: BooleanFlag<boolean>;
|
|
11
14
|
export declare const bundleVersionName: OptionFlag<string | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectorUtils.js","sourceRoot":"","sources":["../../../src/common/selectors/selectorUtils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAAwD;AAGxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,cAAc,CAAC,CAAC;AAEpF,KAAK,UAAU,YAAY,CAChC,GAAe,EACf,QAAgB,EAChB,gBAAgB,GAAG,KAAK;IAExB,0BAA0B;IAC1B,IAAI,CAAC,GAAG,EAAE;QACR,MAAM,QAAQ,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;KACzD;IACD,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE;QAChE,MAAM,QAAQ,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAC;KAC3D;IAED,uCAAuC;IACvC,IAAI;QACF,8EAA8E;QAC9E,MAAM,MAAM,GAAmB,MAAM,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"selectorUtils.js","sourceRoot":"","sources":["../../../src/common/selectors/selectorUtils.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAAwD;AAGxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,cAAc,CAAC,CAAC;AAEpF,KAAK,UAAU,YAAY,CAChC,GAAe,EACf,QAAgB,EAChB,gBAAgB,GAAG,KAAK;IAExB,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