Skip to content

Commit 7b43858

Browse files
committed
chore: update to latest ZenStack
1 parent 965ed76 commit 7b43858

File tree

10 files changed

+242
-61
lines changed

10 files changed

+242
-61
lines changed

lib/hooks/__model_meta.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
const metadata = {
39
models: {
410
space: {

lib/hooks/account.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, Account } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

lib/hooks/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
5+
/* eslint-disable */
6+
// @ts-nocheck
7+
18
export * from './space';
29
export * from './space-user';
310
export * from './user';
@@ -6,3 +13,4 @@ export * from './todo';
613
export * from './account';
714
export { getQueryKey } from '@zenstackhq/tanstack-query/runtime-v5';
815
export { Provider } from '@zenstackhq/tanstack-query/runtime-v5/react';
16+
export { default as metadata } from './__model_meta';

lib/hooks/list.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, List } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

lib/hooks/space-user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, SpaceUser } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

lib/hooks/space.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, Space } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

lib/hooks/todo.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, Todo } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

lib/hooks/user.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
/******************************************************************************
2+
* This file was generated by ZenStack CLI 2.9.0.
3+
******************************************************************************/
4+
15
/* eslint-disable */
6+
// @ts-nocheck
7+
28
import type { Prisma, User } from "@zenstackhq/runtime/models";
39
import type { UseMutationOptions, UseQueryOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
410
import { getHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/react';

package-lock.json

Lines changed: 188 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"@prisma/client": "^5.19.1",
2525
"@tanstack/react-query": "^5.8.4",
2626
"@tanstack/react-query-devtools": "^5.8.3",
27-
"@zenstackhq/runtime": "^2.8.1",
28-
"@zenstackhq/server": "^2.8.1",
29-
"@zenstackhq/tanstack-query": "^2.8.1",
27+
"@zenstackhq/runtime": "^2.9.0",
28+
"@zenstackhq/server": "^2.9.0",
29+
"@zenstackhq/tanstack-query": "^2.9.0",
3030
"babel-plugin-superjson-next": "^0.4.5",
3131
"bcryptjs": "^2.4.3",
3232
"daisyui": "^4.0.7",
@@ -56,6 +56,6 @@
5656
"prisma": "^5.19.1",
5757
"tailwindcss": "^3.1.8",
5858
"typescript": "^5.3.2",
59-
"zenstack": "^2.8.1"
59+
"zenstack": "^2.9.0"
6060
}
6161
}

0 commit comments

Comments
 (0)