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

[CAL-3580] [Api][v2] schedules endpoints should be client agnostic #14797

Closed
ThyMinimalDev opened this issue Apr 29, 2024 · 1 comment
Closed
Labels
api area: API, enterprise API, access token, OAuth ⚛️ atoms Created by Linear-GitHub Sync platform Anything related to our platform plan Urgent Created by Linear-GitHub Sync
Milestone

Comments

@ThyMinimalDev
Copy link
Contributor

ThyMinimalDev commented Apr 29, 2024

  • createSchedule
  • getDefaultSchedule
  • getSchedule
  • getSchedules
  • updateSchedule
    • updateScheduleHandler from platform-libraries seems to already format data for client, do another prisma call inside of v2 to get the data instead of returning directly data from this handler
  • deleteSchedule

remove all mentions of Atoms, function formatScheduleForAtom should be used inside of atoms PlatformWrappers

  • useClientSchedule
  • useDeleteSchedule
  • useUpdateSchedule
  • add a new hook useCreateSchedule
  • add a new hook useGetSchedules

From SyncLinear.com | CAL-3580

@ThyMinimalDev ThyMinimalDev added api area: API, enterprise API, access token, OAuth platform Anything related to our platform plan Urgent Created by Linear-GitHub Sync ⚛️ atoms Created by Linear-GitHub Sync zapier Created by Linear-GitHub Sync labels Apr 29, 2024
@ThyMinimalDev
Copy link
Contributor Author

@ThyMinimalDev ThyMinimalDev removed the zapier Created by Linear-GitHub Sync label Apr 29, 2024
@ThyMinimalDev ThyMinimalDev added this to the v4.2 milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api area: API, enterprise API, access token, OAuth ⚛️ atoms Created by Linear-GitHub Sync platform Anything related to our platform plan Urgent Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

1 participant