Passing drattId to LINK_BUTTON #16759
lint-and-test.yml
on: pull_request
Prepare client tests
4m 4s
Setup tests
5s
Lint unused exports with Knip
4m 52s
Build toolkit
3m 6s
Annotations
11 errors
Lint unused exports with Knip
Process completed with exit code 1.
|
Lint client
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: ({ name: string; type: "SELECT_WITH_OPTIONS"; label: { defaultMessage: string; description: string; id: string; }; required: true; initialValue: string; validator: never[]; options: CountryItem[]; } | { ...; } | { ...; ...' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "LOCATION_SEARCH_INPUT"; required: true; validator: never[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; searchableResource: "facilities"[]; searchableType: ...' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: { name: string; type: "TEL"; label: { defaultMessage: string; id: string; description: string; }; required: true; initialValue: string; validator: never[]; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: { name: string; type: "RADIO_GROUP_WITH_NESTED_FIELDS"; label: { defaultMessage: string; description: string; id: string; }; ... 4 more ...; nestedFields: { ...; }; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "DATE"; required: true; validator: Validation[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "NUMBER"; required: true; validator: never[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "SELECT_WITH_OPTIONS"; label: { defaultMessage: string; description: string; id: string; }; required: true; initialValue: string; validator: never[]; options: CountryItem[]; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Lint client
Property 'draftId' is missing in type '{ key: "LINK_BUTTON" | "QR"; form: IFormSectionData; draft: IFormData; fieldDefinition: Ii18nLinkButtonFormField; fields: IFormField[]; setFieldValue: (name: string, value: IFormFieldValue) => void; isDisabled: false; }' but required in type '{ fields: IFormField[]; form: IFormSectionData; draft: IFormData; draftId: string; fieldDefinition: Ii18nLinkButtonFormField; setFieldValue: (name: string, value: IFormFieldValue) => void; isDisabled?: boolean | undefined; }'.
|
Lint client
Expected 6 arguments, but got 5.
|
Lint client
Expected 6 arguments, but got 5.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
client
|
11.2 MB |
|