Skip to content

fix: threads state fixes #687

fix: threads state fixes

fix: threads state fixes #687

Triggered via pull request February 23, 2024 15:07
Status Failure
Total duration 1m 56s
Artifacts

type.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
test: test/typescript/data.ts#L9
Type '{ id: string; role: string; created_at: string; updated_at: string; last_active: string; banned: false; online: true; invisible: false; devices: never[]; mutes: { user: { id: string; role: string; created_at: string; updated_at: string; banned: false; online: true; }; target: { ...; }; created_at: string; updated_at...' is not assignable to type 'OwnUserResponse<DefaultGenerics>'.
test: test/typescript/data.ts#L10
Type '{ channel: { id: string; type: string; cid: string; created_at: string; updated_at: string; created_by: { id: string; role: string; created_at: string; updated_at: string; last_active: string; banned: false; online: true; }; ... 4 more ...; hidden: false; }; ... 5 more ...; duration: string; }' is not assignable to type 'QueryChannelAPIResponse<{ attachmentType: {}; channelType: { description?: string | undefined; }; commandType: string & {}; eventType: {}; messageType: {}; reactionType: {}; userType: {}; }>'.
test: test/typescript/data.ts#L55
Type '{ channel: { id: string; type: string; cid: string; last_message_at: string; created_at: string; updated_at: string; created_by: { id: string; role: string; created_at: string; updated_at: string; last_active: string; banned: false; online: true; }; ... 5 more ...; hidden: false; }; ... 6 more ...; duration: string; }' is not assignable to type 'QueryChannelAPIResponse<{ attachmentType: {}; channelType: { description?: string | undefined; }; commandType: string & {}; eventType: {}; messageType: {}; reactionType: {}; userType: {}; }>'.
test: test/typescript/data.ts#L68
Type '{ id: string; role: string; created_at: string; updated_at: string; last_active: string; banned: false; online: true; invisible: false; devices: never[]; mutes: never[]; channel_mutes: never[]; unread_count: number; total_unread_count: number; unread_channels: number; language: ""; }' is not assignable to type 'OwnUserResponse<DefaultGenerics>'.
test: test/typescript/data.ts#L89
Type '{ channel: { id: string; type: string; cid: string; created_at: string; updated_at: string; created_by: { id: string; role: string; created_at: string; updated_at: string; last_active: string; banned: false; online: true; }; ... 5 more ...; hidden: false; }; ... 7 more ...; duration: string; }' is not assignable to type 'QueryChannelAPIResponse<{ attachmentType: {}; channelType: { description?: string | undefined; }; commandType: string & {}; eventType: {}; messageType: {}; reactionType: {}; userType: {}; }>'.
test
Process completed with exit code 2.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.