@opencrvs/toolkit
Advanced tools
Comparing version
@@ -25,7 +25,25 @@ import { EventConfigInput } from './EventConfigInput'; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -54,7 +72,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -68,3 +104,2 @@ title: import("./TranslationConfig").TranslationConfig; | ||
type: "REJECT"; | ||
comment: string; | ||
conditionals: ({ | ||
@@ -85,7 +120,25 @@ type: "SHOW"; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -96,7 +149,5 @@ title: import("./TranslationConfig").TranslationConfig; | ||
}[]; | ||
isDuplicate: boolean; | ||
draft?: boolean | undefined; | ||
} | { | ||
type: "MARKED_AS_DUPLICATE"; | ||
comment: string; | ||
conditionals: ({ | ||
@@ -117,7 +168,25 @@ type: "SHOW"; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -128,7 +197,5 @@ title: import("./TranslationConfig").TranslationConfig; | ||
}[]; | ||
duplicates: string[]; | ||
draft?: boolean | undefined; | ||
} | { | ||
type: "ARCHIVE"; | ||
comment: string; | ||
conditionals: ({ | ||
@@ -149,7 +216,25 @@ type: "SHOW"; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -160,3 +245,2 @@ title: import("./TranslationConfig").TranslationConfig; | ||
}[]; | ||
isDuplicate: boolean; | ||
draft?: boolean | undefined; | ||
@@ -180,7 +264,25 @@ } | { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -209,7 +311,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -238,7 +358,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -267,7 +405,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -278,12 +434,48 @@ title: import("./TranslationConfig").TranslationConfig; | ||
}[]; | ||
onboardingForm: { | ||
onboardingForm: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
additionalDetailsForm: { | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
})[]; | ||
additionalDetailsForm: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
draft?: boolean | undefined; | ||
@@ -307,7 +499,25 @@ } | { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -336,7 +546,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -365,7 +593,25 @@ title: import("./TranslationConfig").TranslationConfig; | ||
label: import("./TranslationConfig").TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: import("./TranslationConfig").TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
cancel: { | ||
label: import("./TranslationConfig").TranslationConfig; | ||
confirmation: { | ||
title: import("./TranslationConfig").TranslationConfig; | ||
body: import("./TranslationConfig").TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -372,0 +618,0 @@ title: import("./TranslationConfig").TranslationConfig; |
@@ -89,3 +89,3 @@ import { z } from 'zod'; | ||
village?: string | null | undefined; | ||
}>]>>; | ||
}>, z.ZodUndefined]>>; | ||
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{ | ||
@@ -168,3 +168,3 @@ filename: z.ZodString; | ||
village?: string | null | undefined; | ||
}>]>>>; | ||
}>, z.ZodUndefined]>>>; | ||
createdAtLocation: z.ZodString; | ||
@@ -200,3 +200,3 @@ }, { | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
createdAt: string; | ||
@@ -230,3 +230,3 @@ createdBy: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}, { | ||
@@ -259,3 +259,3 @@ type: ActionType; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
createdAt: string; | ||
@@ -289,3 +289,3 @@ createdBy: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}>; | ||
@@ -324,3 +324,3 @@ }, "strip", z.ZodTypeAny, { | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
createdAt: string; | ||
@@ -354,3 +354,3 @@ createdBy: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}; | ||
@@ -389,3 +389,3 @@ }, { | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
createdAt: string; | ||
@@ -419,3 +419,3 @@ createdBy: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}; | ||
@@ -503,3 +503,3 @@ }>; | ||
village?: string | null | undefined; | ||
}>]>>; | ||
}>, z.ZodUndefined]>>; | ||
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{ | ||
@@ -582,3 +582,3 @@ filename: z.ZodString; | ||
village?: string | null | undefined; | ||
}>]>>>; | ||
}>, z.ZodUndefined]>>>; | ||
}, { | ||
@@ -613,3 +613,3 @@ type: z.ZodEnum<[ActionType, ...ActionType[]]>; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
@@ -642,3 +642,3 @@ transactionId: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}, { | ||
@@ -671,3 +671,3 @@ type: ActionType; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
@@ -700,3 +700,3 @@ transactionId: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}>; | ||
@@ -703,0 +703,0 @@ export type Draft = z.infer<typeof Draft>; |
import { z } from 'zod'; | ||
import { EventConfig } from './EventConfig'; | ||
import { FormConfig, FormConfigInput, FormPage } from './FormConfig'; | ||
import { FormConfig, FormConfigInput, FormPageConfig, FormPageConfigInput } from './FormConfig'; | ||
export type EventConfigInput = z.input<typeof EventConfig>; | ||
export declare const defineForm: (form: FormConfigInput) => FormConfig; | ||
export declare const defineFormPage: (formPage: FormPage) => FormPage; | ||
export declare const defineFormPage: (formPage: FormPageConfigInput) => FormPageConfig; | ||
//# sourceMappingURL=EventConfigInput.d.ts.map |
@@ -24,4 +24,5 @@ export declare const FieldType: { | ||
readonly SIGNATURE: "SIGNATURE"; | ||
readonly DATA: "DATA"; | ||
}; | ||
export declare const fieldTypes: ("ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "HIDDEN" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE")[]; | ||
export declare const fieldTypes: ("ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "HIDDEN" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA")[]; | ||
export type FieldType = (typeof fieldTypes)[number]; | ||
@@ -28,0 +29,0 @@ /** |
import { z } from 'zod'; | ||
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, Location, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField } from './FieldConfig'; | ||
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, Location, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField, DataField } from './FieldConfig'; | ||
import { FieldType } from './FieldType'; | ||
@@ -125,3 +125,3 @@ import { FieldValue, FieldUpdateValueSchema } from './FieldValue'; | ||
originalFilename: string; | ||
}>, "many">>> | z.ZodBoolean | z.ZodOptional<z.ZodNullable<z.ZodBoolean>> | z.ZodNumber | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{ | ||
}>, "many">>> | z.ZodBoolean | z.ZodOptional<z.ZodNullable<z.ZodBoolean>> | z.ZodNumber | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodUndefined | z.ZodOptional<z.ZodNullable<z.ZodUndefined>> | z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{ | ||
country: z.ZodString; | ||
@@ -261,3 +261,46 @@ province: z.ZodString; | ||
zipCode?: undefined; | ||
} | { | ||
country?: undefined; | ||
province?: undefined; | ||
district?: undefined; | ||
urbanOrRural?: undefined; | ||
town?: undefined; | ||
residentialArea?: undefined; | ||
street?: undefined; | ||
number?: undefined; | ||
zipCode?: undefined; | ||
filename?: undefined; | ||
originalFilename?: undefined; | ||
type?: undefined; | ||
} | null; | ||
/** | ||
* Maps complex or nested field types, such as Address fields, to their corresponding empty values. | ||
*/ | ||
export declare function mapFieldTypeToEmptyValue(field: FieldConfig): never[] | { | ||
country: null; | ||
province: null; | ||
district: null; | ||
urbanOrRural: string; | ||
town: null; | ||
residentialArea: null; | ||
street: null; | ||
number: null; | ||
zipCode: null; | ||
filename?: undefined; | ||
originalFilename?: undefined; | ||
type?: undefined; | ||
} | { | ||
filename: string; | ||
originalFilename: string; | ||
type: string; | ||
country?: undefined; | ||
province?: undefined; | ||
district?: undefined; | ||
urbanOrRural?: undefined; | ||
town?: undefined; | ||
residentialArea?: undefined; | ||
street?: undefined; | ||
number?: undefined; | ||
zipCode?: undefined; | ||
} | null; | ||
export declare const isParagraphFieldType: (field: { | ||
@@ -410,3 +453,10 @@ config: FieldConfig; | ||
}; | ||
export declare const isDataFieldType: (field: { | ||
config: FieldConfig; | ||
value: FieldValue; | ||
}) => field is { | ||
value: undefined; | ||
config: DataField; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=FieldTypeMapping.d.ts.map |
@@ -23,2 +23,4 @@ import { z } from 'zod'; | ||
export type NumberFieldValue = z.infer<typeof NumberFieldValue>; | ||
export declare const DataFieldValue: z.ZodUndefined; | ||
export type DataFieldValue = z.infer<typeof DataFieldValue>; | ||
export declare const FieldValue: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{ | ||
@@ -101,3 +103,3 @@ filename: z.ZodString; | ||
village?: string | undefined; | ||
}>]>; | ||
}>, z.ZodUndefined]>; | ||
export type FieldValue = z.infer<typeof FieldValue>; | ||
@@ -181,3 +183,3 @@ export declare const FieldUpdateValue: z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{ | ||
village?: string | null | undefined; | ||
}>]>; | ||
}>, z.ZodUndefined]>; | ||
export type FieldUpdateValue = z.infer<typeof FieldUpdateValue>; | ||
@@ -187,3 +189,3 @@ /** | ||
* */ | ||
export type FieldValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldValue | typeof NumberFieldValue | z.ZodString | z.ZodBoolean; | ||
export type FieldValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldValue | typeof NumberFieldValue | typeof DataFieldValue | z.ZodString | z.ZodBoolean; | ||
/** | ||
@@ -194,3 +196,3 @@ * NOTE: This is an exception. We need schema as a type in order to generate schema dynamically. | ||
* */ | ||
export type FieldUpdateValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | z.ZodString | z.ZodBoolean; | ||
export type FieldUpdateValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | typeof DataFieldValue | z.ZodString | z.ZodBoolean; | ||
//# sourceMappingURL=FieldValue.d.ts.map |
import { z } from 'zod'; | ||
import { TranslationConfig } from './TranslationConfig'; | ||
export declare const FormPageType: { | ||
readonly FORM: "FORM"; | ||
readonly VERIFICATION: "VERIFICATION"; | ||
}; | ||
export declare const FormPage: z.ZodObject<{ | ||
@@ -11,3 +15,5 @@ id: z.ZodString; | ||
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">; | ||
type: z.ZodDefault<z.ZodLiteral<"FORM">>; | ||
}, "strip", z.ZodTypeAny, { | ||
type: "FORM"; | ||
id: string; | ||
@@ -24,11 +30,21 @@ title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
type?: "FORM" | undefined; | ||
}>; | ||
export declare const FormConfig: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
export declare const VerificationPageConfig: z.ZodObject<{ | ||
verify: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
label: TranslationConfig; | ||
}, { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}>; | ||
version: z.ZodObject<{ | ||
id: z.ZodString; | ||
cancel: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
@@ -39,7 +55,35 @@ id: string; | ||
}>; | ||
confirmation: z.ZodObject<{ | ||
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}, { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}, { | ||
id: string; | ||
label: { | ||
@@ -50,7 +94,246 @@ id: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}>; | ||
active: z.ZodDefault<z.ZodBoolean>; | ||
pages: z.ZodArray<z.ZodObject<{ | ||
}, "strip", z.ZodTypeAny, { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}, { | ||
verify: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
cancel: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}; | ||
}>; | ||
export declare const VerificationPage: z.ZodObject<z.objectUtil.extendShape<{ | ||
id: z.ZodString; | ||
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">; | ||
type: z.ZodDefault<z.ZodLiteral<"FORM">>; | ||
}, { | ||
type: z.ZodLiteral<"VERIFICATION">; | ||
actions: z.ZodObject<{ | ||
verify: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
label: TranslationConfig; | ||
}, { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}>; | ||
cancel: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
confirmation: z.ZodObject<{ | ||
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}, { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}, { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}>; | ||
}, "strip", z.ZodTypeAny, { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}, { | ||
verify: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
cancel: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}; | ||
}>; | ||
}>, "strip", z.ZodTypeAny, { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}, { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
actions: { | ||
verify: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
cancel: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}>; | ||
export type VerificationPageConfig = z.infer<typeof VerificationPageConfig>; | ||
type AllPageConfigs = typeof FormPage | typeof VerificationPage; | ||
export declare const FormPageConfig: z.ZodDiscriminatedUnion<"type", AllPageConfigs[]>; | ||
export type FormPageConfigInput = z.input<typeof FormPageConfig>; | ||
export type FormPageConfig = z.infer<typeof FormPageConfig>; | ||
export declare const FormConfig: z.ZodObject<{ | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}>; | ||
version: z.ZodObject<{ | ||
id: z.ZodString; | ||
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
id: string; | ||
@@ -60,10 +343,8 @@ description: string; | ||
}>; | ||
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
label: TranslationConfig; | ||
}, { | ||
id: string; | ||
title: { | ||
label: { | ||
id: string; | ||
@@ -73,4 +354,5 @@ description: string; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}>, "many">; | ||
}>; | ||
active: z.ZodDefault<z.ZodBoolean>; | ||
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", AllPageConfigs[]>, "many">; | ||
review: z.ZodObject<{ | ||
@@ -101,7 +383,25 @@ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, { | ||
label: TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -125,3 +425,3 @@ title: TranslationConfig; | ||
}; | ||
pages: { | ||
pages: ({ | ||
id: string; | ||
@@ -134,3 +434,41 @@ title: { | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
type?: "FORM" | undefined; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
actions: { | ||
verify: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
cancel: { | ||
label: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
confirmation: { | ||
title: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
body: { | ||
id: string; | ||
description: string; | ||
defaultMessage: string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -146,5 +484,5 @@ title: { | ||
}>; | ||
export type FormPage = z.infer<typeof FormPage>; | ||
export type FormConfig = z.infer<typeof FormConfig>; | ||
export type FormConfigInput = z.input<typeof FormConfig>; | ||
export {}; | ||
//# sourceMappingURL=FormConfig.d.ts.map |
@@ -35,3 +35,4 @@ import { ActionDocument } from './ActionDocument'; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
export declare function generateActionMetadataInput(configuration: EventConfig, action: ActionType): {}; | ||
export declare const eventPayloadGenerator: { | ||
@@ -100,3 +101,3 @@ create: (input?: Partial<EventInput>) => { | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
createdAt: string; | ||
@@ -130,3 +131,3 @@ createdBy: string; | ||
originalFilename: string; | ||
}[]> | undefined; | ||
}[] | undefined> | undefined; | ||
}; | ||
@@ -163,3 +164,3 @@ }>; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
@@ -195,3 +196,3 @@ }; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
duplicates: never[]; | ||
@@ -228,3 +229,3 @@ eventId: string; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
metadata: { | ||
@@ -264,3 +265,3 @@ isDuplicate: boolean; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
duplicates: never[]; | ||
@@ -297,6 +298,6 @@ eventId: string; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
}; | ||
printCertificate: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "data">>) => { | ||
printCertificate: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "data" | "metadata">>) => { | ||
type: "PRINT_CERTIFICATE"; | ||
@@ -329,3 +330,4 @@ transactionId: string; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
metadata: {}; | ||
eventId: string; | ||
@@ -362,3 +364,3 @@ }; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
metadata: {}; | ||
@@ -395,3 +397,3 @@ eventId: string; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
@@ -428,3 +430,3 @@ requestId: string; | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
eventId: string; | ||
@@ -431,0 +433,0 @@ requestId: string; |
@@ -10,2 +10,4 @@ import { TranslationConfig } from './TranslationConfig'; | ||
import { FormConfig } from './FormConfig'; | ||
import { Draft } from './Draft'; | ||
import { EventDocument } from './EventDocument'; | ||
/** | ||
@@ -42,7 +44,25 @@ * @returns All the fields in the event configuration input. | ||
export declare function getAllFields(configuration: EventConfig): import("./FieldConfig").Inferred[]; | ||
export declare function getAllPages(configuration: EventConfig): { | ||
export declare function getAllPages(configuration: EventConfig): ({ | ||
type: "FORM"; | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
export declare function validateWorkqueueConfig(workqueueConfigs: WorkqueueConfig[]): void; | ||
@@ -56,7 +76,25 @@ export declare const findActiveActionForm: (configuration: EventConfig, action: ActionType) => { | ||
label: TranslationConfig; | ||
pages: { | ||
pages: ({ | ||
type: "FORM"; | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
review: { | ||
@@ -67,7 +105,25 @@ title: TranslationConfig; | ||
} | undefined; | ||
export declare const findActiveActionFormPages: (configuration: EventConfig, action: ActionType) => { | ||
export declare const findActiveActionFormPages: (configuration: EventConfig, action: ActionType) => ({ | ||
type: "FORM"; | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[] | undefined; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[] | undefined; | ||
export declare const getFormFields: (formConfig: FormConfig) => import("./FieldConfig").Inferred[]; | ||
@@ -82,7 +138,25 @@ /** | ||
export declare const findActiveActionFields: (configuration: EventConfig, action: ActionType) => FieldConfig[] | undefined; | ||
export declare const getActiveActionFormPages: (configuration: EventConfig, action: ActionType) => { | ||
export declare const getActiveActionFormPages: (configuration: EventConfig, action: ActionType) => ({ | ||
type: "FORM"; | ||
id: string; | ||
title: TranslationConfig; | ||
fields: import("./FieldConfig").Inferred[]; | ||
}[]; | ||
} | { | ||
type: "VERIFICATION"; | ||
id: string; | ||
title: TranslationConfig; | ||
actions: { | ||
verify: { | ||
label: TranslationConfig; | ||
}; | ||
cancel: { | ||
label: TranslationConfig; | ||
confirmation: { | ||
title: TranslationConfig; | ||
body: TranslationConfig; | ||
}; | ||
}; | ||
}; | ||
fields: import("./FieldConfig").Inferred[]; | ||
})[]; | ||
/** | ||
@@ -118,3 +192,82 @@ * Returns all fields for the action type, including review fields, or throws | ||
originalFilename: string; | ||
}[]>; | ||
}[] | undefined>; | ||
export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]): { | ||
id: string; | ||
createdAt: string; | ||
eventId: string; | ||
transactionId: string; | ||
action: { | ||
type: ActionType; | ||
data: Record<string, string | number | boolean | { | ||
type: string; | ||
filename: string; | ||
originalFilename: string; | ||
} | { | ||
country: string; | ||
district: string; | ||
province: string; | ||
urbanOrRural: "URBAN"; | ||
number?: string | null | undefined; | ||
town?: string | null | undefined; | ||
residentialArea?: string | null | undefined; | ||
street?: string | null | undefined; | ||
zipCode?: string | null | undefined; | ||
} | { | ||
country: string; | ||
district: string; | ||
province: string; | ||
urbanOrRural: "RURAL"; | ||
village?: string | null | undefined; | ||
} | { | ||
type: string; | ||
option: string; | ||
filename: string; | ||
originalFilename: string; | ||
}[] | undefined>; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
metadata?: Record<string, string | number | boolean | { | ||
type: string; | ||
filename: string; | ||
originalFilename: string; | ||
} | { | ||
country: string; | ||
district: string; | ||
province: string; | ||
urbanOrRural: "URBAN"; | ||
number?: string | null | undefined; | ||
town?: string | null | undefined; | ||
residentialArea?: string | null | undefined; | ||
street?: string | null | undefined; | ||
zipCode?: string | null | undefined; | ||
} | { | ||
country: string; | ||
district: string; | ||
province: string; | ||
urbanOrRural: "RURAL"; | ||
village?: string | null | undefined; | ||
} | { | ||
type: string; | ||
option: string; | ||
filename: string; | ||
originalFilename: string; | ||
}[] | undefined> | undefined; | ||
}; | ||
}[]; | ||
export declare function createEmptyDraft(eventId: string, draftId: string, actionType: ActionType): { | ||
id: string; | ||
eventId: string; | ||
createdAt: string; | ||
transactionId: import("../uuid").UUID; | ||
action: { | ||
type: ActionType; | ||
data: {}; | ||
metadata: {}; | ||
createdAt: string; | ||
createdBy: string; | ||
createdAtLocation: string; | ||
}; | ||
}; | ||
export declare function findActiveActionVerificationPageIds(configuration: EventConfig, action: ActionType): string[]; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@opencrvs/toolkit", | ||
"version": "1.8.0-rc.429b01b", | ||
"version": "1.8.0-rc.435833a", | ||
"description": "OpenCRVS toolkit for building country configurations", | ||
@@ -5,0 +5,0 @@ "license": "MPL-2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2053181
15.44%54589
15.17%