Skip to content

Add support for soft required validation in builder #859

Add support for soft required validation in builder

Add support for soft required validation in builder #859

Re-run triggered October 14, 2024 21:20
Status Failure
Total duration 3m 2s
Artifacts

ci.yml

on: pull_request
Create storybook build
1m 21s
Create storybook build
Check frontend code formatting with prettier
34s
Check frontend code formatting with prettier
Run Jest tests
1m 8s
Run Jest tests
Create 'production' build
56s
Create 'production' build
Matrix: tests-storybook
Visual regression test with Chromatic
7s
Visual regression test with Chromatic
Publish the NPM package
0s
Publish the NPM package
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Create 'production' build: src/registry/file/edit.tsx#L161
Type '{ softRequired: false; translations: {}; }' is not assignable to type '{ translations: ComponentTranslations<TranslatableKeys>; }'.
Create 'production' build: src/registry/index.ts#L88
Type '{ textfield: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BaseTextFieldComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseTextFieldComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BaseTextFieldComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseTextFieldComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; email: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BaseEmailComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseEmailComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BaseEmailComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseEmailComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; date: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BaseDateComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseDateComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BaseDateComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseDateComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; datetime: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BaseDateTimeComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseDateTimeComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BaseDateTimeComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseDateTimeComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; time: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BaseTimeComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseTimeComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BaseTimeComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BaseTimeComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; phoneNumber: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & BasePhoneNumberComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BasePhoneNumberComponentSchema & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & BasePhoneNumberComponentSchema & Single<string>) | ({ defaultValue?: string[] | undefined; } & BasePhoneNumberComponentSchema & Multiple<string>)>>; }; defaultValue: string; }; postcode: { edit: EditFormDefinition<({ defaultValue?: string | undefined; } & Omit<PostCodeInputSchema, "placeholder" | "hideLabel"> & PrefillConfig & PostcodeProperties & { type: "postcode"; autocomplete?: string | undefined; } & Single<string>) | ({ defaultValue?: string[] | undefined; } & Omit<PostCodeInputSchema, "placeholder" | "hideLabel"> & PrefillConfig & PostcodeProperties & { type: "postcode"; autocomplete?: string | undefined; } & Multiple<string>)>; editSchema: EditSchema; preview: { panel: React.FC<ComponentPreviewProps<({ defaultValue?: string | undefined; } & Omit<PostCodeInputSchema, "placeholder" | "hideLabel"> & PrefillConfig & PostcodeProperties & { type: "postcode"; autocomplete?: string | undefined; } & Single<string>) | ({ defaultValue?: string[] | undefined; } & Omit<PostCodeInputSchema, "placeholder" | "hideLabel"> & PrefillConfig & PostcodeProperties & { type: "postcode"; autocomplete?: string | undefined; } & Multiple<string>)>>; }; defaultValue: string; }; file: { edit: EditFormDefinition<FileComponentSchema>; editSchema: EditSchema; pre
Create 'production' build: src/registry/softRequiredErrors/edit.tsx#L2
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
Create 'production' build: src/registry/softRequiredErrors/index.ts#L1
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
Create 'production' build
Process completed with exit code 1.
Run Storybook tests (firefox)
Process completed with exit code 1.