@acorex-platform/extension-ai-code-review-client 2.0.0-next.50 → 2.0.0-next.54

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.
@@ -32,4 +32,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
32
32
  }] });
33
33
 
34
34
  export { AXECodeReviewBranchCommand };
35
- //# sourceMappingURL=acorex-platform-extension-ai-code-review-client-review-branch.command-DAi5OOZm.mjs.map
35
+ //# sourceMappingURL=acorex-platform-extension-ai-code-review-client-review-branch.command-DW_uC1eU.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-extension-ai-code-review-client-review-branch.command-DAi5OOZm.mjs","sources":["../../../../libs/extensions/ai/code-review/client/src/lib/commands/review-branch.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { inject, Injectable } from '@angular/core';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport type { AXECodeReviewBranchCommandInput } from '@acorex-platform/extension-ai-code-review-client/contracts';\n\n//#endregion\n\n//#region ---- Command ----\n\n@Injectable()\nexport class AXECodeReviewBranchCommand implements AXPCommand<AXECodeReviewBranchCommandInput, void> {\n //#region ----- Services & Dependencies -----\n\n private readonly toastService = inject(AXToastService);\n private readonly translationService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- Command execution -----\n\n async execute(input: AXECodeReviewBranchCommandInput): AXPCommandExecuteResultPromise<void> {\n const message = await this.translationService.translateAsync('@extensions-code-review:review.branch.started', {\n params: { branch: input.branch, baseBranch: input.baseBranch },\n });\n this.toastService.show({\n color: 'primary',\n content: message ?? `Code review started for branch ${input.branch}.`,\n });\n return { success: true, kind: 'object', data: undefined };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAQA;AAEA;MAGa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAkBnE,IAAA;;;IAZC,MAAM,OAAO,CAAC,KAAsC,EAAA;QAClD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,+CAA+C,EAAE;AAC5G,YAAA,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE;AAC/D,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AACrB,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,OAAO,IAAI,kCAAkC,KAAK,CAAC,MAAM,CAAA,CAAA,CAAG;AACtE,SAAA,CAAC;AACF,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GAnBW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA1B,0BAA0B,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;"}
1
+ {"version":3,"file":"acorex-platform-extension-ai-code-review-client-review-branch.command-DW_uC1eU.mjs","sources":["../../../../libs/extensions/ai/code-review/client/src/lib/commands/review-branch.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { inject, Injectable } from '@angular/core';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport type { AXECodeReviewBranchCommandInput } from '@acorex-platform/extension-ai-code-review-client/contracts';\n\n//#endregion\n\n//#region ---- Command ----\n\n@Injectable()\nexport class AXECodeReviewBranchCommand implements AXPCommand<AXECodeReviewBranchCommandInput, void> {\n //#region ----- Services & Dependencies -----\n\n private readonly toastService = inject(AXToastService);\n private readonly translationService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- Command execution -----\n\n async execute(input: AXECodeReviewBranchCommandInput): AXPCommandExecuteResultPromise<void> {\n const message = await this.translationService.translateAsync('@extensions-code-review:review.branch.started', {\n params: { branch: input.branch, baseBranch: input.baseBranch },\n });\n this.toastService.show({\n color: 'primary',\n content: message ?? `Code review started for branch ${input.branch}.`,\n });\n return { success: true, kind: 'object', data: undefined };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAQA;AAEA;MAGa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAkBnE,IAAA;;;IAZC,MAAM,OAAO,CAAC,KAAsC,EAAA;QAClD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,+CAA+C,EAAE;AAC5G,YAAA,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE;AAC/D,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AACrB,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,OAAO,IAAI,kCAAkC,KAAK,CAAC,MAAM,CAAA,CAAA,CAAG;AACtE,SAAA,CAAC;AACF,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GAnBW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA1B,0BAA0B,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;"}
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
33
33
  }] });
34
34
 
35
35
  export { AXECodeReviewCommitCommand };
36
- //# sourceMappingURL=acorex-platform-extension-ai-code-review-client-review-commit.command-Z7L7vT4k.mjs.map
36
+ //# sourceMappingURL=acorex-platform-extension-ai-code-review-client-review-commit.command-CA9dgdaU.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-extension-ai-code-review-client-review-commit.command-Z7L7vT4k.mjs","sources":["../../../../libs/extensions/ai/code-review/client/src/lib/commands/review-commit.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { inject, Injectable } from '@angular/core';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport {\n AXECodeReviewCommandKeys,\n type AXECodeReviewCommitCommandInput,\n} from '@acorex-platform/extension-ai-code-review-client/contracts';\n\n//#endregion\n\n//#region ---- Command ----\n\n@Injectable()\nexport class AXECodeReviewCommitCommand implements AXPCommand<AXECodeReviewCommitCommandInput, void> {\n //#region ----- Services & Dependencies -----\n\n private readonly toastService = inject(AXToastService);\n private readonly translationService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- Command execution -----\n\n async execute(input: AXECodeReviewCommitCommandInput): AXPCommandExecuteResultPromise<void> {\n const sha = input.commit.shortSha ?? input.commit.sha.slice(0, 7);\n const message = await this.translationService.translateAsync('@extensions-code-review:review.commit.started', {\n params: { sha, branch: input.branch },\n });\n this.toastService.show({\n color: 'primary',\n content: message ?? `Code review started for commit ${sha}.`,\n });\n return { success: true, kind: 'object', data: undefined };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAWA;AAEA;MAGa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAmBnE,IAAA;;;IAbC,MAAM,OAAO,CAAC,KAAsC,EAAA;QAClD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;QACjE,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,+CAA+C,EAAE;YAC5G,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;AACtC,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AACrB,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,OAAO,IAAI,CAAA,+BAAA,EAAkC,GAAG,CAAA,CAAA,CAAG;AAC7D,SAAA,CAAC;AACF,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GApBW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA1B,0BAA0B,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;"}
1
+ {"version":3,"file":"acorex-platform-extension-ai-code-review-client-review-commit.command-CA9dgdaU.mjs","sources":["../../../../libs/extensions/ai/code-review/client/src/lib/commands/review-commit.command.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { inject, Injectable } from '@angular/core';\nimport { AXToastService } from '@acorex/components/toast';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport {\n AXECodeReviewCommandKeys,\n type AXECodeReviewCommitCommandInput,\n} from '@acorex-platform/extension-ai-code-review-client/contracts';\n\n//#endregion\n\n//#region ---- Command ----\n\n@Injectable()\nexport class AXECodeReviewCommitCommand implements AXPCommand<AXECodeReviewCommitCommandInput, void> {\n //#region ----- Services & Dependencies -----\n\n private readonly toastService = inject(AXToastService);\n private readonly translationService = inject(AXTranslationService);\n\n //#endregion\n\n //#region ----- Command execution -----\n\n async execute(input: AXECodeReviewCommitCommandInput): AXPCommandExecuteResultPromise<void> {\n const sha = input.commit.shortSha ?? input.commit.sha.slice(0, 7);\n const message = await this.translationService.translateAsync('@extensions-code-review:review.commit.started', {\n params: { sha, branch: input.branch },\n });\n this.toastService.show({\n color: 'primary',\n content: message ?? `Code review started for commit ${sha}.`,\n });\n return { success: true, kind: 'object', data: undefined };\n }\n\n //#endregion\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AAWA;AAEA;MAGa,0BAA0B,CAAA;AADvC,IAAA,WAAA,GAAA;;AAImB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;AACrC,QAAA,IAAA,CAAA,kBAAkB,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAmBnE,IAAA;;;IAbC,MAAM,OAAO,CAAC,KAAsC,EAAA;QAClD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;QACjE,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,cAAc,CAAC,+CAA+C,EAAE;YAC5G,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;AACtC,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;AACrB,YAAA,KAAK,EAAE,SAAS;AAChB,YAAA,OAAO,EAAE,OAAO,IAAI,CAAA,+BAAA,EAAkC,GAAG,CAAA,CAAA,CAAG;AAC7D,SAAA,CAAC;AACF,QAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE;IAC3D;8GApBW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kHAA1B,0BAA0B,EAAA,CAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;"}
@@ -150,11 +150,11 @@ class AXECodeReviewExtensionModule {
150
150
  provideCommandSetups([
151
151
  {
152
152
  key: AXECodeReviewCommandKeys.ReviewCommit,
153
- command: () => import('./acorex-platform-extension-ai-code-review-client-review-commit.command-Z7L7vT4k.mjs').then((c) => c.AXECodeReviewCommitCommand),
153
+ command: () => import('./acorex-platform-extension-ai-code-review-client-review-commit.command-CA9dgdaU.mjs').then((c) => c.AXECodeReviewCommitCommand),
154
154
  },
155
155
  {
156
156
  key: AXECodeReviewCommandKeys.ReviewBranch,
157
- command: () => import('./acorex-platform-extension-ai-code-review-client-review-branch.command-DAi5OOZm.mjs').then((c) => c.AXECodeReviewBranchCommand),
157
+ command: () => import('./acorex-platform-extension-ai-code-review-client-review-branch.command-DW_uC1eU.mjs').then((c) => c.AXECodeReviewBranchCommand),
158
158
  },
159
159
  ]),
160
160
  ] }); }
@@ -178,11 +178,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
178
178
  provideCommandSetups([
179
179
  {
180
180
  key: AXECodeReviewCommandKeys.ReviewCommit,
181
- command: () => import('./acorex-platform-extension-ai-code-review-client-review-commit.command-Z7L7vT4k.mjs').then((c) => c.AXECodeReviewCommitCommand),
181
+ command: () => import('./acorex-platform-extension-ai-code-review-client-review-commit.command-CA9dgdaU.mjs').then((c) => c.AXECodeReviewCommitCommand),
182
182
  },
183
183
  {
184
184
  key: AXECodeReviewCommandKeys.ReviewBranch,
185
- command: () => import('./acorex-platform-extension-ai-code-review-client-review-branch.command-DAi5OOZm.mjs').then((c) => c.AXECodeReviewBranchCommand),
185
+ command: () => import('./acorex-platform-extension-ai-code-review-client-review-branch.command-DW_uC1eU.mjs').then((c) => c.AXECodeReviewBranchCommand),
186
186
  },
187
187
  ]),
188
188
  ],
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex-platform/extension-ai-code-review-client",
3
- "version": "2.0.0-next.50",
3
+ "version": "2.0.0-next.54",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@acorex-platform/extension-source-control-core-client": "2.0.0-next.50",
6
+ "@acorex-platform/extension-source-control-core-client": "2.0.0-next.54",
7
7
  "@angular/common": "^21.0.0 || ^22.0.0",
8
8
  "@angular/core": "^21.0.0 || ^22.0.0"
9
9
  },