Skip to content

feat: add filter shortcut for types #36

feat: add filter shortcut for types

feat: add filter shortcut for types #36

Triggered via push June 18, 2024 18:16
Status Failure
Total duration 33s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
Check: src/components/filters/action-filter.tsx#L29
Property 'children' is missing in type '{ changes: string; id: number; nameRenderer: (item: Coded) => string; open: boolean; options: { code: string; }[]; placeholder: string; title: string; value: MultiselectFilter; }' but required in type 'Props<{ code: string; }>'.
Check: src/components/filters/encounter-set-filter.tsx#L48
Property 'children' is missing in type '{ changes: string; id: number; itemToString: (set: EncounterSet) => string; nameRenderer: (set: EncounterSet) => Element; open: boolean; options: EncounterSet[]; placeholder: string; title: string; value: MultiselectFilter; }' but required in type 'Props<EncounterSet>'.
Check: src/components/filters/pack-filter.tsx#L46
Property 'children' is missing in type '{ changes: string; id: number; itemToString: (pack: Pack) => string; nameRenderer: (pack: Pack) => Element; open: boolean; options: Pack[]; placeholder: string; title: string; value: MultiselectFilter; }' but required in type 'Props<Pack>'.
Check: src/components/filters/subtype-filter.tsx#L29
Property 'children' is missing in type '{ changes: string; id: number; itemToString: (item: SubType) => string; nameRenderer: (item: SubType) => string; open: boolean; options: SubType[]; placeholder: string; title: string; value: MultiselectFilter; }' but required in type 'Props<SubType>'.
Check: src/components/filters/trait-filter.tsx#L23
Property 'children' is missing in type '{ changes: string; id: number; open: boolean; options: { code: string; }[]; placeholder: string; title: string; value: MultiselectFilter; }' but required in type 'Props<{ code: string; }>'.
Check
Process completed with exit code 2.
Lint: src/components/filters/primitives/multiselect-filter.tsx#L60
Props should be sorted alphabetically
Lint: src/components/filters/type-filter.tsx#L37
React Hook useCallback has an unnecessary dependency: 'filter.value'. Either exclude it or remove the dependency array
Lint: src/components/filters/type-filter.tsx#L56
Props should be sorted alphabetically
Lint: src/components/filters/type-filter.tsx#L59
Props should be sorted alphabetically
Lint: src/components/filters/type-filter.tsx#L62
Props should be sorted alphabetically
Lint: src/components/filters/type-filter.tsx#L65
Props should be sorted alphabetically