Skip to content

Feat implement birth v2 #548

Feat implement birth v2

Feat implement birth v2 #548

Triggered via pull request January 6, 2025 11:23
Status Failure
Total duration 49s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: src/form/Legecy/birth.ts#L16
Module '"@opencrvs/toolkit/events"' has no exported member 'SelectOption'.
test: src/form/Legecy/birth.ts#L964
Type '"CHECKBOX"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L985
Property 'isEqualTo' does not exist on type '{ isBeforeNow: () => { type: string; properties: { $form: { type: string; properties: { [x: string]: { type: string; format: string; formatMaximum: { $data: string; }; }; }; required: string[]; }; $now: { type: string; format: string; }; }; required: string[]; }; }'.
test: src/form/Legecy/birth.ts#L991
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L1036
Type '"BULLET_LIST"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L1103
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L1134
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L1145
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "HIDDEN" | "FILE"'.
test: src/form/Legecy/birth.ts#L1164
Type '{ type: string; }' is not assignable to type '{ maxLength?: number | undefined; }'.
test
Process completed with exit code 2.