@opencrvs/toolkit 2.0.0-rc.fef9d21 → 2.0.0-rc.ff777d6
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/create-countryconfig/index.js +103 -0
- package/create-countryconfig/package.json +21 -0
- package/dist/application-config/index.js +306 -130
- package/dist/cli.js +548 -178
- package/dist/commons/api/router.d.ts +3379 -239
- package/dist/commons/application-config/index.d.ts +17 -4
- package/dist/commons/conditionals/conditionals.d.ts +360 -10
- package/dist/commons/conditionals/validate.d.ts +52 -2
- package/dist/commons/events/ActionDocument.d.ts +6 -0
- package/dist/commons/events/ActionInput.d.ts +114 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +342 -0
- package/dist/commons/events/Draft.d.ts +4 -2
- package/dist/commons/events/EventDocument.d.ts +3 -0
- package/dist/commons/events/EventIndex.d.ts +0 -3
- package/dist/commons/events/EventMetadata.d.ts +0 -7
- package/dist/commons/events/FieldConfig.d.ts +387 -50
- package/dist/commons/events/FieldValue.d.ts +6 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +150 -150
- package/dist/commons/events/field.d.ts +53 -1
- package/dist/commons/events/index.d.ts +2 -0
- package/dist/commons/events/locations.d.ts +38 -1
- package/dist/commons/events/mocks.test.utils.d.ts +19 -0
- package/dist/commons/events/scopes.d.ts +24 -1
- package/dist/commons/events/state/flags.d.ts +16 -0
- package/dist/commons/events/state/index.d.ts +0 -4
- package/dist/commons/events/state/utils.d.ts +12 -289
- package/dist/commons/events/utils.d.ts +13 -2
- package/dist/conditionals/index.js +92 -9
- package/dist/events/index.js +1085 -262
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +60 -35
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +3 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +1 -0
- package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +110 -0
- package/dist/migrations/v2.0/index.d.ts +5 -3
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +546 -176
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +90 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-scopes.js +54 -30
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
- package/dist/notification/index.js +842 -161
- package/dist/scopes/index.d.ts +91 -16
- package/dist/scopes/index.js +55 -12
- package/opencrvs-toolkit-2.0.0-rc.ff777d6.tgz +0 -0
- package/package.json +6 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.fef9d21.tgz +0 -0
package/dist/scopes/index.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
41
41
|
location: "location";
|
|
42
42
|
all: "all";
|
|
43
43
|
}>>;
|
|
44
|
+
role: z.ZodOptional<z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
44
45
|
event: z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
45
46
|
placeOfEvent: z.ZodOptional<z.ZodEnum<{
|
|
46
47
|
administrativeArea: "administrativeArea";
|
|
@@ -66,6 +67,7 @@ declare const AllScopeOptions: z.ZodObject<{
|
|
|
66
67
|
}, z.core.$strip>;
|
|
67
68
|
type AllScopeOptions = z.infer<typeof AllScopeOptions>;
|
|
68
69
|
export declare const ScopeOptionKey: z.ZodEnum<{
|
|
70
|
+
role: "role";
|
|
69
71
|
event: "event";
|
|
70
72
|
placeOfEvent: "placeOfEvent";
|
|
71
73
|
declaredIn: "declaredIn";
|
|
@@ -220,6 +222,56 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
220
222
|
templates: z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
221
223
|
}, z.core.$strip>>;
|
|
222
224
|
}, z.core.$strip>], "type">;
|
|
225
|
+
declare const SystemScopeType: z.ZodEnum<{
|
|
226
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
227
|
+
"user.read": "user.read";
|
|
228
|
+
"user.create": "user.create";
|
|
229
|
+
"user.edit": "user.edit";
|
|
230
|
+
"user.search": "user.search";
|
|
231
|
+
}>;
|
|
232
|
+
export type SystemScopeType = z.infer<typeof SystemScopeType>;
|
|
233
|
+
declare const UserScopeType: z.ZodEnum<{
|
|
234
|
+
"user.read": "user.read";
|
|
235
|
+
"user.create": "user.create";
|
|
236
|
+
"user.edit": "user.edit";
|
|
237
|
+
"user.search": "user.search";
|
|
238
|
+
}>;
|
|
239
|
+
export type UserScopeType = z.infer<typeof UserScopeType>;
|
|
240
|
+
declare const ScopesWithRoleOption: z.ZodEnum<{
|
|
241
|
+
"user.create": "user.create";
|
|
242
|
+
"user.edit": "user.edit";
|
|
243
|
+
}>;
|
|
244
|
+
export type ScopesWithRoleOption = z.infer<typeof ScopesWithRoleOption>;
|
|
245
|
+
export declare const UserScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
|
+
type: z.ZodEnum<{
|
|
247
|
+
"user.create": "user.create";
|
|
248
|
+
"user.edit": "user.edit";
|
|
249
|
+
}>;
|
|
250
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
251
|
+
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
252
|
+
administrativeArea: "administrativeArea";
|
|
253
|
+
location: "location";
|
|
254
|
+
all: "all";
|
|
255
|
+
}>>;
|
|
256
|
+
role: z.ZodOptional<z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
259
|
+
type: z.ZodEnum<{
|
|
260
|
+
"user.read": "user.read";
|
|
261
|
+
"user.search": "user.search";
|
|
262
|
+
}>;
|
|
263
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
administrativeArea: "administrativeArea";
|
|
266
|
+
location: "location";
|
|
267
|
+
all: "all";
|
|
268
|
+
}>>;
|
|
269
|
+
}, z.core.$strip>>;
|
|
270
|
+
}, z.core.$strip>], "type">;
|
|
271
|
+
export type UserScopeV2 = z.infer<typeof UserScopeV2>;
|
|
272
|
+
export declare function scopeUsesRoleOptions(scope: UserScopeV2): scope is Extract<UserScopeV2, {
|
|
273
|
+
type: ScopesWithRoleOption;
|
|
274
|
+
}>;
|
|
223
275
|
export declare function scopeUsesDeclaredOptions(scope: Scope): scope is Extract<Scope, {
|
|
224
276
|
type: z.infer<typeof ScopesWithDeclaredOptions>;
|
|
225
277
|
}>;
|
|
@@ -286,13 +338,6 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
286
338
|
}, z.core.$strip>], "type">;
|
|
287
339
|
export type RecordScopeV2 = z.infer<typeof RecordScopeV2>;
|
|
288
340
|
export type ResolvedRecordScopeV2 = z.infer<typeof ResolvedRecordScopeV2>;
|
|
289
|
-
declare const SystemScopeType: z.ZodEnum<{
|
|
290
|
-
"organisation.read-locations": "organisation.read-locations";
|
|
291
|
-
"user.read": "user.read";
|
|
292
|
-
"user.create": "user.create";
|
|
293
|
-
"user.edit": "user.edit";
|
|
294
|
-
}>;
|
|
295
|
-
export type SystemScopeType = z.infer<typeof SystemScopeType>;
|
|
296
341
|
/** The primary scope schema which gathers all scope types together. All scopes are discriminated by type and options are determined according to the type. */
|
|
297
342
|
export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
298
343
|
type: z.ZodEnum<{
|
|
@@ -437,11 +482,31 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
437
482
|
}, z.core.$strip>>;
|
|
438
483
|
}, z.core.$strip>, z.ZodObject<{
|
|
439
484
|
type: z.ZodEnum<{
|
|
440
|
-
"organisation.read-locations": "organisation.read-locations";
|
|
441
|
-
"user.read": "user.read";
|
|
442
485
|
"user.create": "user.create";
|
|
443
486
|
"user.edit": "user.edit";
|
|
444
487
|
}>;
|
|
488
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
490
|
+
administrativeArea: "administrativeArea";
|
|
491
|
+
location: "location";
|
|
492
|
+
all: "all";
|
|
493
|
+
}>>;
|
|
494
|
+
role: z.ZodOptional<z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
495
|
+
}, z.core.$strip>>;
|
|
496
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
497
|
+
type: z.ZodEnum<{
|
|
498
|
+
"user.read": "user.read";
|
|
499
|
+
"user.search": "user.search";
|
|
500
|
+
}>;
|
|
501
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
503
|
+
administrativeArea: "administrativeArea";
|
|
504
|
+
location: "location";
|
|
505
|
+
all: "all";
|
|
506
|
+
}>>;
|
|
507
|
+
}, z.core.$strip>>;
|
|
508
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
509
|
+
type: z.ZodLiteral<"organisation.read-locations">;
|
|
445
510
|
options: z.ZodOptional<z.ZodObject<{
|
|
446
511
|
accessLevel: z.ZodOptional<z.ZodEnum<{
|
|
447
512
|
administrativeArea: "administrativeArea";
|
|
@@ -495,6 +560,7 @@ export declare const ScopeType: z.ZodEnum<{
|
|
|
495
560
|
"user.read": "user.read";
|
|
496
561
|
"user.create": "user.create";
|
|
497
562
|
"user.edit": "user.edit";
|
|
563
|
+
"user.search": "user.search";
|
|
498
564
|
workqueue: "workqueue";
|
|
499
565
|
"dashboard.view": "dashboard.view";
|
|
500
566
|
}>;
|
|
@@ -514,14 +580,12 @@ export type EncodedScope = z.infer<typeof EncodedScope>;
|
|
|
514
580
|
*/
|
|
515
581
|
export declare const encodeScope: (scope: Scope) => EncodedScope;
|
|
516
582
|
/**
|
|
517
|
-
* Converts
|
|
583
|
+
* Converts an encoded scope string into a scope object.
|
|
518
584
|
*
|
|
519
|
-
* @
|
|
520
|
-
*
|
|
521
|
-
* @param scope - The scope object to encode.
|
|
522
|
-
* @returns The encoded scope as a branded string (`EncodedScope`).
|
|
585
|
+
* @param scope - The encoded scope string to decode.
|
|
586
|
+
* @returns The decoded scope object.
|
|
523
587
|
*/
|
|
524
|
-
export declare const decodeScope: (
|
|
588
|
+
export declare const decodeScope: (encodedScope: EncodedScope) => {
|
|
525
589
|
type: "record.create" | "record.declare" | "record.notify";
|
|
526
590
|
options?: {
|
|
527
591
|
event?: string[] | undefined;
|
|
@@ -567,10 +631,21 @@ export declare const decodeScope: (query: EncodedScope) => {
|
|
|
567
631
|
registeredBy?: "user" | undefined;
|
|
568
632
|
templates?: string[] | undefined;
|
|
569
633
|
} | undefined;
|
|
634
|
+
} | {
|
|
635
|
+
type: "user.create" | "user.edit";
|
|
636
|
+
options?: {
|
|
637
|
+
accessLevel?: "administrativeArea" | "location" | "all" | undefined;
|
|
638
|
+
role?: string[] | undefined;
|
|
639
|
+
} | undefined;
|
|
640
|
+
} | {
|
|
641
|
+
type: "user.read" | "user.search";
|
|
642
|
+
options?: {
|
|
643
|
+
accessLevel?: "administrativeArea" | "location" | "all" | undefined;
|
|
644
|
+
} | undefined;
|
|
570
645
|
} | {
|
|
571
646
|
type: "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration";
|
|
572
647
|
} | {
|
|
573
|
-
type: "organisation.read-locations"
|
|
648
|
+
type: "organisation.read-locations";
|
|
574
649
|
options?: {
|
|
575
650
|
accessLevel?: "administrativeArea" | "location" | "all" | undefined;
|
|
576
651
|
} | undefined;
|
package/dist/scopes/index.js
CHANGED
|
@@ -42,6 +42,7 @@ __export(scopes_exports, {
|
|
|
42
42
|
ScopesWithFullOptions: () => ScopesWithFullOptions,
|
|
43
43
|
ScopesWithPlaceEventOptions: () => ScopesWithPlaceEventOptions,
|
|
44
44
|
UserFilter: () => UserFilter,
|
|
45
|
+
UserScopeV2: () => UserScopeV2,
|
|
45
46
|
canUserCreateEvent: () => canUserCreateEvent,
|
|
46
47
|
decodeScope: () => decodeScope,
|
|
47
48
|
defineRoles: () => defineRoles,
|
|
@@ -54,7 +55,8 @@ __export(scopes_exports, {
|
|
|
54
55
|
isCustomActionScope: () => isCustomActionScope,
|
|
55
56
|
scopeUsesDeclaredOptions: () => scopeUsesDeclaredOptions,
|
|
56
57
|
scopeUsesFullOptions: () => scopeUsesFullOptions,
|
|
57
|
-
scopeUsesPrintCertifiedCopiesOptions: () => scopeUsesPrintCertifiedCopiesOptions
|
|
58
|
+
scopeUsesPrintCertifiedCopiesOptions: () => scopeUsesPrintCertifiedCopiesOptions,
|
|
59
|
+
scopeUsesRoleOptions: () => scopeUsesRoleOptions
|
|
58
60
|
});
|
|
59
61
|
module.exports = __toCommonJS(scopes_exports);
|
|
60
62
|
var z4 = __toESM(require("zod/v4"));
|
|
@@ -139,6 +141,10 @@ var scopeByEvent = z3.preprocess(
|
|
|
139
141
|
(val) => val === void 0 ? void 0 : [val].flat(),
|
|
140
142
|
z3.array(z3.string()).optional()
|
|
141
143
|
).describe("Event type, e.g. birth, death");
|
|
144
|
+
var userRole = z3.preprocess(
|
|
145
|
+
(val) => val === void 0 ? void 0 : [val].flat(),
|
|
146
|
+
z3.array(z3.string()).optional()
|
|
147
|
+
).describe("User role, e.g. admin, field agent");
|
|
142
148
|
var scopeOptionsPlaceEvent = z3.object({
|
|
143
149
|
event: scopeByEvent,
|
|
144
150
|
placeOfEvent: JurisdictionFilter.optional()
|
|
@@ -162,6 +168,9 @@ var CustomActionScopeOptions = AllRecordScopeOptions.extend({
|
|
|
162
168
|
var AccessLevelOptions = z3.object({
|
|
163
169
|
accessLevel: JurisdictionFilter.optional()
|
|
164
170
|
});
|
|
171
|
+
var AllUserScopeOptions = AccessLevelOptions.extend({
|
|
172
|
+
role: userRole.optional()
|
|
173
|
+
});
|
|
165
174
|
var WorkqueueOrDashboardOptions = z3.object({
|
|
166
175
|
ids: z3.preprocess(
|
|
167
176
|
(val) => val === void 0 ? void 0 : [val].flat(),
|
|
@@ -171,6 +180,7 @@ var WorkqueueOrDashboardOptions = z3.object({
|
|
|
171
180
|
var AllScopeOptions = z3.object({
|
|
172
181
|
...AllRecordScopeOptions.shape,
|
|
173
182
|
...AccessLevelOptions.shape,
|
|
183
|
+
...AllUserScopeOptions.shape,
|
|
174
184
|
...WorkqueueOrDashboardOptions.shape
|
|
175
185
|
});
|
|
176
186
|
var ScopeOptionKey = AllScopeOptions.keyof();
|
|
@@ -243,6 +253,33 @@ var RecordScopeV2 = z3.discriminatedUnion("type", [
|
|
|
243
253
|
]).describe(
|
|
244
254
|
"Scopes used to check user's permission to perform actions on a record."
|
|
245
255
|
);
|
|
256
|
+
var SystemScopeType = z3.enum([
|
|
257
|
+
"organisation.read-locations",
|
|
258
|
+
"user.read",
|
|
259
|
+
"user.create",
|
|
260
|
+
"user.edit",
|
|
261
|
+
"user.search"
|
|
262
|
+
]);
|
|
263
|
+
var UserScopeType = SystemScopeType.extract([
|
|
264
|
+
"user.read",
|
|
265
|
+
"user.create",
|
|
266
|
+
"user.edit",
|
|
267
|
+
"user.search"
|
|
268
|
+
]);
|
|
269
|
+
var ScopesWithRoleOption = UserScopeType.extract(["user.edit", "user.create"]);
|
|
270
|
+
var UserScopeV2 = z3.discriminatedUnion("type", [
|
|
271
|
+
z3.object({
|
|
272
|
+
type: ScopesWithRoleOption,
|
|
273
|
+
options: AllUserScopeOptions.optional()
|
|
274
|
+
}),
|
|
275
|
+
z3.object({
|
|
276
|
+
type: UserScopeType.extract(["user.read", "user.search"]),
|
|
277
|
+
options: AccessLevelOptions.optional()
|
|
278
|
+
})
|
|
279
|
+
]);
|
|
280
|
+
function scopeUsesRoleOptions(scope) {
|
|
281
|
+
return ScopesWithRoleOption?.options.some((opt) => opt === scope.type);
|
|
282
|
+
}
|
|
246
283
|
function scopeUsesDeclaredOptions(scope) {
|
|
247
284
|
return !ScopesWithPlaceEventOptions.options.some((opt) => opt === scope.type);
|
|
248
285
|
}
|
|
@@ -275,16 +312,14 @@ var ResolvedRecordScopeV2 = z3.discriminatedUnion("type", [
|
|
|
275
312
|
}).optional()
|
|
276
313
|
})
|
|
277
314
|
]).describe("Resolved scope with location/user IDs instead of filters.");
|
|
278
|
-
var SystemScopeType = z3.enum([
|
|
279
|
-
"organisation.read-locations",
|
|
280
|
-
"user.read",
|
|
281
|
-
"user.create",
|
|
282
|
-
"user.edit"
|
|
283
|
-
]);
|
|
284
315
|
var Scope2 = z3.discriminatedUnion("type", [
|
|
285
316
|
z3.object({ type: PlainScopeType }),
|
|
286
317
|
...RecordScopeV2.options,
|
|
287
|
-
|
|
318
|
+
...UserScopeV2.options,
|
|
319
|
+
z3.object({
|
|
320
|
+
type: z3.literal("organisation.read-locations"),
|
|
321
|
+
options: AccessLevelOptions.optional()
|
|
322
|
+
}),
|
|
288
323
|
z3.object({
|
|
289
324
|
type: z3.literal("workqueue"),
|
|
290
325
|
options: WorkqueueOrDashboardOptions
|
|
@@ -319,18 +354,26 @@ var encodeScope = (scope) => {
|
|
|
319
354
|
encode: false
|
|
320
355
|
});
|
|
321
356
|
};
|
|
322
|
-
var
|
|
323
|
-
|
|
357
|
+
var decodedScopeCache = /* @__PURE__ */ new Map();
|
|
358
|
+
var decodeScope = (encodedScope) => {
|
|
359
|
+
if (decodedScopeCache.has(encodedScope)) {
|
|
360
|
+
return decodedScopeCache.get(encodedScope);
|
|
361
|
+
}
|
|
362
|
+
const scope = qs.parse(encodedScope, {
|
|
324
363
|
ignoreQueryPrefix: true,
|
|
325
364
|
comma: true,
|
|
326
365
|
allowDots: true
|
|
327
366
|
});
|
|
328
367
|
const unflattenedScope = unflattenScope(scope);
|
|
329
|
-
|
|
368
|
+
const result = Scope2.safeParse(unflattenedScope)?.data;
|
|
369
|
+
decodedScopeCache.set(encodedScope, result);
|
|
370
|
+
return result;
|
|
330
371
|
};
|
|
331
372
|
var DEFAULT_SCOPE_OPTIONS = {
|
|
332
373
|
placeOfEvent: JurisdictionFilter.enum.all,
|
|
333
|
-
accessLevel: JurisdictionFilter.enum.all
|
|
374
|
+
accessLevel: JurisdictionFilter.enum.all,
|
|
375
|
+
registeredIn: JurisdictionFilter.enum.all,
|
|
376
|
+
declaredIn: JurisdictionFilter.enum.all
|
|
334
377
|
};
|
|
335
378
|
function getScopeOptionValue(scope, option) {
|
|
336
379
|
const options = "options" in scope ? scope.options : void 0;
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencrvs/toolkit",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.ff777d6",
|
|
4
4
|
"description": "OpenCRVS toolkit for building country configurations",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"build": "./build.sh",
|
|
21
21
|
"build:all": "lerna run build --include-dependencies --scope @opencrvs/toolkit && ./build.sh"
|
|
22
22
|
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/opencrvs/opencrvs-core.git"
|
|
26
|
+
},
|
|
23
27
|
"dependencies": {
|
|
24
28
|
"@trpc/client": "11.4.3",
|
|
25
29
|
"@trpc/server": "^11.8.0",
|
|
@@ -29,7 +33,7 @@
|
|
|
29
33
|
"jwt-decode": "^3.0.0",
|
|
30
34
|
"lodash": "^4.17.10",
|
|
31
35
|
"object-hash": "^3.0.0",
|
|
32
|
-
"qs": "6.
|
|
36
|
+
"qs": "6.15.2",
|
|
33
37
|
"superjson": "1.9.0-0",
|
|
34
38
|
"ts-morph": "^27.0.2",
|
|
35
39
|
"uuid": "^9.0.0",
|
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/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/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/notification/index.ts","./src/scopes/index.ts"],"version":"5.6.3"}
|
|
1
|
+
{"root":["./src/cli.ts","./src/api/index.ts","./src/application-config/index.ts","./src/conditionals/index.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/notification/index.ts","./src/scopes/index.ts"],"version":"5.6.3"}
|
|
Binary file
|