@appconda/nextjs 1.0.207 → 1.0.208
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/modules/scheduled-job/action2.d.ts +5 -0
- package/dist/modules/scheduled-job/action2.js +17 -0
- package/dist/modules/task/action.d.ts +33 -1
- package/dist/modules/task/action.js +386 -1
- package/dist/modules/task/schema.d.ts +552 -0
- package/dist/modules/task/schema.js +236 -1
- package/dist/modules/task/service.d.ts +34 -2
- package/dist/modules/task/service.js +97 -2
- package/dist/modules/task/types.d.ts +165 -0
- package/dist/modules/task/types.js +17 -2
- package/dist/services/tenant.d.ts +32 -0
- package/dist/services/tenant.js +124 -0
- package/package.json +1 -1
- package/src/modules/task/action.ts +385 -1
- package/src/modules/task/schema.ts +290 -0
- package/src/modules/task/service.ts +142 -15
- package/src/modules/task/types.ts +188 -1
@@ -1,4 +1,5 @@
|
|
1
1
|
import { z } from "zod";
|
2
|
+
import { PostStatus } from "./types";
|
2
3
|
export declare const CreateProjectSchema: z.ZodObject<{
|
3
4
|
id: z.ZodOptional<z.ZodString>;
|
4
5
|
tenantId: z.ZodString;
|
@@ -216,3 +217,554 @@ export declare const ListTasksSchema: z.ZodObject<{
|
|
216
217
|
}, {
|
217
218
|
projectId: string;
|
218
219
|
}>;
|
220
|
+
export declare const CreateRoadmapSchema: z.ZodObject<{
|
221
|
+
id: z.ZodOptional<z.ZodString>;
|
222
|
+
title: z.ZodString;
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
224
|
+
title: string;
|
225
|
+
id?: string | undefined;
|
226
|
+
}, {
|
227
|
+
title: string;
|
228
|
+
id?: string | undefined;
|
229
|
+
}>;
|
230
|
+
export declare const GetRoadmapSchema: z.ZodObject<{
|
231
|
+
id: z.ZodString;
|
232
|
+
}, "strip", z.ZodTypeAny, {
|
233
|
+
id: string;
|
234
|
+
}, {
|
235
|
+
id: string;
|
236
|
+
}>;
|
237
|
+
export declare const ListRoadmapsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
238
|
+
export declare const CreateRoadmapPostSchema: z.ZodObject<{
|
239
|
+
id: z.ZodOptional<z.ZodString>;
|
240
|
+
roadmapId: z.ZodString;
|
241
|
+
postId: z.ZodString;
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
243
|
+
roadmapId: string;
|
244
|
+
postId: string;
|
245
|
+
id?: string | undefined;
|
246
|
+
}, {
|
247
|
+
roadmapId: string;
|
248
|
+
postId: string;
|
249
|
+
id?: string | undefined;
|
250
|
+
}>;
|
251
|
+
export declare const GetRoadmapPostSchema: z.ZodObject<{
|
252
|
+
id: z.ZodString;
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
254
|
+
id: string;
|
255
|
+
}, {
|
256
|
+
id: string;
|
257
|
+
}>;
|
258
|
+
export declare const ListRoadmapPostsSchema: z.ZodObject<{
|
259
|
+
roadmapId: z.ZodOptional<z.ZodString>;
|
260
|
+
postId: z.ZodOptional<z.ZodString>;
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
262
|
+
roadmapId?: string | undefined;
|
263
|
+
postId?: string | undefined;
|
264
|
+
}, {
|
265
|
+
roadmapId?: string | undefined;
|
266
|
+
postId?: string | undefined;
|
267
|
+
}>;
|
268
|
+
export declare const CreatePostSchema: z.ZodObject<{
|
269
|
+
id: z.ZodOptional<z.ZodString>;
|
270
|
+
authorId: z.ZodString;
|
271
|
+
by: z.ZodOptional<z.ZodString>;
|
272
|
+
boardId: z.ZodString;
|
273
|
+
postCategoryId: z.ZodOptional<z.ZodString>;
|
274
|
+
details: z.ZodOptional<z.ZodString>;
|
275
|
+
eta: z.ZodOptional<z.ZodString>;
|
276
|
+
owner: z.ZodOptional<z.ZodString>;
|
277
|
+
status: z.ZodDefault<z.ZodNativeEnum<typeof PostStatus>>;
|
278
|
+
title: z.ZodString;
|
279
|
+
url: z.ZodOptional<z.ZodString>;
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
281
|
+
status: PostStatus;
|
282
|
+
title: string;
|
283
|
+
authorId: string;
|
284
|
+
boardId: string;
|
285
|
+
id?: string | undefined;
|
286
|
+
url?: string | undefined;
|
287
|
+
by?: string | undefined;
|
288
|
+
postCategoryId?: string | undefined;
|
289
|
+
details?: string | undefined;
|
290
|
+
eta?: string | undefined;
|
291
|
+
owner?: string | undefined;
|
292
|
+
}, {
|
293
|
+
title: string;
|
294
|
+
authorId: string;
|
295
|
+
boardId: string;
|
296
|
+
status?: PostStatus | undefined;
|
297
|
+
id?: string | undefined;
|
298
|
+
url?: string | undefined;
|
299
|
+
by?: string | undefined;
|
300
|
+
postCategoryId?: string | undefined;
|
301
|
+
details?: string | undefined;
|
302
|
+
eta?: string | undefined;
|
303
|
+
owner?: string | undefined;
|
304
|
+
}>;
|
305
|
+
export declare const GetPostSchema: z.ZodObject<{
|
306
|
+
id: z.ZodString;
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
308
|
+
id: string;
|
309
|
+
}, {
|
310
|
+
id: string;
|
311
|
+
}>;
|
312
|
+
export declare const ListPostsSchema: z.ZodObject<{
|
313
|
+
boardId: z.ZodOptional<z.ZodString>;
|
314
|
+
postCategoryId: z.ZodOptional<z.ZodString>;
|
315
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof PostStatus>>;
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
317
|
+
status?: PostStatus | undefined;
|
318
|
+
boardId?: string | undefined;
|
319
|
+
postCategoryId?: string | undefined;
|
320
|
+
}, {
|
321
|
+
status?: PostStatus | undefined;
|
322
|
+
boardId?: string | undefined;
|
323
|
+
postCategoryId?: string | undefined;
|
324
|
+
}>;
|
325
|
+
export declare const CreatePostImagesSchema: z.ZodObject<{
|
326
|
+
id: z.ZodOptional<z.ZodString>;
|
327
|
+
postId: z.ZodString;
|
328
|
+
url: z.ZodString;
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
330
|
+
url: string;
|
331
|
+
postId: string;
|
332
|
+
id?: string | undefined;
|
333
|
+
}, {
|
334
|
+
url: string;
|
335
|
+
postId: string;
|
336
|
+
id?: string | undefined;
|
337
|
+
}>;
|
338
|
+
export declare const GetPostImagesSchema: z.ZodObject<{
|
339
|
+
id: z.ZodString;
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
341
|
+
id: string;
|
342
|
+
}, {
|
343
|
+
id: string;
|
344
|
+
}>;
|
345
|
+
export declare const ListPostImagesSchema: z.ZodObject<{
|
346
|
+
postId: z.ZodString;
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
348
|
+
postId: string;
|
349
|
+
}, {
|
350
|
+
postId: string;
|
351
|
+
}>;
|
352
|
+
export declare const CreateBoardSchema: z.ZodObject<{
|
353
|
+
id: z.ZodOptional<z.ZodString>;
|
354
|
+
name: z.ZodString;
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
356
|
+
name: string;
|
357
|
+
id?: string | undefined;
|
358
|
+
}, {
|
359
|
+
name: string;
|
360
|
+
id?: string | undefined;
|
361
|
+
}>;
|
362
|
+
export declare const GetBoardSchema: z.ZodObject<{
|
363
|
+
id: z.ZodString;
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
365
|
+
id: string;
|
366
|
+
}, {
|
367
|
+
id: string;
|
368
|
+
}>;
|
369
|
+
export declare const ListBoardsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
370
|
+
export declare const DeleteBoardSchema: z.ZodObject<{
|
371
|
+
id: z.ZodString;
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
373
|
+
id: string;
|
374
|
+
}, {
|
375
|
+
id: string;
|
376
|
+
}>;
|
377
|
+
export declare const CreatePostCategorySchema: z.ZodObject<{
|
378
|
+
id: z.ZodOptional<z.ZodString>;
|
379
|
+
name: z.ZodString;
|
380
|
+
boardId: z.ZodString;
|
381
|
+
parentID: z.ZodOptional<z.ZodString>;
|
382
|
+
subscribeAdmins: z.ZodDefault<z.ZodBoolean>;
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
384
|
+
name: string;
|
385
|
+
boardId: string;
|
386
|
+
subscribeAdmins: boolean;
|
387
|
+
id?: string | undefined;
|
388
|
+
parentID?: string | undefined;
|
389
|
+
}, {
|
390
|
+
name: string;
|
391
|
+
boardId: string;
|
392
|
+
id?: string | undefined;
|
393
|
+
parentID?: string | undefined;
|
394
|
+
subscribeAdmins?: boolean | undefined;
|
395
|
+
}>;
|
396
|
+
export declare const GetPostCategorySchema: z.ZodObject<{
|
397
|
+
id: z.ZodString;
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
399
|
+
id: string;
|
400
|
+
}, {
|
401
|
+
id: string;
|
402
|
+
}>;
|
403
|
+
export declare const ListPostCategoriesSchema: z.ZodObject<{
|
404
|
+
boardId: z.ZodOptional<z.ZodString>;
|
405
|
+
parentID: z.ZodOptional<z.ZodString>;
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
407
|
+
boardId?: string | undefined;
|
408
|
+
parentID?: string | undefined;
|
409
|
+
}, {
|
410
|
+
boardId?: string | undefined;
|
411
|
+
parentID?: string | undefined;
|
412
|
+
}>;
|
413
|
+
export declare const CreateCommentSchema: z.ZodObject<{
|
414
|
+
id: z.ZodOptional<z.ZodString>;
|
415
|
+
author: z.ZodString;
|
416
|
+
boardId: z.ZodString;
|
417
|
+
postId: z.ZodOptional<z.ZodString>;
|
418
|
+
internal: z.ZodDefault<z.ZodBoolean>;
|
419
|
+
parentID: z.ZodOptional<z.ZodString>;
|
420
|
+
private: z.ZodDefault<z.ZodBoolean>;
|
421
|
+
value: z.ZodString;
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
423
|
+
value: string;
|
424
|
+
boardId: string;
|
425
|
+
author: string;
|
426
|
+
internal: boolean;
|
427
|
+
private: boolean;
|
428
|
+
id?: string | undefined;
|
429
|
+
postId?: string | undefined;
|
430
|
+
parentID?: string | undefined;
|
431
|
+
}, {
|
432
|
+
value: string;
|
433
|
+
boardId: string;
|
434
|
+
author: string;
|
435
|
+
id?: string | undefined;
|
436
|
+
postId?: string | undefined;
|
437
|
+
parentID?: string | undefined;
|
438
|
+
internal?: boolean | undefined;
|
439
|
+
private?: boolean | undefined;
|
440
|
+
}>;
|
441
|
+
export declare const GetCommentSchema: z.ZodObject<{
|
442
|
+
id: z.ZodString;
|
443
|
+
}, "strip", z.ZodTypeAny, {
|
444
|
+
id: string;
|
445
|
+
}, {
|
446
|
+
id: string;
|
447
|
+
}>;
|
448
|
+
export declare const ListCommentsSchema: z.ZodObject<{
|
449
|
+
boardId: z.ZodOptional<z.ZodString>;
|
450
|
+
postId: z.ZodOptional<z.ZodString>;
|
451
|
+
parentID: z.ZodOptional<z.ZodString>;
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
453
|
+
postId?: string | undefined;
|
454
|
+
boardId?: string | undefined;
|
455
|
+
parentID?: string | undefined;
|
456
|
+
}, {
|
457
|
+
postId?: string | undefined;
|
458
|
+
boardId?: string | undefined;
|
459
|
+
parentID?: string | undefined;
|
460
|
+
}>;
|
461
|
+
export declare const CreateCommentImageSchema: z.ZodObject<{
|
462
|
+
id: z.ZodOptional<z.ZodString>;
|
463
|
+
commentId: z.ZodString;
|
464
|
+
url: z.ZodString;
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
466
|
+
url: string;
|
467
|
+
commentId: string;
|
468
|
+
id?: string | undefined;
|
469
|
+
}, {
|
470
|
+
url: string;
|
471
|
+
commentId: string;
|
472
|
+
id?: string | undefined;
|
473
|
+
}>;
|
474
|
+
export declare const GetCommentImageSchema: z.ZodObject<{
|
475
|
+
id: z.ZodString;
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
477
|
+
id: string;
|
478
|
+
}, {
|
479
|
+
id: string;
|
480
|
+
}>;
|
481
|
+
export declare const ListCommentImagesSchema: z.ZodObject<{
|
482
|
+
commentId: z.ZodString;
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
484
|
+
commentId: string;
|
485
|
+
}, {
|
486
|
+
commentId: string;
|
487
|
+
}>;
|
488
|
+
export declare const CreateCommentMentionSchema: z.ZodObject<{
|
489
|
+
id: z.ZodOptional<z.ZodString>;
|
490
|
+
commentId: z.ZodString;
|
491
|
+
userId: z.ZodString;
|
492
|
+
}, "strip", z.ZodTypeAny, {
|
493
|
+
userId: string;
|
494
|
+
commentId: string;
|
495
|
+
id?: string | undefined;
|
496
|
+
}, {
|
497
|
+
userId: string;
|
498
|
+
commentId: string;
|
499
|
+
id?: string | undefined;
|
500
|
+
}>;
|
501
|
+
export declare const GetCommentMentionSchema: z.ZodObject<{
|
502
|
+
id: z.ZodString;
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
504
|
+
id: string;
|
505
|
+
}, {
|
506
|
+
id: string;
|
507
|
+
}>;
|
508
|
+
export declare const ListCommentMentionsSchema: z.ZodObject<{
|
509
|
+
commentId: z.ZodString;
|
510
|
+
}, "strip", z.ZodTypeAny, {
|
511
|
+
commentId: string;
|
512
|
+
}, {
|
513
|
+
commentId: string;
|
514
|
+
}>;
|
515
|
+
export declare const CreateVoteSchema: z.ZodObject<{
|
516
|
+
id: z.ZodOptional<z.ZodString>;
|
517
|
+
voterId: z.ZodString;
|
518
|
+
by: z.ZodOptional<z.ZodString>;
|
519
|
+
boardId: z.ZodString;
|
520
|
+
postId: z.ZodString;
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
522
|
+
postId: string;
|
523
|
+
boardId: string;
|
524
|
+
voterId: string;
|
525
|
+
id?: string | undefined;
|
526
|
+
by?: string | undefined;
|
527
|
+
}, {
|
528
|
+
postId: string;
|
529
|
+
boardId: string;
|
530
|
+
voterId: string;
|
531
|
+
id?: string | undefined;
|
532
|
+
by?: string | undefined;
|
533
|
+
}>;
|
534
|
+
export declare const GetVoteSchema: z.ZodObject<{
|
535
|
+
id: z.ZodString;
|
536
|
+
}, "strip", z.ZodTypeAny, {
|
537
|
+
id: string;
|
538
|
+
}, {
|
539
|
+
id: string;
|
540
|
+
}>;
|
541
|
+
export declare const ListVotesSchema: z.ZodObject<{
|
542
|
+
boardId: z.ZodOptional<z.ZodString>;
|
543
|
+
postId: z.ZodOptional<z.ZodString>;
|
544
|
+
voterId: z.ZodOptional<z.ZodString>;
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
546
|
+
postId?: string | undefined;
|
547
|
+
boardId?: string | undefined;
|
548
|
+
voterId?: string | undefined;
|
549
|
+
}, {
|
550
|
+
postId?: string | undefined;
|
551
|
+
boardId?: string | undefined;
|
552
|
+
voterId?: string | undefined;
|
553
|
+
}>;
|
554
|
+
export declare const CreateTagSchema: z.ZodObject<{
|
555
|
+
id: z.ZodOptional<z.ZodString>;
|
556
|
+
boardId: z.ZodString;
|
557
|
+
name: z.ZodString;
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
559
|
+
name: string;
|
560
|
+
boardId: string;
|
561
|
+
id?: string | undefined;
|
562
|
+
}, {
|
563
|
+
name: string;
|
564
|
+
boardId: string;
|
565
|
+
id?: string | undefined;
|
566
|
+
}>;
|
567
|
+
export declare const GetTagSchema: z.ZodObject<{
|
568
|
+
id: z.ZodString;
|
569
|
+
}, "strip", z.ZodTypeAny, {
|
570
|
+
id: string;
|
571
|
+
}, {
|
572
|
+
id: string;
|
573
|
+
}>;
|
574
|
+
export declare const ListTagsSchema: z.ZodObject<{
|
575
|
+
boardId: z.ZodOptional<z.ZodString>;
|
576
|
+
}, "strip", z.ZodTypeAny, {
|
577
|
+
boardId?: string | undefined;
|
578
|
+
}, {
|
579
|
+
boardId?: string | undefined;
|
580
|
+
}>;
|
581
|
+
export declare const CreatePostTagSchema: z.ZodObject<{
|
582
|
+
id: z.ZodOptional<z.ZodString>;
|
583
|
+
postId: z.ZodString;
|
584
|
+
tagId: z.ZodString;
|
585
|
+
}, "strip", z.ZodTypeAny, {
|
586
|
+
postId: string;
|
587
|
+
tagId: string;
|
588
|
+
id?: string | undefined;
|
589
|
+
}, {
|
590
|
+
postId: string;
|
591
|
+
tagId: string;
|
592
|
+
id?: string | undefined;
|
593
|
+
}>;
|
594
|
+
export declare const GetPostTagSchema: z.ZodObject<{
|
595
|
+
id: z.ZodString;
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
597
|
+
id: string;
|
598
|
+
}, {
|
599
|
+
id: string;
|
600
|
+
}>;
|
601
|
+
export declare const ListPostTagsSchema: z.ZodObject<{
|
602
|
+
postId: z.ZodOptional<z.ZodString>;
|
603
|
+
tagId: z.ZodOptional<z.ZodString>;
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
605
|
+
postId?: string | undefined;
|
606
|
+
tagId?: string | undefined;
|
607
|
+
}, {
|
608
|
+
postId?: string | undefined;
|
609
|
+
tagId?: string | undefined;
|
610
|
+
}>;
|
611
|
+
export declare const CreateChangelogSchema: z.ZodObject<{
|
612
|
+
id: z.ZodOptional<z.ZodString>;
|
613
|
+
title: z.ZodString;
|
614
|
+
details: z.ZodOptional<z.ZodString>;
|
615
|
+
lastSaved: z.ZodOptional<z.ZodDate>;
|
616
|
+
publishedAt: z.ZodOptional<z.ZodDate>;
|
617
|
+
scheduledFor: z.ZodOptional<z.ZodDate>;
|
618
|
+
status: z.ZodDefault<z.ZodString>;
|
619
|
+
url: z.ZodOptional<z.ZodString>;
|
620
|
+
type: z.ZodDefault<z.ZodString>;
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
622
|
+
type: string;
|
623
|
+
status: string;
|
624
|
+
title: string;
|
625
|
+
id?: string | undefined;
|
626
|
+
url?: string | undefined;
|
627
|
+
details?: string | undefined;
|
628
|
+
lastSaved?: Date | undefined;
|
629
|
+
publishedAt?: Date | undefined;
|
630
|
+
scheduledFor?: Date | undefined;
|
631
|
+
}, {
|
632
|
+
title: string;
|
633
|
+
type?: string | undefined;
|
634
|
+
status?: string | undefined;
|
635
|
+
id?: string | undefined;
|
636
|
+
url?: string | undefined;
|
637
|
+
details?: string | undefined;
|
638
|
+
lastSaved?: Date | undefined;
|
639
|
+
publishedAt?: Date | undefined;
|
640
|
+
scheduledFor?: Date | undefined;
|
641
|
+
}>;
|
642
|
+
export declare const GetChangelogSchema: z.ZodObject<{
|
643
|
+
id: z.ZodString;
|
644
|
+
}, "strip", z.ZodTypeAny, {
|
645
|
+
id: string;
|
646
|
+
}, {
|
647
|
+
id: string;
|
648
|
+
}>;
|
649
|
+
export declare const ListChangelogsSchema: z.ZodObject<{
|
650
|
+
status: z.ZodOptional<z.ZodString>;
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
652
|
+
status?: string | undefined;
|
653
|
+
}, {
|
654
|
+
status?: string | undefined;
|
655
|
+
}>;
|
656
|
+
export declare const CreateChangeLogPostSchema: z.ZodObject<{
|
657
|
+
id: z.ZodOptional<z.ZodString>;
|
658
|
+
postId: z.ZodString;
|
659
|
+
changelogId: z.ZodString;
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
661
|
+
postId: string;
|
662
|
+
changelogId: string;
|
663
|
+
id?: string | undefined;
|
664
|
+
}, {
|
665
|
+
postId: string;
|
666
|
+
changelogId: string;
|
667
|
+
id?: string | undefined;
|
668
|
+
}>;
|
669
|
+
export declare const GetChangeLogPostSchema: z.ZodObject<{
|
670
|
+
id: z.ZodString;
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
672
|
+
id: string;
|
673
|
+
}, {
|
674
|
+
id: string;
|
675
|
+
}>;
|
676
|
+
export declare const ListChangeLogPostsSchema: z.ZodObject<{
|
677
|
+
postId: z.ZodOptional<z.ZodString>;
|
678
|
+
changelogId: z.ZodOptional<z.ZodString>;
|
679
|
+
}, "strip", z.ZodTypeAny, {
|
680
|
+
postId?: string | undefined;
|
681
|
+
changelogId?: string | undefined;
|
682
|
+
}, {
|
683
|
+
postId?: string | undefined;
|
684
|
+
changelogId?: string | undefined;
|
685
|
+
}>;
|
686
|
+
export declare const CreateStatusChangeSchema: z.ZodObject<{
|
687
|
+
id: z.ZodOptional<z.ZodString>;
|
688
|
+
changerId: z.ZodString;
|
689
|
+
changeComment: z.ZodOptional<z.ZodString>;
|
690
|
+
postId: z.ZodString;
|
691
|
+
status: z.ZodNativeEnum<typeof PostStatus>;
|
692
|
+
}, "strip", z.ZodTypeAny, {
|
693
|
+
status: PostStatus;
|
694
|
+
postId: string;
|
695
|
+
changerId: string;
|
696
|
+
id?: string | undefined;
|
697
|
+
changeComment?: string | undefined;
|
698
|
+
}, {
|
699
|
+
status: PostStatus;
|
700
|
+
postId: string;
|
701
|
+
changerId: string;
|
702
|
+
id?: string | undefined;
|
703
|
+
changeComment?: string | undefined;
|
704
|
+
}>;
|
705
|
+
export declare const GetStatusChangeSchema: z.ZodObject<{
|
706
|
+
id: z.ZodString;
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
708
|
+
id: string;
|
709
|
+
}, {
|
710
|
+
id: string;
|
711
|
+
}>;
|
712
|
+
export declare const ListStatusChangesSchema: z.ZodObject<{
|
713
|
+
postId: z.ZodOptional<z.ZodString>;
|
714
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof PostStatus>>;
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
716
|
+
status?: PostStatus | undefined;
|
717
|
+
postId?: string | undefined;
|
718
|
+
}, {
|
719
|
+
status?: PostStatus | undefined;
|
720
|
+
postId?: string | undefined;
|
721
|
+
}>;
|
722
|
+
export declare const ChangePostCategorySchema: z.ZodObject<{
|
723
|
+
postId: z.ZodString;
|
724
|
+
postCategoryId: z.ZodString;
|
725
|
+
}, "strip", z.ZodTypeAny, {
|
726
|
+
postId: string;
|
727
|
+
postCategoryId: string;
|
728
|
+
}, {
|
729
|
+
postId: string;
|
730
|
+
postCategoryId: string;
|
731
|
+
}>;
|
732
|
+
export declare const ChangePostStatusSchema: z.ZodObject<{
|
733
|
+
postId: z.ZodString;
|
734
|
+
status: z.ZodNativeEnum<typeof PostStatus>;
|
735
|
+
}, "strip", z.ZodTypeAny, {
|
736
|
+
status: PostStatus;
|
737
|
+
postId: string;
|
738
|
+
}, {
|
739
|
+
status: PostStatus;
|
740
|
+
postId: string;
|
741
|
+
}>;
|
742
|
+
export declare const DeleteCommentSchema: z.ZodObject<{
|
743
|
+
id: z.ZodString;
|
744
|
+
}, "strip", z.ZodTypeAny, {
|
745
|
+
id: string;
|
746
|
+
}, {
|
747
|
+
id: string;
|
748
|
+
}>;
|
749
|
+
export declare const DeletePostCategorySchema: z.ZodObject<{
|
750
|
+
id: z.ZodString;
|
751
|
+
}, "strip", z.ZodTypeAny, {
|
752
|
+
id: string;
|
753
|
+
}, {
|
754
|
+
id: string;
|
755
|
+
}>;
|
756
|
+
export declare const DeleteVoteSchema: z.ZodObject<{
|
757
|
+
id: z.ZodString;
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
759
|
+
id: string;
|
760
|
+
}, {
|
761
|
+
id: string;
|
762
|
+
}>;
|
763
|
+
export declare const GetChangeLogSchema: z.ZodObject<{
|
764
|
+
id: z.ZodString;
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
766
|
+
id: string;
|
767
|
+
}, {
|
768
|
+
id: string;
|
769
|
+
}>;
|
770
|
+
export declare const ListChangeLogsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|