fix: threads state fixes #687
Annotations
6 errors and 1 warning
Run API type definition tests:
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>'.
|
Run API type definition tests:
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: {}; }>'.
|
Run API type definition tests:
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: {}; }>'.
|
Run API type definition tests:
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>'.
|
Run API type definition tests:
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: {}; }>'.
|
Run API type definition tests
Process completed with exit code 2.
|
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/.
|
The logs for this run have expired and are no longer available.
Loading