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

feat(api): refact implementation #223

Merged
merged 128 commits into from
Nov 5, 2021
Merged

feat(api): refact implementation #223

merged 128 commits into from
Nov 5, 2021

Conversation

samuelmasse
Copy link
Contributor

@samuelmasse samuelmasse commented Oct 26, 2021

The code for the api was becoming a mess. Since this code does critical work for safety I needs to be refactored to be maintainable.

Todo:

  • Update documentation for changed routes
  • Open PR in core and runtime that updates the messaging version
  • Update message deletion function

Closes DEV-1945

Base automatically changed from sm-ui-new-socket to master October 29, 2021 18:13
Copy link
Contributor Author

@samuelmasse samuelmasse left a comment

Choose a reason for hiding this comment

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

@laurentlp I think this is good to merge now. There'll be 1 or 2 other PRs mostly for code refactors but the routes renaming should all be in this PR.

packages/client/jest.config.ts Show resolved Hide resolved
api.rest Show resolved Hide resolved
packages/server/src/conversations/api.ts Outdated Show resolved Hide resolved
packages/server/src/base/schema.ts Show resolved Hide resolved
packages/client/src/messages.ts Outdated Show resolved Hide resolved
@samuelmasse samuelmasse marked this pull request as ready for review November 3, 2021 00:46
packages/server/src/base/api-manager.ts Show resolved Hide resolved
packages/server/src/base/api-manager.ts Outdated Show resolved Hide resolved
packages/server/src/conversations/api.ts Outdated Show resolved Hide resolved
packages/server/src/conversations/api.ts Outdated Show resolved Hide resolved
packages/server/src/conversations/api.ts Show resolved Hide resolved
packages/server/src/messages/api.ts Outdated Show resolved Hide resolved
packages/server/src/messages/schema.ts Outdated Show resolved Hide resolved
packages/server/src/messages/schema.ts Outdated Show resolved Hide resolved
packages/server/src/sync/api.ts Show resolved Hide resolved
packages/server/src/conversations/api.ts Show resolved Hide resolved
Copy link
Contributor

@laurentlp laurentlp left a comment

Choose a reason for hiding this comment

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

Solid work here, as usual!!!! 💯

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