@opencrvs/toolkit 1.8.1-rc.742a497 → 1.8.1-rc.77e91ea

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.
@@ -1,3 +1,4 @@
1
+ import { z } from 'zod';
1
2
  export declare const FieldType: {
2
3
  readonly NAME: "NAME";
3
4
  readonly PHONE: "PHONE";
@@ -28,6 +29,10 @@ export declare const FieldType: {
28
29
  readonly SIGNATURE: "SIGNATURE";
29
30
  readonly DATA: "DATA";
30
31
  };
32
+ /**
33
+ * Union of types that handle files. Using common type should help with compiler to know where to add new cases.
34
+ */
35
+ export declare const FileFieldType: z.ZodEnum<["FILE", "FILE_WITH_OPTIONS", "SIGNATURE"]>;
31
36
  export declare const fieldTypes: ("ID" | "NAME" | "PHONE" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA")[];
32
37
  export type FieldType = (typeof fieldTypes)[number];
33
38
  /**