Skip to content

feat: create address input #584

feat: create address input

feat: create address input #584

Triggered via pull request January 16, 2025 13:28
Status Failure
Total duration 50s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
test: src/form/v2/birth/forms/child.ts#L238
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
test: src/form/v2/birth/forms/child.ts#L246
Type '{ type: "HEALTH_FACILITY"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
test: src/form/v2/person/address.ts#L171
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
test: src/form/v2/person/address.ts#L179
Type '{ type: "ADMIN_STRUCTURE"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
test: src/form/v2/person/address.ts#L184
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
test: src/form/v2/person/address.ts#L192
Type '{ partOf: { $data: string; }; type: "ADMIN_STRUCTURE"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
test: src/form/v2/person/address.ts#L201
Type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]' is not assignable to type '{ value: string; label: string; }[]'.
test
Process completed with exit code 2.