(Events V2) chore: update location field to location search input field for custom birth event #699
Annotations
7 errors
test:
src/form/tennis-club-membership.ts#L722
Type '"PRINT_CERTIFICATE"' is not assignable to type '"CREATE" | "DECLARE" | "VALIDATE" | "REGISTER" | "DELETE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM"'.
|
test:
src/form/v2/birth/advancedSearch.ts#L14
Property 'advancedSearch' does not exist on type '{ id: string; actions: ({ type: "CREATE"; label: TranslationConfig; forms: { active: boolean; version: { id: string; label: TranslationConfig; }; label: TranslationConfig; pages: { ...; }[]; review: { ...; }; }[]; draft?: boolean | undefined; allowedWhen?: any; } | ... 7 more ... | { ...; })[]; label: TranslationCon...'.
|
test:
src/form/v2/birth/forms/child.ts#L247
Type '"FACILITY"' is not assignable to type '"TEXT" | "RADIO_GROUP" | "CHECKBOX" | "DATE" | "BULLET_LIST" | "PARAGRAPH" | "DIVIDER" | "PAGE_HEADER" | "FILE" | "SELECT" | "COUNTRY" | "LOCATION"'.
|
test:
src/form/v2/birth/index.ts#L69
Argument of type '{ id: Event; label: { defaultMessage: string; description: string; id: string; }; summary: { title: { id: string; label: { defaultMessage: string; description: string; id: string; }; }; fields: never[]; }; workqueues: { ...; }[]; actions: { ...; }[]; advancedSearch: any; }' is not assignable to parameter of type '{ id: string; actions: ({ type: "CREATE"; label: TranslationConfig; forms: { version: { id: string; label: TranslationConfig; }; label: TranslationConfig; pages: { ...; }[]; review: { ...; }; active?: boolean | undefined; }[]; draft?: boolean | undefined; allowedWhen?: any; } | ... 7 more ... | { ...; })[]; label: T...'.
|
test:
src/form/v2/person/address.ts#L179
Type '"ADMINISTRATIVE_AREA"' is not assignable to type '"TEXT" | "RADIO_GROUP" | "CHECKBOX" | "DATE" | "BULLET_LIST" | "PARAGRAPH" | "DIVIDER" | "PAGE_HEADER" | "FILE" | "SELECT" | "COUNTRY" | "LOCATION"'.
|
test:
src/form/v2/person/address.ts#L192
Type '"ADMINISTRATIVE_AREA"' is not assignable to type '"TEXT" | "RADIO_GROUP" | "CHECKBOX" | "DATE" | "BULLET_LIST" | "PARAGRAPH" | "DIVIDER" | "PAGE_HEADER" | "FILE" | "SELECT" | "COUNTRY" | "LOCATION"'.
|
test
Process completed with exit code 2.
|