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

[web-client] Make graph abstraction layer useful #10808

Open
5 tasks
JammingBen opened this issue Apr 19, 2024 · 0 comments
Open
5 tasks

[web-client] Make graph abstraction layer useful #10808

JammingBen opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
Category:Technical Technical ehancements

Comments

@JammingBen
Copy link
Collaborator

The web-client package follows the paradigm of providing an abstraction layer between the server and a (web-) application that converts API data into objects with helpful types and utilities. This ensures that users of the server APIs don't need in-depth knowledge about them.

However, the Graph layer is currently an exception to this as it doesn't process any data returned by the server. We want to change that so it aligns with the other layers.

Acceptance criteria

  • Split up the index.ts file into separate factories (similar to the WebDAV implementation)
  • Drives are being returned as SpaceResource
  • Drive items and their permissions are being returned as OutgoingShareResource or IncomingShareResource
  • Permissions are being returned as Share
  • Think about a convenient way to provide options such as filters
@JammingBen JammingBen added the Category:Technical Technical ehancements label Apr 19, 2024
@JammingBen JammingBen self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Technical Technical ehancements
Projects
Status: Refactor / Technical Debt
Development

No branches or pull requests

1 participant