@ourofoundation/ouro-js 1.1.3 → 2.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.
Files changed (104) hide show
  1. package/dist/index.cjs +801 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +8045 -0
  4. package/dist/index.d.ts +8045 -18
  5. package/dist/index.js +740 -1
  6. package/dist/index.js.map +1 -1
  7. package/package.json +19 -36
  8. package/tsup.config.ts +12 -0
  9. package/dist/index.esm.js +0 -2
  10. package/dist/index.esm.js.map +0 -1
  11. package/dist/schema/assets.d.ts +0 -611
  12. package/dist/schema/assets.esm.js +0 -2
  13. package/dist/schema/assets.esm.js.map +0 -1
  14. package/dist/schema/assets.js +0 -2
  15. package/dist/schema/assets.js.map +0 -1
  16. package/dist/schema/blueprints.d.ts +0 -553
  17. package/dist/schema/blueprints.esm.js +0 -2
  18. package/dist/schema/blueprints.esm.js.map +0 -1
  19. package/dist/schema/blueprints.js +0 -2
  20. package/dist/schema/blueprints.js.map +0 -1
  21. package/dist/schema/comments.d.ts +0 -537
  22. package/dist/schema/comments.esm.js +0 -2
  23. package/dist/schema/comments.esm.js.map +0 -1
  24. package/dist/schema/comments.js +0 -2
  25. package/dist/schema/comments.js.map +0 -1
  26. package/dist/schema/common.d.ts +0 -138
  27. package/dist/schema/common.esm.js +0 -2
  28. package/dist/schema/common.esm.js.map +0 -1
  29. package/dist/schema/common.js +0 -2
  30. package/dist/schema/common.js.map +0 -1
  31. package/dist/schema/conversations.d.ts +0 -709
  32. package/dist/schema/conversations.esm.js +0 -2
  33. package/dist/schema/conversations.esm.js.map +0 -1
  34. package/dist/schema/conversations.js +0 -2
  35. package/dist/schema/conversations.js.map +0 -1
  36. package/dist/schema/datasets.d.ts +0 -1056
  37. package/dist/schema/datasets.esm.js +0 -2
  38. package/dist/schema/datasets.esm.js.map +0 -1
  39. package/dist/schema/datasets.js +0 -2
  40. package/dist/schema/datasets.js.map +0 -1
  41. package/dist/schema/files.d.ts +0 -1024
  42. package/dist/schema/files.esm.js +0 -2
  43. package/dist/schema/files.esm.js.map +0 -1
  44. package/dist/schema/files.js +0 -2
  45. package/dist/schema/files.js.map +0 -1
  46. package/dist/schema/index.d.ts +0 -14
  47. package/dist/schema/index.js +0 -63
  48. package/dist/schema/notifications.d.ts +0 -97
  49. package/dist/schema/notifications.esm.js +0 -2
  50. package/dist/schema/notifications.esm.js.map +0 -1
  51. package/dist/schema/notifications.js +0 -2
  52. package/dist/schema/notifications.js.map +0 -1
  53. package/dist/schema/organizations.d.ts +0 -70
  54. package/dist/schema/organizations.esm.js +0 -2
  55. package/dist/schema/organizations.esm.js.map +0 -1
  56. package/dist/schema/organizations.js +0 -2
  57. package/dist/schema/organizations.js.map +0 -1
  58. package/dist/schema/posts.d.ts +0 -1848
  59. package/dist/schema/posts.esm.js +0 -2
  60. package/dist/schema/posts.esm.js.map +0 -1
  61. package/dist/schema/posts.js +0 -2
  62. package/dist/schema/posts.js.map +0 -1
  63. package/dist/schema/replications.d.ts +0 -610
  64. package/dist/schema/replications.esm.js +0 -2
  65. package/dist/schema/replications.esm.js.map +0 -1
  66. package/dist/schema/replications.js +0 -2
  67. package/dist/schema/replications.js.map +0 -1
  68. package/dist/schema/services.d.ts +0 -86
  69. package/dist/schema/services.esm.js +0 -2
  70. package/dist/schema/services.esm.js.map +0 -1
  71. package/dist/schema/services.js +0 -2
  72. package/dist/schema/services.js.map +0 -1
  73. package/dist/schema/teams.d.ts +0 -528
  74. package/dist/schema/teams.esm.js +0 -2
  75. package/dist/schema/teams.esm.js.map +0 -1
  76. package/dist/schema/teams.js +0 -2
  77. package/dist/schema/teams.js.map +0 -1
  78. package/dist/schema/users.d.ts +0 -132
  79. package/dist/schema/users.esm.js +0 -2
  80. package/dist/schema/users.esm.js.map +0 -1
  81. package/dist/schema/users.js +0 -2
  82. package/dist/schema/users.js.map +0 -1
  83. package/dist/types/index.d.ts +0 -14
  84. package/dist/utils/air/index.d.ts +0 -13
  85. package/dist/utils/air/index.esm.js +0 -2
  86. package/dist/utils/air/index.esm.js.map +0 -1
  87. package/dist/utils/air/index.js +0 -2
  88. package/dist/utils/air/index.js.map +0 -1
  89. package/dist/utils/air/markdown-parser.d.ts +0 -1
  90. package/dist/utils/air/markdown-parser.esm.js +0 -2
  91. package/dist/utils/air/markdown-parser.esm.js.map +0 -1
  92. package/dist/utils/air/markdown-parser.js +0 -2
  93. package/dist/utils/air/markdown-parser.js.map +0 -1
  94. package/dist/utils/dataset.d.ts +0 -7
  95. package/dist/utils/dataset.esm.js +0 -2
  96. package/dist/utils/dataset.esm.js.map +0 -1
  97. package/dist/utils/dataset.js +0 -2
  98. package/dist/utils/dataset.js.map +0 -1
  99. package/dist/utils/navigate.d.ts +0 -11
  100. package/dist/utils/navigate.esm.js +0 -2
  101. package/dist/utils/navigate.esm.js.map +0 -1
  102. package/dist/utils/navigate.js +0 -2
  103. package/dist/utils/navigate.js.map +0 -1
  104. package/rollup.config.js +0 -52
@@ -1,1848 +0,0 @@
1
- import { z } from "zod";
2
- declare const TipTapSchema: z.ZodObject<{
3
- type: z.ZodLiteral<"doc">;
4
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
5
- }, "strip", z.ZodTypeAny, {
6
- type: "doc";
7
- content: any[];
8
- }, {
9
- type: "doc";
10
- content: any[];
11
- }>;
12
- declare const ContentSchema: z.ZodDefault<z.ZodObject<{
13
- json: z.ZodObject<{
14
- type: z.ZodLiteral<"doc">;
15
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
16
- }, "strip", z.ZodTypeAny, {
17
- type: "doc";
18
- content: any[];
19
- }, {
20
- type: "doc";
21
- content: any[];
22
- }>;
23
- text: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- text: string;
26
- json: {
27
- type: "doc";
28
- content: any[];
29
- };
30
- }, {
31
- text: string;
32
- json: {
33
- type: "doc";
34
- content: any[];
35
- };
36
- }>>;
37
- declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
38
- id: z.ZodString;
39
- user_id: z.ZodString;
40
- user: z.ZodOptional<z.ZodObject<{
41
- id: z.ZodOptional<z.ZodString>;
42
- user_id: z.ZodOptional<z.ZodString>;
43
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
44
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
45
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
46
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
47
- value: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- value: string;
50
- }, {
51
- value: string;
52
- }>, "many">>>;
53
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
54
- last_active: z.ZodOptional<z.ZodString>;
55
- }, "strip", z.ZodTypeAny, {
56
- id?: string | undefined;
57
- user_id?: string | undefined;
58
- avatar_path?: string | null | undefined;
59
- urls?: {
60
- value: string;
61
- }[] | undefined;
62
- username?: string | null | undefined;
63
- bio?: string | null | undefined;
64
- post_id?: string | null | undefined;
65
- last_active?: string | undefined;
66
- }, {
67
- id?: string | undefined;
68
- user_id?: string | undefined;
69
- avatar_path?: string | null | undefined;
70
- urls?: {
71
- value: string;
72
- }[] | undefined;
73
- username?: string | null | undefined;
74
- bio?: string | null | undefined;
75
- post_id?: string | null | undefined;
76
- last_active?: string | undefined;
77
- }>>;
78
- org_id: z.ZodString;
79
- organization: z.ZodOptional<z.ZodObject<{
80
- id: z.ZodOptional<z.ZodString>;
81
- name: z.ZodOptional<z.ZodString>;
82
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
83
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
84
- size: z.ZodOptional<z.ZodString>;
85
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
86
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
87
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
88
- value: z.ZodString;
89
- }, "strip", z.ZodTypeAny, {
90
- value: string;
91
- }, {
92
- value: string;
93
- }>, "many">>>>;
94
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
95
- }, "strip", z.ZodTypeAny, {
96
- id?: string | undefined;
97
- name?: string | undefined;
98
- avatar_path?: string | null | undefined;
99
- mission?: string | null | undefined;
100
- size?: string | undefined;
101
- email?: string | null | undefined;
102
- domain?: string | null | undefined;
103
- urls?: {
104
- value: string;
105
- }[] | null | undefined;
106
- base_role?: "admin" | "read" | "write" | "none" | undefined;
107
- }, {
108
- id?: string | undefined;
109
- name?: string | undefined;
110
- avatar_path?: string | null | undefined;
111
- mission?: string | null | undefined;
112
- size?: string | undefined;
113
- email?: string | null | undefined;
114
- domain?: string | null | undefined;
115
- urls?: {
116
- value: string;
117
- }[] | null | undefined;
118
- base_role?: "admin" | "read" | "write" | "none" | undefined;
119
- }>>;
120
- team_id: z.ZodString;
121
- team: z.ZodOptional<z.ZodObject<{
122
- id: z.ZodOptional<z.ZodString>;
123
- org_id: z.ZodOptional<z.ZodString>;
124
- name: z.ZodOptional<z.ZodString>;
125
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
126
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
127
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
128
- created_at: z.ZodOptional<z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
130
- id?: string | undefined;
131
- org_id?: string | undefined;
132
- created_at?: string | undefined;
133
- name?: string | undefined;
134
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
135
- description?: string | null | undefined;
136
- default_role?: "admin" | "read" | "write" | "none" | undefined;
137
- }, {
138
- id?: string | undefined;
139
- org_id?: string | undefined;
140
- created_at?: string | undefined;
141
- name?: string | undefined;
142
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
143
- description?: string | null | undefined;
144
- default_role?: "admin" | "read" | "write" | "none" | undefined;
145
- }>>;
146
- parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
- parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
148
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
149
- name: z.ZodString;
150
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
- slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
- visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
154
- monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
155
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
156
- unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
157
- cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
158
- cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
- product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
160
- price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
- metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
162
- preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
163
- state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
164
- created_at: z.ZodString;
165
- last_updated: z.ZodString;
166
- }, {
167
- name: z.ZodNullable<z.ZodString>;
168
- asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
169
- preview: z.ZodDefault<z.ZodObject<{
170
- type: z.ZodLiteral<"doc">;
171
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
172
- }, "strip", z.ZodTypeAny, {
173
- type: "doc";
174
- content: any[];
175
- }, {
176
- type: "doc";
177
- content: any[];
178
- }>>;
179
- content: z.ZodDefault<z.ZodObject<{
180
- json: z.ZodObject<{
181
- type: z.ZodLiteral<"doc">;
182
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
183
- }, "strip", z.ZodTypeAny, {
184
- type: "doc";
185
- content: any[];
186
- }, {
187
- type: "doc";
188
- content: any[];
189
- }>;
190
- text: z.ZodString;
191
- }, "strip", z.ZodTypeAny, {
192
- text: string;
193
- json: {
194
- type: "doc";
195
- content: any[];
196
- };
197
- }, {
198
- text: string;
199
- json: {
200
- type: "doc";
201
- content: any[];
202
- };
203
- }>>;
204
- }>, "strip", z.ZodTypeAny, {
205
- id: string;
206
- user_id: string;
207
- org_id: string;
208
- content: {
209
- text: string;
210
- json: {
211
- type: "doc";
212
- content: any[];
213
- };
214
- };
215
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
216
- created_at: string;
217
- last_updated: string;
218
- name: string | null;
219
- team_id: string;
220
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
221
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
222
- preview: {
223
- type: "doc";
224
- content: any[];
225
- };
226
- user?: {
227
- id?: string | undefined;
228
- user_id?: string | undefined;
229
- avatar_path?: string | null | undefined;
230
- urls?: {
231
- value: string;
232
- }[] | undefined;
233
- username?: string | null | undefined;
234
- bio?: string | null | undefined;
235
- post_id?: string | null | undefined;
236
- last_active?: string | undefined;
237
- } | undefined;
238
- organization?: {
239
- id?: string | undefined;
240
- name?: string | undefined;
241
- avatar_path?: string | null | undefined;
242
- mission?: string | null | undefined;
243
- size?: string | undefined;
244
- email?: string | null | undefined;
245
- domain?: string | null | undefined;
246
- urls?: {
247
- value: string;
248
- }[] | null | undefined;
249
- base_role?: "admin" | "read" | "write" | "none" | undefined;
250
- } | undefined;
251
- team?: {
252
- id?: string | undefined;
253
- org_id?: string | undefined;
254
- created_at?: string | undefined;
255
- name?: string | undefined;
256
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
257
- description?: string | null | undefined;
258
- default_role?: "admin" | "read" | "write" | "none" | undefined;
259
- } | undefined;
260
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
261
- description?: string | null | undefined;
262
- parent_id?: string | null | undefined;
263
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
264
- name_url_slug?: string | null | undefined;
265
- slug?: string | null | undefined;
266
- price?: number | null | undefined;
267
- unit_cost?: number | null | undefined;
268
- cost_accounting?: "fixed" | "variable" | null | undefined;
269
- cost_unit?: string | null | undefined;
270
- product_id?: string | null | undefined;
271
- price_id?: string | null | undefined;
272
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
273
- }, {
274
- id: string;
275
- user_id: string;
276
- org_id: string;
277
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
278
- created_at: string;
279
- last_updated: string;
280
- name: string | null;
281
- team_id: string;
282
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
283
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
284
- user?: {
285
- id?: string | undefined;
286
- user_id?: string | undefined;
287
- avatar_path?: string | null | undefined;
288
- urls?: {
289
- value: string;
290
- }[] | undefined;
291
- username?: string | null | undefined;
292
- bio?: string | null | undefined;
293
- post_id?: string | null | undefined;
294
- last_active?: string | undefined;
295
- } | undefined;
296
- organization?: {
297
- id?: string | undefined;
298
- name?: string | undefined;
299
- avatar_path?: string | null | undefined;
300
- mission?: string | null | undefined;
301
- size?: string | undefined;
302
- email?: string | null | undefined;
303
- domain?: string | null | undefined;
304
- urls?: {
305
- value: string;
306
- }[] | null | undefined;
307
- base_role?: "admin" | "read" | "write" | "none" | undefined;
308
- } | undefined;
309
- team?: {
310
- id?: string | undefined;
311
- org_id?: string | undefined;
312
- created_at?: string | undefined;
313
- name?: string | undefined;
314
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
315
- description?: string | null | undefined;
316
- default_role?: "admin" | "read" | "write" | "none" | undefined;
317
- } | undefined;
318
- content?: {
319
- text: string;
320
- json: {
321
- type: "doc";
322
- content: any[];
323
- };
324
- } | undefined;
325
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
326
- description?: string | null | undefined;
327
- parent_id?: string | null | undefined;
328
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
329
- name_url_slug?: string | null | undefined;
330
- slug?: string | null | undefined;
331
- price?: number | null | undefined;
332
- unit_cost?: number | null | undefined;
333
- cost_accounting?: "fixed" | "variable" | null | undefined;
334
- cost_unit?: string | null | undefined;
335
- product_id?: string | null | undefined;
336
- price_id?: string | null | undefined;
337
- preview?: {
338
- type: "doc";
339
- content: any[];
340
- } | undefined;
341
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
342
- }>;
343
- declare const CreatePostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
344
- id: z.ZodOptional<z.ZodString>;
345
- user_id: z.ZodOptional<z.ZodString>;
346
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
347
- id: z.ZodOptional<z.ZodString>;
348
- user_id: z.ZodOptional<z.ZodString>;
349
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
350
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
351
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
352
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
353
- value: z.ZodString;
354
- }, "strip", z.ZodTypeAny, {
355
- value: string;
356
- }, {
357
- value: string;
358
- }>, "many">>>;
359
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
360
- last_active: z.ZodOptional<z.ZodString>;
361
- }, "strip", z.ZodTypeAny, {
362
- id?: string | undefined;
363
- user_id?: string | undefined;
364
- avatar_path?: string | null | undefined;
365
- urls?: {
366
- value: string;
367
- }[] | undefined;
368
- username?: string | null | undefined;
369
- bio?: string | null | undefined;
370
- post_id?: string | null | undefined;
371
- last_active?: string | undefined;
372
- }, {
373
- id?: string | undefined;
374
- user_id?: string | undefined;
375
- avatar_path?: string | null | undefined;
376
- urls?: {
377
- value: string;
378
- }[] | undefined;
379
- username?: string | null | undefined;
380
- bio?: string | null | undefined;
381
- post_id?: string | null | undefined;
382
- last_active?: string | undefined;
383
- }>>>;
384
- org_id: z.ZodOptional<z.ZodString>;
385
- organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
386
- id: z.ZodOptional<z.ZodString>;
387
- name: z.ZodOptional<z.ZodString>;
388
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
389
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
390
- size: z.ZodOptional<z.ZodString>;
391
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
392
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
393
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
394
- value: z.ZodString;
395
- }, "strip", z.ZodTypeAny, {
396
- value: string;
397
- }, {
398
- value: string;
399
- }>, "many">>>>;
400
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
401
- }, "strip", z.ZodTypeAny, {
402
- id?: string | undefined;
403
- name?: string | undefined;
404
- avatar_path?: string | null | undefined;
405
- mission?: string | null | undefined;
406
- size?: string | undefined;
407
- email?: string | null | undefined;
408
- domain?: string | null | undefined;
409
- urls?: {
410
- value: string;
411
- }[] | null | undefined;
412
- base_role?: "admin" | "read" | "write" | "none" | undefined;
413
- }, {
414
- id?: string | undefined;
415
- name?: string | undefined;
416
- avatar_path?: string | null | undefined;
417
- mission?: string | null | undefined;
418
- size?: string | undefined;
419
- email?: string | null | undefined;
420
- domain?: string | null | undefined;
421
- urls?: {
422
- value: string;
423
- }[] | null | undefined;
424
- base_role?: "admin" | "read" | "write" | "none" | undefined;
425
- }>>>;
426
- team_id: z.ZodOptional<z.ZodString>;
427
- team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
428
- id: z.ZodOptional<z.ZodString>;
429
- org_id: z.ZodOptional<z.ZodString>;
430
- name: z.ZodOptional<z.ZodString>;
431
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
432
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
433
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
434
- created_at: z.ZodOptional<z.ZodString>;
435
- }, "strip", z.ZodTypeAny, {
436
- id?: string | undefined;
437
- org_id?: string | undefined;
438
- created_at?: string | undefined;
439
- name?: string | undefined;
440
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
441
- description?: string | null | undefined;
442
- default_role?: "admin" | "read" | "write" | "none" | undefined;
443
- }, {
444
- id?: string | undefined;
445
- org_id?: string | undefined;
446
- created_at?: string | undefined;
447
- name?: string | undefined;
448
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
449
- description?: string | null | undefined;
450
- default_role?: "admin" | "read" | "write" | "none" | undefined;
451
- }>>>;
452
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
453
- parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
454
- asset_type: z.ZodOptional<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>>;
455
- name: z.ZodOptional<z.ZodString>;
456
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
457
- slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
458
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
459
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
460
- monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
461
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
462
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
463
- cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
464
- cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
465
- product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
466
- price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
467
- metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
468
- preview: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>>;
469
- state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
470
- created_at: z.ZodOptional<z.ZodString>;
471
- last_updated: z.ZodOptional<z.ZodString>;
472
- }, "user" | "organization" | "team" | "user_id" | "slug">, {
473
- id: z.ZodDefault<z.ZodString>;
474
- team_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
475
- org_id: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
476
- name: z.ZodString;
477
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
478
- state: z.ZodDefault<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
479
- visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>>;
480
- created_at: z.ZodDefault<z.ZodString>;
481
- last_updated: z.ZodDefault<z.ZodString>;
482
- }>, {
483
- asset_type: z.ZodDefault<z.ZodLiteral<"post">>;
484
- name: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>, string | undefined, string | null | undefined>, string | null, string | null | undefined>;
485
- preview: z.ZodObject<{
486
- type: z.ZodLiteral<"doc">;
487
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
488
- }, "strip", z.ZodTypeAny, {
489
- type: "doc";
490
- content: any[];
491
- }, {
492
- type: "doc";
493
- content: any[];
494
- }>;
495
- }>, "strip", z.ZodTypeAny, {
496
- id: string;
497
- org_id: string | null;
498
- asset_type: "post";
499
- created_at: string;
500
- last_updated: string;
501
- name: string | null;
502
- team_id: string | null;
503
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
504
- preview: {
505
- type: "doc";
506
- content: any[];
507
- };
508
- state: "queued" | "in-progress" | "success" | "error";
509
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
510
- description?: string | null | undefined;
511
- parent_id?: string | null | undefined;
512
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
513
- name_url_slug?: string | null | undefined;
514
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
515
- price?: number | null | undefined;
516
- unit_cost?: number | null | undefined;
517
- cost_accounting?: "fixed" | "variable" | null | undefined;
518
- cost_unit?: string | null | undefined;
519
- product_id?: string | null | undefined;
520
- price_id?: string | null | undefined;
521
- }, {
522
- preview: {
523
- type: "doc";
524
- content: any[];
525
- };
526
- id?: string | undefined;
527
- org_id?: string | null | undefined;
528
- asset_type?: "post" | undefined;
529
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
530
- created_at?: string | undefined;
531
- last_updated?: string | undefined;
532
- name?: string | null | undefined;
533
- team_id?: string | null | undefined;
534
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
535
- description?: string | null | undefined;
536
- parent_id?: string | null | undefined;
537
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
538
- name_url_slug?: string | null | undefined;
539
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
540
- price?: number | null | undefined;
541
- unit_cost?: number | null | undefined;
542
- cost_accounting?: "fixed" | "variable" | null | undefined;
543
- cost_unit?: string | null | undefined;
544
- product_id?: string | null | undefined;
545
- price_id?: string | null | undefined;
546
- state?: "queued" | "in-progress" | "success" | "error" | undefined;
547
- }>;
548
- declare const ReadPostSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
549
- id: z.ZodString;
550
- user_id: z.ZodString;
551
- user: z.ZodOptional<z.ZodObject<{
552
- id: z.ZodOptional<z.ZodString>;
553
- user_id: z.ZodOptional<z.ZodString>;
554
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
555
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
556
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
557
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
558
- value: z.ZodString;
559
- }, "strip", z.ZodTypeAny, {
560
- value: string;
561
- }, {
562
- value: string;
563
- }>, "many">>>;
564
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
565
- last_active: z.ZodOptional<z.ZodString>;
566
- }, "strip", z.ZodTypeAny, {
567
- id?: string | undefined;
568
- user_id?: string | undefined;
569
- avatar_path?: string | null | undefined;
570
- urls?: {
571
- value: string;
572
- }[] | undefined;
573
- username?: string | null | undefined;
574
- bio?: string | null | undefined;
575
- post_id?: string | null | undefined;
576
- last_active?: string | undefined;
577
- }, {
578
- id?: string | undefined;
579
- user_id?: string | undefined;
580
- avatar_path?: string | null | undefined;
581
- urls?: {
582
- value: string;
583
- }[] | undefined;
584
- username?: string | null | undefined;
585
- bio?: string | null | undefined;
586
- post_id?: string | null | undefined;
587
- last_active?: string | undefined;
588
- }>>;
589
- org_id: z.ZodString;
590
- organization: z.ZodOptional<z.ZodObject<{
591
- id: z.ZodOptional<z.ZodString>;
592
- name: z.ZodOptional<z.ZodString>;
593
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
594
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
595
- size: z.ZodOptional<z.ZodString>;
596
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
597
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
598
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
599
- value: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- value: string;
602
- }, {
603
- value: string;
604
- }>, "many">>>>;
605
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
606
- }, "strip", z.ZodTypeAny, {
607
- id?: string | undefined;
608
- name?: string | undefined;
609
- avatar_path?: string | null | undefined;
610
- mission?: string | null | undefined;
611
- size?: string | undefined;
612
- email?: string | null | undefined;
613
- domain?: string | null | undefined;
614
- urls?: {
615
- value: string;
616
- }[] | null | undefined;
617
- base_role?: "admin" | "read" | "write" | "none" | undefined;
618
- }, {
619
- id?: string | undefined;
620
- name?: string | undefined;
621
- avatar_path?: string | null | undefined;
622
- mission?: string | null | undefined;
623
- size?: string | undefined;
624
- email?: string | null | undefined;
625
- domain?: string | null | undefined;
626
- urls?: {
627
- value: string;
628
- }[] | null | undefined;
629
- base_role?: "admin" | "read" | "write" | "none" | undefined;
630
- }>>;
631
- team_id: z.ZodString;
632
- team: z.ZodOptional<z.ZodObject<{
633
- id: z.ZodOptional<z.ZodString>;
634
- org_id: z.ZodOptional<z.ZodString>;
635
- name: z.ZodOptional<z.ZodString>;
636
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
637
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
638
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
639
- created_at: z.ZodOptional<z.ZodString>;
640
- }, "strip", z.ZodTypeAny, {
641
- id?: string | undefined;
642
- org_id?: string | undefined;
643
- created_at?: string | undefined;
644
- name?: string | undefined;
645
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
646
- description?: string | null | undefined;
647
- default_role?: "admin" | "read" | "write" | "none" | undefined;
648
- }, {
649
- id?: string | undefined;
650
- org_id?: string | undefined;
651
- created_at?: string | undefined;
652
- name?: string | undefined;
653
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
654
- description?: string | null | undefined;
655
- default_role?: "admin" | "read" | "write" | "none" | undefined;
656
- }>>;
657
- parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
658
- parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
659
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
660
- name: z.ZodString;
661
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
662
- slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
663
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
- visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
665
- monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
666
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
667
- unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
668
- cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
669
- cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
670
- product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
671
- price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
672
- metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
673
- preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
674
- state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
675
- created_at: z.ZodString;
676
- last_updated: z.ZodString;
677
- }, {
678
- name: z.ZodNullable<z.ZodString>;
679
- asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
680
- preview: z.ZodDefault<z.ZodObject<{
681
- type: z.ZodLiteral<"doc">;
682
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
683
- }, "strip", z.ZodTypeAny, {
684
- type: "doc";
685
- content: any[];
686
- }, {
687
- type: "doc";
688
- content: any[];
689
- }>>;
690
- content: z.ZodDefault<z.ZodObject<{
691
- json: z.ZodObject<{
692
- type: z.ZodLiteral<"doc">;
693
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
694
- }, "strip", z.ZodTypeAny, {
695
- type: "doc";
696
- content: any[];
697
- }, {
698
- type: "doc";
699
- content: any[];
700
- }>;
701
- text: z.ZodString;
702
- }, "strip", z.ZodTypeAny, {
703
- text: string;
704
- json: {
705
- type: "doc";
706
- content: any[];
707
- };
708
- }, {
709
- text: string;
710
- json: {
711
- type: "doc";
712
- content: any[];
713
- };
714
- }>>;
715
- }>, {
716
- content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodObject<{
717
- json: z.ZodObject<{
718
- type: z.ZodLiteral<"doc">;
719
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
720
- }, "strip", z.ZodTypeAny, {
721
- type: "doc";
722
- content: any[];
723
- }, {
724
- type: "doc";
725
- content: any[];
726
- }>;
727
- text: z.ZodString;
728
- }, "strip", z.ZodTypeAny, {
729
- text: string;
730
- json: {
731
- type: "doc";
732
- content: any[];
733
- };
734
- }, {
735
- text: string;
736
- json: {
737
- type: "doc";
738
- content: any[];
739
- };
740
- }>>>>>;
741
- reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
742
- views: z.ZodDefault<z.ZodNumber>;
743
- commentCount: z.ZodDefault<z.ZodNumber>;
744
- pinned: z.ZodDefault<z.ZodBoolean>;
745
- }>, "strip", z.ZodTypeAny, {
746
- id: string;
747
- user_id: string;
748
- org_id: string;
749
- content: {
750
- text: string;
751
- json: {
752
- type: "doc";
753
- content: any[];
754
- };
755
- } | null;
756
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
757
- created_at: string;
758
- last_updated: string;
759
- name: string | null;
760
- team_id: string;
761
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
762
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
763
- preview: {
764
- type: "doc";
765
- content: any[];
766
- };
767
- reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
768
- views: number;
769
- commentCount: number;
770
- pinned: boolean;
771
- user?: {
772
- id?: string | undefined;
773
- user_id?: string | undefined;
774
- avatar_path?: string | null | undefined;
775
- urls?: {
776
- value: string;
777
- }[] | undefined;
778
- username?: string | null | undefined;
779
- bio?: string | null | undefined;
780
- post_id?: string | null | undefined;
781
- last_active?: string | undefined;
782
- } | undefined;
783
- organization?: {
784
- id?: string | undefined;
785
- name?: string | undefined;
786
- avatar_path?: string | null | undefined;
787
- mission?: string | null | undefined;
788
- size?: string | undefined;
789
- email?: string | null | undefined;
790
- domain?: string | null | undefined;
791
- urls?: {
792
- value: string;
793
- }[] | null | undefined;
794
- base_role?: "admin" | "read" | "write" | "none" | undefined;
795
- } | undefined;
796
- team?: {
797
- id?: string | undefined;
798
- org_id?: string | undefined;
799
- created_at?: string | undefined;
800
- name?: string | undefined;
801
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
802
- description?: string | null | undefined;
803
- default_role?: "admin" | "read" | "write" | "none" | undefined;
804
- } | undefined;
805
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
806
- description?: string | null | undefined;
807
- parent_id?: string | null | undefined;
808
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
809
- name_url_slug?: string | null | undefined;
810
- slug?: string | null | undefined;
811
- price?: number | null | undefined;
812
- unit_cost?: number | null | undefined;
813
- cost_accounting?: "fixed" | "variable" | null | undefined;
814
- cost_unit?: string | null | undefined;
815
- product_id?: string | null | undefined;
816
- price_id?: string | null | undefined;
817
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
818
- }, {
819
- id: string;
820
- user_id: string;
821
- org_id: string;
822
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
823
- created_at: string;
824
- last_updated: string;
825
- name: string | null;
826
- team_id: string;
827
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
828
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
829
- user?: {
830
- id?: string | undefined;
831
- user_id?: string | undefined;
832
- avatar_path?: string | null | undefined;
833
- urls?: {
834
- value: string;
835
- }[] | undefined;
836
- username?: string | null | undefined;
837
- bio?: string | null | undefined;
838
- post_id?: string | null | undefined;
839
- last_active?: string | undefined;
840
- } | undefined;
841
- organization?: {
842
- id?: string | undefined;
843
- name?: string | undefined;
844
- avatar_path?: string | null | undefined;
845
- mission?: string | null | undefined;
846
- size?: string | undefined;
847
- email?: string | null | undefined;
848
- domain?: string | null | undefined;
849
- urls?: {
850
- value: string;
851
- }[] | null | undefined;
852
- base_role?: "admin" | "read" | "write" | "none" | undefined;
853
- } | undefined;
854
- team?: {
855
- id?: string | undefined;
856
- org_id?: string | undefined;
857
- created_at?: string | undefined;
858
- name?: string | undefined;
859
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
860
- description?: string | null | undefined;
861
- default_role?: "admin" | "read" | "write" | "none" | undefined;
862
- } | undefined;
863
- content?: {
864
- text: string;
865
- json: {
866
- type: "doc";
867
- content: any[];
868
- };
869
- } | null | undefined;
870
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
871
- description?: string | null | undefined;
872
- parent_id?: string | null | undefined;
873
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
874
- name_url_slug?: string | null | undefined;
875
- slug?: string | null | undefined;
876
- price?: number | null | undefined;
877
- unit_cost?: number | null | undefined;
878
- cost_accounting?: "fixed" | "variable" | null | undefined;
879
- cost_unit?: string | null | undefined;
880
- product_id?: string | null | undefined;
881
- price_id?: string | null | undefined;
882
- preview?: {
883
- type: "doc";
884
- content: any[];
885
- } | undefined;
886
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
887
- reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
888
- views?: number | undefined;
889
- commentCount?: number | undefined;
890
- pinned?: boolean | undefined;
891
- }>;
892
- declare const ReadPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
893
- id: z.ZodString;
894
- user_id: z.ZodString;
895
- user: z.ZodOptional<z.ZodObject<{
896
- id: z.ZodOptional<z.ZodString>;
897
- user_id: z.ZodOptional<z.ZodString>;
898
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
899
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
900
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
901
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
902
- value: z.ZodString;
903
- }, "strip", z.ZodTypeAny, {
904
- value: string;
905
- }, {
906
- value: string;
907
- }>, "many">>>;
908
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
909
- last_active: z.ZodOptional<z.ZodString>;
910
- }, "strip", z.ZodTypeAny, {
911
- id?: string | undefined;
912
- user_id?: string | undefined;
913
- avatar_path?: string | null | undefined;
914
- urls?: {
915
- value: string;
916
- }[] | undefined;
917
- username?: string | null | undefined;
918
- bio?: string | null | undefined;
919
- post_id?: string | null | undefined;
920
- last_active?: string | undefined;
921
- }, {
922
- id?: string | undefined;
923
- user_id?: string | undefined;
924
- avatar_path?: string | null | undefined;
925
- urls?: {
926
- value: string;
927
- }[] | undefined;
928
- username?: string | null | undefined;
929
- bio?: string | null | undefined;
930
- post_id?: string | null | undefined;
931
- last_active?: string | undefined;
932
- }>>;
933
- org_id: z.ZodString;
934
- organization: z.ZodOptional<z.ZodObject<{
935
- id: z.ZodOptional<z.ZodString>;
936
- name: z.ZodOptional<z.ZodString>;
937
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
938
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
939
- size: z.ZodOptional<z.ZodString>;
940
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
941
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
942
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
943
- value: z.ZodString;
944
- }, "strip", z.ZodTypeAny, {
945
- value: string;
946
- }, {
947
- value: string;
948
- }>, "many">>>>;
949
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
950
- }, "strip", z.ZodTypeAny, {
951
- id?: string | undefined;
952
- name?: string | undefined;
953
- avatar_path?: string | null | undefined;
954
- mission?: string | null | undefined;
955
- size?: string | undefined;
956
- email?: string | null | undefined;
957
- domain?: string | null | undefined;
958
- urls?: {
959
- value: string;
960
- }[] | null | undefined;
961
- base_role?: "admin" | "read" | "write" | "none" | undefined;
962
- }, {
963
- id?: string | undefined;
964
- name?: string | undefined;
965
- avatar_path?: string | null | undefined;
966
- mission?: string | null | undefined;
967
- size?: string | undefined;
968
- email?: string | null | undefined;
969
- domain?: string | null | undefined;
970
- urls?: {
971
- value: string;
972
- }[] | null | undefined;
973
- base_role?: "admin" | "read" | "write" | "none" | undefined;
974
- }>>;
975
- team_id: z.ZodString;
976
- team: z.ZodOptional<z.ZodObject<{
977
- id: z.ZodOptional<z.ZodString>;
978
- org_id: z.ZodOptional<z.ZodString>;
979
- name: z.ZodOptional<z.ZodString>;
980
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
981
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
982
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
983
- created_at: z.ZodOptional<z.ZodString>;
984
- }, "strip", z.ZodTypeAny, {
985
- id?: string | undefined;
986
- org_id?: string | undefined;
987
- created_at?: string | undefined;
988
- name?: string | undefined;
989
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
990
- description?: string | null | undefined;
991
- default_role?: "admin" | "read" | "write" | "none" | undefined;
992
- }, {
993
- id?: string | undefined;
994
- org_id?: string | undefined;
995
- created_at?: string | undefined;
996
- name?: string | undefined;
997
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
998
- description?: string | null | undefined;
999
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1000
- }>>;
1001
- parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1002
- parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1003
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1004
- name: z.ZodString;
1005
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1006
- slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1007
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1008
- visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
1009
- monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
1010
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1011
- unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1012
- cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
1013
- cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1014
- product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1015
- price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1016
- metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1017
- preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
1018
- state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
1019
- created_at: z.ZodString;
1020
- last_updated: z.ZodString;
1021
- }, {
1022
- name: z.ZodNullable<z.ZodString>;
1023
- asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1024
- preview: z.ZodDefault<z.ZodObject<{
1025
- type: z.ZodLiteral<"doc">;
1026
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1027
- }, "strip", z.ZodTypeAny, {
1028
- type: "doc";
1029
- content: any[];
1030
- }, {
1031
- type: "doc";
1032
- content: any[];
1033
- }>>;
1034
- content: z.ZodDefault<z.ZodObject<{
1035
- json: z.ZodObject<{
1036
- type: z.ZodLiteral<"doc">;
1037
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1038
- }, "strip", z.ZodTypeAny, {
1039
- type: "doc";
1040
- content: any[];
1041
- }, {
1042
- type: "doc";
1043
- content: any[];
1044
- }>;
1045
- text: z.ZodString;
1046
- }, "strip", z.ZodTypeAny, {
1047
- text: string;
1048
- json: {
1049
- type: "doc";
1050
- content: any[];
1051
- };
1052
- }, {
1053
- text: string;
1054
- json: {
1055
- type: "doc";
1056
- content: any[];
1057
- };
1058
- }>>;
1059
- }>, {
1060
- content: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodObject<{
1061
- json: z.ZodObject<{
1062
- type: z.ZodLiteral<"doc">;
1063
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1064
- }, "strip", z.ZodTypeAny, {
1065
- type: "doc";
1066
- content: any[];
1067
- }, {
1068
- type: "doc";
1069
- content: any[];
1070
- }>;
1071
- text: z.ZodString;
1072
- }, "strip", z.ZodTypeAny, {
1073
- text: string;
1074
- json: {
1075
- type: "doc";
1076
- content: any[];
1077
- };
1078
- }, {
1079
- text: string;
1080
- json: {
1081
- type: "doc";
1082
- content: any[];
1083
- };
1084
- }>>>>>;
1085
- reactions: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>;
1086
- views: z.ZodDefault<z.ZodNumber>;
1087
- commentCount: z.ZodDefault<z.ZodNumber>;
1088
- pinned: z.ZodDefault<z.ZodBoolean>;
1089
- }>, "strip", z.ZodTypeAny, {
1090
- id: string;
1091
- user_id: string;
1092
- org_id: string;
1093
- content: {
1094
- text: string;
1095
- json: {
1096
- type: "doc";
1097
- content: any[];
1098
- };
1099
- } | null;
1100
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1101
- created_at: string;
1102
- last_updated: string;
1103
- name: string | null;
1104
- team_id: string;
1105
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1106
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
1107
- preview: {
1108
- type: "doc";
1109
- content: any[];
1110
- };
1111
- reactions: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
1112
- views: number;
1113
- commentCount: number;
1114
- pinned: boolean;
1115
- user?: {
1116
- id?: string | undefined;
1117
- user_id?: string | undefined;
1118
- avatar_path?: string | null | undefined;
1119
- urls?: {
1120
- value: string;
1121
- }[] | undefined;
1122
- username?: string | null | undefined;
1123
- bio?: string | null | undefined;
1124
- post_id?: string | null | undefined;
1125
- last_active?: string | undefined;
1126
- } | undefined;
1127
- organization?: {
1128
- id?: string | undefined;
1129
- name?: string | undefined;
1130
- avatar_path?: string | null | undefined;
1131
- mission?: string | null | undefined;
1132
- size?: string | undefined;
1133
- email?: string | null | undefined;
1134
- domain?: string | null | undefined;
1135
- urls?: {
1136
- value: string;
1137
- }[] | null | undefined;
1138
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1139
- } | undefined;
1140
- team?: {
1141
- id?: string | undefined;
1142
- org_id?: string | undefined;
1143
- created_at?: string | undefined;
1144
- name?: string | undefined;
1145
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1146
- description?: string | null | undefined;
1147
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1148
- } | undefined;
1149
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1150
- description?: string | null | undefined;
1151
- parent_id?: string | null | undefined;
1152
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1153
- name_url_slug?: string | null | undefined;
1154
- slug?: string | null | undefined;
1155
- price?: number | null | undefined;
1156
- unit_cost?: number | null | undefined;
1157
- cost_accounting?: "fixed" | "variable" | null | undefined;
1158
- cost_unit?: string | null | undefined;
1159
- product_id?: string | null | undefined;
1160
- price_id?: string | null | undefined;
1161
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1162
- }, {
1163
- id: string;
1164
- user_id: string;
1165
- org_id: string;
1166
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1167
- created_at: string;
1168
- last_updated: string;
1169
- name: string | null;
1170
- team_id: string;
1171
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1172
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
1173
- user?: {
1174
- id?: string | undefined;
1175
- user_id?: string | undefined;
1176
- avatar_path?: string | null | undefined;
1177
- urls?: {
1178
- value: string;
1179
- }[] | undefined;
1180
- username?: string | null | undefined;
1181
- bio?: string | null | undefined;
1182
- post_id?: string | null | undefined;
1183
- last_active?: string | undefined;
1184
- } | undefined;
1185
- organization?: {
1186
- id?: string | undefined;
1187
- name?: string | undefined;
1188
- avatar_path?: string | null | undefined;
1189
- mission?: string | null | undefined;
1190
- size?: string | undefined;
1191
- email?: string | null | undefined;
1192
- domain?: string | null | undefined;
1193
- urls?: {
1194
- value: string;
1195
- }[] | null | undefined;
1196
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1197
- } | undefined;
1198
- team?: {
1199
- id?: string | undefined;
1200
- org_id?: string | undefined;
1201
- created_at?: string | undefined;
1202
- name?: string | undefined;
1203
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1204
- description?: string | null | undefined;
1205
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1206
- } | undefined;
1207
- content?: {
1208
- text: string;
1209
- json: {
1210
- type: "doc";
1211
- content: any[];
1212
- };
1213
- } | null | undefined;
1214
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1215
- description?: string | null | undefined;
1216
- parent_id?: string | null | undefined;
1217
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1218
- name_url_slug?: string | null | undefined;
1219
- slug?: string | null | undefined;
1220
- price?: number | null | undefined;
1221
- unit_cost?: number | null | undefined;
1222
- cost_accounting?: "fixed" | "variable" | null | undefined;
1223
- cost_unit?: string | null | undefined;
1224
- product_id?: string | null | undefined;
1225
- price_id?: string | null | undefined;
1226
- preview?: {
1227
- type: "doc";
1228
- content: any[];
1229
- } | undefined;
1230
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1231
- reactions?: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[] | undefined;
1232
- views?: number | undefined;
1233
- commentCount?: number | undefined;
1234
- pinned?: boolean | undefined;
1235
- }>, "many">;
1236
- declare const ListPostsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1237
- id: z.ZodString;
1238
- user_id: z.ZodString;
1239
- user: z.ZodOptional<z.ZodObject<{
1240
- id: z.ZodOptional<z.ZodString>;
1241
- user_id: z.ZodOptional<z.ZodString>;
1242
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1243
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1244
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1245
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1246
- value: z.ZodString;
1247
- }, "strip", z.ZodTypeAny, {
1248
- value: string;
1249
- }, {
1250
- value: string;
1251
- }>, "many">>>;
1252
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1253
- last_active: z.ZodOptional<z.ZodString>;
1254
- }, "strip", z.ZodTypeAny, {
1255
- id?: string | undefined;
1256
- user_id?: string | undefined;
1257
- avatar_path?: string | null | undefined;
1258
- urls?: {
1259
- value: string;
1260
- }[] | undefined;
1261
- username?: string | null | undefined;
1262
- bio?: string | null | undefined;
1263
- post_id?: string | null | undefined;
1264
- last_active?: string | undefined;
1265
- }, {
1266
- id?: string | undefined;
1267
- user_id?: string | undefined;
1268
- avatar_path?: string | null | undefined;
1269
- urls?: {
1270
- value: string;
1271
- }[] | undefined;
1272
- username?: string | null | undefined;
1273
- bio?: string | null | undefined;
1274
- post_id?: string | null | undefined;
1275
- last_active?: string | undefined;
1276
- }>>;
1277
- org_id: z.ZodString;
1278
- organization: z.ZodOptional<z.ZodObject<{
1279
- id: z.ZodOptional<z.ZodString>;
1280
- name: z.ZodOptional<z.ZodString>;
1281
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1282
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1283
- size: z.ZodOptional<z.ZodString>;
1284
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1285
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1286
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1287
- value: z.ZodString;
1288
- }, "strip", z.ZodTypeAny, {
1289
- value: string;
1290
- }, {
1291
- value: string;
1292
- }>, "many">>>>;
1293
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
1294
- }, "strip", z.ZodTypeAny, {
1295
- id?: string | undefined;
1296
- name?: string | undefined;
1297
- avatar_path?: string | null | undefined;
1298
- mission?: string | null | undefined;
1299
- size?: string | undefined;
1300
- email?: string | null | undefined;
1301
- domain?: string | null | undefined;
1302
- urls?: {
1303
- value: string;
1304
- }[] | null | undefined;
1305
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1306
- }, {
1307
- id?: string | undefined;
1308
- name?: string | undefined;
1309
- avatar_path?: string | null | undefined;
1310
- mission?: string | null | undefined;
1311
- size?: string | undefined;
1312
- email?: string | null | undefined;
1313
- domain?: string | null | undefined;
1314
- urls?: {
1315
- value: string;
1316
- }[] | null | undefined;
1317
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1318
- }>>;
1319
- team_id: z.ZodString;
1320
- team: z.ZodOptional<z.ZodObject<{
1321
- id: z.ZodOptional<z.ZodString>;
1322
- org_id: z.ZodOptional<z.ZodString>;
1323
- name: z.ZodOptional<z.ZodString>;
1324
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1325
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
1326
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
1327
- created_at: z.ZodOptional<z.ZodString>;
1328
- }, "strip", z.ZodTypeAny, {
1329
- id?: string | undefined;
1330
- org_id?: string | undefined;
1331
- created_at?: string | undefined;
1332
- name?: string | undefined;
1333
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1334
- description?: string | null | undefined;
1335
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1336
- }, {
1337
- id?: string | undefined;
1338
- org_id?: string | undefined;
1339
- created_at?: string | undefined;
1340
- name?: string | undefined;
1341
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1342
- description?: string | null | undefined;
1343
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1344
- }>>;
1345
- parent_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1346
- parent: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1347
- asset_type: z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>;
1348
- name: z.ZodString;
1349
- name_url_slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1350
- slug: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1351
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1352
- visibility: z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>;
1353
- monetization: z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>;
1354
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1355
- unit_cost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1356
- cost_accounting: z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>;
1357
- cost_unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1358
- product_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1359
- price_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1360
- metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1361
- preview: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">>>;
1362
- state: z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>;
1363
- created_at: z.ZodString;
1364
- last_updated: z.ZodString;
1365
- }, {
1366
- name: z.ZodNullable<z.ZodString>;
1367
- asset_type: z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">;
1368
- preview: z.ZodDefault<z.ZodObject<{
1369
- type: z.ZodLiteral<"doc">;
1370
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1371
- }, "strip", z.ZodTypeAny, {
1372
- type: "doc";
1373
- content: any[];
1374
- }, {
1375
- type: "doc";
1376
- content: any[];
1377
- }>>;
1378
- content: z.ZodDefault<z.ZodObject<{
1379
- json: z.ZodObject<{
1380
- type: z.ZodLiteral<"doc">;
1381
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1382
- }, "strip", z.ZodTypeAny, {
1383
- type: "doc";
1384
- content: any[];
1385
- }, {
1386
- type: "doc";
1387
- content: any[];
1388
- }>;
1389
- text: z.ZodString;
1390
- }, "strip", z.ZodTypeAny, {
1391
- text: string;
1392
- json: {
1393
- type: "doc";
1394
- content: any[];
1395
- };
1396
- }, {
1397
- text: string;
1398
- json: {
1399
- type: "doc";
1400
- content: any[];
1401
- };
1402
- }>>;
1403
- }>, "strip", z.ZodTypeAny, {
1404
- id: string;
1405
- user_id: string;
1406
- org_id: string;
1407
- content: {
1408
- text: string;
1409
- json: {
1410
- type: "doc";
1411
- content: any[];
1412
- };
1413
- };
1414
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1415
- created_at: string;
1416
- last_updated: string;
1417
- name: string | null;
1418
- team_id: string;
1419
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1420
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
1421
- preview: {
1422
- type: "doc";
1423
- content: any[];
1424
- };
1425
- user?: {
1426
- id?: string | undefined;
1427
- user_id?: string | undefined;
1428
- avatar_path?: string | null | undefined;
1429
- urls?: {
1430
- value: string;
1431
- }[] | undefined;
1432
- username?: string | null | undefined;
1433
- bio?: string | null | undefined;
1434
- post_id?: string | null | undefined;
1435
- last_active?: string | undefined;
1436
- } | undefined;
1437
- organization?: {
1438
- id?: string | undefined;
1439
- name?: string | undefined;
1440
- avatar_path?: string | null | undefined;
1441
- mission?: string | null | undefined;
1442
- size?: string | undefined;
1443
- email?: string | null | undefined;
1444
- domain?: string | null | undefined;
1445
- urls?: {
1446
- value: string;
1447
- }[] | null | undefined;
1448
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1449
- } | undefined;
1450
- team?: {
1451
- id?: string | undefined;
1452
- org_id?: string | undefined;
1453
- created_at?: string | undefined;
1454
- name?: string | undefined;
1455
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1456
- description?: string | null | undefined;
1457
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1458
- } | undefined;
1459
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1460
- description?: string | null | undefined;
1461
- parent_id?: string | null | undefined;
1462
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1463
- name_url_slug?: string | null | undefined;
1464
- slug?: string | null | undefined;
1465
- price?: number | null | undefined;
1466
- unit_cost?: number | null | undefined;
1467
- cost_accounting?: "fixed" | "variable" | null | undefined;
1468
- cost_unit?: string | null | undefined;
1469
- product_id?: string | null | undefined;
1470
- price_id?: string | null | undefined;
1471
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1472
- }, {
1473
- id: string;
1474
- user_id: string;
1475
- org_id: string;
1476
- asset_type: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication";
1477
- created_at: string;
1478
- last_updated: string;
1479
- name: string | null;
1480
- team_id: string;
1481
- visibility: "organization" | "public" | "private" | "monetized" | "inherit";
1482
- monetization: "none" | "pay-to-unlock" | "pay-per-use";
1483
- user?: {
1484
- id?: string | undefined;
1485
- user_id?: string | undefined;
1486
- avatar_path?: string | null | undefined;
1487
- urls?: {
1488
- value: string;
1489
- }[] | undefined;
1490
- username?: string | null | undefined;
1491
- bio?: string | null | undefined;
1492
- post_id?: string | null | undefined;
1493
- last_active?: string | undefined;
1494
- } | undefined;
1495
- organization?: {
1496
- id?: string | undefined;
1497
- name?: string | undefined;
1498
- avatar_path?: string | null | undefined;
1499
- mission?: string | null | undefined;
1500
- size?: string | undefined;
1501
- email?: string | null | undefined;
1502
- domain?: string | null | undefined;
1503
- urls?: {
1504
- value: string;
1505
- }[] | null | undefined;
1506
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1507
- } | undefined;
1508
- team?: {
1509
- id?: string | undefined;
1510
- org_id?: string | undefined;
1511
- created_at?: string | undefined;
1512
- name?: string | undefined;
1513
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1514
- description?: string | null | undefined;
1515
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1516
- } | undefined;
1517
- content?: {
1518
- text: string;
1519
- json: {
1520
- type: "doc";
1521
- content: any[];
1522
- };
1523
- } | undefined;
1524
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1525
- description?: string | null | undefined;
1526
- parent_id?: string | null | undefined;
1527
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1528
- name_url_slug?: string | null | undefined;
1529
- slug?: string | null | undefined;
1530
- price?: number | null | undefined;
1531
- unit_cost?: number | null | undefined;
1532
- cost_accounting?: "fixed" | "variable" | null | undefined;
1533
- cost_unit?: string | null | undefined;
1534
- product_id?: string | null | undefined;
1535
- price_id?: string | null | undefined;
1536
- preview?: {
1537
- type: "doc";
1538
- content: any[];
1539
- } | undefined;
1540
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1541
- }>, "many">;
1542
- declare const UpdatePostSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
1543
- id: z.ZodOptional<z.ZodString>;
1544
- user_id: z.ZodOptional<z.ZodString>;
1545
- user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1546
- id: z.ZodOptional<z.ZodString>;
1547
- user_id: z.ZodOptional<z.ZodString>;
1548
- username: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1549
- avatar_path: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1550
- bio: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1551
- urls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1552
- value: z.ZodString;
1553
- }, "strip", z.ZodTypeAny, {
1554
- value: string;
1555
- }, {
1556
- value: string;
1557
- }>, "many">>>;
1558
- post_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1559
- last_active: z.ZodOptional<z.ZodString>;
1560
- }, "strip", z.ZodTypeAny, {
1561
- id?: string | undefined;
1562
- user_id?: string | undefined;
1563
- avatar_path?: string | null | undefined;
1564
- urls?: {
1565
- value: string;
1566
- }[] | undefined;
1567
- username?: string | null | undefined;
1568
- bio?: string | null | undefined;
1569
- post_id?: string | null | undefined;
1570
- last_active?: string | undefined;
1571
- }, {
1572
- id?: string | undefined;
1573
- user_id?: string | undefined;
1574
- avatar_path?: string | null | undefined;
1575
- urls?: {
1576
- value: string;
1577
- }[] | undefined;
1578
- username?: string | null | undefined;
1579
- bio?: string | null | undefined;
1580
- post_id?: string | null | undefined;
1581
- last_active?: string | undefined;
1582
- }>>>;
1583
- org_id: z.ZodOptional<z.ZodString>;
1584
- organization: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1585
- id: z.ZodOptional<z.ZodString>;
1586
- name: z.ZodOptional<z.ZodString>;
1587
- avatar_path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1588
- mission: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1589
- size: z.ZodOptional<z.ZodString>;
1590
- email: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1591
- domain: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1592
- urls: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1593
- value: z.ZodString;
1594
- }, "strip", z.ZodTypeAny, {
1595
- value: string;
1596
- }, {
1597
- value: string;
1598
- }>, "many">>>>;
1599
- base_role: z.ZodOptional<z.ZodDefault<z.ZodEnum<["admin", "read", "write", "none"]>>>;
1600
- }, "strip", z.ZodTypeAny, {
1601
- id?: string | undefined;
1602
- name?: string | undefined;
1603
- avatar_path?: string | null | undefined;
1604
- mission?: string | null | undefined;
1605
- size?: string | undefined;
1606
- email?: string | null | undefined;
1607
- domain?: string | null | undefined;
1608
- urls?: {
1609
- value: string;
1610
- }[] | null | undefined;
1611
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1612
- }, {
1613
- id?: string | undefined;
1614
- name?: string | undefined;
1615
- avatar_path?: string | null | undefined;
1616
- mission?: string | null | undefined;
1617
- size?: string | undefined;
1618
- email?: string | null | undefined;
1619
- domain?: string | null | undefined;
1620
- urls?: {
1621
- value: string;
1622
- }[] | null | undefined;
1623
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1624
- }>>>;
1625
- team_id: z.ZodOptional<z.ZodString>;
1626
- team: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1627
- id: z.ZodOptional<z.ZodString>;
1628
- org_id: z.ZodOptional<z.ZodString>;
1629
- name: z.ZodOptional<z.ZodString>;
1630
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1631
- default_role: z.ZodOptional<z.ZodEnum<["admin", "read", "write", "none"]>>;
1632
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
1633
- created_at: z.ZodOptional<z.ZodString>;
1634
- }, "strip", z.ZodTypeAny, {
1635
- id?: string | undefined;
1636
- org_id?: string | undefined;
1637
- created_at?: string | undefined;
1638
- name?: string | undefined;
1639
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1640
- description?: string | null | undefined;
1641
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1642
- }, {
1643
- id?: string | undefined;
1644
- org_id?: string | undefined;
1645
- created_at?: string | undefined;
1646
- name?: string | undefined;
1647
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1648
- description?: string | null | undefined;
1649
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1650
- }>>>;
1651
- parent_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1652
- parent: z.ZodOptional<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1653
- name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1654
- slug: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1655
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1656
- visibility: z.ZodOptional<z.ZodEnum<["public", "private", "organization", "monetized", "inherit"]>>;
1657
- monetization: z.ZodOptional<z.ZodEnum<["none", "pay-to-unlock", "pay-per-use"]>>;
1658
- price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1659
- unit_cost: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
1660
- cost_accounting: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["fixed", "variable"]>>>>;
1661
- cost_unit: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1662
- product_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1663
- price_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1664
- metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>>;
1665
- state: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<["queued", "in-progress", "success", "error"]>>>>;
1666
- created_at: z.ZodOptional<z.ZodString>;
1667
- last_updated: z.ZodOptional<z.ZodString>;
1668
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
- asset_type: z.ZodOptional<z.ZodEffects<z.ZodEnum<["user", "organization", "team", "dataset", "file", "service", "route", "post", "comment", "conversation", "blueprint", "replication"]>, "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication", "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication">>;
1670
- preview: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1671
- type: z.ZodLiteral<"doc">;
1672
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1673
- }, "strip", z.ZodTypeAny, {
1674
- type: "doc";
1675
- content: any[];
1676
- }, {
1677
- type: "doc";
1678
- content: any[];
1679
- }>>>;
1680
- content: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1681
- json: z.ZodObject<{
1682
- type: z.ZodLiteral<"doc">;
1683
- content: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1684
- }, "strip", z.ZodTypeAny, {
1685
- type: "doc";
1686
- content: any[];
1687
- }, {
1688
- type: "doc";
1689
- content: any[];
1690
- }>;
1691
- text: z.ZodString;
1692
- }, "strip", z.ZodTypeAny, {
1693
- text: string;
1694
- json: {
1695
- type: "doc";
1696
- content: any[];
1697
- };
1698
- }, {
1699
- text: string;
1700
- json: {
1701
- type: "doc";
1702
- content: any[];
1703
- };
1704
- }>>>;
1705
- }, "id" | "user_id" | "created_at" | "last_updated">, {
1706
- last_updated: z.ZodDefault<z.ZodString>;
1707
- }>, "strip", z.ZodTypeAny, {
1708
- last_updated: string;
1709
- user?: {
1710
- id?: string | undefined;
1711
- user_id?: string | undefined;
1712
- avatar_path?: string | null | undefined;
1713
- urls?: {
1714
- value: string;
1715
- }[] | undefined;
1716
- username?: string | null | undefined;
1717
- bio?: string | null | undefined;
1718
- post_id?: string | null | undefined;
1719
- last_active?: string | undefined;
1720
- } | undefined;
1721
- organization?: {
1722
- id?: string | undefined;
1723
- name?: string | undefined;
1724
- avatar_path?: string | null | undefined;
1725
- mission?: string | null | undefined;
1726
- size?: string | undefined;
1727
- email?: string | null | undefined;
1728
- domain?: string | null | undefined;
1729
- urls?: {
1730
- value: string;
1731
- }[] | null | undefined;
1732
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1733
- } | undefined;
1734
- team?: {
1735
- id?: string | undefined;
1736
- org_id?: string | undefined;
1737
- created_at?: string | undefined;
1738
- name?: string | undefined;
1739
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1740
- description?: string | null | undefined;
1741
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1742
- } | undefined;
1743
- org_id?: string | undefined;
1744
- content?: {
1745
- text: string;
1746
- json: {
1747
- type: "doc";
1748
- content: any[];
1749
- };
1750
- } | undefined;
1751
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1752
- metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1753
- name?: string | null | undefined;
1754
- team_id?: string | undefined;
1755
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1756
- description?: string | null | undefined;
1757
- parent_id?: string | null | undefined;
1758
- parent?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1759
- name_url_slug?: string | null | undefined;
1760
- slug?: string | null | undefined;
1761
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1762
- price?: number | null | undefined;
1763
- unit_cost?: number | null | undefined;
1764
- cost_accounting?: "fixed" | "variable" | null | undefined;
1765
- cost_unit?: string | null | undefined;
1766
- product_id?: string | null | undefined;
1767
- price_id?: string | null | undefined;
1768
- preview?: {
1769
- type: "doc";
1770
- content: any[];
1771
- } | undefined;
1772
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1773
- }, {
1774
- user?: {
1775
- id?: string | undefined;
1776
- user_id?: string | undefined;
1777
- avatar_path?: string | null | undefined;
1778
- urls?: {
1779
- value: string;
1780
- }[] | undefined;
1781
- username?: string | null | undefined;
1782
- bio?: string | null | undefined;
1783
- post_id?: string | null | undefined;
1784
- last_active?: string | undefined;
1785
- } | undefined;
1786
- organization?: {
1787
- id?: string | undefined;
1788
- name?: string | undefined;
1789
- avatar_path?: string | null | undefined;
1790
- mission?: string | null | undefined;
1791
- size?: string | undefined;
1792
- email?: string | null | undefined;
1793
- domain?: string | null | undefined;
1794
- urls?: {
1795
- value: string;
1796
- }[] | null | undefined;
1797
- base_role?: "admin" | "read" | "write" | "none" | undefined;
1798
- } | undefined;
1799
- team?: {
1800
- id?: string | undefined;
1801
- org_id?: string | undefined;
1802
- created_at?: string | undefined;
1803
- name?: string | undefined;
1804
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1805
- description?: string | null | undefined;
1806
- default_role?: "admin" | "read" | "write" | "none" | undefined;
1807
- } | undefined;
1808
- org_id?: string | undefined;
1809
- content?: {
1810
- text: string;
1811
- json: {
1812
- type: "doc";
1813
- content: any[];
1814
- };
1815
- } | undefined;
1816
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
1817
- metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
1818
- last_updated?: string | undefined;
1819
- name?: string | null | undefined;
1820
- team_id?: string | undefined;
1821
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
1822
- description?: string | null | undefined;
1823
- parent_id?: string | null | undefined;
1824
- parent?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1825
- name_url_slug?: string | null | undefined;
1826
- slug?: string | null | undefined;
1827
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
1828
- price?: number | null | undefined;
1829
- unit_cost?: number | null | undefined;
1830
- cost_accounting?: "fixed" | "variable" | null | undefined;
1831
- cost_unit?: string | null | undefined;
1832
- product_id?: string | null | undefined;
1833
- price_id?: string | null | undefined;
1834
- preview?: {
1835
- type: "doc";
1836
- content: any[];
1837
- } | undefined;
1838
- state?: "queued" | "in-progress" | "success" | "error" | null | undefined;
1839
- }>;
1840
- export { TipTapSchema, ContentSchema, PostSchema, CreatePostSchema, ListPostsSchema, ReadPostSchema, ReadPostsSchema, UpdatePostSchema, };
1841
- export type Post = z.infer<typeof PostSchema>;
1842
- export type CreatePost = z.infer<typeof CreatePostSchema>;
1843
- export type ListPosts = z.infer<typeof ListPostsSchema>;
1844
- export type ReadPost = z.infer<typeof ReadPostSchema>;
1845
- export type ReadPosts = z.infer<typeof ReadPostsSchema>;
1846
- export type UpdatePost = z.infer<typeof UpdatePostSchema>;
1847
- export type Content = z.infer<typeof ContentSchema>;
1848
- export type TipTap = z.infer<typeof TipTapSchema>;