Add support for soft required validation in builder #859
ci.yml
on: pull_request
Create storybook build
1m 21s
Check frontend code formatting with prettier
34s
Run Jest tests
1m 8s
Create 'production' build
56s
Matrix: tests-storybook
Visual regression test with Chromatic
7s
Publish the NPM package
0s
deploy
0s
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.
|