Skip to content

Fix Historical alert query #539

Fix Historical alert query

Fix Historical alert query #539

Triggered via pull request November 27, 2024 10:18
Status Failure
Total duration 53s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Typecheck: src/views/HistoricalAlerts/index.tsx#L200
Property 'infos' does not exist on type 'AlertFilter'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L201
Property 'infos' does not exist on type 'AlertFilter'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L202
Property 'infos' does not exist on type 'AlertFilter'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L203
Property 'infos' does not exist on type 'AlertFilter'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L358
Argument of type '(...args: EntriesAsList<AlertFilter>) => void' is not assignable to parameter of type '(value: SetValueArg<NonNullable<{ id?: ({ exact?: InputMaybe<string> | undefined; inList?: string[] | null | undefined; isNull?: InputMaybe<boolean> | undefined; } & Pick<IdBaseFilterLookup, never>) | null | undefined; AND?: (... & Pick<...>) | ... 1 more ... | undefined; DISTINCT?: InputMaybe<...> | undefined; NOT?...'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L401
Type '"urgency"' is not assignable to type '"id" | "AND" | "DISTINCT" | "NOT" | "OR"'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L405
Property 'infos' does not exist on type 'AlertFilter'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L406
Type '(...entries: EntriesAsList<NonNullable<NonNullable<{ id?: ({ exact?: InputMaybe<string> | undefined; inList?: string[] | null | undefined; isNull?: InputMaybe<boolean> | undefined; } & Pick<IdBaseFilterLookup, never>) | null | undefined; AND?: (... & Pick<...>) | ... 1 more ... | undefined; DISTINCT?: InputMaybe<......' is not assignable to type '(newValue: AlertInfoUrgencyEnum[], name: "id" | "AND" | "DISTINCT" | "NOT" | "OR") => void'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L411
Type '"severity"' is not assignable to type '"id" | "AND" | "DISTINCT" | "NOT" | "OR"'.
Typecheck: src/views/HistoricalAlerts/index.tsx#L415
Property 'infos' does not exist on type 'AlertFilter'.