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 68e2e08 commit e0465c9
Show file tree
Hide file tree
Showing 9 changed files with 336 additions and 103 deletions.
387 changes: 288 additions & 99 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 @@ -42,17 +42,17 @@
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"vite": "^4.4.4",
"zenstack": "^2.8.1"
"zenstack": "^2.9.0"
},
"type": "module",
"dependencies": {
"@prisma/client": "^5.19.1",
"@steeze-ui/heroicons": "^2.2.3",
"@steeze-ui/svelte-icon": "^1.5.0",
"@tanstack/svelte-query": "^4.32.6",
"@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",
"bcryptjs": "^2.4.3",
"daisyui": "^2.51.5",
"jsonwebtoken": "^9.0.0",
Expand Down
6 changes: 6 additions & 0 deletions src/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
8 changes: 8 additions & 0 deletions src/lib/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
/******************************************************************************
* This file was generated by ZenStack CLI 2.9.0.
******************************************************************************/

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

export * from './space';
export * from './space-user';
export * from './user';
export * from './list';
export * from './todo';
export { getQueryKey } from '@zenstackhq/tanstack-query/runtime-v5';
export { SvelteQueryContextKey, setHooksContext } from '@zenstackhq/tanstack-query/runtime-v5/svelte';
export { default as metadata } from './__model_meta';
6 changes: 6 additions & 0 deletions src/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 { derived } from 'svelte/store';
import type { MutationOptions, CreateQueryOptions, CreateInfiniteQueryOptions } from '@tanstack/svelte-query';
Expand Down
6 changes: 6 additions & 0 deletions src/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 { derived } from 'svelte/store';
import type { MutationOptions, CreateQueryOptions, CreateInfiniteQueryOptions } from '@tanstack/svelte-query';
Expand Down
6 changes: 6 additions & 0 deletions src/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 { derived } from 'svelte/store';
import type { MutationOptions, CreateQueryOptions, CreateInfiniteQueryOptions } from '@tanstack/svelte-query';
Expand Down
6 changes: 6 additions & 0 deletions src/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 { derived } from 'svelte/store';
import type { MutationOptions, CreateQueryOptions, CreateInfiniteQueryOptions } from '@tanstack/svelte-query';
Expand Down
6 changes: 6 additions & 0 deletions src/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 { derived } from 'svelte/store';
import type { MutationOptions, CreateQueryOptions, CreateInfiniteQueryOptions } from '@tanstack/svelte-query';
Expand Down

0 comments on commit e0465c9

Please sign in to comment.