@opencrvs/toolkit 2.0.0-rc.086745c → 2.0.0-rc.0896b42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/create-countryconfig/index.js +103 -0
  2. package/create-countryconfig/package.json +21 -0
  3. package/dist/application-config/index.js +288 -123
  4. package/dist/cli.js +521 -174
  5. package/dist/commons/api/router.d.ts +3387 -237
  6. package/dist/commons/application-config/index.d.ts +1 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +360 -10
  8. package/dist/commons/conditionals/validate.d.ts +52 -2
  9. package/dist/commons/events/ActionConfig.d.ts +28 -2
  10. package/dist/commons/events/ActionDocument.d.ts +6 -0
  11. package/dist/commons/events/ActionInput.d.ts +114 -0
  12. package/dist/commons/events/AdvancedSearchConfig.d.ts +354 -0
  13. package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
  14. package/dist/commons/events/Draft.d.ts +4 -2
  15. package/dist/commons/events/EventConfig.d.ts +2 -0
  16. package/dist/commons/events/EventDocument.d.ts +3 -0
  17. package/dist/commons/events/EventIndex.d.ts +25 -3
  18. package/dist/commons/events/EventMetadata.d.ts +26 -7
  19. package/dist/commons/events/FieldConfig.d.ts +393 -50
  20. package/dist/commons/events/FieldType.d.ts +1 -0
  21. package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
  22. package/dist/commons/events/FieldValue.d.ts +6 -0
  23. package/dist/commons/events/WorkqueueConfig.d.ts +189 -150
  24. package/dist/commons/events/field.d.ts +53 -1
  25. package/dist/commons/events/index.d.ts +2 -0
  26. package/dist/commons/events/locations.d.ts +22 -0
  27. package/dist/commons/events/mocks.test.utils.d.ts +19 -0
  28. package/dist/commons/events/scopes.d.ts +24 -1
  29. package/dist/commons/events/state/flags.d.ts +16 -0
  30. package/dist/commons/events/state/index.d.ts +8 -4
  31. package/dist/commons/events/state/utils.d.ts +21 -289
  32. package/dist/commons/events/utils.d.ts +13 -2
  33. package/dist/conditionals/index.js +65 -5
  34. package/dist/events/index.js +1170 -288
  35. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
  36. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +60 -35
  37. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
  38. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  39. package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
  40. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
  41. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
  42. package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
  43. package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts +3 -0
  44. package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.d.ts.map +1 -0
  45. package/dist/migrations/v2.0/fix-accept-requested-registration-function-type.js +110 -0
  46. package/dist/migrations/v2.0/index.d.ts +5 -3
  47. package/dist/migrations/v2.0/index.d.ts.map +1 -1
  48. package/dist/migrations/v2.0/index.js +519 -172
  49. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
  50. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +90 -1
  51. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
  52. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
  53. package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
  54. package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
  55. package/dist/migrations/v2.0/migrate-scopes.js +54 -30
  56. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
  57. package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
  58. package/dist/notification/index.js +916 -159
  59. package/dist/scopes/index.d.ts +98 -7
  60. package/dist/scopes/index.js +22 -7
  61. package/opencrvs-toolkit-2.0.0-rc.0896b42.tgz +0 -0
  62. package/package.json +6 -2
  63. package/tsconfig.tsbuildinfo +1 -1
  64. package/opencrvs-toolkit-2.0.0-rc.086745c.tgz +0 -0
@@ -48,6 +48,14 @@ declare const AllScopeOptions: z.ZodObject<{
48
48
  location: "location";
49
49
  all: "all";
50
50
  }>>;
51
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
52
+ administrativeArea: "administrativeArea";
53
+ location: "location";
54
+ all: "all";
55
+ }>>;
56
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
57
+ user: "user";
58
+ }>>;
51
59
  declaredIn: z.ZodOptional<z.ZodEnum<{
52
60
  administrativeArea: "administrativeArea";
53
61
  location: "location";
@@ -70,6 +78,8 @@ export declare const ScopeOptionKey: z.ZodEnum<{
70
78
  role: "role";
71
79
  event: "event";
72
80
  placeOfEvent: "placeOfEvent";
81
+ notifiedIn: "notifiedIn";
82
+ notifiedBy: "notifiedBy";
73
83
  declaredIn: "declaredIn";
74
84
  declaredBy: "declaredBy";
75
85
  registeredIn: "registeredIn";
@@ -126,6 +136,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
126
136
  location: "location";
127
137
  all: "all";
128
138
  }>>;
139
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
140
+ administrativeArea: "administrativeArea";
141
+ location: "location";
142
+ all: "all";
143
+ }>>;
144
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
145
+ user: "user";
146
+ }>>;
129
147
  declaredIn: z.ZodOptional<z.ZodEnum<{
130
148
  administrativeArea: "administrativeArea";
131
149
  location: "location";
@@ -150,6 +168,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
150
168
  location: "location";
151
169
  all: "all";
152
170
  }>>;
171
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
172
+ administrativeArea: "administrativeArea";
173
+ location: "location";
174
+ all: "all";
175
+ }>>;
176
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
177
+ user: "user";
178
+ }>>;
153
179
  declaredIn: z.ZodOptional<z.ZodEnum<{
154
180
  administrativeArea: "administrativeArea";
155
181
  location: "location";
@@ -176,6 +202,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
176
202
  location: "location";
177
203
  all: "all";
178
204
  }>>;
205
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
206
+ administrativeArea: "administrativeArea";
207
+ location: "location";
208
+ all: "all";
209
+ }>>;
210
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
211
+ user: "user";
212
+ }>>;
179
213
  declaredIn: z.ZodOptional<z.ZodEnum<{
180
214
  administrativeArea: "administrativeArea";
181
215
  location: "location";
@@ -203,6 +237,14 @@ export declare const RecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
203
237
  location: "location";
204
238
  all: "all";
205
239
  }>>;
240
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
241
+ administrativeArea: "administrativeArea";
242
+ location: "location";
243
+ all: "all";
244
+ }>>;
245
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
246
+ user: "user";
247
+ }>>;
206
248
  declaredIn: z.ZodOptional<z.ZodEnum<{
207
249
  administrativeArea: "administrativeArea";
208
250
  location: "location";
@@ -227,12 +269,14 @@ declare const SystemScopeType: z.ZodEnum<{
227
269
  "user.read": "user.read";
228
270
  "user.create": "user.create";
229
271
  "user.edit": "user.edit";
272
+ "user.search": "user.search";
230
273
  }>;
231
274
  export type SystemScopeType = z.infer<typeof SystemScopeType>;
232
275
  declare const UserScopeType: z.ZodEnum<{
233
276
  "user.read": "user.read";
234
277
  "user.create": "user.create";
235
278
  "user.edit": "user.edit";
279
+ "user.search": "user.search";
236
280
  }>;
237
281
  export type UserScopeType = z.infer<typeof UserScopeType>;
238
282
  declare const ScopesWithRoleOption: z.ZodEnum<{
@@ -256,6 +300,7 @@ export declare const UserScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject<{
256
300
  }, z.core.$strip>, z.ZodObject<{
257
301
  type: z.ZodEnum<{
258
302
  "user.read": "user.read";
303
+ "user.search": "user.search";
259
304
  }>;
260
305
  options: z.ZodOptional<z.ZodObject<{
261
306
  accessLevel: z.ZodOptional<z.ZodEnum<{
@@ -302,6 +347,8 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
302
347
  options: z.ZodOptional<z.ZodObject<{
303
348
  event: z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
304
349
  placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
350
+ notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
351
+ notifiedBy: z.ZodOptional<z.ZodString>;
305
352
  declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
306
353
  declaredBy: z.ZodOptional<z.ZodString>;
307
354
  }, z.core.$strip>>;
@@ -316,6 +363,8 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
316
363
  options: z.ZodOptional<z.ZodObject<{
317
364
  event: z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
318
365
  placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
366
+ notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
367
+ notifiedBy: z.ZodOptional<z.ZodString>;
319
368
  declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
320
369
  declaredBy: z.ZodOptional<z.ZodString>;
321
370
  registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
@@ -326,6 +375,8 @@ export declare const ResolvedRecordScopeV2: z.ZodDiscriminatedUnion<[z.ZodObject
326
375
  options: z.ZodOptional<z.ZodObject<{
327
376
  event: z.ZodPipe<z.ZodTransform<({} | null)[] | undefined, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
328
377
  placeOfEvent: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
378
+ notifiedIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
379
+ notifiedBy: z.ZodOptional<z.ZodString>;
329
380
  declaredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
330
381
  declaredBy: z.ZodOptional<z.ZodString>;
331
382
  registeredIn: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
@@ -382,6 +433,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
382
433
  location: "location";
383
434
  all: "all";
384
435
  }>>;
436
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
437
+ administrativeArea: "administrativeArea";
438
+ location: "location";
439
+ all: "all";
440
+ }>>;
441
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
442
+ user: "user";
443
+ }>>;
385
444
  declaredIn: z.ZodOptional<z.ZodEnum<{
386
445
  administrativeArea: "administrativeArea";
387
446
  location: "location";
@@ -406,6 +465,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
406
465
  location: "location";
407
466
  all: "all";
408
467
  }>>;
468
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
469
+ administrativeArea: "administrativeArea";
470
+ location: "location";
471
+ all: "all";
472
+ }>>;
473
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
474
+ user: "user";
475
+ }>>;
409
476
  declaredIn: z.ZodOptional<z.ZodEnum<{
410
477
  administrativeArea: "administrativeArea";
411
478
  location: "location";
@@ -432,6 +499,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
432
499
  location: "location";
433
500
  all: "all";
434
501
  }>>;
502
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
503
+ administrativeArea: "administrativeArea";
504
+ location: "location";
505
+ all: "all";
506
+ }>>;
507
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
508
+ user: "user";
509
+ }>>;
435
510
  declaredIn: z.ZodOptional<z.ZodEnum<{
436
511
  administrativeArea: "administrativeArea";
437
512
  location: "location";
@@ -459,6 +534,14 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
459
534
  location: "location";
460
535
  all: "all";
461
536
  }>>;
537
+ notifiedIn: z.ZodOptional<z.ZodEnum<{
538
+ administrativeArea: "administrativeArea";
539
+ location: "location";
540
+ all: "all";
541
+ }>>;
542
+ notifiedBy: z.ZodOptional<z.ZodEnum<{
543
+ user: "user";
544
+ }>>;
462
545
  declaredIn: z.ZodOptional<z.ZodEnum<{
463
546
  administrativeArea: "administrativeArea";
464
547
  location: "location";
@@ -493,6 +576,7 @@ export declare const Scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
493
576
  }, z.core.$strip>, z.ZodObject<{
494
577
  type: z.ZodEnum<{
495
578
  "user.read": "user.read";
579
+ "user.search": "user.search";
496
580
  }>;
497
581
  options: z.ZodOptional<z.ZodObject<{
498
582
  accessLevel: z.ZodOptional<z.ZodEnum<{
@@ -556,6 +640,7 @@ export declare const ScopeType: z.ZodEnum<{
556
640
  "user.read": "user.read";
557
641
  "user.create": "user.create";
558
642
  "user.edit": "user.edit";
643
+ "user.search": "user.search";
559
644
  workqueue: "workqueue";
560
645
  "dashboard.view": "dashboard.view";
561
646
  }>;
@@ -575,14 +660,12 @@ export type EncodedScope = z.infer<typeof EncodedScope>;
575
660
  */
576
661
  export declare const encodeScope: (scope: Scope) => EncodedScope;
577
662
  /**
578
- * Converts a scope object into an encoded query string representation.
663
+ * Converts an encoded scope string into a scope object.
579
664
  *
580
- * @TODO scope param could be defined as EncodedScope instead of string.
581
- *
582
- * @param scope - The scope object to encode.
583
- * @returns The encoded scope as a branded string (`EncodedScope`).
665
+ * @param scope - The encoded scope string to decode.
666
+ * @returns The decoded scope object.
584
667
  */
585
- export declare const decodeScope: (query: EncodedScope) => {
668
+ export declare const decodeScope: (encodedScope: EncodedScope) => {
586
669
  type: "record.create" | "record.declare" | "record.notify";
587
670
  options?: {
588
671
  event?: string[] | undefined;
@@ -593,6 +676,8 @@ export declare const decodeScope: (query: EncodedScope) => {
593
676
  options?: {
594
677
  event?: string[] | undefined;
595
678
  placeOfEvent?: "administrativeArea" | "location" | "all" | undefined;
679
+ notifiedIn?: "administrativeArea" | "location" | "all" | undefined;
680
+ notifiedBy?: "user" | undefined;
596
681
  declaredIn?: "administrativeArea" | "location" | "all" | undefined;
597
682
  declaredBy?: "user" | undefined;
598
683
  } | undefined;
@@ -601,6 +686,8 @@ export declare const decodeScope: (query: EncodedScope) => {
601
686
  options?: {
602
687
  event?: string[] | undefined;
603
688
  placeOfEvent?: "administrativeArea" | "location" | "all" | undefined;
689
+ notifiedIn?: "administrativeArea" | "location" | "all" | undefined;
690
+ notifiedBy?: "user" | undefined;
604
691
  declaredIn?: "administrativeArea" | "location" | "all" | undefined;
605
692
  declaredBy?: "user" | undefined;
606
693
  registeredIn?: "administrativeArea" | "location" | "all" | undefined;
@@ -611,6 +698,8 @@ export declare const decodeScope: (query: EncodedScope) => {
611
698
  options?: {
612
699
  event?: string[] | undefined;
613
700
  placeOfEvent?: "administrativeArea" | "location" | "all" | undefined;
701
+ notifiedIn?: "administrativeArea" | "location" | "all" | undefined;
702
+ notifiedBy?: "user" | undefined;
614
703
  declaredIn?: "administrativeArea" | "location" | "all" | undefined;
615
704
  declaredBy?: "user" | undefined;
616
705
  registeredIn?: "administrativeArea" | "location" | "all" | undefined;
@@ -622,6 +711,8 @@ export declare const decodeScope: (query: EncodedScope) => {
622
711
  options?: {
623
712
  event?: string[] | undefined;
624
713
  placeOfEvent?: "administrativeArea" | "location" | "all" | undefined;
714
+ notifiedIn?: "administrativeArea" | "location" | "all" | undefined;
715
+ notifiedBy?: "user" | undefined;
625
716
  declaredIn?: "administrativeArea" | "location" | "all" | undefined;
626
717
  declaredBy?: "user" | undefined;
627
718
  registeredIn?: "administrativeArea" | "location" | "all" | undefined;
@@ -635,7 +726,7 @@ export declare const decodeScope: (query: EncodedScope) => {
635
726
  role?: string[] | undefined;
636
727
  } | undefined;
637
728
  } | {
638
- type: "user.read";
729
+ type: "user.read" | "user.search";
639
730
  options?: {
640
731
  accessLevel?: "administrativeArea" | "location" | "all" | undefined;
641
732
  } | undefined;
@@ -150,6 +150,8 @@ var scopeOptionsPlaceEvent = z3.object({
150
150
  placeOfEvent: JurisdictionFilter.optional()
151
151
  }).describe("Options applicable to all record scopes.");
152
152
  var scopeOptionsDeclared = scopeOptionsPlaceEvent.extend({
153
+ notifiedIn: JurisdictionFilter.optional(),
154
+ notifiedBy: UserFilter.optional(),
153
155
  declaredIn: JurisdictionFilter.optional(),
154
156
  declaredBy: UserFilter.optional()
155
157
  }).describe("Options applicable to actions that may take place after DECLARE");
@@ -191,6 +193,8 @@ var ResolvedScopeOptionsPlaceEvent = z3.object({
191
193
  "Resolved options applicable to all record scopes, with location ID instead of jurisdiction filter."
192
194
  );
193
195
  var ResolvedScopeOptionsDeclared = ResolvedScopeOptionsPlaceEvent.extend({
196
+ notifiedIn: UUID.nullish(),
197
+ notifiedBy: z3.string().optional(),
194
198
  declaredIn: UUID.nullish(),
195
199
  declaredBy: z3.string().optional()
196
200
  }).describe(
@@ -257,12 +261,14 @@ var SystemScopeType = z3.enum([
257
261
  "organisation.read-locations",
258
262
  "user.read",
259
263
  "user.create",
260
- "user.edit"
264
+ "user.edit",
265
+ "user.search"
261
266
  ]);
262
267
  var UserScopeType = SystemScopeType.extract([
263
268
  "user.read",
264
269
  "user.create",
265
- "user.edit"
270
+ "user.edit",
271
+ "user.search"
266
272
  ]);
267
273
  var ScopesWithRoleOption = UserScopeType.extract(["user.edit", "user.create"]);
268
274
  var UserScopeV2 = z3.discriminatedUnion("type", [
@@ -271,7 +277,7 @@ var UserScopeV2 = z3.discriminatedUnion("type", [
271
277
  options: AllUserScopeOptions.optional()
272
278
  }),
273
279
  z3.object({
274
- type: UserScopeType.extract(["user.read"]),
280
+ type: UserScopeType.extract(["user.read", "user.search"]),
275
281
  options: AccessLevelOptions.optional()
276
282
  })
277
283
  ]);
@@ -352,18 +358,27 @@ var encodeScope = (scope) => {
352
358
  encode: false
353
359
  });
354
360
  };
355
- var decodeScope = (query) => {
356
- const scope = qs.parse(query, {
361
+ var decodedScopeCache = /* @__PURE__ */ new Map();
362
+ var decodeScope = (encodedScope) => {
363
+ if (decodedScopeCache.has(encodedScope)) {
364
+ return decodedScopeCache.get(encodedScope);
365
+ }
366
+ const scope = qs.parse(encodedScope, {
357
367
  ignoreQueryPrefix: true,
358
368
  comma: true,
359
369
  allowDots: true
360
370
  });
361
371
  const unflattenedScope = unflattenScope(scope);
362
- return Scope2.safeParse(unflattenedScope)?.data;
372
+ const result = Scope2.safeParse(unflattenedScope)?.data;
373
+ decodedScopeCache.set(encodedScope, result);
374
+ return result;
363
375
  };
364
376
  var DEFAULT_SCOPE_OPTIONS = {
365
377
  placeOfEvent: JurisdictionFilter.enum.all,
366
- accessLevel: JurisdictionFilter.enum.all
378
+ accessLevel: JurisdictionFilter.enum.all,
379
+ notifiedIn: JurisdictionFilter.enum.all,
380
+ declaredIn: JurisdictionFilter.enum.all,
381
+ registeredIn: JurisdictionFilter.enum.all
367
382
  };
368
383
  function getScopeOptionValue(scope, option) {
369
384
  const options = "options" in scope ? scope.options : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.086745c",
3
+ "version": "2.0.0-rc.0896b42",
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.14.0",
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",
@@ -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"}