Skip to content

Add support for soft required validation in builder #858

Add support for soft required validation in builder

Add support for soft required validation in builder #858

Triggered via pull request October 14, 2024 09:55
Status Failure
Total duration 4m 22s
Artifacts

ci.yml

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

Annotations

12 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: 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 (chromium)
Process completed with exit code 1.
Run Storybook tests (firefox)
Process completed with exit code 1.
Run Storybook tests (webkit)
Process completed with exit code 1.