(WIP) feat: add support for alert auto-resolve + Incident.io integration #4718
Annotations
6 errors
|
Run lint + type check
Process completed with exit code 2.
|
|
Run lint + type check
Argument of type '{ alertProvider: any; clickhouseClient: any; metadata: any; template: string; view: { alert: { channel: { type: null; }; id?: string; source?: AlertSource; interval: AlertInterval; ... 8 more ...; silenced?: { by?: ObjectId; at: Date; until: Date; }; }; ... 8 more ...; value: number; }; title: string; teamWebhooksBy...' is not assignable to parameter of type '{ alertProvider: AlertProvider; clickhouseClient: ClickhouseClient; metadata: Metadata; state: string; template?: string | null | undefined; title: string; view: AlertMessageTemplateDefaultView; teamWebhooksById: Map<...>; }'.
|
|
Run lint + type check
Argument of type '{ alertProvider: any; clickhouseClient: any; metadata: any; template: string; view: { alert: { channel: { type: null; }; id?: string; source?: AlertSource; interval: AlertInterval; ... 8 more ...; silenced?: { by?: ObjectId; at: Date; until: Date; }; }; ... 8 more ...; value: number; }; title: string; teamWebhooksBy...' is not assignable to parameter of type '{ alertProvider: AlertProvider; clickhouseClient: ClickhouseClient; metadata: Metadata; state: string; template?: string | null | undefined; title: string; view: AlertMessageTemplateDefaultView; teamWebhooksById: Map<...>; }'.
|
|
Run lint + type check
Argument of type '{ alertProvider: any; clickhouseClient: any; metadata: any; template: string; view: { alert: { channel: { type: null; }; id?: string; source?: AlertSource; interval: AlertInterval; ... 8 more ...; silenced?: { by?: ObjectId; at: Date; until: Date; }; }; ... 8 more ...; value: number; }; title: string; teamWebhooksBy...' is not assignable to parameter of type '{ alertProvider: AlertProvider; clickhouseClient: ClickhouseClient; metadata: Metadata; state: string; template?: string | null | undefined; title: string; view: AlertMessageTemplateDefaultView; teamWebhooksById: Map<...>; }'.
|
|
Run lint + type check
Argument of type '{ alertProvider: any; clickhouseClient: any; metadata: any; template: string; view: { alert: { channel: { type: null; }; id?: string; source?: AlertSource; interval: AlertInterval; ... 8 more ...; silenced?: { by?: ObjectId; at: Date; until: Date; }; }; ... 8 more ...; value: number; }; title: string; teamWebhooksBy...' is not assignable to parameter of type '{ alertProvider: AlertProvider; clickhouseClient: ClickhouseClient; metadata: Metadata; state: string; template?: string | null | undefined; title: string; view: AlertMessageTemplateDefaultView; teamWebhooksById: Map<...>; }'.
|
|
Run lint + type check
Argument of type '{ alertProvider: any; clickhouseClient: any; metadata: any; template: string; view: { alert: { channel: { type: "webhook"; webhookId: string; }; id?: string; source?: AlertSource; interval: AlertInterval; ... 8 more ...; silenced?: { by?: ObjectId; at: Date; until: Date; }; }; ... 8 more ...; value: number; }; title...' is not assignable to parameter of type '{ alertProvider: AlertProvider; clickhouseClient: ClickhouseClient; metadata: Metadata; state: string; template?: string | null | undefined; title: string; view: AlertMessageTemplateDefaultView; teamWebhooksById: Map<...>; }'.
|
Loading