@opencrvs/toolkit 1.8.1-rc.b6b235d → 1.8.1-rc.b8eea90

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.
@@ -7493,7 +7493,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7493
7493
  dateOfEvent?: string | null | undefined;
7494
7494
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7495
7495
  updatedBy?: string | null | undefined;
7496
- modifiedAt?: string | undefined;
7497
7496
  }[];
7498
7497
  meta: import("trpc-to-openapi").OpenApiMeta;
7499
7498
  }>;
@@ -7589,7 +7588,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7589
7588
  dateOfEvent?: string | null | undefined;
7590
7589
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7591
7590
  updatedBy?: string | null | undefined;
7592
- modifiedAt?: string | undefined;
7593
7591
  }[];
7594
7592
  meta: import("trpc-to-openapi").OpenApiMeta;
7595
7593
  }>;
@@ -10875,6 +10873,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10875
10873
  type: "DELETE" | "DECLARE" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
10876
10874
  conditionals?: import("../commons").JSONSchema[] | undefined;
10877
10875
  }[];
10876
+ icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
10878
10877
  query: {
10879
10878
  type: "or";
10880
10879
  clauses: {
@@ -11101,7 +11100,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
11101
11100
  };
11102
11101
  label: import("../commons").TranslationConfig;
11103
11102
  }[];
11104
- icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
11105
11103
  }[];
11106
11104
  meta: import("trpc-to-openapi").OpenApiMeta;
11107
11105
  }>;
@@ -1,9 +1,9 @@
1
1
  import { ConditionalParameters, JSONSchema } from './conditionals';
2
- import { ActionUpdate, EventState } from '../events/ActionDocument';
3
- import { FieldConditional } from '../events/Conditional';
2
+ import { EventState, ActionUpdate } from '../events/ActionDocument';
4
3
  import { FieldConfig } from '../events/FieldConfig';
5
4
  import { FieldUpdateValue } from '../events/FieldValue';
6
5
  import { TranslationConfig } from '../events/TranslationConfig';
6
+ import { FieldConditional } from '../events/Conditional';
7
7
  export declare function validate(schema: JSONSchema, data: ConditionalParameters): boolean;
8
8
  export declare function isConditionMet(conditional: JSONSchema, values: Record<string, unknown>): boolean;
9
9
  export declare function areConditionsMet(conditions: FieldConditional[], values: Record<string, unknown>): boolean;
@@ -77,5 +77,4 @@ export declare function runFieldValidations({ field, values }: {
77
77
  }[];
78
78
  };
79
79
  export declare function getValidatorsForField(fieldId: FieldConfig['id'], validations: NonNullable<FieldConfig['validation']>): NonNullable<FieldConfig['validation']>;
80
- export declare function areCertificateConditionsMet(conditions: FieldConditional[], values: Record<string, unknown>): boolean;
81
80
  //# sourceMappingURL=validate.d.ts.map