@opencrvs/toolkit 1.9.7-rc.a5fcb91 → 1.9.7-rc.b4373e6
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/commons/api/router.d.ts +29545 -2467
- package/dist/commons/conditionals/conditionals.d.ts +10 -1
- package/dist/commons/conditionals/validate.d.ts +11 -4
- package/dist/commons/events/ActionConfig.d.ts +24973 -1552
- package/dist/commons/events/ActionDocument.d.ts +846 -1899
- package/dist/commons/events/ActionInput.d.ts +277 -1073
- package/dist/commons/events/ActionType.d.ts +86 -9
- package/dist/commons/events/AdvancedSearchConfig.d.ts +228 -1238
- package/dist/commons/events/CompositeFieldValue.d.ts +29 -190
- package/dist/commons/events/Conditional.d.ts +26 -38
- package/dist/commons/events/Constants.d.ts +1 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1195 -4223
- package/dist/commons/events/DeduplicationConfig.d.ts +18 -150
- package/dist/commons/events/Draft.d.ts +71 -106
- package/dist/commons/events/DynamicFieldValue.d.ts +7 -91
- package/dist/commons/events/EventConfig.d.ts +19932 -2120
- package/dist/commons/events/EventConfigInput.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +337 -1349
- package/dist/commons/events/EventIndex.d.ts +196 -983
- package/dist/commons/events/EventInput.d.ts +3 -8
- package/dist/commons/events/EventMetadata.d.ts +113 -354
- package/dist/commons/events/FieldConfig.d.ts +4522 -12301
- package/dist/commons/events/FieldType.d.ts +20 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +193 -897
- package/dist/commons/events/FieldValue.d.ts +87 -396
- package/dist/commons/events/Flag.d.ts +67 -0
- package/dist/commons/events/FormConfig.d.ts +13980 -721
- package/dist/commons/events/PageConfig.d.ts +9340 -319
- package/dist/commons/events/SummaryConfig.d.ts +14 -161
- package/dist/commons/events/TemplateConfig.d.ts +2 -3
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +74 -37
- package/dist/commons/events/WorkqueueConfig.d.ts +1865 -7177
- package/dist/commons/events/deduplication.d.ts +40 -3
- package/dist/commons/events/defineConfig.d.ts +26563 -147
- package/dist/commons/events/eventConfigValidation.d.ts +8 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locations.d.ts +26 -19
- package/dist/commons/events/scopes.d.ts +5 -4
- package/dist/commons/events/state/availableActions.d.ts +0 -2
- package/dist/commons/events/state/flags.d.ts +21 -3
- package/dist/commons/events/state/index.d.ts +24 -21
- package/dist/commons/events/state/utils.d.ts +150 -132
- package/dist/commons/events/test.utils.d.ts +31 -8
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +53164 -367
- package/dist/commons/notification/UserNotifications.d.ts +55 -636
- package/dist/conditionals/index.d.ts.map +1 -1
- package/dist/conditionals/index.js +45 -11
- package/dist/events/deduplication.d.ts +40 -3
- package/dist/events/deduplication.js +34 -0
- package/dist/events/index.js +2075 -1714
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +1675 -1558
- package/dist/scopes/index.d.ts +169 -133
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +135 -94
- package/package.json +5 -5
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
package/dist/scopes/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,17 +17,28 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
|
|
20
30
|
// src/scopes/index.ts
|
|
21
31
|
var scopes_exports = {};
|
|
22
32
|
__export(scopes_exports, {
|
|
23
33
|
ActionScopes: () => ActionScopes,
|
|
34
|
+
ConfigurableActionScopes: () => ConfigurableActionScopes,
|
|
35
|
+
CustomActionScope: () => CustomActionScope,
|
|
24
36
|
RecordScope: () => RecordScope,
|
|
25
37
|
RecordScopeType: () => RecordScopeType,
|
|
26
38
|
SCOPES: () => SCOPES,
|
|
27
39
|
SearchScopes: () => SearchScopes,
|
|
28
40
|
findScope: () => findScope,
|
|
41
|
+
findScopes: () => findScopes,
|
|
29
42
|
getAuthorizedEventsFromScopes: () => getAuthorizedEventsFromScopes,
|
|
30
43
|
parseConfigurableScope: () => parseConfigurableScope,
|
|
31
44
|
parseLiteralScope: () => parseLiteralScope,
|
|
@@ -33,9 +46,10 @@ __export(scopes_exports, {
|
|
|
33
46
|
stringifyScope: () => stringifyScope
|
|
34
47
|
});
|
|
35
48
|
module.exports = __toCommonJS(scopes_exports);
|
|
49
|
+
var z2 = __toESM(require("zod/v4"));
|
|
36
50
|
|
|
37
51
|
// ../commons/src/scopes.ts
|
|
38
|
-
var
|
|
52
|
+
var z = __toESM(require("zod/v4"));
|
|
39
53
|
var SCOPES = {
|
|
40
54
|
// TODO v1.8 legacy scopes
|
|
41
55
|
BYPASSRATELIMIT: "bypassratelimit",
|
|
@@ -50,6 +64,7 @@ var SCOPES = {
|
|
|
50
64
|
RECORD_IMPORT: "record.import",
|
|
51
65
|
RECORD_EXPORT: "record.export",
|
|
52
66
|
RECORD_REINDEX: "record.reindex",
|
|
67
|
+
INTEGRATION_CREATE: "integration.create",
|
|
53
68
|
// declare
|
|
54
69
|
RECORD_DECLARE_BIRTH: "record.declare-birth",
|
|
55
70
|
RECORD_DECLARE_BIRTH_MY_JURISDICTION: "record.declare-birth:my-jurisdiction",
|
|
@@ -114,91 +129,92 @@ var SCOPES = {
|
|
|
114
129
|
// data seeding
|
|
115
130
|
USER_DATA_SEEDING: "user.data-seeding"
|
|
116
131
|
};
|
|
117
|
-
var LegacyScopes =
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
132
|
+
var LegacyScopes = z.union([
|
|
133
|
+
z.literal(SCOPES.BYPASSRATELIMIT),
|
|
134
|
+
z.literal(SCOPES.REGISTER),
|
|
135
|
+
z.literal(SCOPES.DEMO),
|
|
136
|
+
z.literal(SCOPES.CONFIG)
|
|
122
137
|
]);
|
|
123
|
-
var IntegrationScopes =
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
138
|
+
var IntegrationScopes = z.union([
|
|
139
|
+
z.literal(SCOPES.WEBHOOK),
|
|
140
|
+
z.literal(SCOPES.NATIONALID),
|
|
141
|
+
z.literal(SCOPES.NOTIFICATION_API),
|
|
142
|
+
z.literal(SCOPES.RECORDSEARCH),
|
|
143
|
+
z.literal(SCOPES.INTEGRATION_CREATE)
|
|
128
144
|
]);
|
|
129
|
-
var InternalOperationsScopes =
|
|
130
|
-
|
|
131
|
-
|
|
145
|
+
var InternalOperationsScopes = z.union([
|
|
146
|
+
z.literal(SCOPES.RECORD_REINDEX),
|
|
147
|
+
z.literal(SCOPES.RECORD_IMPORT)
|
|
132
148
|
]);
|
|
133
|
-
var DeclareScopes =
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
149
|
+
var DeclareScopes = z.union([
|
|
150
|
+
z.literal(SCOPES.RECORD_DECLARE_BIRTH),
|
|
151
|
+
z.literal(SCOPES.RECORD_DECLARE_BIRTH_MY_JURISDICTION),
|
|
152
|
+
z.literal(SCOPES.RECORD_DECLARE_DEATH),
|
|
153
|
+
z.literal(SCOPES.RECORD_DECLARE_DEATH_MY_JURISDICTION),
|
|
154
|
+
z.literal(SCOPES.RECORD_DECLARE_MARRIAGE),
|
|
155
|
+
z.literal(SCOPES.RECORD_DECLARE_MARRIAGE_MY_JURISDICTION),
|
|
156
|
+
z.literal(SCOPES.RECORD_SUBMIT_INCOMPLETE),
|
|
157
|
+
z.literal(SCOPES.RECORD_SUBMIT_FOR_REVIEW)
|
|
142
158
|
]);
|
|
143
|
-
var UnassignScope =
|
|
144
|
-
var ValidateScopes =
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
159
|
+
var UnassignScope = z.literal(SCOPES.RECORD_UNASSIGN_OTHERS);
|
|
160
|
+
var ValidateScopes = z.union([
|
|
161
|
+
z.literal(SCOPES.RECORD_SUBMIT_FOR_APPROVAL),
|
|
162
|
+
z.literal(SCOPES.RECORD_SUBMIT_FOR_UPDATES),
|
|
163
|
+
z.literal(SCOPES.RECORD_DECLARATION_EDIT),
|
|
164
|
+
z.literal(SCOPES.RECORD_REVIEW_DUPLICATES),
|
|
165
|
+
z.literal(SCOPES.RECORD_DECLARATION_ARCHIVE),
|
|
166
|
+
z.literal(SCOPES.RECORD_DECLARATION_REINSTATE)
|
|
151
167
|
]);
|
|
152
|
-
var RegisterScope =
|
|
153
|
-
var CorrectionScopes =
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
168
|
+
var RegisterScope = z.literal(SCOPES.RECORD_REGISTER);
|
|
169
|
+
var CorrectionScopes = z.union([
|
|
170
|
+
z.literal(SCOPES.RECORD_REGISTRATION_REQUEST_CORRECTION),
|
|
171
|
+
z.literal(SCOPES.RECORD_REGISTRATION_CORRECT),
|
|
172
|
+
z.literal(SCOPES.RECORD_CONFIRM_REGISTRATION),
|
|
173
|
+
z.literal(SCOPES.RECORD_REJECT_REGISTRATION)
|
|
158
174
|
]);
|
|
159
|
-
var SearchScopes =
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
175
|
+
var SearchScopes = z.union([
|
|
176
|
+
z.literal(SCOPES.SEARCH_BIRTH_MY_JURISDICTION),
|
|
177
|
+
z.literal(SCOPES.SEARCH_BIRTH),
|
|
178
|
+
z.literal(SCOPES.SEARCH_DEATH_MY_JURISDICTION),
|
|
179
|
+
z.literal(SCOPES.SEARCH_DEATH),
|
|
180
|
+
z.literal(SCOPES.SEARCH_MARRIAGE_MY_JURISDICTION),
|
|
181
|
+
z.literal(SCOPES.SEARCH_MARRIAGE)
|
|
166
182
|
]);
|
|
167
|
-
var AuditScopes =
|
|
168
|
-
var PerformanceScopes =
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
183
|
+
var AuditScopes = z.literal(SCOPES.RECORD_READ);
|
|
184
|
+
var PerformanceScopes = z.union([
|
|
185
|
+
z.literal(SCOPES.PERFORMANCE_READ),
|
|
186
|
+
z.literal(SCOPES.PERFORMANCE_READ_DASHBOARDS),
|
|
187
|
+
z.literal(SCOPES.PERFORMANCE_EXPORT_VITAL_STATISTICS)
|
|
172
188
|
]);
|
|
173
|
-
var OrganisationScopes =
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
189
|
+
var OrganisationScopes = z.union([
|
|
190
|
+
z.literal(SCOPES.ORGANISATION_READ_LOCATIONS),
|
|
191
|
+
z.literal(SCOPES.ORGANISATION_READ_LOCATIONS_MY_OFFICE),
|
|
192
|
+
z.literal(SCOPES.ORGANISATION_READ_LOCATIONS_MY_JURISDICTION)
|
|
177
193
|
]);
|
|
178
|
-
var UserScopes =
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
194
|
+
var UserScopes = z.union([
|
|
195
|
+
z.literal(SCOPES.USER_READ),
|
|
196
|
+
z.literal(SCOPES.USER_READ_MY_OFFICE),
|
|
197
|
+
z.literal(SCOPES.USER_READ_MY_JURISDICTION),
|
|
198
|
+
z.literal(SCOPES.USER_READ_ONLY_MY_AUDIT),
|
|
199
|
+
z.literal(SCOPES.USER_CREATE),
|
|
200
|
+
z.literal(SCOPES.USER_CREATE_MY_JURISDICTION),
|
|
201
|
+
z.literal(SCOPES.USER_UPDATE),
|
|
202
|
+
z.literal(SCOPES.USER_UPDATE_MY_JURISDICTION)
|
|
187
203
|
]);
|
|
188
|
-
var ConfigScope =
|
|
189
|
-
var DataSeedingScope =
|
|
190
|
-
var LiteralScopes =
|
|
204
|
+
var ConfigScope = z.literal(SCOPES.CONFIG_UPDATE_ALL);
|
|
205
|
+
var DataSeedingScope = z.literal(SCOPES.USER_DATA_SEEDING);
|
|
206
|
+
var LiteralScopes = z.union([
|
|
191
207
|
LegacyScopes,
|
|
192
208
|
IntegrationScopes,
|
|
193
209
|
UnassignScope,
|
|
194
210
|
DeclareScopes,
|
|
195
211
|
ValidateScopes,
|
|
196
212
|
RegisterScope,
|
|
197
|
-
|
|
213
|
+
z.literal(SCOPES.RECORD_PRINT_ISSUE_CERTIFIED_COPIES),
|
|
198
214
|
CorrectionScopes,
|
|
199
215
|
SearchScopes,
|
|
200
216
|
AuditScopes,
|
|
201
|
-
|
|
217
|
+
z.literal(SCOPES.PROFILE_ELECTRONIC_SIGNATURE),
|
|
202
218
|
PerformanceScopes,
|
|
203
219
|
OrganisationScopes,
|
|
204
220
|
UserScopes,
|
|
@@ -207,38 +223,38 @@ var LiteralScopes = import_zod.z.union([
|
|
|
207
223
|
InternalOperationsScopes
|
|
208
224
|
]);
|
|
209
225
|
var rawConfigurableScopeRegex = /^([a-zA-Z][a-zA-Z0-9.-]*(?:\.[a-zA-Z0-9.-]+)*)\[((?:\w+=[\w.-]+(?:\|[\w.-]+)*)(?:,[\w]+=[\w.-]+(?:\|[\w.-]+)*)*)\]$/;
|
|
210
|
-
var rawConfigurableScope =
|
|
211
|
-
var CreateUserScope =
|
|
212
|
-
type:
|
|
213
|
-
options:
|
|
214
|
-
role:
|
|
226
|
+
var rawConfigurableScope = z.string().regex(rawConfigurableScopeRegex);
|
|
227
|
+
var CreateUserScope = z.object({
|
|
228
|
+
type: z.literal("user.create"),
|
|
229
|
+
options: z.object({
|
|
230
|
+
role: z.array(z.string())
|
|
215
231
|
})
|
|
216
232
|
});
|
|
217
|
-
var EditUserScope =
|
|
218
|
-
type:
|
|
219
|
-
options:
|
|
220
|
-
role:
|
|
233
|
+
var EditUserScope = z.object({
|
|
234
|
+
type: z.literal("user.edit"),
|
|
235
|
+
options: z.object({
|
|
236
|
+
role: z.array(z.string())
|
|
221
237
|
})
|
|
222
238
|
});
|
|
223
|
-
var WorkqueueScope =
|
|
224
|
-
type:
|
|
225
|
-
options:
|
|
226
|
-
id:
|
|
239
|
+
var WorkqueueScope = z.object({
|
|
240
|
+
type: z.literal("workqueue"),
|
|
241
|
+
options: z.object({
|
|
242
|
+
id: z.array(z.string())
|
|
227
243
|
})
|
|
228
244
|
});
|
|
229
|
-
var SearchScope =
|
|
230
|
-
type:
|
|
231
|
-
options:
|
|
232
|
-
event:
|
|
233
|
-
access:
|
|
245
|
+
var SearchScope = z.object({
|
|
246
|
+
type: z.literal("search"),
|
|
247
|
+
options: z.object({
|
|
248
|
+
event: z.array(z.string()).length(1),
|
|
249
|
+
access: z.array(z.enum(["my-jurisdiction", "all"])).length(1)
|
|
234
250
|
})
|
|
235
251
|
});
|
|
236
|
-
var RecordScopeType =
|
|
252
|
+
var RecordScopeType = z.enum([
|
|
237
253
|
"record.create",
|
|
238
254
|
"record.read",
|
|
239
255
|
"record.declare",
|
|
240
256
|
"record.notify",
|
|
241
|
-
"record.declared.
|
|
257
|
+
"record.declared.edit",
|
|
242
258
|
"record.declared.reject",
|
|
243
259
|
"record.declared.archive",
|
|
244
260
|
"record.declared.review-duplicates",
|
|
@@ -248,20 +264,33 @@ var RecordScopeType = import_zod.z.enum([
|
|
|
248
264
|
"record.registered.correct",
|
|
249
265
|
"record.unassign-others"
|
|
250
266
|
]);
|
|
251
|
-
var RecordScope =
|
|
267
|
+
var RecordScope = z.object({
|
|
252
268
|
type: RecordScopeType,
|
|
253
|
-
options:
|
|
254
|
-
event:
|
|
269
|
+
options: z.object({
|
|
270
|
+
event: z.array(z.string()).describe("Event type, e.g. birth, death")
|
|
255
271
|
})
|
|
256
272
|
}).describe(
|
|
257
273
|
"Scopes used to check user's permission to perform actions on a record."
|
|
258
274
|
);
|
|
259
|
-
var
|
|
275
|
+
var CustomActionScope = z.object({
|
|
276
|
+
type: z.literal("record.custom-action"),
|
|
277
|
+
options: z.object({
|
|
278
|
+
event: z.array(z.string()).describe("Allowed event type, e.g. birth, death"),
|
|
279
|
+
customActionType: z.array(z.string()).describe("Allowed custom action types")
|
|
280
|
+
})
|
|
281
|
+
});
|
|
282
|
+
var ConfigurableRawScopes = z.discriminatedUnion("type", [
|
|
260
283
|
SearchScope,
|
|
261
284
|
CreateUserScope,
|
|
262
285
|
EditUserScope,
|
|
263
286
|
WorkqueueScope,
|
|
264
|
-
RecordScope
|
|
287
|
+
RecordScope,
|
|
288
|
+
CustomActionScope
|
|
289
|
+
]);
|
|
290
|
+
var ConfigurableActionScopes = z.discriminatedUnion("type", [
|
|
291
|
+
// @TODO - Record scope holds non-action scopes as well e.g., `record.read`
|
|
292
|
+
RecordScope,
|
|
293
|
+
CustomActionScope
|
|
265
294
|
]);
|
|
266
295
|
function flattenAndMergeScopes(scopes2) {
|
|
267
296
|
if (scopes2.length === 0) return null;
|
|
@@ -287,6 +316,15 @@ function findScope(scopes2, scopeType) {
|
|
|
287
316
|
(scope) => scope?.type === scopeType
|
|
288
317
|
);
|
|
289
318
|
}
|
|
319
|
+
function findScopes(scopes2, scopeType) {
|
|
320
|
+
const parsedScopes = scopes2.map(parseConfigurableScope);
|
|
321
|
+
const searchScopes = parsedScopes.filter((scope) => scope?.type === "search");
|
|
322
|
+
const otherScopes = parsedScopes.filter((scope) => scope?.type !== "search");
|
|
323
|
+
const mergedSearchScope = flattenAndMergeScopes(searchScopes);
|
|
324
|
+
return [...otherScopes, mergedSearchScope].filter(
|
|
325
|
+
(scope) => scope?.type === scopeType
|
|
326
|
+
);
|
|
327
|
+
}
|
|
290
328
|
function getScopeOptions(rawOptions) {
|
|
291
329
|
return rawOptions.split(",").reduce((acc, option) => {
|
|
292
330
|
const [key, value] = option.split("=");
|
|
@@ -331,10 +369,13 @@ function getAuthorizedEventsFromScopes(scopes2) {
|
|
|
331
369
|
}).filter((event) => event !== void 0).filter((event, index, self) => self.indexOf(event) === index);
|
|
332
370
|
}
|
|
333
371
|
var scopes = Object.values(SCOPES);
|
|
334
|
-
var ActionScopes =
|
|
372
|
+
var ActionScopes = z.union([
|
|
335
373
|
DeclareScopes,
|
|
336
374
|
ValidateScopes,
|
|
337
375
|
RegisterScope,
|
|
338
|
-
|
|
376
|
+
z.literal(SCOPES.RECORD_PRINT_ISSUE_CERTIFIED_COPIES),
|
|
339
377
|
CorrectionScopes
|
|
340
378
|
]);
|
|
379
|
+
|
|
380
|
+
// src/scopes/index.ts
|
|
381
|
+
z2.globalRegistry.clear();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opencrvs/toolkit",
|
|
3
|
-
"version": "1.9.7-rc.
|
|
3
|
+
"version": "1.9.7-rc.b4373e6",
|
|
4
4
|
"description": "OpenCRVS toolkit for building country configurations",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"exports": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"build:all": "lerna run build --include-dependencies --scope @opencrvs/toolkit && ./build.sh"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"
|
|
20
|
+
"@trpc/client": "11.4.3",
|
|
21
|
+
"@trpc/server": "11.4.3",
|
|
21
22
|
"ajv": "^8.17.1",
|
|
22
23
|
"ajv-formats": "^3.0.1",
|
|
23
24
|
"object-hash": "^3.0.0",
|
|
24
25
|
"superjson": "1.9.0-0",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"zod-openapi": "^4.2.4"
|
|
26
|
+
"uuid": "^9.0.0",
|
|
27
|
+
"zod-openapi": "^5.4.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/uuid": "^9.0.3",
|