@plumix/core 0.3.0 → 0.4.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.
Files changed (132) hide show
  1. package/dist/auth/bootstrap.d.ts.map +1 -1
  2. package/dist/auth/bootstrap.js +39 -22
  3. package/dist/auth/bootstrap.js.map +1 -1
  4. package/dist/cache/tags.d.ts.map +1 -1
  5. package/dist/cache/tags.js +9 -0
  6. package/dist/cache/tags.js.map +1 -1
  7. package/dist/db/errors.d.ts +8 -0
  8. package/dist/db/errors.d.ts.map +1 -1
  9. package/dist/db/errors.js +22 -0
  10. package/dist/db/errors.js.map +1 -1
  11. package/dist/db/index.d.ts +1 -1
  12. package/dist/db/index.d.ts.map +1 -1
  13. package/dist/db/index.js +1 -1
  14. package/dist/db/index.js.map +1 -1
  15. package/dist/db/schema/users.d.ts +57 -0
  16. package/dist/db/schema/users.d.ts.map +1 -1
  17. package/dist/db/schema/users.js +10 -2
  18. package/dist/db/schema/users.js.map +1 -1
  19. package/dist/debug-bar/template-node-label.d.ts.map +1 -1
  20. package/dist/debug-bar/template-node-label.js +8 -0
  21. package/dist/debug-bar/template-node-label.js.map +1 -1
  22. package/dist/index.d.ts +4 -4
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js +2 -2
  25. package/dist/index.js.map +1 -1
  26. package/dist/plugin/manifest.d.ts +34 -0
  27. package/dist/plugin/manifest.d.ts.map +1 -1
  28. package/dist/plugin/manifest.js +1 -0
  29. package/dist/plugin/manifest.js.map +1 -1
  30. package/dist/plugin/setup-context.d.ts +10 -1
  31. package/dist/plugin/setup-context.d.ts.map +1 -1
  32. package/dist/plugin/setup-context.js +12 -0
  33. package/dist/plugin/setup-context.js.map +1 -1
  34. package/dist/route/compile.d.ts +21 -0
  35. package/dist/route/compile.d.ts.map +1 -1
  36. package/dist/route/compile.js +63 -1
  37. package/dist/route/compile.js.map +1 -1
  38. package/dist/route/current.d.ts +5 -3
  39. package/dist/route/current.d.ts.map +1 -1
  40. package/dist/route/date-range.d.ts +12 -0
  41. package/dist/route/date-range.d.ts.map +1 -0
  42. package/dist/route/date-range.js +39 -0
  43. package/dist/route/date-range.js.map +1 -0
  44. package/dist/route/intent.d.ts +7 -3
  45. package/dist/route/intent.d.ts.map +1 -1
  46. package/dist/route/match.d.ts +1 -0
  47. package/dist/route/match.d.ts.map +1 -1
  48. package/dist/route/match.js +1 -1
  49. package/dist/route/match.js.map +1 -1
  50. package/dist/route/render/build-resolved-entries.d.ts.map +1 -1
  51. package/dist/route/render/build-resolved-entries.js +6 -1
  52. package/dist/route/render/build-resolved-entries.js.map +1 -1
  53. package/dist/route/render/resolved-entry.d.ts +36 -0
  54. package/dist/route/render/resolved-entry.d.ts.map +1 -1
  55. package/dist/route/render/template-builders.d.ts +54 -2
  56. package/dist/route/render/template-builders.d.ts.map +1 -1
  57. package/dist/route/render/template-builders.js +63 -4
  58. package/dist/route/render/template-builders.js.map +1 -1
  59. package/dist/route/render/template-hierarchy.d.ts +17 -1
  60. package/dist/route/render/template-hierarchy.d.ts.map +1 -1
  61. package/dist/route/render/template-hierarchy.js +23 -0
  62. package/dist/route/render/template-hierarchy.js.map +1 -1
  63. package/dist/route/resolve.d.ts +3 -1
  64. package/dist/route/resolve.d.ts.map +1 -1
  65. package/dist/route/resolve.js +148 -4
  66. package/dist/route/resolve.js.map +1 -1
  67. package/dist/rpc/procedures/entry/create.d.ts +2 -2
  68. package/dist/rpc/procedures/entry/delete-permanent.d.ts +2 -2
  69. package/dist/rpc/procedures/entry/duplicate.d.ts +2 -2
  70. package/dist/rpc/procedures/entry/get.d.ts +2 -2
  71. package/dist/rpc/procedures/entry/index.d.ts +22 -22
  72. package/dist/rpc/procedures/entry/list.d.ts +2 -2
  73. package/dist/rpc/procedures/entry/publish.d.ts +2 -2
  74. package/dist/rpc/procedures/entry/restore.d.ts +2 -2
  75. package/dist/rpc/procedures/entry/revisions.d.ts +8 -8
  76. package/dist/rpc/procedures/entry/trash.d.ts +2 -2
  77. package/dist/rpc/procedures/entry/update.d.ts +2 -2
  78. package/dist/rpc/procedures/term/create.d.ts +2 -2
  79. package/dist/rpc/procedures/term/delete.d.ts +2 -2
  80. package/dist/rpc/procedures/term/get.d.ts +2 -2
  81. package/dist/rpc/procedures/term/index.d.ts +10 -10
  82. package/dist/rpc/procedures/term/list.d.ts +2 -2
  83. package/dist/rpc/procedures/term/update.d.ts +2 -2
  84. package/dist/rpc/procedures/user/delete.d.ts +2 -0
  85. package/dist/rpc/procedures/user/delete.d.ts.map +1 -1
  86. package/dist/rpc/procedures/user/disable.d.ts +2 -0
  87. package/dist/rpc/procedures/user/disable.d.ts.map +1 -1
  88. package/dist/rpc/procedures/user/enable.d.ts +2 -0
  89. package/dist/rpc/procedures/user/enable.d.ts.map +1 -1
  90. package/dist/rpc/procedures/user/get.d.ts +2 -0
  91. package/dist/rpc/procedures/user/get.d.ts.map +1 -1
  92. package/dist/rpc/procedures/user/index.d.ts +12 -0
  93. package/dist/rpc/procedures/user/index.d.ts.map +1 -1
  94. package/dist/rpc/procedures/user/invite.d.ts.map +1 -1
  95. package/dist/rpc/procedures/user/invite.js +28 -15
  96. package/dist/rpc/procedures/user/invite.js.map +1 -1
  97. package/dist/rpc/procedures/user/list.d.ts +2 -0
  98. package/dist/rpc/procedures/user/list.d.ts.map +1 -1
  99. package/dist/rpc/procedures/user/list.js +1 -0
  100. package/dist/rpc/procedures/user/list.js.map +1 -1
  101. package/dist/rpc/procedures/user/update.d.ts +2 -0
  102. package/dist/rpc/procedures/user/update.d.ts.map +1 -1
  103. package/dist/rpc/router.d.ts +44 -32
  104. package/dist/rpc/router.d.ts.map +1 -1
  105. package/dist/runtime/dispatcher.d.ts.map +1 -1
  106. package/dist/runtime/dispatcher.js +70 -6
  107. package/dist/runtime/dispatcher.js.map +1 -1
  108. package/dist/seo/feed.d.ts +19 -4
  109. package/dist/seo/feed.d.ts.map +1 -1
  110. package/dist/seo/feed.js +49 -12
  111. package/dist/seo/feed.js.map +1 -1
  112. package/dist/seo/head-defaults.d.ts.map +1 -1
  113. package/dist/seo/head-defaults.js +6 -3
  114. package/dist/seo/head-defaults.js.map +1 -1
  115. package/dist/template-registry.d.ts +31 -1
  116. package/dist/template-registry.d.ts.map +1 -1
  117. package/dist/test/default-theme.d.ts.map +1 -1
  118. package/dist/test/default-theme.js +3 -0
  119. package/dist/test/default-theme.js.map +1 -1
  120. package/dist/test/factories.d.ts +39 -21
  121. package/dist/test/factories.d.ts.map +1 -1
  122. package/dist/test/factories.js +1 -0
  123. package/dist/test/factories.js.map +1 -1
  124. package/dist/theme.d.ts +15 -7
  125. package/dist/theme.d.ts.map +1 -1
  126. package/dist/theme.js +9 -0
  127. package/dist/theme.js.map +1 -1
  128. package/dist/users/slug.d.ts +12 -0
  129. package/dist/users/slug.d.ts.map +1 -0
  130. package/dist/users/slug.js +32 -0
  131. package/dist/users/slug.js.map +1 -0
  132. package/package.json +2 -2
@@ -27,13 +27,13 @@ export declare const entryRouter: {
27
27
  readonly offset: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, 0>;
28
28
  }, undefined>, import("@orpc/server").Schema<readonly {
29
29
  id: number;
30
+ slug: string;
30
31
  meta: Record<string, unknown>;
31
32
  createdAt: Date;
32
33
  updatedAt: Date;
33
34
  type: string;
34
35
  parentId: number | null;
35
36
  title: string;
36
- slug: string;
37
37
  content: import("../../../index.js").EntryContent | null;
38
38
  excerpt: string | null;
39
39
  status: "draft" | "published" | "scheduled" | "trash";
@@ -42,13 +42,13 @@ export declare const entryRouter: {
42
42
  publishedAt: Date | null;
43
43
  }[], readonly {
44
44
  id: number;
45
+ slug: string;
45
46
  meta: Record<string, unknown>;
46
47
  createdAt: Date;
47
48
  updatedAt: Date;
48
49
  type: string;
49
50
  parentId: number | null;
50
51
  title: string;
51
- slug: string;
52
52
  content: import("../../../index.js").EntryContent | null;
53
53
  excerpt: string | null;
54
54
  status: "draft" | "published" | "scheduled" | "trash";
@@ -117,13 +117,13 @@ export declare const entryRouter: {
117
117
  readonly preview: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
118
118
  }, undefined>, import("@orpc/server").Schema<{
119
119
  id: number;
120
+ slug: string;
120
121
  meta: Record<string, unknown>;
121
122
  createdAt: Date;
122
123
  updatedAt: Date;
123
124
  type: string;
124
125
  parentId: number | null;
125
126
  title: string;
126
- slug: string;
127
127
  content: import("../../../index.js").EntryContent | null;
128
128
  excerpt: string | null;
129
129
  status: "draft" | "published" | "scheduled" | "trash";
@@ -139,13 +139,13 @@ export declare const entryRouter: {
139
139
  };
140
140
  }, {
141
141
  id: number;
142
+ slug: string;
142
143
  meta: Record<string, unknown>;
143
144
  createdAt: Date;
144
145
  updatedAt: Date;
145
146
  type: string;
146
147
  parentId: number | null;
147
148
  title: string;
148
- slug: string;
149
149
  content: import("../../../index.js").EntryContent | null;
150
150
  excerpt: string | null;
151
151
  status: "draft" | "published" | "scheduled" | "trash";
@@ -237,13 +237,13 @@ export declare const entryRouter: {
237
237
  readonly publishedAt: import("valibot").OptionalSchema<import("valibot").DateSchema<undefined>, undefined>;
238
238
  }, undefined>, import("@orpc/server").Schema<{
239
239
  id: number;
240
+ slug: string;
240
241
  meta: Record<string, unknown>;
241
242
  createdAt: Date;
242
243
  updatedAt: Date;
243
244
  type: string;
244
245
  parentId: number | null;
245
246
  title: string;
246
- slug: string;
247
247
  content: import("../../../index.js").EntryContent | null;
248
248
  excerpt: string | null;
249
249
  status: "draft" | "published" | "scheduled" | "trash";
@@ -252,13 +252,13 @@ export declare const entryRouter: {
252
252
  publishedAt: Date | null;
253
253
  }, {
254
254
  id: number;
255
+ slug: string;
255
256
  meta: Record<string, unknown>;
256
257
  createdAt: Date;
257
258
  updatedAt: Date;
258
259
  type: string;
259
260
  parentId: number | null;
260
261
  title: string;
261
- slug: string;
262
262
  content: import("../../../index.js").EntryContent | null;
263
263
  excerpt: string | null;
264
264
  status: "draft" | "published" | "scheduled" | "trash";
@@ -345,13 +345,13 @@ export declare const entryRouter: {
345
345
  readonly saveAs: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["draft", "live"], undefined>, undefined>;
346
346
  }, undefined>, import("@orpc/server").Schema<{
347
347
  id: number;
348
+ slug: string;
348
349
  meta: Record<string, unknown>;
349
350
  createdAt: Date;
350
351
  updatedAt: Date;
351
352
  type: string;
352
353
  parentId: number | null;
353
354
  title: string;
354
- slug: string;
355
355
  content: import("../../../index.js").EntryContent | null;
356
356
  excerpt: string | null;
357
357
  status: "draft" | "published" | "scheduled" | "trash";
@@ -360,13 +360,13 @@ export declare const entryRouter: {
360
360
  publishedAt: Date | null;
361
361
  }, {
362
362
  id: number;
363
+ slug: string;
363
364
  meta: Record<string, unknown>;
364
365
  createdAt: Date;
365
366
  updatedAt: Date;
366
367
  type: string;
367
368
  parentId: number | null;
368
369
  title: string;
369
- slug: string;
370
370
  content: import("../../../index.js").EntryContent | null;
371
371
  excerpt: string | null;
372
372
  status: "draft" | "published" | "scheduled" | "trash";
@@ -434,13 +434,13 @@ export declare const entryRouter: {
434
434
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
435
435
  }, undefined>, import("@orpc/server").Schema<{
436
436
  id: number;
437
+ slug: string;
437
438
  meta: Record<string, unknown>;
438
439
  createdAt: Date;
439
440
  updatedAt: Date;
440
441
  type: string;
441
442
  parentId: number | null;
442
443
  title: string;
443
- slug: string;
444
444
  content: import("../../../index.js").EntryContent | null;
445
445
  excerpt: string | null;
446
446
  status: "draft" | "published" | "scheduled" | "trash";
@@ -449,13 +449,13 @@ export declare const entryRouter: {
449
449
  publishedAt: Date | null;
450
450
  }, {
451
451
  id: number;
452
+ slug: string;
452
453
  meta: Record<string, unknown>;
453
454
  createdAt: Date;
454
455
  updatedAt: Date;
455
456
  type: string;
456
457
  parentId: number | null;
457
458
  title: string;
458
- slug: string;
459
459
  content: import("../../../index.js").EntryContent | null;
460
460
  excerpt: string | null;
461
461
  status: "draft" | "published" | "scheduled" | "trash";
@@ -523,13 +523,13 @@ export declare const entryRouter: {
523
523
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
524
524
  }, undefined>, import("@orpc/server").Schema<{
525
525
  id: number;
526
+ slug: string;
526
527
  meta: Record<string, unknown>;
527
528
  createdAt: Date;
528
529
  updatedAt: Date;
529
530
  type: string;
530
531
  parentId: number | null;
531
532
  title: string;
532
- slug: string;
533
533
  content: import("../../../index.js").EntryContent | null;
534
534
  excerpt: string | null;
535
535
  status: "draft" | "published" | "scheduled" | "trash";
@@ -538,13 +538,13 @@ export declare const entryRouter: {
538
538
  publishedAt: Date | null;
539
539
  }, {
540
540
  id: number;
541
+ slug: string;
541
542
  meta: Record<string, unknown>;
542
543
  createdAt: Date;
543
544
  updatedAt: Date;
544
545
  type: string;
545
546
  parentId: number | null;
546
547
  title: string;
547
- slug: string;
548
548
  content: import("../../../index.js").EntryContent | null;
549
549
  excerpt: string | null;
550
550
  status: "draft" | "published" | "scheduled" | "trash";
@@ -612,13 +612,13 @@ export declare const entryRouter: {
612
612
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
613
613
  }, undefined>, import("@orpc/server").Schema<{
614
614
  id: number;
615
+ slug: string;
615
616
  meta: Record<string, unknown>;
616
617
  createdAt: Date;
617
618
  updatedAt: Date;
618
619
  type: string;
619
620
  parentId: number | null;
620
621
  title: string;
621
- slug: string;
622
622
  content: import("../../../index.js").EntryContent | null;
623
623
  excerpt: string | null;
624
624
  status: "draft" | "published" | "scheduled" | "trash";
@@ -627,13 +627,13 @@ export declare const entryRouter: {
627
627
  publishedAt: Date | null;
628
628
  }, {
629
629
  id: number;
630
+ slug: string;
630
631
  meta: Record<string, unknown>;
631
632
  createdAt: Date;
632
633
  updatedAt: Date;
633
634
  type: string;
634
635
  parentId: number | null;
635
636
  title: string;
636
- slug: string;
637
637
  content: import("../../../index.js").EntryContent | null;
638
638
  excerpt: string | null;
639
639
  status: "draft" | "published" | "scheduled" | "trash";
@@ -890,13 +890,13 @@ export declare const entryRouter: {
890
890
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
891
891
  }, undefined>, import("@orpc/server").Schema<{
892
892
  id: number;
893
+ slug: string;
893
894
  meta: Record<string, unknown>;
894
895
  createdAt: Date;
895
896
  updatedAt: Date;
896
897
  type: string;
897
898
  parentId: number | null;
898
899
  title: string;
899
- slug: string;
900
900
  content: import("../../../index.js").EntryContent | null;
901
901
  excerpt: string | null;
902
902
  status: "draft" | "published" | "scheduled" | "trash";
@@ -905,13 +905,13 @@ export declare const entryRouter: {
905
905
  publishedAt: Date | null;
906
906
  }, {
907
907
  id: number;
908
+ slug: string;
908
909
  meta: Record<string, unknown>;
909
910
  createdAt: Date;
910
911
  updatedAt: Date;
911
912
  type: string;
912
913
  parentId: number | null;
913
914
  title: string;
914
- slug: string;
915
915
  content: import("../../../index.js").EntryContent | null;
916
916
  excerpt: string | null;
917
917
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1109,13 +1109,13 @@ export declare const entryRouter: {
1109
1109
  readonly expectedLiveUpdatedAt: import("valibot").DateSchema<undefined>;
1110
1110
  }, undefined>, import("@orpc/server").Schema<{
1111
1111
  id: number;
1112
+ slug: string;
1112
1113
  meta: Record<string, unknown>;
1113
1114
  createdAt: Date;
1114
1115
  updatedAt: Date;
1115
1116
  type: string;
1116
1117
  parentId: number | null;
1117
1118
  title: string;
1118
- slug: string;
1119
1119
  content: import("../../../index.js").EntryContent | null;
1120
1120
  excerpt: string | null;
1121
1121
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1124,13 +1124,13 @@ export declare const entryRouter: {
1124
1124
  publishedAt: Date | null;
1125
1125
  }, {
1126
1126
  id: number;
1127
+ slug: string;
1127
1128
  meta: Record<string, unknown>;
1128
1129
  createdAt: Date;
1129
1130
  updatedAt: Date;
1130
1131
  type: string;
1131
1132
  parentId: number | null;
1132
1133
  title: string;
1133
- slug: string;
1134
1134
  content: import("../../../index.js").EntryContent | null;
1135
1135
  excerpt: string | null;
1136
1136
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1486,13 +1486,13 @@ export declare const entryRouter: {
1486
1486
  authorEmail: string | null;
1487
1487
  message: string | null;
1488
1488
  id: number;
1489
+ slug: string;
1489
1490
  meta: Record<string, unknown>;
1490
1491
  createdAt: Date;
1491
1492
  updatedAt: Date;
1492
1493
  type: string;
1493
1494
  parentId: number | null;
1494
1495
  title: string;
1495
- slug: string;
1496
1496
  content: import("../../../index.js").EntryContent | null;
1497
1497
  excerpt: string | null;
1498
1498
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1504,13 +1504,13 @@ export declare const entryRouter: {
1504
1504
  authorEmail: string | null;
1505
1505
  message: string | null;
1506
1506
  id: number;
1507
+ slug: string;
1507
1508
  meta: Record<string, unknown>;
1508
1509
  createdAt: Date;
1509
1510
  updatedAt: Date;
1510
1511
  type: string;
1511
1512
  parentId: number | null;
1512
1513
  title: string;
1513
- slug: string;
1514
1514
  content: import("../../../index.js").EntryContent | null;
1515
1515
  excerpt: string | null;
1516
1516
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1579,13 +1579,13 @@ export declare const entryRouter: {
1579
1579
  readonly expectedLiveUpdatedAt: import("valibot").OptionalSchema<import("valibot").DateSchema<undefined>, undefined>;
1580
1580
  }, undefined>, import("@orpc/server").Schema<{
1581
1581
  id: number;
1582
+ slug: string;
1582
1583
  meta: Record<string, unknown>;
1583
1584
  createdAt: Date;
1584
1585
  updatedAt: Date;
1585
1586
  type: string;
1586
1587
  parentId: number | null;
1587
1588
  title: string;
1588
- slug: string;
1589
1589
  content: import("../../../index.js").EntryContent | null;
1590
1590
  excerpt: string | null;
1591
1591
  status: "draft" | "published" | "scheduled" | "trash";
@@ -1594,13 +1594,13 @@ export declare const entryRouter: {
1594
1594
  publishedAt: Date | null;
1595
1595
  }, {
1596
1596
  id: number;
1597
+ slug: string;
1597
1598
  meta: Record<string, unknown>;
1598
1599
  createdAt: Date;
1599
1600
  updatedAt: Date;
1600
1601
  type: string;
1601
1602
  parentId: number | null;
1602
1603
  title: string;
1603
- slug: string;
1604
1604
  content: import("../../../index.js").EntryContent | null;
1605
1605
  excerpt: string | null;
1606
1606
  status: "draft" | "published" | "scheduled" | "trash";
@@ -26,13 +26,13 @@ export declare const list: import("@orpc/server").DecoratedProcedure<import("@or
26
26
  readonly offset: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, 0>;
27
27
  }, undefined>, import("@orpc/server").Schema<readonly {
28
28
  id: number;
29
+ slug: string;
29
30
  meta: Record<string, unknown>;
30
31
  createdAt: Date;
31
32
  updatedAt: Date;
32
33
  type: string;
33
34
  parentId: number | null;
34
35
  title: string;
35
- slug: string;
36
36
  content: import("../../../index.js").EntryContent | null;
37
37
  excerpt: string | null;
38
38
  status: "draft" | "published" | "scheduled" | "trash";
@@ -41,13 +41,13 @@ export declare const list: import("@orpc/server").DecoratedProcedure<import("@or
41
41
  publishedAt: Date | null;
42
42
  }[], readonly {
43
43
  id: number;
44
+ slug: string;
44
45
  meta: Record<string, unknown>;
45
46
  createdAt: Date;
46
47
  updatedAt: Date;
47
48
  type: string;
48
49
  parentId: number | null;
49
50
  title: string;
50
- slug: string;
51
51
  content: import("../../../index.js").EntryContent | null;
52
52
  excerpt: string | null;
53
53
  status: "draft" | "published" | "scheduled" | "trash";
@@ -4,13 +4,13 @@ export declare const publish: import("@orpc/server").DecoratedProcedure<import("
4
4
  readonly expectedLiveUpdatedAt: v.DateSchema<undefined>;
5
5
  }, undefined>, import("@orpc/server").Schema<{
6
6
  id: number;
7
+ slug: string;
7
8
  meta: Record<string, unknown>;
8
9
  createdAt: Date;
9
10
  updatedAt: Date;
10
11
  type: string;
11
12
  parentId: number | null;
12
13
  title: string;
13
- slug: string;
14
14
  content: import("../../../index.js").EntryContent | null;
15
15
  excerpt: string | null;
16
16
  status: "draft" | "published" | "scheduled" | "trash";
@@ -19,13 +19,13 @@ export declare const publish: import("@orpc/server").DecoratedProcedure<import("
19
19
  publishedAt: Date | null;
20
20
  }, {
21
21
  id: number;
22
+ slug: string;
22
23
  meta: Record<string, unknown>;
23
24
  createdAt: Date;
24
25
  updatedAt: Date;
25
26
  type: string;
26
27
  parentId: number | null;
27
28
  title: string;
28
- slug: string;
29
29
  content: import("../../../index.js").EntryContent | null;
30
30
  excerpt: string | null;
31
31
  status: "draft" | "published" | "scheduled" | "trash";
@@ -2,13 +2,13 @@ export declare const restore: import("@orpc/server").DecoratedProcedure<import("
2
2
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
3
3
  }, undefined>, import("@orpc/server").Schema<{
4
4
  id: number;
5
+ slug: string;
5
6
  meta: Record<string, unknown>;
6
7
  createdAt: Date;
7
8
  updatedAt: Date;
8
9
  type: string;
9
10
  parentId: number | null;
10
11
  title: string;
11
- slug: string;
12
12
  content: import("../../../index.js").EntryContent | null;
13
13
  excerpt: string | null;
14
14
  status: "draft" | "published" | "scheduled" | "trash";
@@ -17,13 +17,13 @@ export declare const restore: import("@orpc/server").DecoratedProcedure<import("
17
17
  publishedAt: Date | null;
18
18
  }, {
19
19
  id: number;
20
+ slug: string;
20
21
  meta: Record<string, unknown>;
21
22
  createdAt: Date;
22
23
  updatedAt: Date;
23
24
  type: string;
24
25
  parentId: number | null;
25
26
  title: string;
26
- slug: string;
27
27
  content: import("../../../index.js").EntryContent | null;
28
28
  excerpt: string | null;
29
29
  status: "draft" | "published" | "scheduled" | "trash";
@@ -89,13 +89,13 @@ export declare const get: import("@orpc/server").DecoratedProcedure<import("@orp
89
89
  authorEmail: string | null;
90
90
  message: string | null;
91
91
  id: number;
92
+ slug: string;
92
93
  meta: Record<string, unknown>;
93
94
  createdAt: Date;
94
95
  updatedAt: Date;
95
96
  type: string;
96
97
  parentId: number | null;
97
98
  title: string;
98
- slug: string;
99
99
  content: import("../../../index.js").EntryContent | null;
100
100
  excerpt: string | null;
101
101
  status: "draft" | "published" | "scheduled" | "trash";
@@ -107,13 +107,13 @@ export declare const get: import("@orpc/server").DecoratedProcedure<import("@orp
107
107
  authorEmail: string | null;
108
108
  message: string | null;
109
109
  id: number;
110
+ slug: string;
110
111
  meta: Record<string, unknown>;
111
112
  createdAt: Date;
112
113
  updatedAt: Date;
113
114
  type: string;
114
115
  parentId: number | null;
115
116
  title: string;
116
- slug: string;
117
117
  content: import("../../../index.js").EntryContent | null;
118
118
  excerpt: string | null;
119
119
  status: "draft" | "published" | "scheduled" | "trash";
@@ -182,13 +182,13 @@ export declare const restore: import("@orpc/server").DecoratedProcedure<import("
182
182
  readonly expectedLiveUpdatedAt: v.OptionalSchema<v.DateSchema<undefined>, undefined>;
183
183
  }, undefined>, import("@orpc/server").Schema<{
184
184
  id: number;
185
+ slug: string;
185
186
  meta: Record<string, unknown>;
186
187
  createdAt: Date;
187
188
  updatedAt: Date;
188
189
  type: string;
189
190
  parentId: number | null;
190
191
  title: string;
191
- slug: string;
192
192
  content: import("../../../index.js").EntryContent | null;
193
193
  excerpt: string | null;
194
194
  status: "draft" | "published" | "scheduled" | "trash";
@@ -197,13 +197,13 @@ export declare const restore: import("@orpc/server").DecoratedProcedure<import("
197
197
  publishedAt: Date | null;
198
198
  }, {
199
199
  id: number;
200
+ slug: string;
200
201
  meta: Record<string, unknown>;
201
202
  createdAt: Date;
202
203
  updatedAt: Date;
203
204
  type: string;
204
205
  parentId: number | null;
205
206
  title: string;
206
- slug: string;
207
207
  content: import("../../../index.js").EntryContent | null;
208
208
  excerpt: string | null;
209
209
  status: "draft" | "published" | "scheduled" | "trash";
@@ -424,13 +424,13 @@ export declare const revisionsRouter: {
424
424
  authorEmail: string | null;
425
425
  message: string | null;
426
426
  id: number;
427
+ slug: string;
427
428
  meta: Record<string, unknown>;
428
429
  createdAt: Date;
429
430
  updatedAt: Date;
430
431
  type: string;
431
432
  parentId: number | null;
432
433
  title: string;
433
- slug: string;
434
434
  content: import("../../../index.js").EntryContent | null;
435
435
  excerpt: string | null;
436
436
  status: "draft" | "published" | "scheduled" | "trash";
@@ -442,13 +442,13 @@ export declare const revisionsRouter: {
442
442
  authorEmail: string | null;
443
443
  message: string | null;
444
444
  id: number;
445
+ slug: string;
445
446
  meta: Record<string, unknown>;
446
447
  createdAt: Date;
447
448
  updatedAt: Date;
448
449
  type: string;
449
450
  parentId: number | null;
450
451
  title: string;
451
- slug: string;
452
452
  content: import("../../../index.js").EntryContent | null;
453
453
  excerpt: string | null;
454
454
  status: "draft" | "published" | "scheduled" | "trash";
@@ -517,13 +517,13 @@ export declare const revisionsRouter: {
517
517
  readonly expectedLiveUpdatedAt: v.OptionalSchema<v.DateSchema<undefined>, undefined>;
518
518
  }, undefined>, import("@orpc/server").Schema<{
519
519
  id: number;
520
+ slug: string;
520
521
  meta: Record<string, unknown>;
521
522
  createdAt: Date;
522
523
  updatedAt: Date;
523
524
  type: string;
524
525
  parentId: number | null;
525
526
  title: string;
526
- slug: string;
527
527
  content: import("../../../index.js").EntryContent | null;
528
528
  excerpt: string | null;
529
529
  status: "draft" | "published" | "scheduled" | "trash";
@@ -532,13 +532,13 @@ export declare const revisionsRouter: {
532
532
  publishedAt: Date | null;
533
533
  }, {
534
534
  id: number;
535
+ slug: string;
535
536
  meta: Record<string, unknown>;
536
537
  createdAt: Date;
537
538
  updatedAt: Date;
538
539
  type: string;
539
540
  parentId: number | null;
540
541
  title: string;
541
- slug: string;
542
542
  content: import("../../../index.js").EntryContent | null;
543
543
  excerpt: string | null;
544
544
  status: "draft" | "published" | "scheduled" | "trash";
@@ -2,13 +2,13 @@ export declare const trash: import("@orpc/server").DecoratedProcedure<import("@o
2
2
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
3
3
  }, undefined>, import("@orpc/server").Schema<{
4
4
  id: number;
5
+ slug: string;
5
6
  meta: Record<string, unknown>;
6
7
  createdAt: Date;
7
8
  updatedAt: Date;
8
9
  type: string;
9
10
  parentId: number | null;
10
11
  title: string;
11
- slug: string;
12
12
  content: import("../../../index.js").EntryContent | null;
13
13
  excerpt: string | null;
14
14
  status: "draft" | "published" | "scheduled" | "trash";
@@ -17,13 +17,13 @@ export declare const trash: import("@orpc/server").DecoratedProcedure<import("@o
17
17
  publishedAt: Date | null;
18
18
  }, {
19
19
  id: number;
20
+ slug: string;
20
21
  meta: Record<string, unknown>;
21
22
  createdAt: Date;
22
23
  updatedAt: Date;
23
24
  type: string;
24
25
  parentId: number | null;
25
26
  title: string;
26
- slug: string;
27
27
  content: import("../../../index.js").EntryContent | null;
28
28
  excerpt: string | null;
29
29
  status: "draft" | "published" | "scheduled" | "trash";
@@ -22,13 +22,13 @@ export declare const update: import("@orpc/server").DecoratedProcedure<import("@
22
22
  readonly saveAs: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["draft", "live"], undefined>, undefined>;
23
23
  }, undefined>, import("@orpc/server").Schema<{
24
24
  id: number;
25
+ slug: string;
25
26
  meta: Record<string, unknown>;
26
27
  createdAt: Date;
27
28
  updatedAt: Date;
28
29
  type: string;
29
30
  parentId: number | null;
30
31
  title: string;
31
- slug: string;
32
32
  content: import("../../../index.js").EntryContent | null;
33
33
  excerpt: string | null;
34
34
  status: "draft" | "published" | "scheduled" | "trash";
@@ -37,13 +37,13 @@ export declare const update: import("@orpc/server").DecoratedProcedure<import("@
37
37
  publishedAt: Date | null;
38
38
  }, {
39
39
  id: number;
40
+ slug: string;
40
41
  meta: Record<string, unknown>;
41
42
  createdAt: Date;
42
43
  updatedAt: Date;
43
44
  type: string;
44
45
  parentId: number | null;
45
46
  title: string;
46
- slug: string;
47
47
  content: import("../../../index.js").EntryContent | null;
48
48
  excerpt: string | null;
49
49
  status: "draft" | "published" | "scheduled" | "trash";
@@ -9,20 +9,20 @@ export declare const create: import("@orpc/server").DecoratedProcedure<import("@
9
9
  }, "meta accepts at most 200 keys per request">]>, undefined>;
10
10
  }, undefined>, import("@orpc/server").Schema<{
11
11
  id: number;
12
+ slug: string;
12
13
  name: string;
13
14
  meta: Record<string, unknown>;
14
15
  taxonomy: string;
15
16
  parentId: number | null;
16
- slug: string;
17
17
  description: string | null;
18
18
  version: number;
19
19
  }, {
20
20
  id: number;
21
+ slug: string;
21
22
  name: string;
22
23
  meta: Record<string, unknown>;
23
24
  taxonomy: string;
24
25
  parentId: number | null;
25
- slug: string;
26
26
  description: string | null;
27
27
  version: number;
28
28
  }>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
@@ -2,20 +2,20 @@ export declare const del: import("@orpc/server").DecoratedProcedure<import("@orp
2
2
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
3
3
  }, undefined>, import("@orpc/server").Schema<{
4
4
  id: number;
5
+ slug: string;
5
6
  name: string;
6
7
  meta: Record<string, unknown>;
7
8
  taxonomy: string;
8
9
  parentId: number | null;
9
- slug: string;
10
10
  description: string | null;
11
11
  version: number;
12
12
  }, {
13
13
  id: number;
14
+ slug: string;
14
15
  name: string;
15
16
  meta: Record<string, unknown>;
16
17
  taxonomy: string;
17
18
  parentId: number | null;
18
- slug: string;
19
19
  description: string | null;
20
20
  version: number;
21
21
  }>, import("@orpc/server").MergedErrorMap<Record<never, never>, {
@@ -2,20 +2,20 @@ export declare const get: import("@orpc/server").DecoratedProcedure<import("@orp
2
2
  readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, number, undefined>]>;
3
3
  }, undefined>, import("@orpc/server").Schema<{
4
4
  id: number;
5
+ slug: string;
5
6
  name: string;
6
7
  meta: Record<string, unknown>;
7
8
  taxonomy: string;
8
9
  parentId: number | null;
9
- slug: string;
10
10
  description: string | null;
11
11
  version: number;
12
12
  }, {
13
13
  id: number;
14
+ slug: string;
14
15
  name: string;
15
16
  meta: Record<string, unknown>;
16
17
  taxonomy: string;
17
18
  parentId: number | null;
18
- slug: string;
19
19
  description: string | null;
20
20
  version: number;
21
21
  }>, import("@orpc/server").MergedErrorMap<Record<never, never>, {