@opencrvs/toolkit 2.1.0-rc.0066f38 → 2.1.0-rc.023dec8
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/dist/application-config/index.js +2 -1
- package/dist/cli.js +0 -48
- package/dist/commons/api/router.d.ts +147 -183
- package/dist/commons/conditionals/conditionals.d.ts +1586 -34
- package/dist/commons/events/ActionDocument.d.ts +6 -6
- package/dist/commons/events/ActionInput.d.ts +0 -6
- package/dist/commons/events/EventDocument.d.ts +2 -2
- package/dist/commons/events/field.d.ts +722 -34
- package/dist/commons/events/test.utils.d.ts +0 -3
- package/dist/commons/events/utils.d.ts +3 -3
- package/dist/environment/derived-variables.d.ts +0 -12
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +0 -14
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/setup-environment.js +0 -14
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.js +17 -7
- package/dist/events/index.js +3 -6
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/notification/index.js +3 -5
- package/dist/templates/charts-values/dependencies/values.yaml +0 -3
- package/dist/templates/charts-values/opencrvs-services/values.yaml +0 -4
- package/opencrvs-toolkit-2.1.0-rc.023dec8.tgz +0 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.0066f38.tgz +0 -0
|
@@ -101,9 +101,6 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
|
|
|
101
101
|
annotation: {};
|
|
102
102
|
keepAssignment?: boolean | undefined;
|
|
103
103
|
type: "EDIT";
|
|
104
|
-
content: {
|
|
105
|
-
comment: string;
|
|
106
|
-
};
|
|
107
104
|
eventId: string;
|
|
108
105
|
};
|
|
109
106
|
assign: (eventId: string, input?: Partial<Pick<AssignActionInput, "transactionId" | "assignedTo">>) => {
|
|
@@ -203,14 +203,14 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
203
203
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
204
204
|
status: "Requested" | "Accepted" | "Rejected";
|
|
205
205
|
type: "EDIT";
|
|
206
|
-
content: {
|
|
207
|
-
comment?: string | undefined;
|
|
208
|
-
};
|
|
209
206
|
createdByRole?: string | undefined;
|
|
210
207
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
211
208
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
212
209
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
213
210
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
211
|
+
content?: {
|
|
212
|
+
comment?: string | undefined;
|
|
213
|
+
} | undefined;
|
|
214
214
|
} | {
|
|
215
215
|
id: string & import("zod").$brand<"UUID">;
|
|
216
216
|
transactionId: string;
|
|
@@ -58,18 +58,6 @@ export declare const derivedVariables: readonly [{
|
|
|
58
58
|
readonly valueType: "SECRET";
|
|
59
59
|
readonly type: "disabled";
|
|
60
60
|
readonly scope: "ENVIRONMENT";
|
|
61
|
-
}, {
|
|
62
|
-
readonly name: "MONGODB_ADMIN_USER";
|
|
63
|
-
readonly valueLabel: "MONGODB_ADMIN_USER";
|
|
64
|
-
readonly valueType: "SECRET";
|
|
65
|
-
readonly type: "disabled";
|
|
66
|
-
readonly scope: "ENVIRONMENT";
|
|
67
|
-
}, {
|
|
68
|
-
readonly name: "MONGODB_ADMIN_PASSWORD";
|
|
69
|
-
readonly valueLabel: "MONGODB_ADMIN_PASSWORD";
|
|
70
|
-
readonly valueType: "SECRET";
|
|
71
|
-
readonly type: "disabled";
|
|
72
|
-
readonly scope: "ENVIRONMENT";
|
|
73
61
|
}, {
|
|
74
62
|
readonly name: "POSTGRES_USER";
|
|
75
63
|
readonly valueLabel: "POSTGRES_USER";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derived-variables.d.ts","sourceRoot":"","sources":["../../src/environment/derived-variables.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"derived-variables.d.ts","sourceRoot":"","sources":["../../src/environment/derived-variables.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6InB,CAAA"}
|
|
@@ -82,20 +82,6 @@ exports.derivedVariables = [
|
|
|
82
82
|
type: 'disabled',
|
|
83
83
|
scope: 'ENVIRONMENT'
|
|
84
84
|
},
|
|
85
|
-
{
|
|
86
|
-
name: 'MONGODB_ADMIN_USER',
|
|
87
|
-
valueLabel: 'MONGODB_ADMIN_USER',
|
|
88
|
-
valueType: 'SECRET',
|
|
89
|
-
type: 'disabled',
|
|
90
|
-
scope: 'ENVIRONMENT'
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: 'MONGODB_ADMIN_PASSWORD',
|
|
94
|
-
valueLabel: 'MONGODB_ADMIN_PASSWORD',
|
|
95
|
-
valueType: 'SECRET',
|
|
96
|
-
type: 'disabled',
|
|
97
|
-
scope: 'ENVIRONMENT'
|
|
98
|
-
},
|
|
99
85
|
{
|
|
100
86
|
name: 'POSTGRES_USER',
|
|
101
87
|
valueLabel: 'POSTGRES_USER',
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
export declare const log:
|
|
2
|
-
|
|
3
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
4
|
-
};
|
|
5
|
-
export declare const warn: {
|
|
6
|
-
(...data: any[]): void;
|
|
7
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
8
|
-
};
|
|
1
|
+
export declare const log: (message?: any, ...optionalParams: any[]) => void;
|
|
2
|
+
export declare const warn: (message?: any, ...optionalParams: any[]) => void;
|
|
9
3
|
export declare const success: (...args: any[]) => void;
|
|
10
|
-
export declare const info:
|
|
11
|
-
(...data: any[]): void;
|
|
12
|
-
(message?: any, ...optionalParams: any[]): void;
|
|
13
|
-
};
|
|
4
|
+
export declare const info: (message?: any, ...optionalParams: any[]) => void;
|
|
14
5
|
export declare const error: (...args: any[]) => void;
|
|
15
6
|
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/environment/logger.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/environment/logger.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,GAAG,mDAAc,CAAA;AAC9B,eAAO,MAAM,IAAI,mDAAe,CAAA;AAChC,eAAO,MAAM,OAAO,GAAI,GAAG,MAAM,GAAG,EAAE,SACI,CAAA;AAC1C,eAAO,MAAM,IAAI,mDAAe,CAAA;AAChC,eAAO,MAAM,KAAK,GAAI,GAAG,MAAM,GAAG,EAAE,SAA2C,CAAA"}
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -490,20 +490,6 @@ ALL_QUESTIONS.push(...questions_1.githubTokenQuestion, ...questions_1.githubOthe
|
|
|
490
490
|
value: findExistingOrDefine('MINIO_ROOT_PASSWORD', 'SECRET', 'ENVIRONMENT', (0, utils_1.generateLongPassword)()),
|
|
491
491
|
scope: 'ENVIRONMENT'
|
|
492
492
|
},
|
|
493
|
-
{
|
|
494
|
-
name: 'MONGODB_ADMIN_USER',
|
|
495
|
-
type: 'SECRET',
|
|
496
|
-
didExist: (0, utils_1.findExistingValue)('MONGODB_ADMIN_USER', 'SECRET', 'ENVIRONMENT', existingValues),
|
|
497
|
-
value: findExistingOrDefine('MONGODB_ADMIN_USER', 'SECRET', 'ENVIRONMENT', (0, utils_1.generateLongPassword)()),
|
|
498
|
-
scope: 'ENVIRONMENT'
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
name: 'MONGODB_ADMIN_PASSWORD',
|
|
502
|
-
type: 'SECRET',
|
|
503
|
-
didExist: (0, utils_1.findExistingValue)('MONGODB_ADMIN_PASSWORD', 'SECRET', 'ENVIRONMENT', existingValues),
|
|
504
|
-
value: findExistingOrDefine('MONGODB_ADMIN_PASSWORD', 'SECRET', 'ENVIRONMENT', (0, utils_1.generateLongPassword)()),
|
|
505
|
-
scope: 'ENVIRONMENT'
|
|
506
|
-
},
|
|
507
493
|
{
|
|
508
494
|
name: 'POSTGRES_USER',
|
|
509
495
|
type: 'SECRET',
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
46
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
47
|
};
|
package/dist/events/index.js
CHANGED
|
@@ -1676,9 +1676,10 @@ var NotifiedAction = ActionBase.extend(
|
|
|
1676
1676
|
var EditAction = ActionBase.extend(
|
|
1677
1677
|
z14.object({
|
|
1678
1678
|
type: z14.literal(ActionType.EDIT),
|
|
1679
|
+
/** @deprecated New Edit-actions should no longer contain content. This is kept for old 2.0 edits. */
|
|
1679
1680
|
content: z14.object({
|
|
1680
1681
|
comment: z14.string().describe("Comment for the edit action.").optional()
|
|
1681
|
-
})
|
|
1682
|
+
}).optional()
|
|
1682
1683
|
}).shape
|
|
1683
1684
|
);
|
|
1684
1685
|
var PrintContent = z14.object({
|
|
@@ -6415,10 +6416,7 @@ var DeclareActionInput = BaseActionInput.extend(
|
|
|
6415
6416
|
);
|
|
6416
6417
|
var EditActionInput = BaseActionInput.extend(
|
|
6417
6418
|
z38.object({
|
|
6418
|
-
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
6419
|
-
content: z38.object({
|
|
6420
|
-
comment: z38.string().describe("Comment for the edit action.").optional()
|
|
6421
|
-
})
|
|
6419
|
+
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
6422
6420
|
}).shape
|
|
6423
6421
|
);
|
|
6424
6422
|
var PrintCertificateActionInput = BaseActionInput.extend(
|
|
@@ -9963,7 +9961,6 @@ function eventPayloadGenerator(rng, configuration = tennisClubMembershipEvent) {
|
|
|
9963
9961
|
},
|
|
9964
9962
|
edit: (eventId, input = {}) => ({
|
|
9965
9963
|
type: ActionType.EDIT,
|
|
9966
|
-
content: { comment: "Test comment" },
|
|
9967
9964
|
transactionId: input.transactionId ?? getUUID(),
|
|
9968
9965
|
declaration: input.declaration ?? generateActionDeclarationInput(configuration, ActionType.EDIT, rng),
|
|
9969
9966
|
annotation: input.annotation ?? generateActionAnnotationInput(configuration, ActionType.EDIT, rng),
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -25,13 +25,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
25
25
|
}) : function(o, v) {
|
|
26
26
|
o["default"] = v;
|
|
27
27
|
});
|
|
28
|
-
var __importStar = (this && this.__importStar) || function (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
28
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
29
|
+
var ownKeys = function(o) {
|
|
30
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
31
|
+
var ar = [];
|
|
32
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
33
|
+
return ar;
|
|
34
|
+
};
|
|
35
|
+
return ownKeys(o);
|
|
36
|
+
};
|
|
37
|
+
return function (mod) {
|
|
38
|
+
if (mod && mod.__esModule) return mod;
|
|
39
|
+
var result = {};
|
|
40
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
41
|
+
__setModuleDefault(result, mod);
|
|
42
|
+
return result;
|
|
43
|
+
};
|
|
44
|
+
})();
|
|
35
45
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
46
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1216,9 +1216,10 @@ var NotifiedAction = ActionBase.extend(
|
|
|
1216
1216
|
var EditAction = ActionBase.extend(
|
|
1217
1217
|
z14.object({
|
|
1218
1218
|
type: z14.literal(ActionType.EDIT),
|
|
1219
|
+
/** @deprecated New Edit-actions should no longer contain content. This is kept for old 2.0 edits. */
|
|
1219
1220
|
content: z14.object({
|
|
1220
1221
|
comment: z14.string().describe("Comment for the edit action.").optional()
|
|
1221
|
-
})
|
|
1222
|
+
}).optional()
|
|
1222
1223
|
}).shape
|
|
1223
1224
|
);
|
|
1224
1225
|
var PrintContent = z14.object({
|
|
@@ -4652,10 +4653,7 @@ var DeclareActionInput = BaseActionInput.extend(
|
|
|
4652
4653
|
);
|
|
4653
4654
|
var EditActionInput = BaseActionInput.extend(
|
|
4654
4655
|
z38.object({
|
|
4655
|
-
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
4656
|
-
content: z38.object({
|
|
4657
|
-
comment: z38.string().describe("Comment for the edit action.").optional()
|
|
4658
|
-
})
|
|
4656
|
+
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
4659
4657
|
}).shape
|
|
4660
4658
|
);
|
|
4661
4659
|
var PrintCertificateActionInput = BaseActionInput.extend(
|
|
@@ -36,10 +36,6 @@ minio:
|
|
|
36
36
|
auth_mode: use_secret
|
|
37
37
|
host: minio-0.minio.opencrvs-deps-{{env}}.svc.cluster.local
|
|
38
38
|
|
|
39
|
-
mongodb:
|
|
40
|
-
auth_mode: auto
|
|
41
|
-
host: mongodb-0.mongodb.opencrvs-deps-{{env}}.svc.cluster.local
|
|
42
|
-
|
|
43
39
|
redis:
|
|
44
40
|
auth_mode: use_secret
|
|
45
41
|
host: redis-0.redis.opencrvs-deps-{{env}}.svc.cluster.local
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencrvs/toolkit",
|
|
3
|
-
"version": "2.1.0-rc.
|
|
3
|
+
"version": "2.1.0-rc.023dec8",
|
|
4
4
|
"description": "OpenCRVS toolkit for building country configurations",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/ssh2": "^1.15.5",
|
|
60
60
|
"@types/uuid": "^9.0.3",
|
|
61
61
|
"esbuild": "^0.24.0",
|
|
62
|
-
"typescript": "
|
|
62
|
+
"typescript": "6.0.3"
|
|
63
63
|
},
|
|
64
64
|
"moduleNameMapper": {
|
|
65
65
|
"@opencrvs/commons/events": "@opencrvs/commons/build/dist/common/events/index.js",
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["./src/cli.ts","./src/api/index.ts","./src/application-config/index.ts","./src/conditionals/index.ts","./src/environment/custom-types.ts","./src/environment/derived-variables.ts","./src/environment/editor-questions.ts","./src/environment/git.ts","./src/environment/github.ts","./src/environment/index.ts","./src/environment/logger.ts","./src/environment/manage-users.ts","./src/environment/questions-helper.ts","./src/environment/questions.ts","./src/environment/setup-environment.ts","./src/environment/ssh-keygen.ts","./src/environment/swarm-to-k8s.ts","./src/environment/templates.ts","./src/environment/update-workflows.ts","./src/environment/users.ts","./src/environment/utils.ts","./src/events/deduplication.ts","./src/events/index.ts","./src/migrations/v2.0/add-birth-certificate-issuance-flag.ts","./src/migrations/v2.0/add-resend-invite-notification.ts","./src/migrations/v2.0/checkout-upstream-files.ts","./src/migrations/v2.0/convert-config-files-to-ts.ts","./src/migrations/v2.0/convert-paragraph-to-heading.ts","./src/migrations/v2.0/create-events-index.ts","./src/migrations/v2.0/delete-infrastructure-directory.ts","./src/migrations/v2.0/fix-accept-requested-registration-function-type.ts","./src/migrations/v2.0/index.ts","./src/migrations/v2.0/make-built-in-validate-actions-custom.ts","./src/migrations/v2.0/merge-infrastructure-directory.ts","./src/migrations/v2.0/migrate-application-config-url.ts","./src/migrations/v2.0/migrate-scopes.ts","./src/migrations/v2.0/migrate-validated-workqueue-status-to-flag.ts","./src/migrations/v2.0/migrate-workqueue-configs.ts","./src/migrations/v2.0/remove-delete-actions.ts","./src/migrations/v2.0/remove-demo-scope.ts","./src/migrations/v2.0/remove-deprecated-imports.ts","./src/migrations/v2.0/remove-fhir-url-helpers.ts","./src/migrations/v2.0/remove-hearth-migrations.ts","./src/migrations/v2.0/remove-old-statistics-service.ts","./src/migrations/v2.0/remove-pending-certification-flag.ts","./src/migrations/v2.0/remove-review-from-register-action.ts","./src/migrations/v2.0/remove-unused-environment-variables.ts","./src/migrations/v2.0/rename-api-paths.ts","./src/migrations/v2.0/rename-location-parent-id.ts","./src/migrations/v2.0/simplify-analytics-precalculations.ts","./src/migrations/v2.0/update-package-json.ts","./src/migrations/v2.1/add-explicit-correction-flags.ts","./src/migrations/v2.1/index.ts","./src/notification/index.ts","./src/scopes/index.ts"],"version":"
|
|
1
|
+
{"root":["./src/cli.ts","./src/api/index.ts","./src/application-config/index.ts","./src/conditionals/index.ts","./src/environment/custom-types.ts","./src/environment/derived-variables.ts","./src/environment/editor-questions.ts","./src/environment/git.ts","./src/environment/github.ts","./src/environment/index.ts","./src/environment/logger.ts","./src/environment/manage-users.ts","./src/environment/questions-helper.ts","./src/environment/questions.ts","./src/environment/setup-environment.ts","./src/environment/ssh-keygen.ts","./src/environment/swarm-to-k8s.ts","./src/environment/templates.ts","./src/environment/update-workflows.ts","./src/environment/users.ts","./src/environment/utils.ts","./src/events/deduplication.ts","./src/events/index.ts","./src/migrations/v2.0/add-birth-certificate-issuance-flag.ts","./src/migrations/v2.0/add-resend-invite-notification.ts","./src/migrations/v2.0/checkout-upstream-files.ts","./src/migrations/v2.0/convert-config-files-to-ts.ts","./src/migrations/v2.0/convert-paragraph-to-heading.ts","./src/migrations/v2.0/create-events-index.ts","./src/migrations/v2.0/delete-infrastructure-directory.ts","./src/migrations/v2.0/fix-accept-requested-registration-function-type.ts","./src/migrations/v2.0/index.ts","./src/migrations/v2.0/make-built-in-validate-actions-custom.ts","./src/migrations/v2.0/merge-infrastructure-directory.ts","./src/migrations/v2.0/migrate-application-config-url.ts","./src/migrations/v2.0/migrate-scopes.ts","./src/migrations/v2.0/migrate-validated-workqueue-status-to-flag.ts","./src/migrations/v2.0/migrate-workqueue-configs.ts","./src/migrations/v2.0/remove-delete-actions.ts","./src/migrations/v2.0/remove-demo-scope.ts","./src/migrations/v2.0/remove-deprecated-imports.ts","./src/migrations/v2.0/remove-fhir-url-helpers.ts","./src/migrations/v2.0/remove-hearth-migrations.ts","./src/migrations/v2.0/remove-old-statistics-service.ts","./src/migrations/v2.0/remove-pending-certification-flag.ts","./src/migrations/v2.0/remove-review-from-register-action.ts","./src/migrations/v2.0/remove-unused-environment-variables.ts","./src/migrations/v2.0/rename-api-paths.ts","./src/migrations/v2.0/rename-location-parent-id.ts","./src/migrations/v2.0/simplify-analytics-precalculations.ts","./src/migrations/v2.0/update-package-json.ts","./src/migrations/v2.1/add-explicit-correction-flags.ts","./src/migrations/v2.1/index.ts","./src/notification/index.ts","./src/scopes/index.ts"],"version":"6.0.3"}
|
|
Binary file
|