@kubbisec/ai-linux-x64 0.1.10 → 0.1.11
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/bin/kubbisec +0 -0
- package/bundled/components/kubbisec-model-selector.d.ts +44 -0
- package/bundled/components/kubbisec-model-selector.d.ts.map +1 -0
- package/bundled/components/kubbisec-model-selector.js +197 -0
- package/bundled/components/kubbisec-model-selector.js.map +1 -0
- package/bundled/config/ensure-kubbisec-project-settings.d.ts +5 -4
- package/bundled/config/ensure-kubbisec-project-settings.d.ts.map +1 -1
- package/bundled/config/ensure-kubbisec-project-settings.js +9 -22
- package/bundled/config/ensure-kubbisec-project-settings.js.map +1 -1
- package/bundled/config/llm-config.d.ts +3 -1
- package/bundled/config/llm-config.d.ts.map +1 -1
- package/bundled/config/llm-config.js +13 -8
- package/bundled/config/llm-config.js.map +1 -1
- package/bundled/config/materialize-kubbisec-pi-resources.d.ts +14 -8
- package/bundled/config/materialize-kubbisec-pi-resources.d.ts.map +1 -1
- package/bundled/config/materialize-kubbisec-pi-resources.js +112 -40
- package/bundled/config/materialize-kubbisec-pi-resources.js.map +1 -1
- package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts +311 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js +357 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/evaluation-dataset-50.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts +2 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/index.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/index.js +18 -0
- package/bundled/node_modules/@aspm/shared/dist/ai/index.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts +20 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js +33 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/assistant-session-key.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts +2 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/index.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/index.js +18 -0
- package/bundled/node_modules/@aspm/shared/dist/assistant/index.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts +18 -0
- package/bundled/node_modules/@aspm/shared/dist/cli-user-error.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js +92 -0
- package/bundled/node_modules/@aspm/shared/dist/cli-user-error.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts +25 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js +85 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/bulk-import-github-projects.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts +14 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js +64 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-bundle-report.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts +18 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js +124 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-coverage-report.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts +65 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js +359 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-project.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts +26 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js +139 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-report.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts +8 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js +51 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-scan-target.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts +34 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js +186 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/create-vulnerability.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts +13 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/index.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/index.js +41 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/index.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts +203 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js +42 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/metrics.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts +7 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js +47 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-coverage-gate.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts +6 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js +36 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-performance-gate.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts +9 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js +58 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-security-gate.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts +6 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js +30 -0
- package/bundled/node_modules/@aspm/shared/dist/dto/update-vulnerability.dto.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/enums.d.ts +86 -0
- package/bundled/node_modules/@aspm/shared/dist/enums.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/enums.js +132 -0
- package/bundled/node_modules/@aspm/shared/dist/enums.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts +6 -0
- package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js +9 -0
- package/bundled/node_modules/@aspm/shared/dist/github/kubbisec-github-label.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/index.d.ts +12 -0
- package/bundled/node_modules/@aspm/shared/dist/index.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/index.js +28 -0
- package/bundled/node_modules/@aspm/shared/dist/index.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts +23 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js +54 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/better-auth-org-roles.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts +7 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/index.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/index.js +23 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/index.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts +9 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js +91 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permission-descriptions.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts +12 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js +86 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/kubbisec-permissions.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts +14 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js +52 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/platform-staff.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts +10 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js +199 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-org-permissions.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts +7 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js +23 -0
- package/bundled/node_modules/@aspm/shared/dist/rbac/resolve-platform-permissions.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts +13 -0
- package/bundled/node_modules/@aspm/shared/dist/redaction.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/redaction.js +249 -0
- package/bundled/node_modules/@aspm/shared/dist/redaction.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts +8 -0
- package/bundled/node_modules/@aspm/shared/dist/severity-map.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/severity-map.js +47 -0
- package/bundled/node_modules/@aspm/shared/dist/severity-map.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts +16 -0
- package/bundled/node_modules/@aspm/shared/dist/sort-findings.d.ts.map +1 -0
- package/bundled/node_modules/@aspm/shared/dist/sort-findings.js +67 -0
- package/bundled/node_modules/@aspm/shared/dist/sort-findings.js.map +1 -0
- package/bundled/node_modules/@aspm/shared/package.json +39 -0
- package/bundled/resolve-bundled-dist-root.js +9 -5
- package/bundled/resolve-bundled-dist-root.js.map +1 -1
- package/bundled/workflow/session-workflow-mode.d.ts +10 -0
- package/bundled/workflow/session-workflow-mode.d.ts.map +1 -0
- package/bundled/workflow/session-workflow-mode.js +51 -0
- package/bundled/workflow/session-workflow-mode.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BULK_IMPORT_GITHUB_PROJECTS_MAX = exports.BulkImportGithubProjectsDto = exports.BulkImportGithubProjectRowDto = exports.BULK_IMPORT_PIPELINE_MODES = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const create_project_dto_1 = require("./create-project.dto");
|
|
16
|
+
const BULK_IMPORT_MAX_PROJECTS = 50;
|
|
17
|
+
/**
|
|
18
|
+
* Legacy values accepted temporarily for old clients. Asset import ignores them: pipeline creation
|
|
19
|
+
* now belongs exclusively to the Pipelines flow.
|
|
20
|
+
*/
|
|
21
|
+
exports.BULK_IMPORT_PIPELINE_MODES = [
|
|
22
|
+
"none",
|
|
23
|
+
"ai",
|
|
24
|
+
"ai_migrate",
|
|
25
|
+
"template",
|
|
26
|
+
"secure_baseline",
|
|
27
|
+
];
|
|
28
|
+
/** Uma linha de importação em massa: campos de criação de projeto + metadados readonly. */
|
|
29
|
+
class BulkImportGithubProjectRowDto extends create_project_dto_1.CreateProjectDto {
|
|
30
|
+
/** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
|
|
31
|
+
pipelineMode;
|
|
32
|
+
/** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
|
|
33
|
+
templateKey;
|
|
34
|
+
/** @deprecated Use `workflowPaths`. Mantido apenas para compatibilidade e tratado como metadado readonly. */
|
|
35
|
+
ghaWorkflowPaths;
|
|
36
|
+
}
|
|
37
|
+
exports.BulkImportGithubProjectRowDto = BulkImportGithubProjectRowDto;
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsIn)(exports.BULK_IMPORT_PIPELINE_MODES),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], BulkImportGithubProjectRowDto.prototype, "pipelineMode", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
(0, class_validator_1.MaxLength)(64),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], BulkImportGithubProjectRowDto.prototype, "templateKey", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
(0, class_validator_1.ArrayMaxSize)(30),
|
|
53
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
54
|
+
(0, class_validator_1.MaxLength)(260, { each: true }),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], BulkImportGithubProjectRowDto.prototype, "ghaWorkflowPaths", void 0);
|
|
57
|
+
class BulkImportGithubProjectsDto {
|
|
58
|
+
projects;
|
|
59
|
+
/** @deprecated Ignorado. Pipelines são criados somente no fluxo de Pipelines. */
|
|
60
|
+
pipelineMode;
|
|
61
|
+
/** @deprecated Ignorado. Templates pertencem ao fluxo de Pipelines. */
|
|
62
|
+
templateKey;
|
|
63
|
+
}
|
|
64
|
+
exports.BulkImportGithubProjectsDto = BulkImportGithubProjectsDto;
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsArray)(),
|
|
67
|
+
(0, class_validator_1.ArrayMinSize)(1, { message: "bulkImport.projectsMin" }),
|
|
68
|
+
(0, class_validator_1.ArrayMaxSize)(BULK_IMPORT_MAX_PROJECTS, { message: "bulkImport.projectsMax" }),
|
|
69
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
70
|
+
(0, class_transformer_1.Type)(() => BulkImportGithubProjectRowDto),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], BulkImportGithubProjectsDto.prototype, "projects", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_validator_1.IsOptional)(),
|
|
75
|
+
(0, class_validator_1.IsIn)(exports.BULK_IMPORT_PIPELINE_MODES),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], BulkImportGithubProjectsDto.prototype, "pipelineMode", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_validator_1.MaxLength)(64),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], BulkImportGithubProjectsDto.prototype, "templateKey", void 0);
|
|
84
|
+
exports.BULK_IMPORT_GITHUB_PROJECTS_MAX = BULK_IMPORT_MAX_PROJECTS;
|
|
85
|
+
//# sourceMappingURL=bulk-import-github-projects.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulk-import-github-projects.dto.js","sourceRoot":"","sources":["../../src/dto/bulk-import-github-projects.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDASyB;AACzB,6DAAwD;AAExD,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC;;;GAGG;AACU,QAAA,0BAA0B,GAAG;IACxC,MAAM;IACN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GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;;gEACO;AAGV,QAAA,+BAA+B,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class CreateBundleReportDto {
|
|
2
|
+
buildTarget: string;
|
|
3
|
+
totalSizeBytes: number;
|
|
4
|
+
bundles?: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
sizeBytes: number;
|
|
7
|
+
path: string;
|
|
8
|
+
}>;
|
|
9
|
+
moduleSnapshot?: Record<string, unknown>;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
rawFileName?: string;
|
|
12
|
+
target?: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=create-bundle-report.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-bundle-report.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-bundle-report.dto.ts"],"names":[],"mappings":"AAYA,qBAAa,qBAAqB;IAIhC,WAAW,EAAG,MAAM,CAAC;IAKrB,cAAc,EAAG,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,KAAK,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IAIH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAIzC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateBundleReportDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateBundleReportDto {
|
|
16
|
+
buildTarget; // production, staging, etc.
|
|
17
|
+
totalSizeBytes;
|
|
18
|
+
bundles;
|
|
19
|
+
moduleSnapshot;
|
|
20
|
+
metadata;
|
|
21
|
+
rawFileName;
|
|
22
|
+
target; // branch, commit, etc.
|
|
23
|
+
}
|
|
24
|
+
exports.CreateBundleReportDto = CreateBundleReportDto;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.MaxLength)(100),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateBundleReportDto.prototype, "buildTarget", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
34
|
+
(0, class_validator_1.Min)(0),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], CreateBundleReportDto.prototype, "totalSizeBytes", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsArray)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], CreateBundleReportDto.prototype, "bundles", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsObject)(),
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], CreateBundleReportDto.prototype, "moduleSnapshot", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsObject)(),
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], CreateBundleReportDto.prototype, "metadata", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.IsOptional)(),
|
|
55
|
+
(0, class_validator_1.MaxLength)(255),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], CreateBundleReportDto.prototype, "rawFileName", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.MaxLength)(500),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], CreateBundleReportDto.prototype, "target", void 0);
|
|
64
|
+
//# sourceMappingURL=create-bundle-report.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-bundle-report.dto.js","sourceRoot":"","sources":["../../src/dto/create-bundle-report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDASyB;AAEzB,MAAa,qBAAqB;IAIhC,WAAW,CAAU,CAAC,4BAA4B;IAKlD,cAAc,CAAU;IAIxB,OAAO,CAIJ;IAIH,cAAc,CAA2B;IAIzC,QAAQ,CAA2B;IAKnC,WAAW,CAAU;IAKrB,MAAM,CAAU,CAAC,uBAAuB;CACzC;AApCD,sDAoCC;AAhCC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;0DACM;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;6DACiB;AAIxB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;8BACH,KAAK;sDAIZ;AAIH;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DAC4B;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACsB;AAKnC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;0DACM;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;qDACC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class CreateCoverageReportDto {
|
|
2
|
+
format: string;
|
|
3
|
+
rawFileName?: string;
|
|
4
|
+
target?: string;
|
|
5
|
+
lineCoveragePct: number;
|
|
6
|
+
branchCoveragePct: number;
|
|
7
|
+
functionCoveragePct: number;
|
|
8
|
+
linesFound: number;
|
|
9
|
+
linesHit: number;
|
|
10
|
+
branchesFound: number;
|
|
11
|
+
branchesHit: number;
|
|
12
|
+
functionsFound: number;
|
|
13
|
+
functionsHit: number;
|
|
14
|
+
fileDetails?: Record<string, unknown>;
|
|
15
|
+
metadata?: Record<string, unknown>;
|
|
16
|
+
reportUrl?: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=create-coverage-report.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-coverage-report.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-coverage-report.dto.ts"],"names":[],"mappings":"AAYA,qBAAa,uBAAuB;IAIlC,MAAM,EAAG,MAAM,CAAC;IAKhB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,eAAe,EAAG,MAAM,CAAC;IAMzB,iBAAiB,EAAG,MAAM,CAAC;IAM3B,mBAAmB,EAAG,MAAM,CAAC;IAK7B,UAAU,EAAG,MAAM,CAAC;IAKpB,QAAQ,EAAG,MAAM,CAAC;IAKlB,aAAa,EAAG,MAAM,CAAC;IAKvB,WAAW,EAAG,MAAM,CAAC;IAKrB,cAAc,EAAG,MAAM,CAAC;IAKxB,YAAY,EAAG,MAAM,CAAC;IAItB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAItC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAKnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateCoverageReportDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateCoverageReportDto {
|
|
16
|
+
format; // lcov | clover
|
|
17
|
+
rawFileName;
|
|
18
|
+
target;
|
|
19
|
+
lineCoveragePct;
|
|
20
|
+
branchCoveragePct;
|
|
21
|
+
functionCoveragePct;
|
|
22
|
+
linesFound;
|
|
23
|
+
linesHit;
|
|
24
|
+
branchesFound;
|
|
25
|
+
branchesHit;
|
|
26
|
+
functionsFound;
|
|
27
|
+
functionsHit;
|
|
28
|
+
fileDetails;
|
|
29
|
+
metadata;
|
|
30
|
+
reportUrl; // URL S3/CloudFront do lcov-report HTML
|
|
31
|
+
}
|
|
32
|
+
exports.CreateCoverageReportDto = CreateCoverageReportDto;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, class_validator_1.MaxLength)(20),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateCoverageReportDto.prototype, "format", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.MaxLength)(255),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateCoverageReportDto.prototype, "rawFileName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.MaxLength)(500),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreateCoverageReportDto.prototype, "target", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsNumber)(),
|
|
53
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
54
|
+
(0, class_validator_1.Min)(0),
|
|
55
|
+
(0, class_validator_1.Max)(100),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], CreateCoverageReportDto.prototype, "lineCoveragePct", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsNumber)(),
|
|
60
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
61
|
+
(0, class_validator_1.Min)(0),
|
|
62
|
+
(0, class_validator_1.Max)(100),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], CreateCoverageReportDto.prototype, "branchCoveragePct", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.IsNumber)(),
|
|
67
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
68
|
+
(0, class_validator_1.Min)(0),
|
|
69
|
+
(0, class_validator_1.Max)(100),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], CreateCoverageReportDto.prototype, "functionCoveragePct", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsNumber)(),
|
|
74
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
75
|
+
(0, class_validator_1.Min)(0),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], CreateCoverageReportDto.prototype, "linesFound", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsNumber)(),
|
|
80
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
81
|
+
(0, class_validator_1.Min)(0),
|
|
82
|
+
__metadata("design:type", Number)
|
|
83
|
+
], CreateCoverageReportDto.prototype, "linesHit", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsNumber)(),
|
|
86
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
87
|
+
(0, class_validator_1.Min)(0),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], CreateCoverageReportDto.prototype, "branchesFound", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsNumber)(),
|
|
92
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
93
|
+
(0, class_validator_1.Min)(0),
|
|
94
|
+
__metadata("design:type", Number)
|
|
95
|
+
], CreateCoverageReportDto.prototype, "branchesHit", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsNumber)(),
|
|
98
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
99
|
+
(0, class_validator_1.Min)(0),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], CreateCoverageReportDto.prototype, "functionsFound", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsNumber)(),
|
|
104
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
105
|
+
(0, class_validator_1.Min)(0),
|
|
106
|
+
__metadata("design:type", Number)
|
|
107
|
+
], CreateCoverageReportDto.prototype, "functionsHit", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_validator_1.IsObject)(),
|
|
110
|
+
(0, class_validator_1.IsOptional)(),
|
|
111
|
+
__metadata("design:type", Object)
|
|
112
|
+
], CreateCoverageReportDto.prototype, "fileDetails", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_validator_1.IsObject)(),
|
|
115
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
|
+
__metadata("design:type", Object)
|
|
117
|
+
], CreateCoverageReportDto.prototype, "metadata", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, class_validator_1.IsString)(),
|
|
120
|
+
(0, class_validator_1.IsOptional)(),
|
|
121
|
+
(0, class_validator_1.MaxLength)(2048),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], CreateCoverageReportDto.prototype, "reportUrl", void 0);
|
|
124
|
+
//# sourceMappingURL=create-coverage-report.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-coverage-report.dto.js","sourceRoot":"","sources":["../../src/dto/create-coverage-report.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDASyB;AAEzB,MAAa,uBAAuB;IAIlC,MAAM,CAAU,CAAC,gB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AA,qBAAG,EAAC,CAAC,CAAC;;2DACa;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;yDACW;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;8DACgB;AAKvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;4DACc;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;+DACiB;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,qBAAG,EAAC,CAAC,CAAC;;6DACe;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACyB;AAItC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACsB;AAKnC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,IAAI,CAAC;;0DACG"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { RepositoryProvider } from "../enums";
|
|
2
|
+
export declare const ASSET_TYPES: readonly ["api", "web_app", "worker", "library", "infra", "mobile", "monorepo"];
|
|
3
|
+
export declare const ASSET_CRITICALITIES: readonly ["low", "medium", "high", "critical"];
|
|
4
|
+
export declare const ASSET_EXPOSURES: readonly ["internal", "external", "public"];
|
|
5
|
+
export declare const ASSET_ENVIRONMENTS: readonly ["dev", "staging", "production"];
|
|
6
|
+
export declare const ASSET_POLICY_LEVELS: readonly ["basic", "recommended", "advanced", "custom"];
|
|
7
|
+
export declare const ASSET_CI_PROVIDERS: readonly ["github_actions", "gitlab_ci", "bitbucket", "jenkins"];
|
|
8
|
+
export type AssetType = (typeof ASSET_TYPES)[number];
|
|
9
|
+
export type AssetCriticality = (typeof ASSET_CRITICALITIES)[number];
|
|
10
|
+
export type AssetExposure = (typeof ASSET_EXPOSURES)[number];
|
|
11
|
+
export type AssetEnvironment = (typeof ASSET_ENVIRONMENTS)[number];
|
|
12
|
+
export type AssetPolicyLevel = (typeof ASSET_POLICY_LEVELS)[number];
|
|
13
|
+
export type AssetCiProvider = (typeof ASSET_CI_PROVIDERS)[number];
|
|
14
|
+
export declare class CreateProjectDto {
|
|
15
|
+
/** Ignorado — evita erro 400 se o cliente enviar contexto de origem (ex.: GitHub). */
|
|
16
|
+
source?: string;
|
|
17
|
+
name: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
repositoryProvider?: RepositoryProvider;
|
|
20
|
+
repositoryExternalId?: string;
|
|
21
|
+
repositoryFullName?: string;
|
|
22
|
+
repositoryUrl?: string;
|
|
23
|
+
defaultBranch?: string;
|
|
24
|
+
assetType?: AssetType;
|
|
25
|
+
criticality?: AssetCriticality;
|
|
26
|
+
exposure?: AssetExposure;
|
|
27
|
+
environments?: AssetEnvironment[];
|
|
28
|
+
tags?: string[];
|
|
29
|
+
technicalOwnerId?: string;
|
|
30
|
+
businessOwnerId?: string;
|
|
31
|
+
teamId?: string;
|
|
32
|
+
containsSensitiveData?: boolean;
|
|
33
|
+
processesPaymentData?: boolean;
|
|
34
|
+
complianceScopes?: string[];
|
|
35
|
+
productionUrl?: string;
|
|
36
|
+
stagingUrl?: string;
|
|
37
|
+
securityPolicyId?: string;
|
|
38
|
+
policyLevel?: AssetPolicyLevel;
|
|
39
|
+
dependencyScanEnabled?: boolean;
|
|
40
|
+
secretScanEnabled?: boolean;
|
|
41
|
+
sbomEnabled?: boolean;
|
|
42
|
+
containerScanEnabled?: boolean;
|
|
43
|
+
sastEnabled?: boolean;
|
|
44
|
+
coverageEnabled?: boolean;
|
|
45
|
+
iacScanEnabled?: boolean;
|
|
46
|
+
webScanEnabled?: boolean;
|
|
47
|
+
networkScanEnabled?: boolean;
|
|
48
|
+
minimumScoreTarget?: number;
|
|
49
|
+
falsePositiveStrategy?: string;
|
|
50
|
+
detectedLanguages?: string[];
|
|
51
|
+
detectedFrameworks?: string[];
|
|
52
|
+
detectedPackageManagers?: string[];
|
|
53
|
+
detectedDatabases?: string[];
|
|
54
|
+
hasDockerfile?: boolean;
|
|
55
|
+
hasDockerCompose?: boolean;
|
|
56
|
+
hasLockfile?: boolean;
|
|
57
|
+
hasCiConfig?: boolean;
|
|
58
|
+
ciProviderDetected?: AssetCiProvider;
|
|
59
|
+
workflowPaths?: string[];
|
|
60
|
+
isMonorepo?: boolean;
|
|
61
|
+
detectedFiles?: string[];
|
|
62
|
+
detectionConfidence?: number;
|
|
63
|
+
detectionWarnings?: string[];
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=create-project.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-project.dto.d.ts","sourceRoot":"","sources":["../../src/dto/create-project.dto.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,WAAW,iFAQd,CAAC;AACX,eAAO,MAAM,mBAAmB,gDAAiD,CAAC;AAClF,eAAO,MAAM,eAAe,6CAA8C,CAAC;AAC3E,eAAO,MAAM,kBAAkB,2CAA4C,CAAC;AAC5E,eAAO,MAAM,mBAAmB,yDAA0D,CAAC;AAC3F,eAAO,MAAM,kBAAkB,kEAKrB,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,C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