@btst/stack 3.0.0 → 3.0.2

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.
Files changed (63) hide show
  1. package/README.md +115 -223
  2. package/dist/packages/stack/src/plugins/blog/client/components/pages/post-page.internal.cjs +2 -2
  3. package/dist/packages/stack/src/plugins/blog/client/components/pages/post-page.internal.mjs +2 -2
  4. package/dist/packages/stack/src/plugins/blog/client/components/shared/format-post-date.cjs +13 -0
  5. package/dist/packages/stack/src/plugins/blog/client/components/shared/format-post-date.mjs +11 -0
  6. package/dist/packages/stack/src/plugins/blog/client/components/shared/post-card.cjs +4 -6
  7. package/dist/packages/stack/src/plugins/blog/client/components/shared/post-card.mjs +4 -6
  8. package/dist/plugins/blog/api/index.d.cts +2 -2
  9. package/dist/plugins/blog/api/index.d.mts +2 -2
  10. package/dist/plugins/blog/api/index.d.ts +2 -2
  11. package/dist/plugins/blog/client/hooks/index.d.cts +2 -2
  12. package/dist/plugins/blog/client/hooks/index.d.mts +2 -2
  13. package/dist/plugins/blog/client/hooks/index.d.ts +2 -2
  14. package/dist/plugins/blog/client/index.d.cts +2 -2
  15. package/dist/plugins/blog/client/index.d.mts +2 -2
  16. package/dist/plugins/blog/client/index.d.ts +2 -2
  17. package/dist/plugins/blog/query-keys.d.cts +2 -2
  18. package/dist/plugins/blog/query-keys.d.mts +2 -2
  19. package/dist/plugins/blog/query-keys.d.ts +2 -2
  20. package/dist/plugins/form-builder/api/index.d.cts +1 -1
  21. package/dist/plugins/form-builder/api/index.d.mts +1 -1
  22. package/dist/plugins/form-builder/api/index.d.ts +1 -1
  23. package/dist/plugins/form-builder/client/hooks/index.d.cts +1 -1
  24. package/dist/plugins/form-builder/client/hooks/index.d.mts +1 -1
  25. package/dist/plugins/form-builder/client/hooks/index.d.ts +1 -1
  26. package/dist/plugins/form-builder/query-keys.d.cts +1 -1
  27. package/dist/plugins/form-builder/query-keys.d.mts +1 -1
  28. package/dist/plugins/form-builder/query-keys.d.ts +1 -1
  29. package/dist/plugins/kanban/api/index.d.cts +1 -1
  30. package/dist/plugins/kanban/api/index.d.mts +1 -1
  31. package/dist/plugins/kanban/api/index.d.ts +1 -1
  32. package/dist/plugins/kanban/client/hooks/index.d.cts +1 -1
  33. package/dist/plugins/kanban/client/hooks/index.d.mts +1 -1
  34. package/dist/plugins/kanban/client/hooks/index.d.ts +1 -1
  35. package/dist/plugins/kanban/client/index.d.cts +1 -1
  36. package/dist/plugins/kanban/client/index.d.mts +1 -1
  37. package/dist/plugins/kanban/client/index.d.ts +1 -1
  38. package/dist/plugins/kanban/query-keys.d.cts +1 -1
  39. package/dist/plugins/kanban/query-keys.d.mts +1 -1
  40. package/dist/plugins/kanban/query-keys.d.ts +1 -1
  41. package/dist/shared/{stack.D2y4gl03.d.mts → stack.94kN3pEK.d.mts} +5 -5
  42. package/dist/shared/{stack.rmWRtSjs.d.cts → stack.BTStHVTy.d.cts} +5 -5
  43. package/dist/shared/{stack.CZ1h_T4k.d.mts → stack.BggTHKlo.d.mts} +90 -90
  44. package/dist/shared/{stack.DiYg7Jw1.d.cts → stack.CtrnoQgH.d.cts} +90 -90
  45. package/dist/shared/{stack.CnDMBj4z.d.ts → stack.DfrRYOIl.d.ts} +5 -5
  46. package/dist/shared/{stack.DQpyA3Cq.d.ts → stack.lPKwd_v0.d.ts} +90 -90
  47. package/package.json +1 -1
  48. package/src/__tests__/generated-static-identity.test.tsx +128 -0
  49. package/src/__tests__/initial-identity-hydration.test.tsx +72 -1
  50. package/src/plugins/blog/__tests__/date-hydration.test.tsx +78 -0
  51. package/src/plugins/blog/client/components/pages/post-page.internal.tsx +2 -2
  52. package/src/plugins/blog/client/components/shared/format-post-date.ts +12 -0
  53. package/src/plugins/blog/client/components/shared/post-card.tsx +4 -6
  54. package/src/plugins/kanban/__tests__/authorization.test.ts +54 -0
  55. package/dist/shared/{stack.Y91icYuv.d.ts → stack.0y6iTP03.d.ts} +75 -75
  56. package/dist/shared/{stack.zch70Loj.d.cts → stack.AWSs6TXN.d.cts} +14 -14
  57. package/dist/shared/{stack.CMc8mLyD.d.mts → stack.B1UrNoVl.d.mts} +75 -75
  58. package/dist/shared/{stack.DtZgEX84.d.cts → stack.CKc_Bais.d.cts} +6 -6
  59. package/dist/shared/{stack.DtZgEX84.d.mts → stack.CKc_Bais.d.mts} +6 -6
  60. package/dist/shared/{stack.DtZgEX84.d.ts → stack.CKc_Bais.d.ts} +6 -6
  61. package/dist/shared/{stack.CGmh-Lpe.d.ts → stack.D20bOqfr.d.ts} +14 -14
  62. package/dist/shared/{stack.Doy2_wgl.d.mts → stack.HB5uGLpE.d.mts} +14 -14
  63. package/dist/shared/{stack._CObfJbw.d.cts → stack.Mak7pzIV.d.cts} +75 -75
@@ -127,11 +127,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
127
127
  readonly status: Form["status"];
128
128
  readonly createdAt: string;
129
129
  readonly updatedAt: string;
130
+ readonly slug: string;
130
131
  readonly id: string;
131
132
  readonly name: string;
132
- readonly schema: string;
133
133
  readonly description?: string | undefined;
134
- readonly slug: string;
134
+ readonly schema: string;
135
135
  readonly successMessage?: string | undefined;
136
136
  readonly redirectUrl?: string | undefined;
137
137
  readonly createdBy?: string | undefined;
@@ -151,11 +151,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
151
151
  readonly status: Form["status"];
152
152
  readonly createdAt: string;
153
153
  readonly updatedAt: string;
154
+ readonly slug: string;
154
155
  readonly id: string;
155
156
  readonly name: string;
156
- readonly schema: string;
157
157
  readonly description?: string | undefined;
158
- readonly slug: string;
158
+ readonly schema: string;
159
159
  readonly successMessage?: string | undefined;
160
160
  readonly redirectUrl?: string | undefined;
161
161
  readonly createdBy?: string | undefined;
@@ -171,11 +171,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
171
171
  readonly status: Form["status"];
172
172
  readonly createdAt: string;
173
173
  readonly updatedAt: string;
174
+ readonly slug: string;
174
175
  readonly id: string;
175
176
  readonly name: string;
176
- readonly schema: string;
177
177
  readonly description?: string | undefined;
178
- readonly slug: string;
178
+ readonly schema: string;
179
179
  readonly successMessage?: string | undefined;
180
180
  readonly redirectUrl?: string | undefined;
181
181
  readonly createdBy?: string | undefined;
@@ -191,11 +191,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
191
191
  readonly status: Form["status"];
192
192
  readonly createdAt: string;
193
193
  readonly updatedAt: string;
194
+ readonly slug: string;
194
195
  readonly id: string;
195
196
  readonly name: string;
196
- readonly schema: string;
197
197
  readonly description?: string | undefined;
198
- readonly slug: string;
198
+ readonly schema: string;
199
199
  readonly successMessage?: string | undefined;
200
200
  readonly redirectUrl?: string | undefined;
201
201
  readonly createdBy?: string | undefined;
@@ -225,11 +225,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
225
225
  readonly status: Form["status"];
226
226
  readonly createdAt: string;
227
227
  readonly updatedAt: string;
228
+ readonly slug: string;
228
229
  readonly id: string;
229
230
  readonly name: string;
230
- readonly schema: string;
231
231
  readonly description?: string | undefined;
232
- readonly slug: string;
232
+ readonly schema: string;
233
233
  readonly successMessage?: string | undefined;
234
234
  readonly redirectUrl?: string | undefined;
235
235
  readonly createdBy?: string | undefined;
@@ -259,11 +259,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
259
259
  readonly status: Form["status"];
260
260
  readonly createdAt: string;
261
261
  readonly updatedAt: string;
262
+ readonly slug: string;
262
263
  readonly id: string;
263
264
  readonly name: string;
264
- readonly schema: string;
265
265
  readonly description?: string | undefined;
266
- readonly slug: string;
266
+ readonly schema: string;
267
267
  readonly successMessage?: string | undefined;
268
268
  readonly redirectUrl?: string | undefined;
269
269
  readonly createdBy?: string | undefined;
@@ -291,10 +291,10 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
291
291
  readonly redirectUrl?: string | undefined;
292
292
  };
293
293
  readonly submittedAt: string;
294
+ readonly data: string;
294
295
  readonly id: string;
295
296
  readonly formId: string;
296
297
  readonly submittedBy?: string | undefined;
297
- readonly data: string;
298
298
  readonly ipAddress?: string | undefined;
299
299
  readonly userAgent?: string | undefined;
300
300
  }>;
@@ -335,10 +335,10 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
335
335
  readonly [x: string]: any;
336
336
  } | null;
337
337
  readonly submittedAt: string;
338
+ readonly data: string;
338
339
  readonly id: string;
339
340
  readonly formId: string;
340
341
  readonly submittedBy?: string | undefined;
341
- readonly data: string;
342
342
  readonly ipAddress?: string | undefined;
343
343
  readonly userAgent?: string | undefined;
344
344
  }>;
@@ -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>;
18
19
  slug: z.ZodOptional<z.ZodString>;
19
20
  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>>;
29
30
  title: z.ZodOptional<z.ZodString>;
30
31
  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>;
41
40
  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>>;
45
41
  order: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
46
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>, z.ZodTransform<string, string | Date>>>>;
42
+ title: z.ZodOptional<z.ZodString>;
47
43
  priority: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
48
44
  LOW: "LOW";
49
45
  MEDIUM: "MEDIUM";
50
46
  HIGH: "HIGH";
51
47
  URGENT: "URGENT";
52
48
  }>>>;
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 title: string;
133
- readonly boardId: string;
134
- readonly order: number;
135
132
  readonly createdAt: string;
136
133
  readonly updatedAt: string;
134
+ readonly order: number;
135
+ readonly title: string;
136
+ readonly boardId: string;
137
137
  }[];
138
- readonly slug: string;
139
- readonly ownerId?: string | undefined;
140
- readonly organizationId?: string | undefined;
141
138
  readonly id: string;
142
- readonly description?: string | undefined;
143
- readonly name: string;
144
139
  readonly createdAt: string;
145
140
  readonly updatedAt: string;
141
+ readonly name: string;
142
+ readonly slug: string;
143
+ readonly description?: string | undefined;
144
+ readonly ownerId?: string | undefined;
145
+ readonly organizationId?: string | undefined;
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 title: string;
168
167
  readonly description?: string | undefined;
169
- readonly columnId: string;
170
- readonly assigneeId?: string | null | undefined;
171
- readonly isArchived: boolean;
172
168
  readonly order: number;
169
+ readonly title: string;
173
170
  readonly priority: Priority;
171
+ readonly isArchived: boolean;
172
+ readonly columnId: string;
173
+ readonly assigneeId?: string | null | undefined;
174
174
  }[] | undefined;
175
175
  readonly id: string;
176
+ readonly order: number;
176
177
  readonly title: string;
177
178
  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;
182
184
  readonly slug: string;
185
+ readonly description?: string | undefined;
183
186
  readonly ownerId?: string | undefined;
184
187
  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 title: string;
212
211
  readonly description?: string | undefined;
213
- readonly columnId: string;
214
- readonly assigneeId?: string | null | undefined;
215
- readonly isArchived: boolean;
216
212
  readonly order: number;
213
+ readonly title: string;
217
214
  readonly priority: Priority;
215
+ readonly isArchived: boolean;
216
+ readonly columnId: string;
217
+ readonly assigneeId?: string | null | undefined;
218
218
  }[] | undefined;
219
219
  readonly id: string;
220
+ readonly order: number;
220
221
  readonly title: string;
221
222
  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;
226
228
  readonly slug: string;
229
+ readonly description?: string | undefined;
227
230
  readonly ownerId?: string | undefined;
228
231
  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;
238
239
  slug?: string | undefined;
239
240
  description?: string | undefined;
240
- name?: string | undefined;
241
241
  }, {
242
+ name?: string | undefined;
242
243
  slug?: string | undefined;
243
244
  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 title: string;
258
257
  readonly description?: string | undefined;
259
- readonly columnId: string;
260
- readonly assigneeId?: string | null | undefined;
261
- readonly isArchived: boolean;
262
258
  readonly order: number;
259
+ readonly title: string;
263
260
  readonly priority: Priority;
261
+ readonly isArchived: boolean;
262
+ readonly columnId: string;
263
+ readonly assigneeId?: string | null | undefined;
264
264
  }[] | undefined;
265
265
  readonly id: string;
266
+ readonly order: number;
266
267
  readonly title: string;
267
268
  readonly boardId: string;
268
- readonly order: number;
269
269
  }[] | undefined;
270
+ readonly id: string;
271
+ readonly name: string;
270
272
  readonly slug: string;
273
+ readonly description?: string | undefined;
271
274
  readonly ownerId?: string | undefined;
272
275
  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 title: string;
307
306
  readonly description?: string | undefined;
308
- readonly columnId: string;
309
- readonly assigneeId?: string | null | undefined;
310
- readonly isArchived: boolean;
311
307
  readonly order: number;
308
+ readonly title: string;
312
309
  readonly priority: Priority;
310
+ readonly isArchived: boolean;
311
+ readonly columnId: string;
312
+ readonly assigneeId?: string | null | undefined;
313
313
  }[] | undefined;
314
314
  readonly id: string;
315
+ readonly order: number;
315
316
  readonly title: string;
316
317
  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;
324
325
  title?: string | undefined;
325
326
  boardId?: string | undefined;
326
- order?: number | undefined;
327
327
  }, {
328
+ order?: number | undefined;
328
329
  title?: string | undefined;
329
330
  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 title: string;
341
340
  readonly description?: string | undefined;
342
- readonly columnId: string;
343
- readonly assigneeId?: string | null | undefined;
344
- readonly isArchived: boolean;
345
341
  readonly order: number;
342
+ readonly title: string;
346
343
  readonly priority: Priority;
344
+ readonly isArchived: boolean;
345
+ readonly columnId: string;
346
+ readonly assigneeId?: string | null | undefined;
347
347
  }[] | undefined;
348
348
  readonly id: string;
349
+ readonly order: number;
349
350
  readonly title: string;
350
351
  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 title: string;
404
403
  readonly description?: string | undefined;
405
- readonly columnId: string;
406
- readonly assigneeId?: string | null | undefined;
407
- readonly isArchived: boolean;
408
404
  readonly order: number;
405
+ readonly title: string;
409
406
  readonly priority: Priority;
407
+ readonly isArchived: boolean;
408
+ readonly columnId: string;
409
+ readonly assigneeId?: string | null | undefined;
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
- title?: string | undefined;
417
416
  description?: string | undefined;
418
- columnId?: string | undefined;
419
- assigneeId?: string | null | undefined;
420
- isArchived?: boolean | undefined;
421
417
  order?: number | undefined;
422
- completedAt?: string | Date | undefined;
423
- priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
424
- }, {
425
418
  title?: string | undefined;
426
- description?: string | undefined;
419
+ priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
420
+ isArchived?: boolean | undefined;
421
+ completedAt?: string | Date | undefined;
427
422
  columnId?: string | undefined;
428
423
  assigneeId?: string | null | undefined;
429
- isArchived?: boolean | undefined;
424
+ }, {
425
+ description?: string | undefined;
430
426
  order?: number | undefined;
431
- completedAt?: string | Date | undefined;
427
+ title?: string | undefined;
432
428
  priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
429
+ isArchived?: boolean | undefined;
430
+ completedAt?: string | Date | undefined;
431
+ columnId?: string | undefined;
432
+ assigneeId?: string | null | 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 title: string;
440
439
  readonly description?: string | undefined;
441
- readonly columnId: string;
442
- readonly assigneeId?: string | null | undefined;
443
- readonly isArchived: boolean;
444
440
  readonly order: number;
441
+ readonly title: string;
445
442
  readonly priority: Priority;
443
+ readonly isArchived: boolean;
444
+ readonly columnId: string;
445
+ readonly assigneeId?: string | null | undefined;
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 title: string;
474
473
  readonly description?: string | undefined;
475
- readonly columnId: string;
476
- readonly assigneeId?: string | null | undefined;
477
- readonly isArchived: boolean;
478
474
  readonly order: number;
475
+ readonly title: string;
479
476
  readonly priority: Priority;
477
+ readonly isArchived: boolean;
478
+ readonly columnId: string;
479
+ readonly assigneeId?: string | null | undefined;
480
480
  }>;
481
481
  readonly reorderTasks: better_call.StrictEndpoint<"/tasks/reorder", {
482
482
  requireRequest: true;
@@ -2,11 +2,14 @@ import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
4
  slug: z.ZodOptional<z.ZodString>;
5
- published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- title: z.ZodString;
5
+ publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
7
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
7
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
9
- publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
+ title: z.ZodString;
9
+ content: z.ZodString;
10
+ excerpt: z.ZodString;
11
+ image: z.ZodOptional<z.ZodString>;
12
+ published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
13
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11
14
  name: z.ZodString;
12
15
  }, z.core.$strip>, z.ZodObject<{
@@ -14,9 +17,6 @@ declare const createPostSchema: z.ZodObject<{
14
17
  name: z.ZodString;
15
18
  slug: z.ZodString;
16
19
  }, 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,11 +2,14 @@ import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
4
  slug: z.ZodOptional<z.ZodString>;
5
- published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- title: z.ZodString;
5
+ publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
7
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
7
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
9
- publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
+ title: z.ZodString;
9
+ content: z.ZodString;
10
+ excerpt: z.ZodString;
11
+ image: z.ZodOptional<z.ZodString>;
12
+ published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
13
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11
14
  name: z.ZodString;
12
15
  }, z.core.$strip>, z.ZodObject<{
@@ -14,9 +17,6 @@ declare const createPostSchema: z.ZodObject<{
14
17
  name: z.ZodString;
15
18
  slug: z.ZodString;
16
19
  }, 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,11 +2,14 @@ import { z } from 'zod';
2
2
 
3
3
  declare const createPostSchema: z.ZodObject<{
4
4
  slug: z.ZodOptional<z.ZodString>;
5
- published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- title: z.ZodString;
5
+ publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
7
6
  createdAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
7
  updatedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
9
- publishedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
8
+ title: z.ZodString;
9
+ content: z.ZodString;
10
+ excerpt: z.ZodString;
11
+ image: z.ZodOptional<z.ZodString>;
12
+ published: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
13
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11
14
  name: z.ZodString;
12
15
  }, z.core.$strip>, z.ZodObject<{
@@ -14,9 +17,6 @@ declare const createPostSchema: z.ZodObject<{
14
17
  name: z.ZodString;
15
18
  slug: z.ZodString;
16
19
  }, 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>>;
@@ -127,11 +127,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
127
127
  readonly status: Form["status"];
128
128
  readonly createdAt: string;
129
129
  readonly updatedAt: string;
130
+ readonly slug: string;
130
131
  readonly id: string;
131
132
  readonly name: string;
132
- readonly schema: string;
133
133
  readonly description?: string | undefined;
134
- readonly slug: string;
134
+ readonly schema: string;
135
135
  readonly successMessage?: string | undefined;
136
136
  readonly redirectUrl?: string | undefined;
137
137
  readonly createdBy?: string | undefined;
@@ -151,11 +151,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
151
151
  readonly status: Form["status"];
152
152
  readonly createdAt: string;
153
153
  readonly updatedAt: string;
154
+ readonly slug: string;
154
155
  readonly id: string;
155
156
  readonly name: string;
156
- readonly schema: string;
157
157
  readonly description?: string | undefined;
158
- readonly slug: string;
158
+ readonly schema: string;
159
159
  readonly successMessage?: string | undefined;
160
160
  readonly redirectUrl?: string | undefined;
161
161
  readonly createdBy?: string | undefined;
@@ -171,11 +171,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
171
171
  readonly status: Form["status"];
172
172
  readonly createdAt: string;
173
173
  readonly updatedAt: string;
174
+ readonly slug: string;
174
175
  readonly id: string;
175
176
  readonly name: string;
176
- readonly schema: string;
177
177
  readonly description?: string | undefined;
178
- readonly slug: string;
178
+ readonly schema: string;
179
179
  readonly successMessage?: string | undefined;
180
180
  readonly redirectUrl?: string | undefined;
181
181
  readonly createdBy?: string | undefined;
@@ -191,11 +191,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
191
191
  readonly status: Form["status"];
192
192
  readonly createdAt: string;
193
193
  readonly updatedAt: string;
194
+ readonly slug: string;
194
195
  readonly id: string;
195
196
  readonly name: string;
196
- readonly schema: string;
197
197
  readonly description?: string | undefined;
198
- readonly slug: string;
198
+ readonly schema: string;
199
199
  readonly successMessage?: string | undefined;
200
200
  readonly redirectUrl?: string | undefined;
201
201
  readonly createdBy?: string | undefined;
@@ -225,11 +225,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
225
225
  readonly status: Form["status"];
226
226
  readonly createdAt: string;
227
227
  readonly updatedAt: string;
228
+ readonly slug: string;
228
229
  readonly id: string;
229
230
  readonly name: string;
230
- readonly schema: string;
231
231
  readonly description?: string | undefined;
232
- readonly slug: string;
232
+ readonly schema: string;
233
233
  readonly successMessage?: string | undefined;
234
234
  readonly redirectUrl?: string | undefined;
235
235
  readonly createdBy?: string | undefined;
@@ -259,11 +259,11 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
259
259
  readonly status: Form["status"];
260
260
  readonly createdAt: string;
261
261
  readonly updatedAt: string;
262
+ readonly slug: string;
262
263
  readonly id: string;
263
264
  readonly name: string;
264
- readonly schema: string;
265
265
  readonly description?: string | undefined;
266
- readonly slug: string;
266
+ readonly schema: string;
267
267
  readonly successMessage?: string | undefined;
268
268
  readonly redirectUrl?: string | undefined;
269
269
  readonly createdBy?: string | undefined;
@@ -291,10 +291,10 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
291
291
  readonly redirectUrl?: string | undefined;
292
292
  };
293
293
  readonly submittedAt: string;
294
+ readonly data: string;
294
295
  readonly id: string;
295
296
  readonly formId: string;
296
297
  readonly submittedBy?: string | undefined;
297
- readonly data: string;
298
298
  readonly ipAddress?: string | undefined;
299
299
  readonly userAgent?: string | undefined;
300
300
  }>;
@@ -335,10 +335,10 @@ declare const formBuilderBackendPlugin: (config?: FormBuilderBackendConfig) => _
335
335
  readonly [x: string]: any;
336
336
  } | null;
337
337
  readonly submittedAt: string;
338
+ readonly data: string;
338
339
  readonly id: string;
339
340
  readonly formId: string;
340
341
  readonly submittedBy?: string | undefined;
341
- readonly data: string;
342
342
  readonly ipAddress?: string | undefined;
343
343
  readonly userAgent?: string | undefined;
344
344
  }>;