Add support for soft required validation in builder #858
Annotations
9 errors
Build library:
src/registry/file/edit.tsx#L161
Type '{ softRequired: false; translations: {}; }' is not assignable to type '{ translations: ComponentTranslations<TranslatableKeys>; }'.
|
Build library:
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
|
Build library:
src/registry/softRequiredErrors/edit.tsx#L2
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
|
Build library:
src/registry/softRequiredErrors/index.ts#L1
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
|
Build library:
src/registry/file/edit.tsx#L161
Type '{ softRequired: false; translations: {}; }' is not assignable to type '{ translations: ComponentTranslations<TranslatableKeys>; }'.
|
Build library:
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
|
Build library:
src/registry/softRequiredErrors/edit.tsx#L2
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
|
Build library:
src/registry/softRequiredErrors/index.ts#L1
Module '"@open-formulieren/types"' has no exported member 'SoftRequiredErrorsComponentSchema'.
|
Build library
Process completed with exit code 1.
|
Loading