@btst/stack 2.11.2 → 2.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugins/blog/api/index.d.cts +2 -2
- package/dist/plugins/blog/api/index.d.mts +2 -2
- package/dist/plugins/blog/api/index.d.ts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
- package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
- package/dist/plugins/blog/client/index.d.cts +2 -2
- package/dist/plugins/blog/client/index.d.mts +2 -2
- package/dist/plugins/blog/client/index.d.ts +2 -2
- package/dist/plugins/blog/query-keys.d.cts +2 -2
- package/dist/plugins/blog/query-keys.d.mts +2 -2
- package/dist/plugins/blog/query-keys.d.ts +2 -2
- package/dist/plugins/kanban/api/index.d.cts +1 -1
- package/dist/plugins/kanban/api/index.d.mts +1 -1
- package/dist/plugins/kanban/api/index.d.ts +1 -1
- package/dist/plugins/kanban/query-keys.d.cts +1 -1
- package/dist/plugins/kanban/query-keys.d.mts +1 -1
- package/dist/plugins/kanban/query-keys.d.ts +1 -1
- package/dist/shared/{stack.D0p6oNme.d.ts → stack.BQSy-NDc.d.ts} +11 -11
- package/dist/shared/{stack.E17kSK1W.d.mts → stack.CLrGRIj0.d.mts} +11 -11
- package/dist/shared/{stack.DWipT53I.d.cts → stack.CntKf20s.d.cts} +11 -11
- package/dist/shared/{stack.DOZ1EXjM.d.mts → stack.DGsFF5qb.d.cts} +5 -5
- package/dist/shared/{stack.DX-tQ93o.d.cts → stack.NtflNnnH.d.mts} +5 -5
- package/dist/shared/{stack.VF6FhyZw.d.ts → stack.QrBE0Bc8.d.ts} +5 -5
- package/package.json +4 -4
- package/dist/shared/{stack.j5SFLC1d.d.ts → stack.CMbX8Q5C.d.ts} +6 -6
- package/dist/shared/{stack.Bzfx-_lq.d.mts → stack.Dj04W2c3.d.mts} +6 -6
- package/dist/shared/{stack.BWp0hcm9.d.cts → stack.Sod_PZhB.d.cts} +7 -7
- package/dist/shared/{stack.BWp0hcm9.d.mts → stack.Sod_PZhB.d.mts} +7 -7
- package/dist/shared/{stack.BWp0hcm9.d.ts → stack.Sod_PZhB.d.ts} +7 -7
- package/dist/shared/{stack.B6S3cgwN.d.cts → stack.eq5eg1yt.d.cts} +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.
|
|
2
|
-
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.CntKf20s.cjs';
|
|
2
|
+
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.Sod_PZhB.cjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.
|
|
2
|
-
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.CLrGRIj0.mjs';
|
|
2
|
+
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.Sod_PZhB.mjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.
|
|
2
|
-
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.
|
|
1
|
+
export { B as BLOG_QUERY_KEYS, j as BlogApiContext, m as BlogApiRouter, k as BlogBackendHooks, h as BlogRouteKey, C as CreatePostInput, N as NextPreviousPostsQuerySchema, P as PostListParams, i as PostListQuerySchema, c as PostListResult, U as UpdatePostInput, l as blogBackendPlugin, f as createBlogQueryKeys, d as createPost, e as deletePost, g as getAllPosts, b as getAllTags, a as getPostBySlug, u as updatePost } from '../../../shared/stack.BQSy-NDc.js';
|
|
2
|
+
import { P as Post, T as Tag, S as SerializedPost, a as SerializedTag } from '../../../shared/stack.Sod_PZhB.js';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import '@btst/stack/plugins/client';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.
|
|
1
|
+
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.DGsFF5qb.cjs';
|
|
2
2
|
import '@tanstack/react-query';
|
|
3
|
-
import '../../../../shared/stack.
|
|
3
|
+
import '../../../../shared/stack.Sod_PZhB.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.
|
|
1
|
+
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.NtflNnnH.mjs';
|
|
2
2
|
import '@tanstack/react-query';
|
|
3
|
-
import '../../../../shared/stack.
|
|
3
|
+
import '../../../../shared/stack.Sod_PZhB.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.
|
|
1
|
+
export { P as PostCreateInput, e as PostUpdateInput, o as UseNextPreviousPostsOptions, p as UseNextPreviousPostsResult, d as UsePostResult, b as UsePostSearchOptions, c as UsePostSearchResult, U as UsePostsOptions, a as UsePostsResult, r as UseRecentPostsOptions, s as UseRecentPostsResult, k as useCreatePost, m as useDeletePost, q as useNextPreviousPosts, g as usePost, n as usePostSearch, u as usePosts, t as useRecentPosts, h as useSuspensePost, f as useSuspensePosts, j as useSuspenseTags, i as useTags, l as useUpdatePost } from '../../../../shared/stack.QrBE0Bc8.js';
|
|
2
2
|
import '@tanstack/react-query';
|
|
3
|
-
import '../../../../shared/stack.
|
|
3
|
+
import '../../../../shared/stack.Sod_PZhB.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
declare function useDebounce<T>(value: T, delay?: number): T;
|
|
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
|
2
2
|
import * as _btst_yar from '@btst/yar';
|
|
3
3
|
import { ComponentType, ReactNode } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
|
-
import { P as Post, S as SerializedPost } from '../../../shared/stack.
|
|
6
|
-
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.
|
|
5
|
+
import { P as Post, S as SerializedPost } from '../../../shared/stack.Sod_PZhB.cjs';
|
|
6
|
+
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.DGsFF5qb.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
|
2
2
|
import * as _btst_yar from '@btst/yar';
|
|
3
3
|
import { ComponentType, ReactNode } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
|
-
import { P as Post, S as SerializedPost } from '../../../shared/stack.
|
|
6
|
-
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.
|
|
5
|
+
import { P as Post, S as SerializedPost } from '../../../shared/stack.Sod_PZhB.mjs';
|
|
6
|
+
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.NtflNnnH.mjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,8 +2,8 @@ import * as _btst_stack_plugins_client from '@btst/stack/plugins/client';
|
|
|
2
2
|
import * as _btst_yar from '@btst/yar';
|
|
3
3
|
import { ComponentType, ReactNode } from 'react';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
|
-
import { P as Post, S as SerializedPost } from '../../../shared/stack.
|
|
6
|
-
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.
|
|
5
|
+
import { P as Post, S as SerializedPost } from '../../../shared/stack.Sod_PZhB.js';
|
|
6
|
+
export { U as UsePostsOptions, a as UsePostsResult } from '../../../shared/stack.QrBE0Bc8.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { f as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { f as createBlogQueryKeys } from '../../shared/stack.CntKf20s.cjs';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
|
-
import '../../shared/stack.
|
|
4
|
+
import '../../shared/stack.Sod_PZhB.cjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import '@btst/db';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { f as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { f as createBlogQueryKeys } from '../../shared/stack.CLrGRIj0.mjs';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
|
-
import '../../shared/stack.
|
|
4
|
+
import '../../shared/stack.Sod_PZhB.mjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import '@btst/db';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@tanstack/react-query';
|
|
2
|
-
export { f as createBlogQueryKeys } from '../../shared/stack.
|
|
2
|
+
export { f as createBlogQueryKeys } from '../../shared/stack.BQSy-NDc.js';
|
|
3
3
|
import '@btst/stack/plugins/client';
|
|
4
|
-
import '../../shared/stack.
|
|
4
|
+
import '../../shared/stack.Sod_PZhB.js';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
6
6
|
import '@btst/db';
|
|
7
7
|
import 'better-call';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.eq5eg1yt.cjs';
|
|
2
2
|
import { B as BoardWithColumns, S as SerializedBoardWithColumns, C as ColumnWithTasks, a as SerializedColumn, T as Task, b as SerializedTask } from '../../../shared/stack.DJaKVY7v.cjs';
|
|
3
3
|
import '@btst/stack/plugins/api';
|
|
4
4
|
import '@btst/db';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.Dj04W2c3.mjs';
|
|
2
2
|
import { B as BoardWithColumns, S as SerializedBoardWithColumns, C as ColumnWithTasks, a as SerializedColumn, T as Task, b as SerializedTask } from '../../../shared/stack.DJaKVY7v.mjs';
|
|
3
3
|
import '@btst/stack/plugins/api';
|
|
4
4
|
import '@btst/db';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.
|
|
1
|
+
export { B as BoardListResult, C as CreateKanbanTaskInput, i as KANBAN_QUERY_KEYS, b as KanbanApiContext, K as KanbanApiRouter, c as KanbanBackendHooks, a as KanbanRouteKey, e as createKanbanTask, f as findOrCreateKanbanBoard, g as getAllBoards, d as getBoardById, h as getKanbanColumnsByBoardId, k as kanbanBackendPlugin } from '../../../shared/stack.CMbX8Q5C.js';
|
|
2
2
|
import { B as BoardWithColumns, S as SerializedBoardWithColumns, C as ColumnWithTasks, a as SerializedColumn, T as Task, b as SerializedTask } from '../../../shared/stack.DJaKVY7v.js';
|
|
3
3
|
import '@btst/stack/plugins/api';
|
|
4
4
|
import '@btst/db';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.
|
|
2
|
+
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.eq5eg1yt.cjs';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
4
|
import { S as SerializedBoardWithColumns } from '../../shared/stack.DJaKVY7v.cjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.
|
|
2
|
+
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.Dj04W2c3.mjs';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
4
|
import { S as SerializedBoardWithColumns } from '../../shared/stack.DJaKVY7v.mjs';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.
|
|
2
|
+
import { K as KanbanApiRouter, j as BoardsListDiscriminator } from '../../shared/stack.CMbX8Q5C.js';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
4
|
import { S as SerializedBoardWithColumns } from '../../shared/stack.DJaKVY7v.js';
|
|
5
5
|
import '@btst/stack/plugins/api';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
|
-
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.
|
|
4
|
+
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.Sod_PZhB.js';
|
|
5
5
|
import * as _btst_stack_plugins_api from '@btst/stack/plugins/api';
|
|
6
6
|
import { DBAdapter } from '@btst/db';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
@@ -316,6 +316,12 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
316
316
|
title: string;
|
|
317
317
|
content: string;
|
|
318
318
|
excerpt: string;
|
|
319
|
+
slug?: string | undefined;
|
|
320
|
+
published?: boolean | undefined;
|
|
321
|
+
publishedAt?: unknown;
|
|
322
|
+
createdAt?: unknown;
|
|
323
|
+
updatedAt?: unknown;
|
|
324
|
+
image?: string | undefined;
|
|
319
325
|
tags?: ({
|
|
320
326
|
name: string;
|
|
321
327
|
} | {
|
|
@@ -323,16 +329,16 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
323
329
|
name: string;
|
|
324
330
|
slug: string;
|
|
325
331
|
})[] | undefined;
|
|
332
|
+
}, {
|
|
333
|
+
title: string;
|
|
334
|
+
content: string;
|
|
335
|
+
excerpt: string;
|
|
326
336
|
slug?: string | undefined;
|
|
327
337
|
published?: boolean | undefined;
|
|
328
338
|
publishedAt?: unknown;
|
|
329
339
|
createdAt?: unknown;
|
|
330
340
|
updatedAt?: unknown;
|
|
331
341
|
image?: string | undefined;
|
|
332
|
-
}, {
|
|
333
|
-
title: string;
|
|
334
|
-
content: string;
|
|
335
|
-
excerpt: string;
|
|
336
342
|
tags?: ({
|
|
337
343
|
name: string;
|
|
338
344
|
} | {
|
|
@@ -340,12 +346,6 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
340
346
|
name: string;
|
|
341
347
|
slug: string;
|
|
342
348
|
})[] | undefined;
|
|
343
|
-
slug?: string | undefined;
|
|
344
|
-
published?: boolean | undefined;
|
|
345
|
-
publishedAt?: unknown;
|
|
346
|
-
createdAt?: unknown;
|
|
347
|
-
updatedAt?: unknown;
|
|
348
|
-
image?: string | undefined;
|
|
349
349
|
}>;
|
|
350
350
|
}, Post>;
|
|
351
351
|
readonly updatePost: better_call.StrictEndpoint<"/posts/:id", {} & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
|
-
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.
|
|
4
|
+
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.Sod_PZhB.mjs';
|
|
5
5
|
import * as _btst_stack_plugins_api from '@btst/stack/plugins/api';
|
|
6
6
|
import { DBAdapter } from '@btst/db';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
@@ -316,6 +316,12 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
316
316
|
title: string;
|
|
317
317
|
content: string;
|
|
318
318
|
excerpt: string;
|
|
319
|
+
slug?: string | undefined;
|
|
320
|
+
published?: boolean | undefined;
|
|
321
|
+
publishedAt?: unknown;
|
|
322
|
+
createdAt?: unknown;
|
|
323
|
+
updatedAt?: unknown;
|
|
324
|
+
image?: string | undefined;
|
|
319
325
|
tags?: ({
|
|
320
326
|
name: string;
|
|
321
327
|
} | {
|
|
@@ -323,16 +329,16 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
323
329
|
name: string;
|
|
324
330
|
slug: string;
|
|
325
331
|
})[] | undefined;
|
|
332
|
+
}, {
|
|
333
|
+
title: string;
|
|
334
|
+
content: string;
|
|
335
|
+
excerpt: string;
|
|
326
336
|
slug?: string | undefined;
|
|
327
337
|
published?: boolean | undefined;
|
|
328
338
|
publishedAt?: unknown;
|
|
329
339
|
createdAt?: unknown;
|
|
330
340
|
updatedAt?: unknown;
|
|
331
341
|
image?: string | undefined;
|
|
332
|
-
}, {
|
|
333
|
-
title: string;
|
|
334
|
-
content: string;
|
|
335
|
-
excerpt: string;
|
|
336
342
|
tags?: ({
|
|
337
343
|
name: string;
|
|
338
344
|
} | {
|
|
@@ -340,12 +346,6 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
340
346
|
name: string;
|
|
341
347
|
slug: string;
|
|
342
348
|
})[] | undefined;
|
|
343
|
-
slug?: string | undefined;
|
|
344
|
-
published?: boolean | undefined;
|
|
345
|
-
publishedAt?: unknown;
|
|
346
|
-
createdAt?: unknown;
|
|
347
|
-
updatedAt?: unknown;
|
|
348
|
-
image?: string | undefined;
|
|
349
349
|
}>;
|
|
350
350
|
}, Post>;
|
|
351
351
|
readonly updatePost: better_call.StrictEndpoint<"/posts/:id", {} & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { QueryClient } from '@tanstack/react-query';
|
|
3
3
|
import { createApiClient } from '@btst/stack/plugins/client';
|
|
4
|
-
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.
|
|
4
|
+
import { P as Post, T as Tag, c as createPostSchema, u as updatePostSchema, S as SerializedPost, a as SerializedTag } from './stack.Sod_PZhB.cjs';
|
|
5
5
|
import * as _btst_stack_plugins_api from '@btst/stack/plugins/api';
|
|
6
6
|
import { DBAdapter } from '@btst/db';
|
|
7
7
|
import * as better_call from 'better-call';
|
|
@@ -316,6 +316,12 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
316
316
|
title: string;
|
|
317
317
|
content: string;
|
|
318
318
|
excerpt: string;
|
|
319
|
+
slug?: string | undefined;
|
|
320
|
+
published?: boolean | undefined;
|
|
321
|
+
publishedAt?: unknown;
|
|
322
|
+
createdAt?: unknown;
|
|
323
|
+
updatedAt?: unknown;
|
|
324
|
+
image?: string | undefined;
|
|
319
325
|
tags?: ({
|
|
320
326
|
name: string;
|
|
321
327
|
} | {
|
|
@@ -323,16 +329,16 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
323
329
|
name: string;
|
|
324
330
|
slug: string;
|
|
325
331
|
})[] | undefined;
|
|
332
|
+
}, {
|
|
333
|
+
title: string;
|
|
334
|
+
content: string;
|
|
335
|
+
excerpt: string;
|
|
326
336
|
slug?: string | undefined;
|
|
327
337
|
published?: boolean | undefined;
|
|
328
338
|
publishedAt?: unknown;
|
|
329
339
|
createdAt?: unknown;
|
|
330
340
|
updatedAt?: unknown;
|
|
331
341
|
image?: string | undefined;
|
|
332
|
-
}, {
|
|
333
|
-
title: string;
|
|
334
|
-
content: string;
|
|
335
|
-
excerpt: string;
|
|
336
342
|
tags?: ({
|
|
337
343
|
name: string;
|
|
338
344
|
} | {
|
|
@@ -340,12 +346,6 @@ declare const blogBackendPlugin: (hooks?: BlogBackendHooks) => _btst_stack_plugi
|
|
|
340
346
|
name: string;
|
|
341
347
|
slug: string;
|
|
342
348
|
})[] | undefined;
|
|
343
|
-
slug?: string | undefined;
|
|
344
|
-
published?: boolean | undefined;
|
|
345
|
-
publishedAt?: unknown;
|
|
346
|
-
createdAt?: unknown;
|
|
347
|
-
updatedAt?: unknown;
|
|
348
|
-
image?: string | undefined;
|
|
349
349
|
}>;
|
|
350
350
|
}, Post>;
|
|
351
351
|
readonly updatePost: better_call.StrictEndpoint<"/posts/:id", {} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.
|
|
2
|
+
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.Sod_PZhB.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -128,6 +128,10 @@ declare function useSuspenseTags(): {
|
|
|
128
128
|
};
|
|
129
129
|
/** Create a new post */
|
|
130
130
|
declare function useCreatePost(): _tanstack_react_query.UseMutationResult<SerializedPost | null, Error, {
|
|
131
|
+
published: boolean;
|
|
132
|
+
title: string;
|
|
133
|
+
content: string;
|
|
134
|
+
excerpt: string;
|
|
131
135
|
tags: ({
|
|
132
136
|
name: string;
|
|
133
137
|
} | {
|
|
@@ -135,10 +139,6 @@ declare function useCreatePost(): _tanstack_react_query.UseMutationResult<Serial
|
|
|
135
139
|
name: string;
|
|
136
140
|
slug: string;
|
|
137
141
|
})[];
|
|
138
|
-
published: boolean;
|
|
139
|
-
title: string;
|
|
140
|
-
content: string;
|
|
141
|
-
excerpt: string;
|
|
142
142
|
slug?: string | undefined;
|
|
143
143
|
publishedAt?: Date | undefined;
|
|
144
144
|
createdAt?: Date | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.
|
|
2
|
+
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.Sod_PZhB.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -128,6 +128,10 @@ declare function useSuspenseTags(): {
|
|
|
128
128
|
};
|
|
129
129
|
/** Create a new post */
|
|
130
130
|
declare function useCreatePost(): _tanstack_react_query.UseMutationResult<SerializedPost | null, Error, {
|
|
131
|
+
published: boolean;
|
|
132
|
+
title: string;
|
|
133
|
+
content: string;
|
|
134
|
+
excerpt: string;
|
|
131
135
|
tags: ({
|
|
132
136
|
name: string;
|
|
133
137
|
} | {
|
|
@@ -135,10 +139,6 @@ declare function useCreatePost(): _tanstack_react_query.UseMutationResult<Serial
|
|
|
135
139
|
name: string;
|
|
136
140
|
slug: string;
|
|
137
141
|
})[];
|
|
138
|
-
published: boolean;
|
|
139
|
-
title: string;
|
|
140
|
-
content: string;
|
|
141
|
-
excerpt: string;
|
|
142
142
|
slug?: string | undefined;
|
|
143
143
|
publishedAt?: Date | undefined;
|
|
144
144
|
createdAt?: Date | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.
|
|
2
|
+
import { S as SerializedPost, c as createPostSchema, u as updatePostSchema, a as SerializedTag } from './stack.Sod_PZhB.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -128,6 +128,10 @@ declare function useSuspenseTags(): {
|
|
|
128
128
|
};
|
|
129
129
|
/** Create a new post */
|
|
130
130
|
declare function useCreatePost(): _tanstack_react_query.UseMutationResult<SerializedPost | null, Error, {
|
|
131
|
+
published: boolean;
|
|
132
|
+
title: string;
|
|
133
|
+
content: string;
|
|
134
|
+
excerpt: string;
|
|
131
135
|
tags: ({
|
|
132
136
|
name: string;
|
|
133
137
|
} | {
|
|
@@ -135,10 +139,6 @@ declare function useCreatePost(): _tanstack_react_query.UseMutationResult<Serial
|
|
|
135
139
|
name: string;
|
|
136
140
|
slug: string;
|
|
137
141
|
})[];
|
|
138
|
-
published: boolean;
|
|
139
|
-
title: string;
|
|
140
|
-
content: string;
|
|
141
|
-
excerpt: string;
|
|
142
142
|
slug?: string | undefined;
|
|
143
143
|
publishedAt?: Date | undefined;
|
|
144
144
|
createdAt?: Date | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btst/stack",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.3",
|
|
4
4
|
"description": "A composable, plugin-based library for building full-stack applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
}
|
|
743
743
|
},
|
|
744
744
|
"dependencies": {
|
|
745
|
-
"@btst/db": "2.
|
|
745
|
+
"@btst/db": "2.2.1",
|
|
746
746
|
"@lukemorales/query-key-factory": "^1.3.4",
|
|
747
747
|
"@milkdown/crepe": "^7.17.1",
|
|
748
748
|
"@milkdown/kit": "^7.17.1",
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
"@tanstack/react-query": "^5.0.0",
|
|
764
764
|
"@vercel/blob": ">=0.14.0",
|
|
765
765
|
"ai": ">=5.0.0",
|
|
766
|
-
"better-call": ">=1.3.
|
|
766
|
+
"better-call": ">=1.3.5",
|
|
767
767
|
"class-variance-authority": ">=0.7.0",
|
|
768
768
|
"clsx": ">=2.1.0",
|
|
769
769
|
"cmdk": ">=1.1.0",
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
"@ai-sdk/react": "^2.0.94",
|
|
802
802
|
"@aws-sdk/client-s3": "^3.1011.0",
|
|
803
803
|
"@aws-sdk/s3-request-presigner": "^3.1011.0",
|
|
804
|
-
"@btst/adapter-memory": "2.
|
|
804
|
+
"@btst/adapter-memory": "2.2.1",
|
|
805
805
|
"@btst/yar": "1.2.0",
|
|
806
806
|
"@types/react": "^19.0.0",
|
|
807
807
|
"@types/slug": "^5.0.9",
|
|
@@ -7,12 +7,12 @@ import { QueryClient } from '@tanstack/react-query';
|
|
|
7
7
|
|
|
8
8
|
declare const createBoardSchema: z.ZodObject<{
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
name: z.ZodString;
|
|
10
11
|
slug: z.ZodOptional<z.ZodString>;
|
|
11
12
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
14
15
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
15
|
-
name: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const updateBoardSchema: z.ZodObject<{
|
|
18
18
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -26,10 +26,10 @@ declare const updateBoardSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
declare const createColumnSchema: z.ZodObject<{
|
|
28
28
|
title: z.ZodString;
|
|
29
|
+
boardId: z.ZodString;
|
|
29
30
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
30
31
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
31
32
|
order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
-
boardId: z.ZodString;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
declare const updateColumnSchema: z.ZodObject<{
|
|
35
35
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -360,20 +360,20 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
360
360
|
method: "PUT";
|
|
361
361
|
body: better_call.StandardSchemaV1<{
|
|
362
362
|
description?: string | undefined;
|
|
363
|
+
name?: string | undefined;
|
|
363
364
|
slug?: string | undefined;
|
|
364
365
|
ownerId?: string | undefined;
|
|
365
366
|
organizationId?: string | undefined;
|
|
366
367
|
createdAt?: unknown;
|
|
367
368
|
updatedAt?: unknown;
|
|
368
|
-
name?: string | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
description?: string | undefined;
|
|
371
|
+
name?: string | undefined;
|
|
371
372
|
slug?: string | undefined;
|
|
372
373
|
ownerId?: string | undefined;
|
|
373
374
|
organizationId?: string | undefined;
|
|
374
375
|
createdAt?: unknown;
|
|
375
376
|
updatedAt?: unknown;
|
|
376
|
-
name?: string | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
}, Board>;
|
|
379
379
|
readonly deleteBoard: better_call.StrictEndpoint<"/boards/:id", {} & {
|
|
@@ -402,16 +402,16 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
402
402
|
method: "PUT";
|
|
403
403
|
body: better_call.StandardSchemaV1<{
|
|
404
404
|
title?: string | undefined;
|
|
405
|
+
boardId?: string | undefined;
|
|
405
406
|
createdAt?: unknown;
|
|
406
407
|
updatedAt?: unknown;
|
|
407
408
|
order?: number | undefined;
|
|
408
|
-
boardId?: string | undefined;
|
|
409
409
|
}, {
|
|
410
410
|
title?: string | undefined;
|
|
411
|
+
boardId?: string | undefined;
|
|
411
412
|
createdAt?: unknown;
|
|
412
413
|
updatedAt?: unknown;
|
|
413
414
|
order?: number | undefined;
|
|
414
|
-
boardId?: string | undefined;
|
|
415
415
|
}>;
|
|
416
416
|
}, Column>;
|
|
417
417
|
readonly deleteColumn: better_call.StrictEndpoint<"/columns/:id", {} & {
|
|
@@ -7,12 +7,12 @@ import { QueryClient } from '@tanstack/react-query';
|
|
|
7
7
|
|
|
8
8
|
declare const createBoardSchema: z.ZodObject<{
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
name: z.ZodString;
|
|
10
11
|
slug: z.ZodOptional<z.ZodString>;
|
|
11
12
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
14
15
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
15
|
-
name: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const updateBoardSchema: z.ZodObject<{
|
|
18
18
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -26,10 +26,10 @@ declare const updateBoardSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
declare const createColumnSchema: z.ZodObject<{
|
|
28
28
|
title: z.ZodString;
|
|
29
|
+
boardId: z.ZodString;
|
|
29
30
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
30
31
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
31
32
|
order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
-
boardId: z.ZodString;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
declare const updateColumnSchema: z.ZodObject<{
|
|
35
35
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -360,20 +360,20 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
360
360
|
method: "PUT";
|
|
361
361
|
body: better_call.StandardSchemaV1<{
|
|
362
362
|
description?: string | undefined;
|
|
363
|
+
name?: string | undefined;
|
|
363
364
|
slug?: string | undefined;
|
|
364
365
|
ownerId?: string | undefined;
|
|
365
366
|
organizationId?: string | undefined;
|
|
366
367
|
createdAt?: unknown;
|
|
367
368
|
updatedAt?: unknown;
|
|
368
|
-
name?: string | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
description?: string | undefined;
|
|
371
|
+
name?: string | undefined;
|
|
371
372
|
slug?: string | undefined;
|
|
372
373
|
ownerId?: string | undefined;
|
|
373
374
|
organizationId?: string | undefined;
|
|
374
375
|
createdAt?: unknown;
|
|
375
376
|
updatedAt?: unknown;
|
|
376
|
-
name?: string | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
}, Board>;
|
|
379
379
|
readonly deleteBoard: better_call.StrictEndpoint<"/boards/:id", {} & {
|
|
@@ -402,16 +402,16 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
402
402
|
method: "PUT";
|
|
403
403
|
body: better_call.StandardSchemaV1<{
|
|
404
404
|
title?: string | undefined;
|
|
405
|
+
boardId?: string | undefined;
|
|
405
406
|
createdAt?: unknown;
|
|
406
407
|
updatedAt?: unknown;
|
|
407
408
|
order?: number | undefined;
|
|
408
|
-
boardId?: string | undefined;
|
|
409
409
|
}, {
|
|
410
410
|
title?: string | undefined;
|
|
411
|
+
boardId?: string | undefined;
|
|
411
412
|
createdAt?: unknown;
|
|
412
413
|
updatedAt?: unknown;
|
|
413
414
|
order?: number | undefined;
|
|
414
|
-
boardId?: string | undefined;
|
|
415
415
|
}>;
|
|
416
416
|
}, Column>;
|
|
417
417
|
readonly deleteColumn: better_call.StrictEndpoint<"/columns/:id", {} & {
|
|
@@ -35,13 +35,6 @@ interface SerializedTag extends Omit<Tag, "createdAt" | "updatedAt"> {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
declare const createPostSchema: z.ZodObject<{
|
|
38
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
id: z.ZodString;
|
|
42
|
-
name: z.ZodString;
|
|
43
|
-
slug: z.ZodString;
|
|
44
|
-
}, z.core.$strip>]>>>>;
|
|
45
38
|
slug: z.ZodOptional<z.ZodString>;
|
|
46
39
|
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
47
40
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -51,6 +44,13 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
51
44
|
content: z.ZodString;
|
|
52
45
|
excerpt: z.ZodString;
|
|
53
46
|
image: z.ZodOptional<z.ZodString>;
|
|
47
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
slug: z.ZodString;
|
|
53
|
+
}, z.core.$strip>]>>>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const updatePostSchema: z.ZodObject<{
|
|
56
56
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -35,13 +35,6 @@ interface SerializedTag extends Omit<Tag, "createdAt" | "updatedAt"> {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
declare const createPostSchema: z.ZodObject<{
|
|
38
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
id: z.ZodString;
|
|
42
|
-
name: z.ZodString;
|
|
43
|
-
slug: z.ZodString;
|
|
44
|
-
}, z.core.$strip>]>>>>;
|
|
45
38
|
slug: z.ZodOptional<z.ZodString>;
|
|
46
39
|
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
47
40
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -51,6 +44,13 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
51
44
|
content: z.ZodString;
|
|
52
45
|
excerpt: z.ZodString;
|
|
53
46
|
image: z.ZodOptional<z.ZodString>;
|
|
47
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
slug: z.ZodString;
|
|
53
|
+
}, z.core.$strip>]>>>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const updatePostSchema: z.ZodObject<{
|
|
56
56
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -35,13 +35,6 @@ interface SerializedTag extends Omit<Tag, "createdAt" | "updatedAt"> {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
declare const createPostSchema: z.ZodObject<{
|
|
38
|
-
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
39
|
-
name: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
id: z.ZodString;
|
|
42
|
-
name: z.ZodString;
|
|
43
|
-
slug: z.ZodString;
|
|
44
|
-
}, z.core.$strip>]>>>>;
|
|
45
38
|
slug: z.ZodOptional<z.ZodString>;
|
|
46
39
|
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
47
40
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -51,6 +44,13 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
51
44
|
content: z.ZodString;
|
|
52
45
|
excerpt: z.ZodString;
|
|
53
46
|
image: z.ZodOptional<z.ZodString>;
|
|
47
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodString;
|
|
52
|
+
slug: z.ZodString;
|
|
53
|
+
}, z.core.$strip>]>>>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const updatePostSchema: z.ZodObject<{
|
|
56
56
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -7,12 +7,12 @@ import { QueryClient } from '@tanstack/react-query';
|
|
|
7
7
|
|
|
8
8
|
declare const createBoardSchema: z.ZodObject<{
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
name: z.ZodString;
|
|
10
11
|
slug: z.ZodOptional<z.ZodString>;
|
|
11
12
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
14
15
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
15
|
-
name: z.ZodString;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const updateBoardSchema: z.ZodObject<{
|
|
18
18
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -26,10 +26,10 @@ declare const updateBoardSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
declare const createColumnSchema: z.ZodObject<{
|
|
28
28
|
title: z.ZodString;
|
|
29
|
+
boardId: z.ZodString;
|
|
29
30
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
30
31
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
31
32
|
order: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
-
boardId: z.ZodString;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
declare const updateColumnSchema: z.ZodObject<{
|
|
35
35
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -360,20 +360,20 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
360
360
|
method: "PUT";
|
|
361
361
|
body: better_call.StandardSchemaV1<{
|
|
362
362
|
description?: string | undefined;
|
|
363
|
+
name?: string | undefined;
|
|
363
364
|
slug?: string | undefined;
|
|
364
365
|
ownerId?: string | undefined;
|
|
365
366
|
organizationId?: string | undefined;
|
|
366
367
|
createdAt?: unknown;
|
|
367
368
|
updatedAt?: unknown;
|
|
368
|
-
name?: string | undefined;
|
|
369
369
|
}, {
|
|
370
370
|
description?: string | undefined;
|
|
371
|
+
name?: string | undefined;
|
|
371
372
|
slug?: string | undefined;
|
|
372
373
|
ownerId?: string | undefined;
|
|
373
374
|
organizationId?: string | undefined;
|
|
374
375
|
createdAt?: unknown;
|
|
375
376
|
updatedAt?: unknown;
|
|
376
|
-
name?: string | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
}, Board>;
|
|
379
379
|
readonly deleteBoard: better_call.StrictEndpoint<"/boards/:id", {} & {
|
|
@@ -402,16 +402,16 @@ declare const kanbanBackendPlugin: (hooks?: KanbanBackendHooks) => _btst_stack_p
|
|
|
402
402
|
method: "PUT";
|
|
403
403
|
body: better_call.StandardSchemaV1<{
|
|
404
404
|
title?: string | undefined;
|
|
405
|
+
boardId?: string | undefined;
|
|
405
406
|
createdAt?: unknown;
|
|
406
407
|
updatedAt?: unknown;
|
|
407
408
|
order?: number | undefined;
|
|
408
|
-
boardId?: string | undefined;
|
|
409
409
|
}, {
|
|
410
410
|
title?: string | undefined;
|
|
411
|
+
boardId?: string | undefined;
|
|
411
412
|
createdAt?: unknown;
|
|
412
413
|
updatedAt?: unknown;
|
|
413
414
|
order?: number | undefined;
|
|
414
|
-
boardId?: string | undefined;
|
|
415
415
|
}>;
|
|
416
416
|
}, Column>;
|
|
417
417
|
readonly deleteColumn: better_call.StrictEndpoint<"/columns/:id", {} & {
|