Skip to content

Commit

Permalink
chore: update to latest ZenStack
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Nov 18, 2024
1 parent 965ed76 commit 7b43858
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 61 deletions.
6 changes: 6 additions & 0 deletions lib/hooks/__model_meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

const metadata = {
models: {
space: {
Expand Down
6 changes: 6 additions & 0 deletions lib/hooks/account.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, Account } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
8 changes: 8 additions & 0 deletions lib/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

export * from './space';
export * from './space-user';
export * from './user';
Expand All @@ -6,3 +13,4 @@ export * from './todo';
export * from './account';
export { getQueryKey } from '@zenstackhq/tanstack-query/runtime-v5';
export { Provider } from '@zenstackhq/tanstack-query/runtime-v5/react';
export { default as metadata } from './__model_meta';
6 changes: 6 additions & 0 deletions lib/hooks/list.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, List } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
6 changes: 6 additions & 0 deletions lib/hooks/space-user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, SpaceUser } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
6 changes: 6 additions & 0 deletions lib/hooks/space.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, Space } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
6 changes: 6 additions & 0 deletions lib/hooks/todo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, Todo } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
6 changes: 6 additions & 0 deletions lib/hooks/user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

/* eslint-disable */
// @ts-nocheck

import type { Prisma, User } from "@zenstackhq/runtime/models";
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';
Expand Down
245 changes: 188 additions & 57 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"@prisma/client": "^5.19.1",
"@tanstack/react-query": "^5.8.4",
"@tanstack/react-query-devtools": "^5.8.3",
"@zenstackhq/runtime": "^2.8.1",
"@zenstackhq/server": "^2.8.1",
"@zenstackhq/tanstack-query": "^2.8.1",
"@zenstackhq/runtime": "^2.9.0",
"@zenstackhq/server": "^2.9.0",
"@zenstackhq/tanstack-query": "^2.9.0",
"babel-plugin-superjson-next": "^0.4.5",
"bcryptjs": "^2.4.3",
"daisyui": "^4.0.7",
Expand Down Expand Up @@ -56,6 +56,6 @@
"prisma": "^5.19.1",
"tailwindcss": "^3.1.8",
"typescript": "^5.3.2",
"zenstack": "^2.8.1"
"zenstack": "^2.9.0"
}
}

0 comments on commit 7b43858

Please sign in to comment.