@btst/stack 3.0.0-rc.4 → 3.0.0
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/README.md +1 -1
- 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/client/hooks/index.d.cts +1 -1
- package/dist/plugins/kanban/client/hooks/index.d.mts +1 -1
- package/dist/plugins/kanban/client/hooks/index.d.ts +1 -1
- package/dist/plugins/kanban/client/index.d.cts +1 -1
- package/dist/plugins/kanban/client/index.d.mts +1 -1
- package/dist/plugins/kanban/client/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.BggTHKlo.d.mts → stack.CZ1h_T4k.d.mts} +90 -90
- package/dist/shared/{stack.DfrRYOIl.d.ts → stack.CnDMBj4z.d.ts} +5 -5
- package/dist/shared/{stack.94kN3pEK.d.mts → stack.D2y4gl03.d.mts} +5 -5
- package/dist/shared/{stack.lPKwd_v0.d.ts → stack.DQpyA3Cq.d.ts} +90 -90
- package/dist/shared/{stack.CtrnoQgH.d.cts → stack.DiYg7Jw1.d.cts} +90 -90
- package/dist/shared/{stack.BTStHVTy.d.cts → stack.rmWRtSjs.d.cts} +5 -5
- package/package.json +1 -1
- package/dist/shared/{stack.B1UrNoVl.d.mts → stack.CMc8mLyD.d.mts} +75 -75
- package/dist/shared/{stack.CKc_Bais.d.cts → stack.DtZgEX84.d.cts} +6 -6
- package/dist/shared/{stack.CKc_Bais.d.mts → stack.DtZgEX84.d.mts} +6 -6
- package/dist/shared/{stack.CKc_Bais.d.ts → stack.DtZgEX84.d.ts} +6 -6
- package/dist/shared/{stack.0y6iTP03.d.ts → stack.Y91icYuv.d.ts} +75 -75
- package/dist/shared/{stack.Mak7pzIV.d.cts → stack._CObfJbw.d.cts} +75 -75
|
@@ -15,9 +15,9 @@ declare const BoardIdOperationInputSchema: z.ZodObject<{
|
|
|
15
15
|
declare const UpdateBoardOperationInputSchema: z.ZodObject<{
|
|
16
16
|
id: z.ZodString;
|
|
17
17
|
data: z.ZodObject<{
|
|
18
|
-
name: z.ZodOptional<z.ZodString>;
|
|
19
18
|
slug: z.ZodOptional<z.ZodString>;
|
|
20
19
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
declare const ColumnIdOperationInputSchema: z.ZodObject<{
|
|
@@ -26,9 +26,9 @@ declare const ColumnIdOperationInputSchema: z.ZodObject<{
|
|
|
26
26
|
declare const UpdateColumnOperationInputSchema: z.ZodObject<{
|
|
27
27
|
id: z.ZodString;
|
|
28
28
|
data: z.ZodObject<{
|
|
29
|
-
order: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
30
29
|
title: z.ZodOptional<z.ZodString>;
|
|
31
30
|
boardId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
declare const TaskIdOperationInputSchema: z.ZodObject<{
|
|
@@ -37,19 +37,19 @@ declare const TaskIdOperationInputSchema: z.ZodObject<{
|
|
|
37
37
|
declare const UpdateTaskOperationInputSchema: z.ZodObject<{
|
|
38
38
|
id: z.ZodString;
|
|
39
39
|
data: z.ZodObject<{
|
|
40
|
+
title: z.ZodOptional<z.ZodString>;
|
|
40
41
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
42
|
+
columnId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
44
|
+
isArchived: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
41
45
|
order: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
42
|
-
|
|
46
|
+
completedAt: z.ZodOptional<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>, z.ZodTransform<string, string | Date>>>>;
|
|
43
47
|
priority: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
44
48
|
LOW: "LOW";
|
|
45
49
|
MEDIUM: "MEDIUM";
|
|
46
50
|
HIGH: "HIGH";
|
|
47
51
|
URGENT: "URGENT";
|
|
48
52
|
}>>>;
|
|
49
|
-
isArchived: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
50
|
-
completedAt: z.ZodOptional<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>, z.ZodTransform<string, string | Date>>>>;
|
|
51
|
-
columnId: z.ZodOptional<z.ZodString>;
|
|
52
|
-
assigneeId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
53
53
|
}, z.core.$strip>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
interface KanbanBoardListResult {
|
|
@@ -129,20 +129,20 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
129
129
|
readonly items: readonly {
|
|
130
130
|
readonly columns: readonly {
|
|
131
131
|
readonly id: string;
|
|
132
|
-
readonly createdAt: string;
|
|
133
|
-
readonly updatedAt: string;
|
|
134
|
-
readonly order: number;
|
|
135
132
|
readonly title: string;
|
|
136
133
|
readonly boardId: string;
|
|
134
|
+
readonly order: number;
|
|
135
|
+
readonly createdAt: string;
|
|
136
|
+
readonly updatedAt: string;
|
|
137
137
|
}[];
|
|
138
|
-
readonly id: string;
|
|
139
|
-
readonly createdAt: string;
|
|
140
|
-
readonly updatedAt: string;
|
|
141
|
-
readonly name: string;
|
|
142
138
|
readonly slug: string;
|
|
143
|
-
readonly description?: string | undefined;
|
|
144
139
|
readonly ownerId?: string | undefined;
|
|
145
140
|
readonly organizationId?: string | undefined;
|
|
141
|
+
readonly id: string;
|
|
142
|
+
readonly description?: string | undefined;
|
|
143
|
+
readonly name: string;
|
|
144
|
+
readonly createdAt: string;
|
|
145
|
+
readonly updatedAt: string;
|
|
146
146
|
}[];
|
|
147
147
|
readonly total: number;
|
|
148
148
|
readonly limit?: number | undefined;
|
|
@@ -164,27 +164,27 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
164
164
|
readonly createdAt: string;
|
|
165
165
|
readonly updatedAt: string;
|
|
166
166
|
readonly id: string;
|
|
167
|
-
readonly description?: string | undefined;
|
|
168
|
-
readonly order: number;
|
|
169
167
|
readonly title: string;
|
|
170
|
-
readonly
|
|
171
|
-
readonly isArchived: boolean;
|
|
168
|
+
readonly description?: string | undefined;
|
|
172
169
|
readonly columnId: string;
|
|
173
170
|
readonly assigneeId?: string | null | undefined;
|
|
171
|
+
readonly isArchived: boolean;
|
|
172
|
+
readonly order: number;
|
|
173
|
+
readonly priority: Priority;
|
|
174
174
|
}[] | undefined;
|
|
175
175
|
readonly id: string;
|
|
176
|
-
readonly order: number;
|
|
177
176
|
readonly title: string;
|
|
178
177
|
readonly boardId: string;
|
|
178
|
+
readonly order: number;
|
|
179
179
|
}[];
|
|
180
180
|
readonly createdAt: string;
|
|
181
181
|
readonly updatedAt: string;
|
|
182
|
-
readonly id: string;
|
|
183
|
-
readonly name: string;
|
|
184
182
|
readonly slug: string;
|
|
185
|
-
readonly description?: string | undefined;
|
|
186
183
|
readonly ownerId?: string | undefined;
|
|
187
184
|
readonly organizationId?: string | undefined;
|
|
185
|
+
readonly id: string;
|
|
186
|
+
readonly description?: string | undefined;
|
|
187
|
+
readonly name: string;
|
|
188
188
|
}>;
|
|
189
189
|
readonly createBoard: better_call.StrictEndpoint<"/boards", {
|
|
190
190
|
requireRequest: true;
|
|
@@ -208,40 +208,40 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
208
208
|
readonly createdAt: string;
|
|
209
209
|
readonly updatedAt: string;
|
|
210
210
|
readonly id: string;
|
|
211
|
-
readonly description?: string | undefined;
|
|
212
|
-
readonly order: number;
|
|
213
211
|
readonly title: string;
|
|
214
|
-
readonly
|
|
215
|
-
readonly isArchived: boolean;
|
|
212
|
+
readonly description?: string | undefined;
|
|
216
213
|
readonly columnId: string;
|
|
217
214
|
readonly assigneeId?: string | null | undefined;
|
|
215
|
+
readonly isArchived: boolean;
|
|
216
|
+
readonly order: number;
|
|
217
|
+
readonly priority: Priority;
|
|
218
218
|
}[] | undefined;
|
|
219
219
|
readonly id: string;
|
|
220
|
-
readonly order: number;
|
|
221
220
|
readonly title: string;
|
|
222
221
|
readonly boardId: string;
|
|
222
|
+
readonly order: number;
|
|
223
223
|
}[];
|
|
224
224
|
readonly createdAt: string;
|
|
225
225
|
readonly updatedAt: string;
|
|
226
|
-
readonly id: string;
|
|
227
|
-
readonly name: string;
|
|
228
226
|
readonly slug: string;
|
|
229
|
-
readonly description?: string | undefined;
|
|
230
227
|
readonly ownerId?: string | undefined;
|
|
231
228
|
readonly organizationId?: string | undefined;
|
|
229
|
+
readonly id: string;
|
|
230
|
+
readonly description?: string | undefined;
|
|
231
|
+
readonly name: string;
|
|
232
232
|
}>;
|
|
233
233
|
readonly updateBoard: better_call.StrictEndpoint<"/boards/:id", {
|
|
234
234
|
requireRequest: true;
|
|
235
235
|
} & {
|
|
236
236
|
method: "PUT";
|
|
237
237
|
body: better_call.StandardSchemaV1<{
|
|
238
|
-
name?: string | undefined;
|
|
239
238
|
slug?: string | undefined;
|
|
240
239
|
description?: string | undefined;
|
|
241
|
-
}, {
|
|
242
240
|
name?: string | undefined;
|
|
241
|
+
}, {
|
|
243
242
|
slug?: string | undefined;
|
|
244
243
|
description?: string | undefined;
|
|
244
|
+
name?: string | undefined;
|
|
245
245
|
}>;
|
|
246
246
|
}, {
|
|
247
247
|
readonly createdAt: string;
|
|
@@ -254,25 +254,25 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
254
254
|
readonly createdAt: string;
|
|
255
255
|
readonly updatedAt: string;
|
|
256
256
|
readonly id: string;
|
|
257
|
-
readonly description?: string | undefined;
|
|
258
|
-
readonly order: number;
|
|
259
257
|
readonly title: string;
|
|
260
|
-
readonly
|
|
261
|
-
readonly isArchived: boolean;
|
|
258
|
+
readonly description?: string | undefined;
|
|
262
259
|
readonly columnId: string;
|
|
263
260
|
readonly assigneeId?: string | null | undefined;
|
|
261
|
+
readonly isArchived: boolean;
|
|
262
|
+
readonly order: number;
|
|
263
|
+
readonly priority: Priority;
|
|
264
264
|
}[] | undefined;
|
|
265
265
|
readonly id: string;
|
|
266
|
-
readonly order: number;
|
|
267
266
|
readonly title: string;
|
|
268
267
|
readonly boardId: string;
|
|
268
|
+
readonly order: number;
|
|
269
269
|
}[] | undefined;
|
|
270
|
-
readonly id: string;
|
|
271
|
-
readonly name: string;
|
|
272
270
|
readonly slug: string;
|
|
273
|
-
readonly description?: string | undefined;
|
|
274
271
|
readonly ownerId?: string | undefined;
|
|
275
272
|
readonly organizationId?: string | undefined;
|
|
273
|
+
readonly id: string;
|
|
274
|
+
readonly description?: string | undefined;
|
|
275
|
+
readonly name: string;
|
|
276
276
|
}>;
|
|
277
277
|
readonly deleteBoard: better_call.StrictEndpoint<"/boards/:id", {
|
|
278
278
|
requireRequest: true;
|
|
@@ -303,31 +303,31 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
303
303
|
readonly createdAt: string;
|
|
304
304
|
readonly updatedAt: string;
|
|
305
305
|
readonly id: string;
|
|
306
|
-
readonly description?: string | undefined;
|
|
307
|
-
readonly order: number;
|
|
308
306
|
readonly title: string;
|
|
309
|
-
readonly
|
|
310
|
-
readonly isArchived: boolean;
|
|
307
|
+
readonly description?: string | undefined;
|
|
311
308
|
readonly columnId: string;
|
|
312
309
|
readonly assigneeId?: string | null | undefined;
|
|
310
|
+
readonly isArchived: boolean;
|
|
311
|
+
readonly order: number;
|
|
312
|
+
readonly priority: Priority;
|
|
313
313
|
}[] | undefined;
|
|
314
314
|
readonly id: string;
|
|
315
|
-
readonly order: number;
|
|
316
315
|
readonly title: string;
|
|
317
316
|
readonly boardId: string;
|
|
317
|
+
readonly order: number;
|
|
318
318
|
}>;
|
|
319
319
|
readonly updateColumn: better_call.StrictEndpoint<"/columns/:id", {
|
|
320
320
|
requireRequest: true;
|
|
321
321
|
} & {
|
|
322
322
|
method: "PUT";
|
|
323
323
|
body: better_call.StandardSchemaV1<{
|
|
324
|
-
order?: number | undefined;
|
|
325
324
|
title?: string | undefined;
|
|
326
325
|
boardId?: string | undefined;
|
|
327
|
-
}, {
|
|
328
326
|
order?: number | undefined;
|
|
327
|
+
}, {
|
|
329
328
|
title?: string | undefined;
|
|
330
329
|
boardId?: string | undefined;
|
|
330
|
+
order?: number | undefined;
|
|
331
331
|
}>;
|
|
332
332
|
}, {
|
|
333
333
|
readonly createdAt: string;
|
|
@@ -337,18 +337,18 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
337
337
|
readonly createdAt: string;
|
|
338
338
|
readonly updatedAt: string;
|
|
339
339
|
readonly id: string;
|
|
340
|
-
readonly description?: string | undefined;
|
|
341
|
-
readonly order: number;
|
|
342
340
|
readonly title: string;
|
|
343
|
-
readonly
|
|
344
|
-
readonly isArchived: boolean;
|
|
341
|
+
readonly description?: string | undefined;
|
|
345
342
|
readonly columnId: string;
|
|
346
343
|
readonly assigneeId?: string | null | undefined;
|
|
344
|
+
readonly isArchived: boolean;
|
|
345
|
+
readonly order: number;
|
|
346
|
+
readonly priority: Priority;
|
|
347
347
|
}[] | undefined;
|
|
348
348
|
readonly id: string;
|
|
349
|
-
readonly order: number;
|
|
350
349
|
readonly title: string;
|
|
351
350
|
readonly boardId: string;
|
|
351
|
+
readonly order: number;
|
|
352
352
|
}>;
|
|
353
353
|
readonly deleteColumn: better_call.StrictEndpoint<"/columns/:id", {
|
|
354
354
|
requireRequest: true;
|
|
@@ -400,49 +400,49 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
400
400
|
readonly createdAt: string;
|
|
401
401
|
readonly updatedAt: string;
|
|
402
402
|
readonly id: string;
|
|
403
|
-
readonly description?: string | undefined;
|
|
404
|
-
readonly order: number;
|
|
405
403
|
readonly title: string;
|
|
406
|
-
readonly
|
|
407
|
-
readonly isArchived: boolean;
|
|
404
|
+
readonly description?: string | undefined;
|
|
408
405
|
readonly columnId: string;
|
|
409
406
|
readonly assigneeId?: string | null | undefined;
|
|
407
|
+
readonly isArchived: boolean;
|
|
408
|
+
readonly order: number;
|
|
409
|
+
readonly priority: Priority;
|
|
410
410
|
}>;
|
|
411
411
|
readonly updateTask: better_call.StrictEndpoint<"/tasks/:id", {
|
|
412
412
|
requireRequest: true;
|
|
413
413
|
} & {
|
|
414
414
|
method: "PUT";
|
|
415
415
|
body: better_call.StandardSchemaV1<{
|
|
416
|
-
description?: string | undefined;
|
|
417
|
-
order?: number | undefined;
|
|
418
416
|
title?: string | undefined;
|
|
419
|
-
|
|
420
|
-
isArchived?: boolean | undefined;
|
|
421
|
-
completedAt?: string | Date | undefined;
|
|
417
|
+
description?: string | undefined;
|
|
422
418
|
columnId?: string | undefined;
|
|
423
419
|
assigneeId?: string | null | undefined;
|
|
424
|
-
}, {
|
|
425
|
-
description?: string | undefined;
|
|
426
|
-
order?: number | undefined;
|
|
427
|
-
title?: string | undefined;
|
|
428
|
-
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
429
420
|
isArchived?: boolean | undefined;
|
|
421
|
+
order?: number | undefined;
|
|
430
422
|
completedAt?: string | Date | undefined;
|
|
423
|
+
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
424
|
+
}, {
|
|
425
|
+
title?: string | undefined;
|
|
426
|
+
description?: string | undefined;
|
|
431
427
|
columnId?: string | undefined;
|
|
432
428
|
assigneeId?: string | null | undefined;
|
|
429
|
+
isArchived?: boolean | undefined;
|
|
430
|
+
order?: number | undefined;
|
|
431
|
+
completedAt?: string | Date | undefined;
|
|
432
|
+
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
433
433
|
}>;
|
|
434
434
|
}, {
|
|
435
435
|
readonly completedAt?: string | undefined;
|
|
436
436
|
readonly createdAt: string;
|
|
437
437
|
readonly updatedAt: string;
|
|
438
438
|
readonly id: string;
|
|
439
|
-
readonly description?: string | undefined;
|
|
440
|
-
readonly order: number;
|
|
441
439
|
readonly title: string;
|
|
442
|
-
readonly
|
|
443
|
-
readonly isArchived: boolean;
|
|
440
|
+
readonly description?: string | undefined;
|
|
444
441
|
readonly columnId: string;
|
|
445
442
|
readonly assigneeId?: string | null | undefined;
|
|
443
|
+
readonly isArchived: boolean;
|
|
444
|
+
readonly order: number;
|
|
445
|
+
readonly priority: Priority;
|
|
446
446
|
}>;
|
|
447
447
|
readonly deleteTask: better_call.StrictEndpoint<"/tasks/:id", {
|
|
448
448
|
requireRequest: true;
|
|
@@ -470,13 +470,13 @@ declare const kanbanBackendPlugin: (options?: KanbanBackendOptions) => _btst_sta
|
|
|
470
470
|
readonly createdAt: string;
|
|
471
471
|
readonly updatedAt: string;
|
|
472
472
|
readonly id: string;
|
|
473
|
-
readonly description?: string | undefined;
|
|
474
|
-
readonly order: number;
|
|
475
473
|
readonly title: string;
|
|
476
|
-
readonly
|
|
477
|
-
readonly isArchived: boolean;
|
|
474
|
+
readonly description?: string | undefined;
|
|
478
475
|
readonly columnId: string;
|
|
479
476
|
readonly assigneeId?: string | null | undefined;
|
|
477
|
+
readonly isArchived: boolean;
|
|
478
|
+
readonly order: number;
|
|
479
|
+
readonly priority: Priority;
|
|
480
480
|
}>;
|
|
481
481
|
readonly reorderTasks: better_call.StrictEndpoint<"/tasks/reorder", {
|
|
482
482
|
requireRequest: true;
|
|
@@ -2,14 +2,11 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const createPostSchema: z.ZodObject<{
|
|
4
4
|
slug: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
5
|
+
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
|
+
title: z.ZodString;
|
|
6
7
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
7
8
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
8
|
-
|
|
9
|
-
content: z.ZodString;
|
|
10
|
-
excerpt: z.ZodString;
|
|
11
|
-
image: z.ZodOptional<z.ZodString>;
|
|
12
|
-
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
+
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
13
10
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
14
11
|
name: z.ZodString;
|
|
15
12
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17,6 +14,9 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
17
14
|
name: z.ZodString;
|
|
18
15
|
slug: z.ZodString;
|
|
19
16
|
}, z.core.$strip>]>>>>;
|
|
17
|
+
content: z.ZodString;
|
|
18
|
+
excerpt: z.ZodString;
|
|
19
|
+
image: z.ZodOptional<z.ZodString>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const updatePostSchema: z.ZodObject<{
|
|
22
22
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2,14 +2,11 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const createPostSchema: z.ZodObject<{
|
|
4
4
|
slug: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
5
|
+
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
|
+
title: z.ZodString;
|
|
6
7
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
7
8
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
8
|
-
|
|
9
|
-
content: z.ZodString;
|
|
10
|
-
excerpt: z.ZodString;
|
|
11
|
-
image: z.ZodOptional<z.ZodString>;
|
|
12
|
-
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
+
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
13
10
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
14
11
|
name: z.ZodString;
|
|
15
12
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17,6 +14,9 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
17
14
|
name: z.ZodString;
|
|
18
15
|
slug: z.ZodString;
|
|
19
16
|
}, z.core.$strip>]>>>>;
|
|
17
|
+
content: z.ZodString;
|
|
18
|
+
excerpt: z.ZodString;
|
|
19
|
+
image: z.ZodOptional<z.ZodString>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const updatePostSchema: z.ZodObject<{
|
|
22
22
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2,14 +2,11 @@ import { z } from 'zod';
|
|
|
2
2
|
|
|
3
3
|
declare const createPostSchema: z.ZodObject<{
|
|
4
4
|
slug: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
5
|
+
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6
|
+
title: z.ZodString;
|
|
6
7
|
createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
7
8
|
updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
8
|
-
|
|
9
|
-
content: z.ZodString;
|
|
10
|
-
excerpt: z.ZodString;
|
|
11
|
-
image: z.ZodOptional<z.ZodString>;
|
|
12
|
-
published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
+
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
13
10
|
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
14
11
|
name: z.ZodString;
|
|
15
12
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -17,6 +14,9 @@ declare const createPostSchema: z.ZodObject<{
|
|
|
17
14
|
name: z.ZodString;
|
|
18
15
|
slug: z.ZodString;
|
|
19
16
|
}, z.core.$strip>]>>>>;
|
|
17
|
+
content: z.ZodString;
|
|
18
|
+
excerpt: z.ZodString;
|
|
19
|
+
image: z.ZodOptional<z.ZodString>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
declare const updatePostSchema: z.ZodObject<{
|
|
22
22
|
publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|