fix(#2192): Optimize and fix vulnerabilities in frontend and metadata… #1485
Annotations
5 errors and 3 warnings
type_check
Type '{ chosenSorting: string; searchText: string; sortOpen: false; filterOptions: { key: string; title: any; label: any; }[]; isFiltering: true; setFiltersOpen: Mock<void, [value: SetStateAction<boolean>]>; setSortOpen: Mock<...>; setSearchText: Mock<...>; }' is not assignable to type 'Partial<{ chosenFilters?: string[] | undefined; chosenFiltersLength?: number | undefined; chosenSorting: string; closeFilters?: (() => void) | undefined; closeSorts: () => void; filterOptions?: { ...; }[] | undefined; ... 10 more ...; sortOptions?: { ...; }[] | undefined; }> & { ...; }'.
|
type_check
Type '{ chosenSorting: string; searchText: string; sortOpen: false; chosenFilters: never[]; closeFilters: () => void; filtersOpen: true; setFiltersOpen: () => void; setChosenFilters: Mock<void, [value: SetStateAction<string[]>]>; }' is not assignable to type 'Partial<{ chosenFilters?: string[] | undefined; chosenFiltersLength?: number | undefined; chosenSorting: string; closeFilters?: (() => void) | undefined; closeSorts: () => void; filterOptions?: { ...; }[] | undefined; ... 10 more ...; sortOptions?: { ...; }[] | undefined; }> & { ...; }'.
|
type_check
Type '{ chosenSorting: string; searchText: string; sortOpen: true; setChosenSorting: Mock<void, [value: SetStateAction<string>]>; }' is not assignable to type 'Partial<{ chosenFilters?: string[] | undefined; chosenFiltersLength?: number | undefined; chosenSorting: string; closeFilters?: (() => void) | undefined; closeSorts: () => void; filterOptions?: { ...; }[] | undefined; ... 10 more ...; sortOptions?: { ...; }[] | undefined; }> & { ...; }'.
|
type_check
Type '{ chosenSorting: string; searchText: string; sortOpen: false; isFiltering: false; }' is not assignable to type 'Partial<{ chosenFilters?: string[] | undefined; chosenFiltersLength?: number | undefined; chosenSorting: string; closeFilters?: (() => void) | undefined; closeSorts: () => void; filterOptions?: { ...; }[] | undefined; ... 10 more ...; sortOptions?: { ...; }[] | undefined; }> & { ...; }'.
|
type_check
Process completed with exit code 2.
|
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
type_check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|