@opencrvs/toolkit 2.1.0-rc.35e0e39 → 2.1.0-rc.3e7e77b

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 (60) hide show
  1. package/.nx/cache/file-map.json +360 -0
  2. package/.nx/cache/project-graph.json +6 -0
  3. package/dist/application-config/index.js +1 -0
  4. package/dist/commons/api/router.d.ts +3349 -3245
  5. package/dist/commons/application-config/index.d.ts +6 -6
  6. package/dist/commons/conditionals/conditionals.d.ts +259 -2102
  7. package/dist/commons/events/ActionConfig.d.ts +105 -105
  8. package/dist/commons/events/ActionDocument.d.ts +113 -113
  9. package/dist/commons/events/ActionType.d.ts +62 -62
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +513 -507
  11. package/dist/commons/events/AuditLog.d.ts +79 -42
  12. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  13. package/dist/commons/events/Conditional.d.ts +3 -3
  14. package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
  15. package/dist/commons/events/Draft.d.ts +37 -37
  16. package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
  17. package/dist/commons/events/EventConfig.d.ts +5 -5
  18. package/dist/commons/events/EventDocument.d.ts +46 -46
  19. package/dist/commons/events/EventIndex.d.ts +63 -63
  20. package/dist/commons/events/EventMetadata.d.ts +40 -40
  21. package/dist/commons/events/FieldConfig.d.ts +342 -337
  22. package/dist/commons/events/FieldType.d.ts +51 -51
  23. package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
  24. package/dist/commons/events/FieldValue.d.ts +12 -12
  25. package/dist/commons/events/Flag.d.ts +15 -15
  26. package/dist/commons/events/TemplateConfig.d.ts +1 -1
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
  28. package/dist/commons/events/WorkqueueConfig.d.ts +826 -826
  29. package/dist/commons/events/deduplication.d.ts +1 -1
  30. package/dist/commons/events/event.d.ts +2 -2
  31. package/dist/commons/events/field.d.ts +78 -895
  32. package/dist/commons/events/index.d.ts +1 -0
  33. package/dist/commons/events/locationPayloads.d.ts +95 -0
  34. package/dist/commons/events/locations.d.ts +103 -6
  35. package/dist/commons/events/mocks.test.utils.d.ts +18 -4
  36. package/dist/commons/events/scopes.d.ts +4 -4
  37. package/dist/commons/events/state/index.d.ts +17 -17
  38. package/dist/commons/events/state/utils.d.ts +7 -7
  39. package/dist/commons/events/test.utils.d.ts +40 -43
  40. package/dist/commons/events/utils.d.ts +114 -114
  41. package/dist/commons/notification/UserNotifications.d.ts +10 -10
  42. package/dist/conditionals/index.js +1 -0
  43. package/dist/environment/derived-variables.d.ts +119 -119
  44. package/dist/environment/derived-variables.d.ts.map +1 -1
  45. package/dist/environment/logger.d.ts +12 -3
  46. package/dist/environment/logger.d.ts.map +1 -1
  47. package/dist/environment/questions.d.ts +75 -74
  48. package/dist/environment/questions.d.ts.map +1 -1
  49. package/dist/environment/setup-environment.js +8 -14
  50. package/dist/environment/utils.d.ts +1 -1
  51. package/dist/events/deduplication.d.ts +1 -1
  52. package/dist/events/index.js +147 -53
  53. package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
  54. package/dist/notification/index.js +144 -77
  55. package/dist/scopes/index.d.ts +171 -169
  56. package/dist/scopes/index.js +1 -0
  57. package/opencrvs-toolkit-2.1.0-rc.3e7e77b.tgz +0 -0
  58. package/package.json +6 -6
  59. package/tsconfig.tsbuildinfo +1 -1
  60. package/opencrvs-toolkit-2.1.0-rc.35e0e39.tgz +0 -0
@@ -0,0 +1,360 @@
1
+ {
2
+ "version": "6.0",
3
+ "nxVersion": "19.0.5",
4
+ "deps": {
5
+ "@inquirer/prompts": "^8.3.0",
6
+ "@octokit/core": "4.2.1",
7
+ "@trpc/client": "11.4.3",
8
+ "@trpc/server": "^11.8.0",
9
+ "ajv": "^8.17.1",
10
+ "ajv-formats": "^3.0.1",
11
+ "date-fns": "^2.28.0",
12
+ "dotenv": "^16.4.5",
13
+ "glob": "11.1.0",
14
+ "handlebars": "^4.7.8",
15
+ "js-yaml": "4.1.0",
16
+ "jwt-decode": "^3.0.0",
17
+ "kleur": "^4.1.5",
18
+ "libsodium-wrappers": "^0.7.13",
19
+ "lodash": "^4.17.10",
20
+ "object-hash": "^3.0.0",
21
+ "prompts": "^2.4.2",
22
+ "qs": "6.15.2",
23
+ "ssh2": "^1.17.0",
24
+ "superjson": "1.9.0-0",
25
+ "ts-morph": "^27.0.2",
26
+ "uuid": "^9.0.0",
27
+ "zod": "^4.2.1",
28
+ "zod-openapi": "^5.4.6",
29
+ "@opencrvs/commons": "workspace:*",
30
+ "@opencrvs/events": "workspace:*",
31
+ "@types/js-yaml": "4.0.9",
32
+ "@types/libsodium-wrappers": "^0.7.10",
33
+ "@types/object-hash": "^3.0.6",
34
+ "@types/prompts": "^2.4.9",
35
+ "@types/ssh2": "^1.15.5",
36
+ "@types/uuid": "^9.0.3",
37
+ "esbuild": "^0.24.0"
38
+ },
39
+ "pathMappings": {
40
+ "@opencrvs/commons/conditionals": [
41
+ "../commons/src/conditionals/conditionals.ts"
42
+ ],
43
+ "@opencrvs/commons/scopes": [
44
+ "../commons/src/scopes.ts"
45
+ ],
46
+ "@opencrvs/commons/events": [
47
+ "../commons/src/events/index.ts"
48
+ ],
49
+ "@opencrvs/commons/events/deduplication": [
50
+ "../commons/src/events/deduplication.ts"
51
+ ],
52
+ "@opencrvs/commons/scopes.deprecated.do-not-use": [
53
+ "../commons/src/scopes.deprecated.do-not-use.ts"
54
+ ],
55
+ "@opencrvs/commons/notification": [
56
+ "../commons/src/notification/index.ts"
57
+ ],
58
+ "@opencrvs/commons/application-config": [
59
+ "../commons/src/application-config.ts"
60
+ ]
61
+ },
62
+ "nxJsonPlugins": [],
63
+ "fileMap": {
64
+ "projectFileMap": {},
65
+ "nonProjectFiles": [
66
+ {
67
+ "file": ".gitignore",
68
+ "hash": "4260677082380814170"
69
+ },
70
+ {
71
+ "file": ".npmignore",
72
+ "hash": "12832730719613839175"
73
+ },
74
+ {
75
+ "file": "README.md",
76
+ "hash": "14092001858603156563"
77
+ },
78
+ {
79
+ "file": "build.sh",
80
+ "hash": "15780724691269793619"
81
+ },
82
+ {
83
+ "file": "create-countryconfig/index.js",
84
+ "hash": "17112587822512848204"
85
+ },
86
+ {
87
+ "file": "create-countryconfig/package.json",
88
+ "hash": "6131245058766577665"
89
+ },
90
+ {
91
+ "file": "package.json",
92
+ "hash": "4627463057630871223"
93
+ },
94
+ {
95
+ "file": "src/api/index.ts",
96
+ "hash": "9250633353700132106"
97
+ },
98
+ {
99
+ "file": "src/application-config/index.ts",
100
+ "hash": "14262579350312952255"
101
+ },
102
+ {
103
+ "file": "src/cli.ts",
104
+ "hash": "17807700134069364674"
105
+ },
106
+ {
107
+ "file": "src/conditionals/index.ts",
108
+ "hash": "12050094194733590958"
109
+ },
110
+ {
111
+ "file": "src/environment/custom-types.ts",
112
+ "hash": "8283978980561373118"
113
+ },
114
+ {
115
+ "file": "src/environment/derived-variables.ts",
116
+ "hash": "13418642052384087936"
117
+ },
118
+ {
119
+ "file": "src/environment/editor-questions.ts",
120
+ "hash": "2757795338545172185"
121
+ },
122
+ {
123
+ "file": "src/environment/git.ts",
124
+ "hash": "10994523728189369949"
125
+ },
126
+ {
127
+ "file": "src/environment/github.ts",
128
+ "hash": "6748588899509711430"
129
+ },
130
+ {
131
+ "file": "src/environment/index.ts",
132
+ "hash": "11249542791255780673"
133
+ },
134
+ {
135
+ "file": "src/environment/logger.ts",
136
+ "hash": "303629100936840947"
137
+ },
138
+ {
139
+ "file": "src/environment/manage-users.ts",
140
+ "hash": "409953780340935818"
141
+ },
142
+ {
143
+ "file": "src/environment/questions-helper.ts",
144
+ "hash": "8692150800469264592"
145
+ },
146
+ {
147
+ "file": "src/environment/questions.ts",
148
+ "hash": "12367645619403672140"
149
+ },
150
+ {
151
+ "file": "src/environment/setup-environment.ts",
152
+ "hash": "4001755522705135732"
153
+ },
154
+ {
155
+ "file": "src/environment/ssh-keygen.ts",
156
+ "hash": "4554571093516563675"
157
+ },
158
+ {
159
+ "file": "src/environment/swarm-to-k8s.ts",
160
+ "hash": "13307361329984567975"
161
+ },
162
+ {
163
+ "file": "src/environment/templates.ts",
164
+ "hash": "10528587605318281182"
165
+ },
166
+ {
167
+ "file": "src/environment/templates/charts-values/dependencies/values.override.yaml",
168
+ "hash": "6151516679238135449"
169
+ },
170
+ {
171
+ "file": "src/environment/templates/charts-values/dependencies/values.yaml",
172
+ "hash": "7658167078423853755"
173
+ },
174
+ {
175
+ "file": "src/environment/templates/charts-values/opencrvs-services/values.override.yaml",
176
+ "hash": "6151516679238135449"
177
+ },
178
+ {
179
+ "file": "src/environment/templates/charts-values/opencrvs-services/values.yaml",
180
+ "hash": "15254625742271577288"
181
+ },
182
+ {
183
+ "file": "src/environment/templates/charts-values/traefik/values.override.yaml",
184
+ "hash": "6151516679238135449"
185
+ },
186
+ {
187
+ "file": "src/environment/templates/charts-values/traefik/values.yaml",
188
+ "hash": "11445549870872958042"
189
+ },
190
+ {
191
+ "file": "src/environment/templates/inventory/inventory.template.yml",
192
+ "hash": "11564989184118757660"
193
+ },
194
+ {
195
+ "file": "src/environment/templates/inventory/production.example.yml",
196
+ "hash": "6245109817422776009"
197
+ },
198
+ {
199
+ "file": "src/environment/templates/inventory/qa.example.yml",
200
+ "hash": "6922256648325275243"
201
+ },
202
+ {
203
+ "file": "src/environment/update-workflows.ts",
204
+ "hash": "8516887857946651794"
205
+ },
206
+ {
207
+ "file": "src/environment/users.ts",
208
+ "hash": "2654867673549472977"
209
+ },
210
+ {
211
+ "file": "src/environment/utils.ts",
212
+ "hash": "15291520754390292547"
213
+ },
214
+ {
215
+ "file": "src/events/deduplication.ts",
216
+ "hash": "6318370583661699505"
217
+ },
218
+ {
219
+ "file": "src/events/index.ts",
220
+ "hash": "7725304064684977215"
221
+ },
222
+ {
223
+ "file": "src/migrations/README.md",
224
+ "hash": "10993552210122829296"
225
+ },
226
+ {
227
+ "file": "src/migrations/v2.0/add-birth-certificate-issuance-flag.ts",
228
+ "hash": "2059346541356614309"
229
+ },
230
+ {
231
+ "file": "src/migrations/v2.0/add-resend-invite-notification.ts",
232
+ "hash": "5928623370161482421"
233
+ },
234
+ {
235
+ "file": "src/migrations/v2.0/checkout-upstream-files.ts",
236
+ "hash": "120225970239016975"
237
+ },
238
+ {
239
+ "file": "src/migrations/v2.0/convert-config-files-to-ts.ts",
240
+ "hash": "4304774805083093644"
241
+ },
242
+ {
243
+ "file": "src/migrations/v2.0/convert-paragraph-to-heading.ts",
244
+ "hash": "8808084287307453029"
245
+ },
246
+ {
247
+ "file": "src/migrations/v2.0/create-events-index.ts",
248
+ "hash": "4550664566210375106"
249
+ },
250
+ {
251
+ "file": "src/migrations/v2.0/delete-infrastructure-directory.ts",
252
+ "hash": "1049916274023282143"
253
+ },
254
+ {
255
+ "file": "src/migrations/v2.0/fix-accept-requested-registration-function-type.ts",
256
+ "hash": "817113089406879482"
257
+ },
258
+ {
259
+ "file": "src/migrations/v2.0/index.ts",
260
+ "hash": "7664549090849658785"
261
+ },
262
+ {
263
+ "file": "src/migrations/v2.0/make-built-in-validate-actions-custom.ts",
264
+ "hash": "12632153957919643761"
265
+ },
266
+ {
267
+ "file": "src/migrations/v2.0/merge-infrastructure-directory.ts",
268
+ "hash": "512657920826510003"
269
+ },
270
+ {
271
+ "file": "src/migrations/v2.0/migrate-application-config-url.ts",
272
+ "hash": "5358770707889222016"
273
+ },
274
+ {
275
+ "file": "src/migrations/v2.0/migrate-scopes.ts",
276
+ "hash": "15504413883809244864"
277
+ },
278
+ {
279
+ "file": "src/migrations/v2.0/migrate-validated-workqueue-status-to-flag.ts",
280
+ "hash": "13723584019173818009"
281
+ },
282
+ {
283
+ "file": "src/migrations/v2.0/migrate-workqueue-configs.ts",
284
+ "hash": "4861206089117548470"
285
+ },
286
+ {
287
+ "file": "src/migrations/v2.0/remove-delete-actions.ts",
288
+ "hash": "14980939150618411511"
289
+ },
290
+ {
291
+ "file": "src/migrations/v2.0/remove-demo-scope.ts",
292
+ "hash": "4788598795692783720"
293
+ },
294
+ {
295
+ "file": "src/migrations/v2.0/remove-deprecated-imports.ts",
296
+ "hash": "11242561237569984033"
297
+ },
298
+ {
299
+ "file": "src/migrations/v2.0/remove-fhir-url-helpers.ts",
300
+ "hash": "5505168322096335863"
301
+ },
302
+ {
303
+ "file": "src/migrations/v2.0/remove-hearth-migrations.ts",
304
+ "hash": "10536330101490660691"
305
+ },
306
+ {
307
+ "file": "src/migrations/v2.0/remove-old-statistics-service.ts",
308
+ "hash": "5021289915489031049"
309
+ },
310
+ {
311
+ "file": "src/migrations/v2.0/remove-pending-certification-flag.ts",
312
+ "hash": "15271063562958232459"
313
+ },
314
+ {
315
+ "file": "src/migrations/v2.0/remove-review-from-register-action.ts",
316
+ "hash": "13536772297138514825"
317
+ },
318
+ {
319
+ "file": "src/migrations/v2.0/remove-unused-environment-variables.ts",
320
+ "hash": "7926886468929060227"
321
+ },
322
+ {
323
+ "file": "src/migrations/v2.0/rename-api-paths.ts",
324
+ "hash": "12083963722499273133"
325
+ },
326
+ {
327
+ "file": "src/migrations/v2.0/rename-location-parent-id.ts",
328
+ "hash": "17758682033760919165"
329
+ },
330
+ {
331
+ "file": "src/migrations/v2.0/simplify-analytics-precalculations.ts",
332
+ "hash": "13941316371450411352"
333
+ },
334
+ {
335
+ "file": "src/migrations/v2.0/update-package-json.ts",
336
+ "hash": "12462304470286864895"
337
+ },
338
+ {
339
+ "file": "src/migrations/v2.1/add-explicit-correction-flags.ts",
340
+ "hash": "6097016485165163724"
341
+ },
342
+ {
343
+ "file": "src/migrations/v2.1/index.ts",
344
+ "hash": "17065243163023061579"
345
+ },
346
+ {
347
+ "file": "src/notification/index.ts",
348
+ "hash": "9716899518301358088"
349
+ },
350
+ {
351
+ "file": "src/scopes/index.ts",
352
+ "hash": "5872365967531826164"
353
+ },
354
+ {
355
+ "file": "tsconfig.json",
356
+ "hash": "5646351926612501895"
357
+ }
358
+ ]
359
+ }
360
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "nodes": {},
3
+ "externalNodes": {},
4
+ "dependencies": {},
5
+ "version": "6.0"
6
+ }
@@ -647,6 +647,7 @@ var PlainScopeType = z11.enum([
647
647
  "integration.create",
648
648
  "record.import",
649
649
  "config.update-all",
650
+ "location.edit",
650
651
  "attachment.upload",
651
652
  "profile.electronic-signature",
652
653
  "user.read-only-my-audit",