Fix Historical alert query #538
Annotations
12 errors
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#L204
Property 'infos' does not exist on type 'AlertFilter'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L359
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#L402
Type '"urgency"' is not assignable to type '"id" | "AND" | "DISTINCT" | "NOT" | "OR"'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L406
Property 'infos' does not exist on type 'AlertFilter'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L407
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#L412
Type '"severity"' is not assignable to type '"id" | "AND" | "DISTINCT" | "NOT" | "OR"'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L416
Property 'infos' does not exist on type 'AlertFilter'.
|
Lint JS:
src/views/HistoricalAlerts/index.tsx#L66
More than 1 blank line not allowed
|
Lint JS
Process completed with exit code 1.
|