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

new controllers for workbooks #237

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

stepanenkoxx
Copy link
Collaborator

No description provided.

@@ -24,7 +24,9 @@ const schema = workbookModel.schema
)
.describe('Workbook instance');

const format = (data: WorkbookInstance): z.infer<typeof schema> => {
export type WorkbookInstanceResponseModel = z.infer<typeof schema>;
Copy link
Collaborator Author

@stepanenkoxx stepanenkoxx Jan 17, 2025

Choose a reason for hiding this comment

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

think we must always store z.infer in separate types
this makes it possible to read types in a more familiar way than zod schemas

Screenshot 2025-01-17 at 17 11 41

@stepanenkoxx stepanenkoxx marked this pull request as ready for review January 17, 2025 14:53
src/controllers/workbooks/update-workbook.ts Outdated Show resolved Hide resolved
src/controllers/workbooks/copy-workbook.ts Show resolved Hide resolved
src/controllers/workbooks/delete-workbooks-list.ts Outdated Show resolved Hide resolved
src/controllers/workbooks/move-workbooks-list.ts Outdated Show resolved Hide resolved
typings/nodekit.d.ts Show resolved Hide resolved
@stepanenkoxx stepanenkoxx merged commit 17eb3c1 into main Jan 20, 2025
5 checks passed
@stepanenkoxx stepanenkoxx deleted the CHARTS-10956-workbooks-new-controllers branch January 20, 2025 13:54
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