@salesforce/plugin-devops-center 1.2.27 → 1.2.28

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.
Files changed (225) hide show
  1. package/LICENSE.txt +200 -6
  2. package/README.md +430 -19
  3. package/bin/dev.js +15 -0
  4. package/bin/run.js +5 -0
  5. package/lib/commands/devops/pipeline/activate.d.ts +14 -0
  6. package/lib/commands/devops/pipeline/activate.js +82 -0
  7. package/lib/commands/devops/pipeline/activate.js.map +1 -0
  8. package/lib/commands/devops/pipeline/attach-project.d.ts +15 -0
  9. package/lib/commands/devops/pipeline/attach-project.js +82 -0
  10. package/lib/commands/devops/pipeline/attach-project.js.map +1 -0
  11. package/lib/commands/devops/pipeline/create.d.ts +23 -0
  12. package/lib/commands/devops/pipeline/create.js +136 -0
  13. package/lib/commands/devops/pipeline/create.js.map +1 -0
  14. package/lib/commands/devops/pipeline/stage/add.d.ts +16 -0
  15. package/lib/commands/devops/pipeline/stage/add.js +94 -0
  16. package/lib/commands/devops/pipeline/stage/add.js.map +1 -0
  17. package/lib/commands/devops/project/create.d.ts +15 -0
  18. package/lib/commands/devops/project/create.js +72 -0
  19. package/lib/commands/devops/project/create.js.map +1 -0
  20. package/lib/commands/devops/project/list.d.ts +20 -0
  21. package/lib/commands/devops/project/list.js +59 -0
  22. package/lib/commands/devops/project/list.js.map +1 -0
  23. package/lib/commands/devops/pull-request/create.d.ts +17 -0
  24. package/lib/commands/devops/pull-request/create.js +104 -0
  25. package/lib/commands/devops/pull-request/create.js.map +1 -0
  26. package/lib/commands/devops/work-item/create.d.ts +16 -0
  27. package/lib/commands/devops/work-item/create.js +76 -0
  28. package/lib/commands/devops/work-item/create.js.map +1 -0
  29. package/lib/commands/devops/work-item/list.d.ts +17 -0
  30. package/lib/commands/devops/work-item/list.js +72 -0
  31. package/lib/commands/devops/work-item/list.js.map +1 -0
  32. package/lib/commands/devops/work-item/status/update.d.ts +16 -0
  33. package/lib/commands/devops/work-item/status/update.js +90 -0
  34. package/lib/commands/devops/work-item/status/update.js.map +1 -0
  35. package/lib/commands/project/deploy/pipeline/quick.d.ts +2 -2
  36. package/lib/commands/project/deploy/pipeline/quick.js +24 -21
  37. package/lib/commands/project/deploy/pipeline/quick.js.map +1 -1
  38. package/lib/commands/project/deploy/pipeline/report.d.ts +4 -4
  39. package/lib/commands/project/deploy/pipeline/report.js +38 -35
  40. package/lib/commands/project/deploy/pipeline/report.js.map +1 -1
  41. package/lib/commands/project/deploy/pipeline/resume.d.ts +2 -2
  42. package/lib/commands/project/deploy/pipeline/resume.js +24 -21
  43. package/lib/commands/project/deploy/pipeline/resume.js.map +1 -1
  44. package/lib/commands/project/deploy/pipeline/start.d.ts +3 -3
  45. package/lib/commands/project/deploy/pipeline/start.js +26 -23
  46. package/lib/commands/project/deploy/pipeline/start.js.map +1 -1
  47. package/lib/commands/project/deploy/pipeline/validate.d.ts +3 -3
  48. package/lib/commands/project/deploy/pipeline/validate.js +24 -21
  49. package/lib/commands/project/deploy/pipeline/validate.js.map +1 -1
  50. package/lib/common/base/abstractAsyncOperation.d.ts +3 -3
  51. package/lib/common/base/abstractAsyncOperation.js +31 -23
  52. package/lib/common/base/abstractAsyncOperation.js.map +1 -1
  53. package/lib/common/base/abstractPromote.d.ts +5 -4
  54. package/lib/common/base/abstractPromote.js +52 -38
  55. package/lib/common/base/abstractPromote.js.map +1 -1
  56. package/lib/common/base/abstractQuick.d.ts +4 -3
  57. package/lib/common/base/abstractQuick.js +44 -43
  58. package/lib/common/base/abstractQuick.js.map +1 -1
  59. package/lib/common/base/abstractReportOnPromote.d.ts +2 -1
  60. package/lib/common/base/abstractReportOnPromote.js +31 -24
  61. package/lib/common/base/abstractReportOnPromote.js.map +1 -1
  62. package/lib/common/base/abstractResume.d.ts +3 -2
  63. package/lib/common/base/abstractResume.js +40 -33
  64. package/lib/common/base/abstractResume.js.map +1 -1
  65. package/lib/common/constants.js +19 -13
  66. package/lib/common/constants.js.map +1 -1
  67. package/lib/common/deployPipelineCache.js +20 -15
  68. package/lib/common/deployPipelineCache.js.map +1 -1
  69. package/lib/common/flags/flags.d.ts +2 -2
  70. package/lib/common/flags/flags.js +34 -29
  71. package/lib/common/flags/flags.js.map +1 -1
  72. package/lib/common/flags/promote/promoteFlags.d.ts +3 -3
  73. package/lib/common/flags/promote/promoteFlags.js +26 -20
  74. package/lib/common/flags/promote/promoteFlags.js.map +1 -1
  75. package/lib/common/index.d.ts +3 -2
  76. package/lib/common/index.js +2 -17
  77. package/lib/common/index.js.map +1 -1
  78. package/lib/common/outputColumns.d.ts +3 -13
  79. package/lib/common/outputColumns.js +23 -19
  80. package/lib/common/outputColumns.js.map +1 -1
  81. package/lib/common/outputService/aorOutputService.d.ts +4 -4
  82. package/lib/common/outputService/aorOutputService.js +27 -20
  83. package/lib/common/outputService/aorOutputService.js.map +1 -1
  84. package/lib/common/outputService/deployCommandOutputService.d.ts +2 -2
  85. package/lib/common/outputService/deployCommandOutputService.js +17 -12
  86. package/lib/common/outputService/deployCommandOutputService.js.map +1 -1
  87. package/lib/common/outputService/deploySummaryBuilder.d.ts +1 -1
  88. package/lib/common/outputService/deploySummaryBuilder.js +45 -31
  89. package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
  90. package/lib/common/outputService/deploymentResultOutputService.d.ts +4 -4
  91. package/lib/common/outputService/deploymentResultOutputService.js +16 -10
  92. package/lib/common/outputService/deploymentResultOutputService.js.map +1 -1
  93. package/lib/common/outputService/index.d.ts +8 -6
  94. package/lib/common/outputService/index.js +5 -19
  95. package/lib/common/outputService/index.js.map +1 -1
  96. package/lib/common/outputService/outputService.d.ts +6 -4
  97. package/lib/common/outputService/outputService.js +20 -14
  98. package/lib/common/outputService/outputService.js.map +1 -1
  99. package/lib/common/outputService/outputServiceFactory.d.ts +8 -8
  100. package/lib/common/outputService/outputServiceFactory.js +21 -16
  101. package/lib/common/outputService/outputServiceFactory.js.map +1 -1
  102. package/lib/common/outputService/outputUtils.d.ts +1 -1
  103. package/lib/common/outputService/outputUtils.js +24 -19
  104. package/lib/common/outputService/outputUtils.js.map +1 -1
  105. package/lib/common/outputService/promoteOutputService.d.ts +4 -5
  106. package/lib/common/outputService/promoteOutputService.js +19 -13
  107. package/lib/common/outputService/promoteOutputService.js.map +1 -1
  108. package/lib/common/outputService/reportOutputService.d.ts +5 -6
  109. package/lib/common/outputService/reportOutputService.js +32 -27
  110. package/lib/common/outputService/reportOutputService.js.map +1 -1
  111. package/lib/common/outputService/resumeCommandOutputService.d.ts +3 -3
  112. package/lib/common/outputService/resumeCommandOutputService.js +19 -13
  113. package/lib/common/outputService/resumeCommandOutputService.js.map +1 -1
  114. package/lib/common/outputService/resumeOutputService.d.ts +3 -3
  115. package/lib/common/outputService/resumeOutputService.js +23 -17
  116. package/lib/common/outputService/resumeOutputService.js.map +1 -1
  117. package/lib/common/selectors/asyncOperationResultsSelector.d.ts +1 -1
  118. package/lib/common/selectors/asyncOperationResultsSelector.js +16 -10
  119. package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
  120. package/lib/common/selectors/deployComponentsSelector.d.ts +1 -1
  121. package/lib/common/selectors/deployComponentsSelector.js +18 -13
  122. package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
  123. package/lib/common/selectors/deployProgressSummarySelector.d.ts +2 -2
  124. package/lib/common/selectors/deployProgressSummarySelector.js +16 -10
  125. package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
  126. package/lib/common/selectors/deploymentResultsSelector.d.ts +2 -2
  127. package/lib/common/selectors/deploymentResultsSelector.js +20 -16
  128. package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
  129. package/lib/common/selectors/environmentSelector.d.ts +2 -2
  130. package/lib/common/selectors/environmentSelector.js +16 -10
  131. package/lib/common/selectors/environmentSelector.js.map +1 -1
  132. package/lib/common/selectors/namedCredentialSelector.d.ts +1 -1
  133. package/lib/common/selectors/namedCredentialSelector.js +16 -10
  134. package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
  135. package/lib/common/selectors/pipelineStageSelector.d.ts +1 -1
  136. package/lib/common/selectors/pipelineStageSelector.js +18 -13
  137. package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
  138. package/lib/common/selectors/selectorUtils.d.ts +1 -1
  139. package/lib/common/selectors/selectorUtils.js +17 -11
  140. package/lib/common/selectors/selectorUtils.js.map +1 -1
  141. package/lib/common/selectors/validateDeploySelector.d.ts +1 -1
  142. package/lib/common/selectors/validateDeploySelector.js +16 -10
  143. package/lib/common/selectors/validateDeploySelector.js.map +1 -1
  144. package/lib/common/selectors/workItemSelector.d.ts +2 -2
  145. package/lib/common/selectors/workItemSelector.js +16 -10
  146. package/lib/common/selectors/workItemSelector.js.map +1 -1
  147. package/lib/common/types.d.ts +4 -4
  148. package/lib/common/types.js +4 -7
  149. package/lib/common/types.js.map +1 -1
  150. package/lib/common/utils.d.ts +4 -4
  151. package/lib/common/utils.js +42 -43
  152. package/lib/common/utils.js.map +1 -1
  153. package/lib/configMeta.js +21 -15
  154. package/lib/configMeta.js.map +1 -1
  155. package/lib/streamer/doceMonitor.d.ts +3 -2
  156. package/lib/streamer/doceMonitor.js +14 -6
  157. package/lib/streamer/doceMonitor.js.map +1 -1
  158. package/lib/streamer/doceStream.d.ts +1 -1
  159. package/lib/streamer/doceStream.js +19 -11
  160. package/lib/streamer/doceStream.js.map +1 -1
  161. package/lib/streamer/processors/asyncOpStream.d.ts +2 -2
  162. package/lib/streamer/processors/asyncOpStream.js +22 -15
  163. package/lib/streamer/processors/asyncOpStream.js.map +1 -1
  164. package/lib/streamer/sObjectStream.d.ts +1 -1
  165. package/lib/streamer/sObjectStream.js +9 -10
  166. package/lib/streamer/sObjectStream.js.map +1 -1
  167. package/lib/utils/activatePipeline.d.ts +17 -0
  168. package/lib/utils/activatePipeline.js +35 -0
  169. package/lib/utils/activatePipeline.js.map +1 -0
  170. package/lib/utils/addPipelineStage.d.ts +20 -0
  171. package/lib/utils/addPipelineStage.js +43 -0
  172. package/lib/utils/addPipelineStage.js.map +1 -0
  173. package/lib/utils/attachProject.d.ts +21 -0
  174. package/lib/utils/attachProject.js +44 -0
  175. package/lib/utils/attachProject.js.map +1 -0
  176. package/lib/utils/createPipeline.d.ts +34 -0
  177. package/lib/utils/createPipeline.js +77 -0
  178. package/lib/utils/createPipeline.js.map +1 -0
  179. package/lib/utils/createProject.d.ts +17 -0
  180. package/lib/utils/createProject.js +39 -0
  181. package/lib/utils/createProject.js.map +1 -0
  182. package/lib/utils/createPullRequest.d.ts +49 -0
  183. package/lib/utils/createPullRequest.js +204 -0
  184. package/lib/utils/createPullRequest.js.map +1 -0
  185. package/lib/utils/createWorkItem.d.ts +19 -0
  186. package/lib/utils/createWorkItem.js +58 -0
  187. package/lib/utils/createWorkItem.js.map +1 -0
  188. package/lib/utils/pipelineUtils.d.ts +8 -0
  189. package/lib/utils/pipelineUtils.js +51 -0
  190. package/lib/utils/pipelineUtils.js.map +1 -0
  191. package/lib/utils/types.d.ts +57 -0
  192. package/lib/utils/types.js +17 -0
  193. package/lib/utils/types.js.map +1 -0
  194. package/lib/utils/updateWorkItemStatus.d.ts +34 -0
  195. package/lib/utils/updateWorkItemStatus.js +71 -0
  196. package/lib/utils/updateWorkItemStatus.js.map +1 -0
  197. package/lib/utils/workItems.d.ts +3 -0
  198. package/lib/utils/workItems.js +181 -0
  199. package/lib/utils/workItems.js.map +1 -0
  200. package/messages/commonErrors.md +5 -1
  201. package/messages/devops.pipeline.activate.md +29 -0
  202. package/messages/devops.pipeline.attach-project.md +29 -0
  203. package/messages/devops.pipeline.create.md +81 -0
  204. package/messages/devops.pipeline.stage.add.md +37 -0
  205. package/messages/devops.project.create.md +29 -0
  206. package/messages/devops.project.list.md +17 -0
  207. package/messages/devops.pull-request.create.md +57 -0
  208. package/messages/devops.work-item.create.md +29 -0
  209. package/messages/devops.work-item.list.md +21 -0
  210. package/messages/devops.work-item.status.update.md +29 -0
  211. package/npm-shrinkwrap.json +4196 -4470
  212. package/oclif.lock +3380 -3272
  213. package/oclif.manifest.json +863 -11
  214. package/package.json +53 -23
  215. package/schemas/devops-pipeline-activate.json +28 -0
  216. package/schemas/devops-pipeline-attach__project.json +25 -0
  217. package/schemas/devops-pipeline-create.json +50 -0
  218. package/schemas/devops-pipeline-stage-add.json +31 -0
  219. package/schemas/devops-project-create.json +28 -0
  220. package/schemas/devops-project-list.json +35 -0
  221. package/schemas/devops-pull__request-create.json +34 -0
  222. package/schemas/devops-work__item-create.json +28 -0
  223. package/schemas/devops-work__item-list.json +75 -0
  224. package/schemas/devops-work__item-status-update.json +28 -0
  225. package/schemas/project-deploy-pipeline-report.json +2 -2
@@ -1,23 +1,30 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AbstractPromoteOutputService = void 0;
10
- const core_1 = require("@salesforce/core");
11
- const resumeOutputService_1 = require("./resumeOutputService");
16
+ import { Messages } from '@salesforce/core';
17
+ import { AbstractResumeOutputService } from './resumeOutputService.js';
12
18
  /* eslint-disable @typescript-eslint/no-empty-interface, no-console */
13
- core_1.Messages.importMessagesDirectory(__dirname);
14
- const output = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'deploy.output');
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const output = Messages.loadMessages('@salesforce/plugin-devops-center', 'deploy.output');
15
21
  /**
16
22
  * Abstract class that implements PromoteOutputService interface
17
23
  *
18
24
  * @author JuanStenghele-sf
19
25
  */
20
- class AbstractPromoteOutputService extends resumeOutputService_1.AbstractResumeOutputService {
26
+ export class AbstractPromoteOutputService extends AbstractResumeOutputService {
27
+ summaryBuilder;
21
28
  constructor(flags, summaryBuilder, con) {
22
29
  super(flags, '');
23
30
  this.summaryBuilder = summaryBuilder;
@@ -40,5 +47,4 @@ class AbstractPromoteOutputService extends resumeOutputService_1.AbstractResumeO
40
47
  }
41
48
  }
42
49
  }
43
- exports.AbstractPromoteOutputService = AbstractPromoteOutputService;
44
50
  //# sourceMappingURL=promoteOutputService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"promoteOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/promoteOutputService.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAAwD;AAIxD,+DAAyF;AAEzF,sEAAsE;AAEtE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,eAAe,CAAC,CAAC;AAa1F;;;;GAIG;AACH,MAAsB,4BACpB,SAAQ,iDAA+C;IAKvD,YAAmB,KAAyB,EAAE,cAAoC,EAAE,GAAe;QACjG,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAEM,KAAK,CAAC,cAAc;QACzB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACrB,yDAAyD;YACzD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACpF,CAAC;aAAM,CAAC;YACN,oCAAoC;YACpC,MAAM,0BAA0B,GAA8B,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAC3F,IAAI,CAAC,KAAK,CAAC,MAAM,EACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,KAAK,CACX,CAAC;YACF,IAAI,0BAA0B,KAAK,SAAS,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,uBAAuB;YACvB,6DAA6D;YAC7D,MAAM,0BAA0B,CAAC,cAAc,EAAE,CAAC;QACpD,CAAC;IACH,CAAC;CACF;AAhCD,oEAgCC"}
1
+ {"version":3,"file":"promoteOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/promoteOutputService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAc,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,EAAuB,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE5F,sEAAsE;AAEtE,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,MAAM,GAAG,QAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,eAAe,CAAC,CAAC;AAa1F;;;;GAIG;AACH,MAAM,OAAgB,4BACpB,SAAQ,2BAA+C;IAG/C,cAAc,CAAuB;IAE7C,YAAmB,KAAyB,EAAE,cAAoC,EAAE,GAAe;QACjG,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAEM,KAAK,CAAC,cAAc;QACzB,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACrB,yDAAyD;YACzD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACpF,CAAC;aAAM,CAAC;YACN,oCAAoC;YACpC,MAAM,0BAA0B,GAA8B,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAC3F,IAAI,CAAC,KAAK,CAAC,MAAM,EACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,KAAK,CACX,CAAC;YACF,IAAI,0BAA0B,KAAK,SAAS,EAAE,CAAC;gBAC7C,OAAO;YACT,CAAC;YAED,uBAAuB;YACvB,6DAA6D;YAC7D,MAAM,0BAA0B,CAAC,cAAc,EAAE,CAAC;QACpD,CAAC;IACH,CAAC;CACF"}
@@ -1,13 +1,12 @@
1
1
  import { SfCommand } from '@salesforce/sf-plugins-core';
2
- import { Flags } from '../base/abstractReportOnPromote';
3
- import { DeploymentResult } from '../types';
4
- import { AbstractDeploymentResultOutputService, DeploymentResultOutputService } from './deploymentResultOutputService';
5
- import { OutputFlags } from './outputService';
2
+ import { Flags } from '../base/abstractReportOnPromote.js';
3
+ import { DeploymentResult } from '../types.js';
4
+ import { AbstractDeploymentResultOutputService, DeploymentResultOutputService } from './deploymentResultOutputService.js';
5
+ import { OutputFlags } from './outputService.js';
6
6
  /**
7
7
  * Interface for output methods for report operations.
8
8
  */
9
- export interface ReportOutputService extends DeploymentResultOutputService {
10
- }
9
+ export type ReportOutputService = DeploymentResultOutputService;
11
10
  /**
12
11
  * Base class.
13
12
  */
@@ -1,26 +1,32 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.PromoteReportOutputService = exports.AbstractReportOutputService = void 0;
10
- const core_1 = require("@salesforce/core");
11
- const utils_1 = require("../utils");
12
- const outputUtils_1 = require("./outputUtils");
13
- const deploymentResultOutputService_1 = require("./deploymentResultOutputService");
16
+ import { Messages } from '@salesforce/core';
17
+ import { sObjectToArrayOfKeyValue } from '../utils.js';
18
+ import { tableHeader } from './outputUtils.js';
19
+ import { AbstractDeploymentResultOutputService, } from './deploymentResultOutputService.js';
14
20
  /* eslint-disable @typescript-eslint/no-empty-interface */
15
- core_1.Messages.importMessagesDirectory(__dirname);
16
- const messages = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'project.deploy.pipeline.report');
21
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
22
+ const messages = Messages.loadMessages('@salesforce/plugin-devops-center', 'project.deploy.pipeline.report');
17
23
  /**
18
24
  * Base class.
19
25
  */
20
- class AbstractReportOutputService extends deploymentResultOutputService_1.AbstractDeploymentResultOutputService {
26
+ export class AbstractReportOutputService extends AbstractDeploymentResultOutputService {
21
27
  }
22
- exports.AbstractReportOutputService = AbstractReportOutputService;
23
- class PromoteReportOutputService extends AbstractReportOutputService {
28
+ export class PromoteReportOutputService extends AbstractReportOutputService {
29
+ operationName;
24
30
  constructor(flags, deploymentResult, operationName) {
25
31
  super({
26
32
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
@@ -35,20 +41,19 @@ class PromoteReportOutputService extends AbstractReportOutputService {
35
41
  }
36
42
  printDeploymentResult() {
37
43
  // convert every field of the deployment result record into a key:value pair.
38
- const formattedDeploymentResult = (0, utils_1.sObjectToArrayOfKeyValue)(this.deploymentResult)
44
+ const formattedDeploymentResult = sObjectToArrayOfKeyValue(this.deploymentResult)
39
45
  // rename User.Name field.
40
- .map((x) => {
41
- x.key = x.key === 'Name' ? messages.getMessage('report.key.created-by-name') : x.key;
42
- return x;
43
- })
46
+ .map((x) => ({
47
+ ...x,
48
+ key: x.key === 'Name' ? messages.getMessage('report.key.created-by-name') : x.key,
49
+ }))
44
50
  // sort by key.
45
51
  .sort((a, b) => (a.key < b.key ? -1 : 1));
46
- const columns = {
47
- key: { header: messages.getMessage('report.key.column') },
48
- value: { header: messages.getMessage('report.value.column') },
49
- };
50
- this.displayTable(formattedDeploymentResult, (0, outputUtils_1.tableHeader)(`${this.operationName} ${messages.getMessage('report.info.header')}`), columns);
52
+ const columns = [
53
+ { key: 'key', name: messages.getMessage('report.key.column') },
54
+ { key: 'value', name: messages.getMessage('report.value.column') },
55
+ ];
56
+ this.displayTable(formattedDeploymentResult, tableHeader(`${this.operationName} ${messages.getMessage('report.info.header')}`), columns);
51
57
  }
52
58
  }
53
- exports.PromoteReportOutputService = PromoteReportOutputService;
54
59
  //# sourceMappingURL=reportOutputService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reportOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/reportOutputService.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,2CAA4C;AAE5C,oCAAoD;AAEpD,+CAA4C;AAC5C,mFAAuH;AAGvH,0DAA0D;AAE1D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,gCAAgC,CAAC,CAAC;AAO7G;;GAEG;AACH,MAAsB,2BACpB,SAAQ,qEAAwC;CACf;AAFnC,kEAEmC;AAEnC,MAAa,0BAA2B,SAAQ,2BAAwC;IAGtF,YAAmB,KAA8B,EAAE,gBAAkC,EAAE,aAAqB;QAC1G,KAAK,CACH;YACE,mEAAmE;YACnE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;YACzB,mEAAmE;YACnE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;SAC1B,EACD,gBAAgB,CACjB,CAAC;QACF,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAEM,cAAc;QACnB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEM,qBAAqB;QAC1B,6EAA6E;QAC7E,MAAM,yBAAyB,GAAG,IAAA,gCAAwB,EAAC,IAAI,CAAC,gBAAgB,CAAC;YAC/E,0BAA0B;aACzB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACT,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YACrF,OAAO,CAAC,CAAC;QACX,CAAC,CAAC;YACF,eAAe;aACd,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAE5C,MAAM,OAAO,GAAG;YACd,GAAG,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;YACzD,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC,EAAE;SAC9D,CAAC;QAEF,IAAI,CAAC,YAAY,CACf,yBAAyB,EACzB,IAAA,yBAAW,EAAC,GAAG,IAAI,CAAC,aAAa,IAAI,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EAAE,CAAC,EACjF,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA1CD,gEA0CC"}
1
+ {"version":3,"file":"reportOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/reportOutputService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EACL,qCAAqC,GAEtC,MAAM,oCAAoC,CAAC;AAG5C,0DAA0D;AAE1D,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,gCAAgC,CAAC,CAAC;AAO7G;;GAEG;AACH,MAAM,OAAgB,2BACpB,SAAQ,qCAAwC;CACf;AAEnC,MAAM,OAAO,0BAA2B,SAAQ,2BAAwC;IAC9E,aAAa,CAAS;IAE9B,YAAmB,KAA8B,EAAE,gBAAkC,EAAE,aAAqB;QAC1G,KAAK,CACH;YACE,mEAAmE;YACnE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;YACzB,mEAAmE;YACnE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;SAC1B,EACD,gBAAgB,CACjB,CAAC;QACF,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAEM,cAAc;QACnB,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEM,qBAAqB;QAC1B,6EAA6E;QAC7E,MAAM,yBAAyB,GAAG,wBAAwB,CAAC,IAAI,CAAC,gBAAgB,CAAC;YAC/E,0BAA0B;aACzB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACX,GAAG,CAAC;YACJ,GAAG,EAAE,CAAC,CAAC,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;SAClF,CAAC,CAAC;YACH,eAAe;aACd,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAE5C,MAAM,OAAO,GAAG;YACd,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;YAC9D,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC,EAAE;SACnE,CAAC;QAEF,IAAI,CAAC,YAAY,CACf,yBAAyB,EACzB,WAAW,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EAAE,CAAC,EACjF,OAAO,CACR,CAAC;IACJ,CAAC;CACF"}
@@ -1,8 +1,8 @@
1
1
  import { Connection } from '@salesforce/core';
2
2
  import { SfCommand } from '@salesforce/sf-plugins-core';
3
- import { Flags } from '../base/abstractResume';
4
- import { AorOutputFlags } from './aorOutputService';
5
- import { AbstractResumeOutputService } from './resumeOutputService';
3
+ import { Flags } from '../base/abstractResume.js';
4
+ import { AorOutputFlags } from './aorOutputService.js';
5
+ import { AbstractResumeOutputService } from './resumeOutputService.js';
6
6
  /**
7
7
  * Service class to print the resume output
8
8
  *
@@ -1,23 +1,30 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.ResumeCommandOutputService = void 0;
10
16
  /* eslint-disable no-console, @typescript-eslint/require-await */
11
- const core_1 = require("@salesforce/core");
12
- const resumeOutputService_1 = require("./resumeOutputService");
13
- core_1.Messages.importMessagesDirectory(__dirname);
14
- const output = core_1.Messages.loadMessages('@salesforce/plugin-devops-center', 'resume.output');
17
+ import { Messages } from '@salesforce/core';
18
+ import { AbstractResumeOutputService } from './resumeOutputService.js';
19
+ Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
20
+ const output = Messages.loadMessages('@salesforce/plugin-devops-center', 'resume.output');
15
21
  /**
16
22
  * Service class to print the resume output
17
23
  *
18
24
  * @author JuanStenghele-sf
19
25
  */
20
- class ResumeCommandOutputService extends resumeOutputService_1.AbstractResumeOutputService {
26
+ export class ResumeCommandOutputService extends AbstractResumeOutputService {
27
+ operationType;
21
28
  constructor(flags, operationType, con) {
22
29
  super({
23
30
  concise: flags['concise'],
@@ -30,5 +37,4 @@ class ResumeCommandOutputService extends resumeOutputService_1.AbstractResumeOut
30
37
  console.log(output.getMessage('output.summary', [this.operationType]));
31
38
  }
32
39
  }
33
- exports.ResumeCommandOutputService = ResumeCommandOutputService;
34
40
  //# sourceMappingURL=resumeCommandOutputService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resumeCommandOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/resumeCommandOutputService.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iEAAiE;AAEjE,2CAAwD;AAIxD,+DAAoE;AAEpE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,MAAM,GAAG,eAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,eAAe,CAAC,CAAC;AAE1F;;;;GAIG;AACH,MAAa,0BAA2B,SAAQ,iDAA2C;IAGzF,YAAmB,KAA8B,EAAE,aAAqB,EAAE,GAAe;QACvF,KAAK,CACH;YACE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;YACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;SAC1B,EACD,EAAE,CACH,CAAC;QACF,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAEM,cAAc;QACnB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;CACF;AAlBD,gEAkBC"}
1
+ {"version":3,"file":"resumeCommandOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/resumeCommandOutputService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,iEAAiE;AAEjE,OAAO,EAAc,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,MAAM,GAAG,QAAQ,CAAC,YAAY,CAAC,kCAAkC,EAAE,eAAe,CAAC,CAAC;AAE1F;;;;GAIG;AACH,MAAM,OAAO,0BAA2B,SAAQ,2BAA2C;IACjF,aAAa,CAAS;IAE9B,YAAmB,KAA8B,EAAE,aAAqB,EAAE,GAAe;QACvF,KAAK,CACH;YACE,OAAO,EAAE,KAAK,CAAC,SAAS,CAAwB;YAChD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAwB;SACjD,EACD,EAAE,CACH,CAAC;QACF,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAEM,cAAc;QACnB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IACzE,CAAC;CACF"}
@@ -1,13 +1,13 @@
1
1
  import { Connection } from '@salesforce/core';
2
- import { AorOutputService, AorOutputFlags, AbstractAorOutputService } from './aorOutputService';
2
+ import { AorOutputService, AorOutputFlags, AbstractAorOutputService } from './aorOutputService.js';
3
3
  /**
4
4
  * Interface for output methods for resume operations
5
5
  *
6
6
  * @author JuanStenghele-sf
7
7
  */
8
- export interface ResumeOutputService extends AorOutputService {
8
+ export type ResumeOutputService = AorOutputService & {
9
9
  displayEndResults(): void;
10
- }
10
+ };
11
11
  /**
12
12
  * Abstract class that implements ResumeOutputService interface
13
13
  *
@@ -1,33 +1,39 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.AbstractResumeOutputService = void 0;
10
- const outputColumns_1 = require("../outputColumns");
11
- const deploymentResultsSelector_1 = require("../selectors/deploymentResultsSelector");
12
- const utils_1 = require("../utils");
13
- const aorOutputService_1 = require("./aorOutputService");
16
+ import { DeployComponentsTable } from '../outputColumns.js';
17
+ import { isCheckDeploy } from '../selectors/deploymentResultsSelector.js';
18
+ import { getFormattedDeployComponentsByAyncOpId } from '../utils.js';
19
+ import { AbstractAorOutputService } from './aorOutputService.js';
14
20
  /**
15
21
  * Abstract class that implements ResumeOutputService interface
16
22
  *
17
23
  * @author JuanStenghele-sf
18
24
  */
19
- class AbstractResumeOutputService extends aorOutputService_1.AbstractAorOutputService {
25
+ export class AbstractResumeOutputService extends AbstractAorOutputService {
26
+ con;
20
27
  /**
21
28
  * This method will print a table of the deployed components for the current AOR
22
29
  */
23
30
  async displayEndResults() {
24
31
  if (this.flags.verbose) {
25
- const isValidateDeploy = await (0, deploymentResultsSelector_1.isCheckDeploy)(this.con, this.aorId);
26
- const components = await (0, utils_1.getFormattedDeployComponentsByAyncOpId)(this.con, this.aorId, isValidateDeploy);
27
- const title = isValidateDeploy ? outputColumns_1.DeployComponentsTable.validateDeployTitle : outputColumns_1.DeployComponentsTable.title;
28
- this.displayTable(components, title, outputColumns_1.DeployComponentsTable.columns);
32
+ const isValidateDeploy = await isCheckDeploy(this.con, this.aorId);
33
+ const components = await getFormattedDeployComponentsByAyncOpId(this.con, this.aorId, isValidateDeploy);
34
+ const title = isValidateDeploy ? DeployComponentsTable.validateDeployTitle : DeployComponentsTable.title;
35
+ this.displayTable(components, title, DeployComponentsTable.columns);
29
36
  }
30
37
  }
31
38
  }
32
- exports.AbstractResumeOutputService = AbstractResumeOutputService;
33
39
  //# sourceMappingURL=resumeOutputService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resumeOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/resumeOutputService.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,oDAAyD;AACzD,sFAAuE;AAEvE,oCAAkE;AAClE,yDAAgG;AAahG;;;;GAIG;AACH,MAAsB,2BACpB,SAAQ,2CAA2B;IAKnC;;OAEG;IACI,KAAK,CAAC,iBAAiB;QAC5B,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;YACvB,MAAM,gBAAgB,GAAG,MAAM,IAAA,yCAAa,EAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACnE,MAAM,UAAU,GAAsB,MAAM,IAAA,8CAAsC,EAChF,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,KAAK,EACV,gBAAgB,CACjB,CAAC;YACF,MAAM,KAAK,GAAG,gBAAgB,CAAC,CAAC,CAAC,qCAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,qCAAqB,CAAC,KAAK,CAAC;YACzG,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,qCAAqB,CAAC,OAAO,CAAC,CAAC;QACtE,CAAC;IACH,CAAC;CACF;AArBD,kEAqBC"}
1
+ {"version":3,"file":"resumeOutputService.js","sourceRoot":"","sources":["../../../src/common/outputService/resumeOutputService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAE1E,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAoC,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAanG;;;;GAIG;AACH,MAAM,OAAgB,2BACpB,SAAQ,wBAA2B;IAGzB,GAAG,CAAa;IAE1B;;OAEG;IACI,KAAK,CAAC,iBAAiB;QAC5B,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;YACvB,MAAM,gBAAgB,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YACnE,MAAM,UAAU,GAAsB,MAAM,sCAAsC,CAChF,IAAI,CAAC,GAAG,EACR,IAAI,CAAC,KAAK,EACV,gBAAgB,CACjB,CAAC;YACF,MAAM,KAAK,GAAG,gBAAgB,CAAC,CAAC,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,CAAC,KAAK,CAAC;YACzG,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;QACtE,CAAC;IACH,CAAC;CACF"}
@@ -1,5 +1,5 @@
1
1
  import { Connection } from '@salesforce/core';
2
- import { AsyncOperationResult } from '../types';
2
+ import { AsyncOperationResult } from '../types.js';
3
3
  /**
4
4
  *
5
5
  * Returns an Async Operation Result record filtering by project name.
@@ -1,22 +1,28 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.selectAsyncOperationResultById = selectAsyncOperationResultById;
10
- const selectorUtils_1 = require("./selectorUtils");
16
+ import { runSafeQuery } from './selectorUtils.js';
11
17
  /**
12
18
  *
13
19
  * Returns an Async Operation Result record filtering by project name.
14
20
  */
15
- async function selectAsyncOperationResultById(con, aorId) {
21
+ export async function selectAsyncOperationResultById(con, aorId) {
16
22
  const queryStr = `SELECT sf_devops__Status__c, sf_devops__Message__c, sf_devops__Error_Details__c
17
23
  FROM sf_devops__Async_Operation_Result__c
18
24
  WHERE Id = '${aorId}'`;
19
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr);
25
+ const resp = await runSafeQuery(con, queryStr);
20
26
  return resp.records[0];
21
27
  }
22
28
  //# sourceMappingURL=asyncOperationResultsSelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"asyncOperationResultsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/asyncOperationResultsSelector.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAWH,wEAOC;AAbD,mDAA+C;AAE/C;;;GAGG;AACI,KAAK,UAAU,8BAA8B,CAAC,GAAe,EAAE,KAAa;IACjF,MAAM,QAAQ,GAAG;;kCAEe,KAAK,GAAG,CAAC;IAEzC,MAAM,IAAI,GAAsC,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAClF,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"asyncOperationResultsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/asyncOperationResultsSelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,GAAe,EAAE,KAAa;IACjF,MAAM,QAAQ,GAAG;;kCAEe,KAAK,GAAG,CAAC;IAEzC,MAAM,IAAI,GAAsC,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAClF,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { Connection } from '@salesforce/core';
2
- import { DeployComponent } from '../types';
2
+ import { DeployComponent } from '../types.js';
3
3
  export declare function selectDeployComponentsByAsyncOpId(con: Connection, asyncOpId: string): Promise<DeployComponent[]>;
4
4
  export declare function selectDeployComponentsForCheckDeployByAsynchOpId(con: Connection, asyncOpId: string): Promise<DeployComponent[]>;
@@ -1,26 +1,31 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.selectDeployComponentsByAsyncOpId = selectDeployComponentsByAsyncOpId;
10
- exports.selectDeployComponentsForCheckDeployByAsynchOpId = selectDeployComponentsForCheckDeployByAsynchOpId;
11
- const selectorUtils_1 = require("./selectorUtils");
12
- async function selectDeployComponentsByAsyncOpId(con, asyncOpId) {
16
+ import { runSafeQuery } from './selectorUtils.js';
17
+ export async function selectDeployComponentsByAsyncOpId(con, asyncOpId) {
13
18
  const queryStr = `SELECT sf_devops__Source_Component__c, sf_devops__Operation__c, sf_devops__File_Path__c
14
19
  FROM sf_devops__Deploy_Component__c
15
20
  WHERE sf_devops__Deployment_Result__r.sf_devops__Status__c = '${asyncOpId}'`;
16
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr);
21
+ const resp = await runSafeQuery(con, queryStr);
17
22
  return resp.records;
18
23
  }
19
- async function selectDeployComponentsForCheckDeployByAsynchOpId(con, asyncOpId) {
24
+ export async function selectDeployComponentsForCheckDeployByAsynchOpId(con, asyncOpId) {
20
25
  const queryStr = `SELECT sf_devops__Source_Component__c, sf_devops__Operation__c, sf_devops__File_Path__c
21
26
  FROM sf_devops__Deploy_Component__c
22
27
  WHERE sf_devops__Deployment_Result__r.sf_devops__Check_Deploy_Status__c = '${asyncOpId}'`;
23
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr);
28
+ const resp = await runSafeQuery(con, queryStr);
24
29
  return resp.records;
25
30
  }
26
31
  //# sourceMappingURL=deployComponentsSelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployComponentsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deployComponentsSelector.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAOH,8EAUC;AAED,4GAUC;AAxBD,mDAA+C;AAExC,KAAK,UAAU,iCAAiC,CACrD,GAAe,EACf,SAAiB;IAEjB,MAAM,QAAQ,GAAG;;oFAEiE,SAAS,GAAG,CAAC;IAE/F,MAAM,IAAI,GAAiC,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC7E,OAAO,IAAI,CAAC,OAAO,CAAC;AACtB,CAAC;AAEM,KAAK,UAAU,gDAAgD,CACpE,GAAe,EACf,SAAiB;IAEjB,MAAM,QAAQ,GAAG;;iGAE8E,SAAS,GAAG,CAAC;IAE5G,MAAM,IAAI,GAAiC,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC7E,OAAO,IAAI,CAAC,OAAO,CAAC;AACtB,CAAC"}
1
+ {"version":3,"file":"deployComponentsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deployComponentsSelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,GAAe,EACf,SAAiB;IAEjB,MAAM,QAAQ,GAAG;;oFAEiE,SAAS,GAAG,CAAC;IAE/F,MAAM,IAAI,GAAiC,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC7E,OAAO,IAAI,CAAC,OAAO,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gDAAgD,CACpE,GAAe,EACf,SAAiB;IAEjB,MAAM,QAAQ,GAAG;;iGAE8E,SAAS,GAAG,CAAC;IAE5G,MAAM,IAAI,GAAiC,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC7E,OAAO,IAAI,CAAC,OAAO,CAAC;AACtB,CAAC"}
@@ -1,6 +1,6 @@
1
- import { QueryResult } from 'jsforce';
1
+ import { QueryResult } from '@jsforce/jsforce-node';
2
2
  import { Connection } from '@salesforce/core';
3
- import { ChangeBundleInstall, WorkItemPromote, WorkItem } from '../types';
3
+ import { ChangeBundleInstall, WorkItemPromote, WorkItem } from '../types.js';
4
4
  export type DeploySummaryQueryResult = {
5
5
  sf_devops__Work_Item_Promotes__r: QueryResult<WorkItemPromote> | null;
6
6
  sf_devops__Change_Bundle_Installs__r: QueryResult<ChangeBundleInstall> | null;
@@ -1,24 +1,30 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.selectDeployAORSummaryDataById = selectDeployAORSummaryDataById;
10
- const selectorUtils_1 = require("./selectorUtils");
16
+ import { runSafeQuery } from './selectorUtils.js';
11
17
  /**
12
18
  * Returns the data necessary to create the deploy summary (or part of it).
13
19
  */
14
- async function selectDeployAORSummaryDataById(con, aorId) {
20
+ export async function selectDeployAORSummaryDataById(con, aorId) {
15
21
  const queryStr = `SELECT Id, sf_devops__Operation__c,
16
22
  (SELECT sf_devops__Pipeline_Stage__r.Name, sf_devops__Pipeline_Stage__r.sf_devops__Environment__r.sf_devops__Named_Credential__c, sf_devops__Pipeline_Stage__r.sf_devops__Environment__r.Name, sf_devops__Work_Item__r.Name FROM sf_devops__Work_Item_Promotes__r),
17
23
  (SELECT sf_devops__Change_Bundle__r.Id, sf_devops__Change_Bundle__r.sf_devops__Version_Name__c, sf_devops__Environment__r.Id FROM sf_devops__Change_Bundle_Installs__r),
18
24
  (SELECT Name FROM sf_devops__Work_Items__r)
19
25
  FROM sf_devops__Async_Operation_Result__c
20
26
  WHERE Id = '${aorId}'`;
21
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr);
27
+ const resp = await runSafeQuery(con, queryStr);
22
28
  return resp.records[0];
23
29
  }
24
30
  //# sourceMappingURL=deployProgressSummarySelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployProgressSummarySelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deployProgressSummarySelector.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAkBH,wEAaC;AA1BD,mDAA+C;AAU/C;;GAEG;AACI,KAAK,UAAU,8BAA8B,CAClD,GAAe,EACf,KAAa;IAEb,MAAM,QAAQ,GAAG;;;;;kCAKe,KAAK,GAAG,CAAC;IAEzC,MAAM,IAAI,GAA0C,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACtF,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"deployProgressSummarySelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deployProgressSummarySelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAUlD;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,GAAe,EACf,KAAa;IAEb,MAAM,QAAQ,GAAG;;;;;kCAKe,KAAK,GAAG,CAAC;IAEzC,MAAM,IAAI,GAA0C,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACtF,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Connection } from '@salesforce/core';
2
- import { QueryResult } from 'jsforce';
3
- import { AsyncOperationResult, ChangeBundleInstall, DeploymentResult } from '../types';
2
+ import { QueryResult } from '@jsforce/jsforce-node';
3
+ import { AsyncOperationResult, ChangeBundleInstall, DeploymentResult } from '../types.js';
4
4
  export type DeploymentResultCheckDeploy = {
5
5
  sf_devops__Check_Deploy__c: boolean | null;
6
6
  };
@@ -1,40 +1,44 @@
1
- "use strict";
2
1
  /*
3
- * Copyright (c) 2023, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2
+ * Copyright 2026, Salesforce, Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
7
15
  */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.selectOneDeploymentResultByAsyncJobId = selectOneDeploymentResultByAsyncJobId;
10
- exports.isCheckDeploy = isCheckDeploy;
11
- exports.selectOneDeploymentResultWithChangeBundleInstallsByAsyncJobId = selectOneDeploymentResultWithChangeBundleInstallsByAsyncJobId;
12
- const selectorUtils_1 = require("./selectorUtils");
16
+ import { runSafeQuery } from './selectorUtils.js';
13
17
  /**
14
18
  *
15
19
  * Returns deployment result record filtering by async job id.
16
20
  */
17
- async function selectOneDeploymentResultByAsyncJobId(con, asyncJobId) {
21
+ export async function selectOneDeploymentResultByAsyncJobId(con, asyncJobId) {
18
22
  const queryStr = `SELECT sf_devops__Full_Deploy__c, sf_devops__Check_Deploy__c, sf_devops__Test_Level__c, sf_devops__Run_Tests__c, sf_devops__Completion_Date__c,
19
23
  sf_devops__Status__r.Id, sf_devops__Status__r.CreatedDate, sf_devops__Status__r.CreatedById,
20
24
  sf_devops__Status__r.CreatedBy.Name, sf_devops__Status__r.sf_devops__Message__c,
21
25
  sf_devops__Status__r.sf_devops__Status__c, sf_devops__Status__r.sf_devops__Error_Details__c
22
26
  FROM sf_devops__Deployment_Result__c
23
27
  WHERE sf_devops__Status__r.Id = '${asyncJobId}'`;
24
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr, true);
28
+ const resp = await runSafeQuery(con, queryStr, true);
25
29
  return resp.totalSize > 0 ? resp.records[0] : null;
26
30
  }
27
31
  /**
28
32
  *
29
33
  * Returns if a deployment result is from a Check-Deploy by async job id.
30
34
  */
31
- async function isCheckDeploy(con, asyncJobId) {
35
+ export async function isCheckDeploy(con, asyncJobId) {
32
36
  const queryStr = `SELECT sf_devops__Check_Deploy__c,
33
37
  sf_devops__Status__r.Id, sf_devops__Check_Deploy_Status__r.Id
34
38
  FROM sf_devops__Deployment_Result__c
35
39
  WHERE sf_devops__Status__r.Id = '${asyncJobId}'
36
40
  OR sf_devops__Check_Deploy_Status__r.Id = '${asyncJobId}'`;
37
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr, true);
41
+ const resp = await runSafeQuery(con, queryStr, true);
38
42
  const result = resp.totalSize > 0 && !!resp.records[0].sf_devops__Check_Deploy__c;
39
43
  return result;
40
44
  }
@@ -42,14 +46,14 @@ async function isCheckDeploy(con, asyncJobId) {
42
46
  *
43
47
  * Returns deployment result record with Change Bundle Installs filtering by check deploy job id.
44
48
  */
45
- async function selectOneDeploymentResultWithChangeBundleInstallsByAsyncJobId(con, asyncJobId) {
49
+ export async function selectOneDeploymentResultWithChangeBundleInstallsByAsyncJobId(con, asyncJobId) {
46
50
  const queryStr = `SELECT sf_devops__Check_Deploy__c, sf_devops__Deployment_Id__c, sf_devops__Check_Deploy_Status__r.sf_devops__Status__c,
47
51
  (SELECT sf_devops__Environment__c FROM sf_devops__Change_Bundle_Installs__r)
48
52
  FROM sf_devops__Deployment_Result__c
49
53
  WHERE sf_devops__Check_Deploy_Status__c = '${asyncJobId}'
50
54
  AND sf_devops__Check_Deploy__c = TRUE
51
55
  AND Id IN (SELECT sf_devops__Deployment_Result__c FROM sf_devops__Change_Bundle_Install__c)`;
52
- const resp = await (0, selectorUtils_1.runSafeQuery)(con, queryStr, true);
56
+ const resp = await runSafeQuery(con, queryStr, true);
53
57
  return resp.totalSize > 0 ? resp.records[0] : null;
54
58
  }
55
59
  //# sourceMappingURL=deploymentResultsSelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deploymentResultsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deploymentResultsSelector.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAoBH,sFAaC;AAMD,sCAUC;AAKD,sIAaC;AA9DD,mDAA+C;AAW/C;;;GAGG;AACI,KAAK,UAAU,qCAAqC,CACzD,GAAe,EACf,UAAkB;IAElB,MAAM,QAAQ,GAAG;;;;;uDAKoC,UAAU,GAAG,CAAC;IAEnE,MAAM,IAAI,GAAkC,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACpF,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACrD,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,aAAa,CAAC,GAAe,EAAE,UAAkB;IACrE,MAAM,QAAQ,GAAG;;;uDAGoC,UAAU;iEACA,UAAU,GAAG,CAAC;IAE7E,MAAM,IAAI,GAA6C,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC/F,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAClF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD;;;GAGG;AACI,KAAK,UAAU,6DAA6D,CACjF,GAAe,EACf,UAAkB;IAElB,MAAM,QAAQ,GAAG;;;iEAG8C,UAAU;;kHAEuC,CAAC;IAEjH,MAAM,IAAI,GAA+D,MAAM,IAAA,4BAAY,EAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACjH,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACrD,CAAC"}
1
+ {"version":3,"file":"deploymentResultsSelector.js","sourceRoot":"","sources":["../../../src/common/selectors/deploymentResultsSelector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAWlD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,qCAAqC,CACzD,GAAe,EACf,UAAkB;IAElB,MAAM,QAAQ,GAAG;;;;;uDAKoC,UAAU,GAAG,CAAC;IAEnE,MAAM,IAAI,GAAkC,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACpF,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACrD,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,GAAe,EAAE,UAAkB;IACrE,MAAM,QAAQ,GAAG;;;uDAGoC,UAAU;iEACA,UAAU,GAAG,CAAC;IAE7E,MAAM,IAAI,GAA6C,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC/F,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAClF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,6DAA6D,CACjF,GAAe,EACf,UAAkB;IAElB,MAAM,QAAQ,GAAG;;;iEAG8C,UAAU;;kHAEuC,CAAC;IAEjH,MAAM,IAAI,GAA+D,MAAM,YAAY,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACjH,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACrD,CAAC"}
@@ -1,6 +1,6 @@
1
- import { QueryResult } from 'jsforce';
1
+ import { QueryResult } from '@jsforce/jsforce-node';
2
2
  import { Connection } from '@salesforce/core';
3
- import { PipelineStage } from '../types';
3
+ import { PipelineStage } from '../types.js';
4
4
  export type EnvQueryResult = {
5
5
  Name: string;
6
6
  sf_devops__Pipeline_Stages__r: QueryResult<PipelineStage>;