Skip to content

feat(satori): update protocol structure #713

feat(satori): update protocol structure

feat(satori): update protocol structure #713

Triggered via push September 11, 2023 07:42
Status Failure
Total duration 48s
Artifacts

build.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: adapters/wecom/src/bot.ts#L68
Type '{ userId: string; username: any; avatar: any; }' is missing the following properties from type 'User': id, name
build: adapters/wecom/src/bot.ts#L97
Type '{ userId: string; username: string; avatar: string; }' is missing the following properties from type 'User': id, name
build: adapters/telegram/src/utils.ts#L12
Type '{ userId: string; username: string; nickname: string; isBot: boolean; }' is not assignable to type 'User'.
build: adapters/telegram/src/utils.ts#L16
Property 'user' is missing in type 'User' but required in type 'GuildMember'.
build: adapters/telegram/src/bot.ts#L202
Argument of type 'GuildMember' is not assignable to parameter of type 'User'.
build: adapters/telegram/src/bot.ts#L209
Argument of type '(user: User) => Promise<void>' is not assignable to parameter of type '(value: GuildMember, index: number, array: GuildMember[]) => Promise<void>'.
build: adapters/slack/src/message.ts#L24
Type 'SlackBot<Config>' does not satisfy the constraint 'Bot<Config>'.
build: adapters/slack/src/utils.ts#L215
Type '{ userId: string; avatar: string; username: string; isBot: boolean; }' is missing the following properties from type 'User': id, name
build: adapters/slack/src/ws.ts#L8
Type 'SlackBot<Config>' does not satisfy the constraint 'Bot<Config>'.
build: adapters/slack/src/http.ts#L7
Type 'SlackBot<Config>' does not satisfy the constraint 'Bot<Config>'.