@opencrvs/toolkit 1.8.1-rc.8c25e85 → 1.8.1-rc.a372970

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 (42) hide show
  1. package/dist/commons/api/router.d.ts +5078 -5910
  2. package/dist/commons/conditionals/conditionals.d.ts +13 -9
  3. package/dist/commons/conditionals/validate.d.ts +6 -15
  4. package/dist/commons/events/ActionConfig.d.ts +1718 -119315
  5. package/dist/commons/events/ActionDocument.d.ts +1325 -4879
  6. package/dist/commons/events/ActionInput.d.ts +1025 -3205
  7. package/dist/commons/events/ActionType.d.ts +1 -10
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1282
  9. package/dist/commons/events/CompositeFieldValue.d.ts +9 -40
  10. package/dist/commons/events/Draft.d.ts +97 -288
  11. package/dist/commons/events/EventConfig.d.ts +1359 -54365
  12. package/dist/commons/events/EventDocument.d.ts +833 -2720
  13. package/dist/commons/events/EventIndex.d.ts +29 -2228
  14. package/dist/commons/events/EventMetadata.d.ts +47 -347
  15. package/dist/commons/events/FieldConfig.d.ts +1250 -6746
  16. package/dist/commons/events/FieldType.d.ts +3 -8
  17. package/dist/commons/events/FieldTypeMapping.d.ts +73 -161
  18. package/dist/commons/events/FieldValue.d.ts +20 -91
  19. package/dist/commons/events/FormConfig.d.ts +533 -55781
  20. package/dist/commons/events/PageConfig.d.ts +208 -13824
  21. package/dist/commons/events/SummaryConfig.d.ts +42 -93
  22. package/dist/commons/events/User.d.ts +2 -34
  23. package/dist/commons/events/WorkqueueConfig.d.ts +20 -8116
  24. package/dist/commons/events/defineConfig.d.ts +99 -8551
  25. package/dist/commons/events/index.d.ts +0 -8
  26. package/dist/commons/events/test.utils.d.ts +90 -206
  27. package/dist/commons/events/transactions.d.ts +1 -1
  28. package/dist/commons/events/utils.d.ts +94 -15442
  29. package/dist/conditionals/index.js +56 -66
  30. package/dist/events/index.js +1835 -4707
  31. package/dist/scopes/index.d.ts +7 -184
  32. package/dist/scopes/index.js +40 -140
  33. package/package.json +3 -4
  34. package/dist/commons/events/Constants.d.ts +0 -3
  35. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -4132
  36. package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
  37. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
  38. package/dist/commons/events/event.d.ts +0 -46
  39. package/dist/commons/events/field.d.ts +0 -94
  40. package/dist/commons/events/scopes.d.ts +0 -45
  41. package/dist/commons/events/serializer.d.ts +0 -2
  42. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -22,13 +22,9 @@ export declare const ActionType: {
22
22
  readonly UNASSIGN: "UNASSIGN";
23
23
  };
24
24
  export type ActionType = (typeof ActionType)[keyof typeof ActionType];
25
- export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION"];
25
+ export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"];
26
26
  /** Testing building types from enums as an alternative */
27
27
  export declare const ActionTypes: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
28
- export declare const ExclusiveActions: {
29
- readonly REVIEW_CORRECTION_REQUEST: "REVIEW_CORRECTION_REQUEST";
30
- };
31
- export type ExclusiveActionTypes = (typeof ExclusiveActions)[keyof typeof ExclusiveActions];
32
28
  /** Actions which change event data (declaration) before registration / during declaration. */
33
29
  export declare const DeclarationActions: z.ZodEnum<["DECLARE", "VALIDATE", "REGISTER"]>;
34
30
  export type DeclarationActionType = z.infer<typeof DeclarationActions>;
@@ -40,9 +36,4 @@ export declare const annotationActions: z.ZodEnum<["DELETE", "CREATE", "NOTIFY",
40
36
  export type AnnotationActionType = z.infer<typeof annotationActions>;
41
37
  /** Actions which requires the user to be assigned */
42
38
  export declare const writeActions: z.ZodEnum<["DELETE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION"]>;
43
- /** Actions which are visible in action menu and workqueue */
44
- export declare const workqueueActions: z.ZodEnum<["DELETE", "DECLARE", "VALIDATE", "REGISTER", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
45
- export type WorkqueueActionType = z.infer<typeof workqueueActions>;
46
- export type DisplayableAction = ActionType | ExclusiveActionTypes;
47
- export declare function isMetaAction(actionType: ActionType): boolean;
48
39
  //# sourceMappingURL=ActionType.d.ts.map