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

Adding missing types #296

Merged
merged 2 commits into from
Apr 9, 2020
Merged

Adding missing types #296

merged 2 commits into from
Apr 9, 2020

Conversation

vishalnarkhede
Copy link
Contributor

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

@@ -42,6 +46,8 @@ const executables = [
{ f: rg.getReactions, type: 'GetReactionsAPIResponse' },
{ f: rg.updateChannel, type: 'UpdateChannelAPIResponse' },
{ f: rg.deleteChannel, type: 'DeleteChannelAPIResponse' },
/** Keeping truncate quite for now. Needs some fixes on backend regardind commands array in response */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo and could you explain what is needed to be fixed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2020-04-09 at 18 03 12

commands is different in truncateChannel response. It should be array of objects :)

Marcelo has fixed it. It will be deployed by tomorrow

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I saw the discussion with Mike and it's good to have a reference. I think this comment is enough, no need write in source since it will be updated soon.

@@ -75,6 +75,16 @@ async function deleteChannel() {
return await channel.delete();
}

async function truncateChannel() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but generator is added ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah thats fine. Once backend fix is ready, we will use it anyways!

Copy link
Contributor

@ferhatelmas ferhatelmas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vishalnarkhede vishalnarkhede merged commit 2c78981 into master Apr 9, 2020
@delete-merged-branch delete-merged-branch bot deleted the vishal/typescript-fixes branch April 9, 2020 16:48
mksglu pushed a commit to mksglu/stream-chat-js that referenced this pull request Jun 13, 2020
kevinnath1007 pushed a commit to kevinnath1007/stream-chat-js that referenced this pull request Aug 31, 2022
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.

2 participants