@opencrvs/toolkit 1.9.12-rc.8353a87 → 1.9.12-rc.844bd7c
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 +2038 -45
- package/dist/commons/api/router.d.ts +86 -79
- package/dist/commons/application-config/index.d.ts +6 -4
- package/dist/commons/events/ActionDocument.d.ts +6 -6
- package/dist/commons/events/ActionType.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +10 -10
- package/dist/commons/events/CountryConfigQueryInput.d.ts +222 -222
- package/dist/commons/events/Draft.d.ts +8 -8
- package/dist/commons/events/EventConfig.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +3 -3
- package/dist/commons/events/EventIndex.d.ts +15 -15
- package/dist/commons/events/EventMetadata.d.ts +12 -12
- package/dist/commons/events/FieldConfig.d.ts +26 -26
- package/dist/commons/events/FieldType.d.ts +1 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +4 -4
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +13 -13
- package/dist/commons/events/WorkqueueConfig.d.ts +239 -239
- package/dist/commons/events/state/index.d.ts +2 -2
- package/dist/commons/events/state/utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +3 -3
- package/opencrvs-toolkit-1.9.12-rc.844bd7c.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-1.9.12-rc.8353a87.tgz +0 -0
|
@@ -7,7 +7,7 @@ import { Draft } from '../Draft';
|
|
|
7
7
|
import { EventConfig } from '../EventConfig';
|
|
8
8
|
import { UUID } from '../../uuid';
|
|
9
9
|
import { DocumentPath } from '../../documents';
|
|
10
|
-
export declare function getStatusFromActions(actions: Array<Action>): "
|
|
10
|
+
export declare function getStatusFromActions(actions: Array<Action>): "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
11
11
|
export declare function getAssignedUserFromActions(actions: Array<ActionDocument>): string | null;
|
|
12
12
|
export declare function getAssignedUserSignatureFromActions(actions: Array<ActionDocument>): string | null;
|
|
13
13
|
type NonNullableDeep<T> = T extends [unknown, ...unknown[]] ? {
|
|
@@ -64,7 +64,7 @@ export declare function applyDeclarationToEventIndex(eventIndex: EventIndex, dec
|
|
|
64
64
|
export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Draft, eventConfiguration: EventConfig): {
|
|
65
65
|
id: string & import("zod").$brand<"UUID">;
|
|
66
66
|
type: string;
|
|
67
|
-
status: "
|
|
67
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
68
68
|
legalStatuses: {
|
|
69
69
|
DECLARED?: {
|
|
70
70
|
createdAt: string;
|
|
@@ -289,15 +289,15 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
289
289
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
290
290
|
} | {
|
|
291
291
|
id: string & import("zod").$brand<"UUID">;
|
|
292
|
-
createdAt: string;
|
|
293
292
|
transactionId: string;
|
|
294
293
|
createdByUserType: "user" | "system";
|
|
294
|
+
createdAt: string;
|
|
295
295
|
createdBy: string;
|
|
296
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION"
|
|
296
|
+
type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
297
297
|
status: "Rejected";
|
|
298
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
299
298
|
createdByRole?: string | undefined;
|
|
300
299
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
300
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
301
301
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
/**
|
|
@@ -434,15 +434,15 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
434
434
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
435
435
|
} | {
|
|
436
436
|
id: string & import("zod").$brand<"UUID">;
|
|
437
|
-
createdAt: string;
|
|
438
437
|
transactionId: string;
|
|
439
438
|
createdByUserType: "user" | "system";
|
|
439
|
+
createdAt: string;
|
|
440
440
|
createdBy: string;
|
|
441
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION"
|
|
441
|
+
type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
|
442
442
|
status: "Rejected";
|
|
443
|
-
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
444
443
|
createdByRole?: string | undefined;
|
|
445
444
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
445
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
446
446
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
447
447
|
} | undefined;
|
|
448
448
|
/**
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|