Skip to content

frontend: Refactor KubeObject class #5570

frontend: Refactor KubeObject class

frontend: Refactor KubeObject class #5570

Triggered via pull request August 2, 2024 11:46
@snioksniok
synchronize #1967
kube-type
Status Failure
Total duration 1m 43s
Artifacts

frontend.yml

on: pull_request
Matrix: build
Matrix: build docs
Matrix: build storybook
Matrix: lint
Matrix: test
Matrix: test plugins
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build docs (20.x, ubuntu-22.04)
Process completed with exit code 2.
test plugins (20.x, ubuntu-22.04)
Type 'T' does not satisfy the constraint 'KubeObject<any>'.
test plugins (20.x, ubuntu-22.04)
Type 'ReactNode[] | HeaderAction[] | ((resource: T | null) => ReactNode[] | null) | null | undefined' is not assignable to type 'ReactNode[] | HeaderAction[] | ((resource: InstanceType<T> | null) => ReactNode[] | null) | null | undefined'.
test plugins (20.x, ubuntu-22.04)
Argument of type 'InstanceType<T>' is not assignable to parameter of type 'T | null'.
test plugins (20.x, ubuntu-22.04)
Type 'NameValueTableRow[] | ((resource: T | null) => NameValueTableRow[] | null) | null | undefined' is not assignable to type 'NameValueTableRow[] | ExtraRowsFunc<InstanceType<T>> | null | undefined'.
test plugins (20.x, ubuntu-22.04)
Argument of type 'typeof CronJob' is not assignable to parameter of type 'CronJob'.
test plugins (20.x, ubuntu-22.04)
Property 'spec' does not exist on type 'typeof CronJob'.
test plugins (20.x, ubuntu-22.04)
Property 'spec' does not exist on type 'typeof CronJob'.
test plugins (20.x, ubuntu-22.04)
Property 'spec' does not exist on type 'typeof CronJob'.
test plugins (20.x, ubuntu-22.04)
Argument of type 'typeof CronJob' is not assignable to parameter of type 'CronJob'.
test plugins (20.x, ubuntu-22.04)
Property 'spec' does not exist on type 'typeof DaemonSet'.