Enum custom field UI #4112
Annotations
6 errors and 2 warnings
Test:
src/features/import/utils/problems/predictProblems.spec.ts#L19
Type '{ id: number; title: string; slug: string; description: string | null; type: CUSTOM_FIELD_TYPE; organization: Pick<ZetkinOrganization, "id" | "title">; enum_choices?: EnumChoice[] | undefined; }' is not assignable to type 'ZetkinCustomField'.
|
Test:
src/features/import/utils/problems/predictProblems.ts#L15
Property '[CUSTOM_FIELD_TYPE.ENUM_TEXT]' is missing in type '{ date: (value: string) => boolean; json: () => true; text: () => true; url: (value: string) => boolean; }' but required in type 'Record<CUSTOM_FIELD_TYPE, (value: string) => boolean>'.
|
Test:
src/features/profile/components/PersonDetailsCard.stories.tsx#L26
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.DATE; }' but required in type 'ZetkinCustomField'.
|
Test:
src/features/profile/components/PersonDetailsCard.stories.tsx#L34
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.URL; }' but required in type 'ZetkinCustomField'.
|
Test:
src/features/profile/components/PersonDetailsCard.stories.tsx#L42
Property 'enum_choices' is missing in type '{ description: null; id: number; organization: ZetkinOrganization; slug: string; title: string; type: CUSTOM_FIELD_TYPE.URL; }' but required in type 'ZetkinCustomField'.
|
Test
Process completed with exit code 2.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "artifact".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading