Skip to content

chore: allow string arrays on sort parameters #898

chore: allow string arrays on sort parameters

chore: allow string arrays on sort parameters #898

Triggered via pull request July 3, 2024 15:17
Status Failure
Total duration 41s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

unit.yml

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

Annotations

10 errors and 1 warning
test (18): src/channel.ts#L245
Type 'SearchMessageSortBase<StreamChatGenerics>' does not satisfy the constraint 'Record<string, AscDesc | undefined>'.
test (18): src/channel.ts#L293
Argument of type 'MemberSort<StreamChatGenerics>' is not assignable to parameter of type 'Record<string, AscDesc | undefined> | Record<string, AscDesc | undefined>[]'.
test (18): src/client.ts#L1509
Argument of type 'UserSort<StreamChatGenerics>' is not assignable to parameter of type 'Record<string, AscDesc | undefined> | Record<string, AscDesc | undefined>[]'.
test (18): src/client.ts#L1584
Argument of type 'ReviewQueueSort' is not assignable to parameter of type 'Record<string, AscDesc | undefined> | Record<string, AscDesc | undefined>[]'.
test (18): src/client.ts#L1678
Argument of type 'ChannelSort<StreamChatGenerics>' is not assignable to parameter of type 'Record<string, AscDesc | undefined> | Record<string, AscDesc | undefined>[]'.
test (18): src/client.ts#L1717
Argument of type 'ReactionSort<StreamChatGenerics>' is not assignable to parameter of type 'Record<string, AscDesc | undefined> | Record<string, AscDesc | undefined>[]'.
test (18): src/client.ts#L1778
Type 'SearchMessageSortBase<StreamChatGenerics>' does not satisfy the constraint 'Record<string, AscDesc | undefined>'.
test (18)
Process completed with exit code 2.
test (16)
The job was canceled because "_18" failed.
test (17)
The job was canceled because "_18" failed.
test (18)
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/.