Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Allow user to sort conversations #1080

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

iAmmar7
Copy link
Collaborator

@iAmmar7 iAmmar7 commented Jun 14, 2024

Description

The conversation APIs now accepts sortOrder param to sort the conversation result.

Type of change

  • Internal refactoring
  • Bug fix (bugfix - non-breaking)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets

const data = await client.conversation.getConversations({
      pageSize: 10,
      sortOrder: 'ASC', // Default is 'DESC'
    })

Copy link

changeset-bot bot commented Jun 14, 2024

🦋 Changeset detected

Latest commit: 16b71ee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@signalwire/core Minor
@signalwire/js Minor
@signalwire/realtime-api Patch
@signalwire/web-api Patch
@signalwire/webrtc Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@iAmmar7 iAmmar7 changed the title Allow user to sort conversations WIP: Allow user to sort conversations Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant