Skip to content

refactor: remove unused code #895

refactor: remove unused code

refactor: remove unused code #895

Triggered via push November 11, 2024 12:46
Status Failure
Total duration 2m 6s
Artifacts
Matrix: e2e
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 32 warnings
build: src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L2
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
build: src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L6
Cannot find module '../../SearchableMultiSelect' or its corresponding type declarations.
build: src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L70
Type '(TModel | undefined)[]' is not assignable to type 'TModel[]'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L7
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L16
Property 'filter' is missing in type '{ order: string; fields: string[]; pageSize: number; }' but required in type 'QueryParams'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L126
Property 'onChange' is missing in type '{ selected: TModel[]; available: TModel[]; onFilterChange: DebouncedState<({ value }: any) => void>; onRetryClick: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<...>) | undefined) => Promise<...>; showEndLoader: boolean; onEndReached: (options?: FetchNextPageOptions | undefined) => Promise<...>; loadin...' but required in type 'OwnProps<DisplayableModel>'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L5
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L49
Type 'TModel | undefined' is not assignable to type 'string[] | TModel[]'.
build: src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L50
Parameter 'selected' implicitly has an 'any' type.
build
Process completed with exit code 2.
lint: src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L6
Unable to resolve path to module '../../SearchableMultiSelect'
lint
Process completed with exit code 1.
e2e (1)
Cypress tests: 2 failed
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: .prettierrc.js#L1
File ignored by default.
lint: src/app/sidebar/Sidebar.spec.tsx#L3
Using exported name 'userEvent' as identifier for default export
lint: src/components/form/EnchancedField.tsx#L4
'TFieldValue' is defined but never used
lint: src/components/form/EnchancedField.tsx#L4
'TInputValue' is defined but never used
lint: src/components/form/EnchancedField.tsx#L12
Unexpected any. Specify a different type
lint: src/components/form/EnchancedField.tsx#L23
Unexpected any. Specify a different type
lint: src/components/form/EnchancedField.tsx#L23
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L7
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L20
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L34
Unexpected any. Specify a different type
e2e (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/