@goodhood-web/nebenan-base 4.13.0-development.13 → 4.13.0-development.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +93 -93
- package/index.mjs +13745 -13374
- package/lib/ContentCreator/ContentCreator.d.ts +1 -1
- package/lib/ContentCreator/ContentCreatorForm.types.d.ts +12 -5
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.d.ts +3 -3
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.types.d.ts +4 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/EventFields/EventFields.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/EventFields/EventFields.types.d.ts +2 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ListModalField/FormModalFields/FormCategory.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ListModalField/FormModalFields/FormLocation.d.ts +2 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ListModalField/ListModalField.types.d.ts +2 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ListModalField/LocationModalField.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/MarketplaceFields/FormCurrencyInput.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/MarketplaceFields/MarketplaceFields.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/MarketplaceFields/MarketplaceFields.types.d.ts +1 -0
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/FormRichTextArea.d.ts +25 -0
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/PostFields.types.d.ts +2 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ReachTypeField/ReachTypeField.d.ts +1 -1
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ReachTypeField/ReachTypeFields.types.d.ts +1 -0
- package/lib/ContentCreator/components/ErrorModal/ErrorModal.d.ts +7 -0
- package/lib/ContentCreator/network.d.ts +20 -2
- package/lib/ContentCreator/utils/general.d.ts +9 -2
- package/lib/ContentCreator/utils/images.d.ts +5 -1
- package/lib/ContentCreator/utils/parsers.d.ts +115 -0
- package/lib/ContentCreator/utils/payloadGenerators.d.ts +71 -1
- package/lib/ContentCreator/validationSchemas/commonSchemas.d.ts +40 -0
- package/lib/ContentCreator/validationSchemas/dynamicValidationSchema.d.ts +185 -0
- package/lib/ContentCreator/validationSchemas/eventSchema.d.ts +35 -0
- package/lib/ContentCreator/validationSchemas/marketplaceSchema.d.ts +45 -0
- package/lib/ContentCreator/validationSchemas/postSchema.d.ts +105 -0
- package/lib/MarketplaceImageCropper/MarketplaceImageCropper.d.ts +1 -1
- package/lib/MarketplaceImageCropper/MarketplaceImageCropper.types.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const embedSchema: z.ZodObject<{
|
|
3
3
|
associated_gid: z.ZodString;
|
|
4
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
5
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
7
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
5
9
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
10
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6
11
|
}, "strip", z.ZodTypeAny, {
|
|
7
12
|
role: "link" | "profile" | "mention";
|
|
8
13
|
associated_gid: string;
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
description?: string | null | undefined;
|
|
16
|
+
cta_url?: string | undefined;
|
|
17
|
+
image_url?: string | null | undefined;
|
|
9
18
|
indices?: number[] | null | undefined;
|
|
19
|
+
recommendations_count?: number | undefined;
|
|
10
20
|
}, {
|
|
11
21
|
role: "link" | "profile" | "mention";
|
|
12
22
|
associated_gid: string;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
description?: string | null | undefined;
|
|
25
|
+
cta_url?: string | undefined;
|
|
26
|
+
image_url?: string | null | undefined;
|
|
13
27
|
indices?: number[] | null | undefined;
|
|
28
|
+
recommendations_count?: number | undefined;
|
|
14
29
|
}>;
|
|
15
30
|
export declare const topicSchema: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
31
|
export declare const imageFileSchema: z.ZodObject<{
|
|
@@ -68,23 +83,43 @@ export declare const bodyWithEmbedsSchema: z.ZodObject<{
|
|
|
68
83
|
body: z.ZodString;
|
|
69
84
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
70
85
|
associated_gid: z.ZodString;
|
|
86
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
87
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
89
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
90
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
72
91
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
92
|
+
title: z.ZodOptional<z.ZodString>;
|
|
73
93
|
}, "strip", z.ZodTypeAny, {
|
|
74
94
|
role: "link" | "profile" | "mention";
|
|
75
95
|
associated_gid: string;
|
|
96
|
+
title?: string | undefined;
|
|
97
|
+
description?: string | null | undefined;
|
|
98
|
+
cta_url?: string | undefined;
|
|
99
|
+
image_url?: string | null | undefined;
|
|
76
100
|
indices?: number[] | null | undefined;
|
|
101
|
+
recommendations_count?: number | undefined;
|
|
77
102
|
}, {
|
|
78
103
|
role: "link" | "profile" | "mention";
|
|
79
104
|
associated_gid: string;
|
|
105
|
+
title?: string | undefined;
|
|
106
|
+
description?: string | null | undefined;
|
|
107
|
+
cta_url?: string | undefined;
|
|
108
|
+
image_url?: string | null | undefined;
|
|
80
109
|
indices?: number[] | null | undefined;
|
|
110
|
+
recommendations_count?: number | undefined;
|
|
81
111
|
}>, "many">>>;
|
|
82
112
|
}, "strip", z.ZodTypeAny, {
|
|
83
113
|
body: string;
|
|
84
114
|
embeddables?: {
|
|
85
115
|
role: "link" | "profile" | "mention";
|
|
86
116
|
associated_gid: string;
|
|
117
|
+
title?: string | undefined;
|
|
118
|
+
description?: string | null | undefined;
|
|
119
|
+
cta_url?: string | undefined;
|
|
120
|
+
image_url?: string | null | undefined;
|
|
87
121
|
indices?: number[] | null | undefined;
|
|
122
|
+
recommendations_count?: number | undefined;
|
|
88
123
|
}[] | null | undefined;
|
|
89
124
|
attachments?: {
|
|
90
125
|
images?: {
|
|
@@ -99,7 +134,12 @@ export declare const bodyWithEmbedsSchema: z.ZodObject<{
|
|
|
99
134
|
embeddables?: {
|
|
100
135
|
role: "link" | "profile" | "mention";
|
|
101
136
|
associated_gid: string;
|
|
137
|
+
title?: string | undefined;
|
|
138
|
+
description?: string | null | undefined;
|
|
139
|
+
cta_url?: string | undefined;
|
|
140
|
+
image_url?: string | null | undefined;
|
|
102
141
|
indices?: number[] | null | undefined;
|
|
142
|
+
recommendations_count?: number | undefined;
|
|
103
143
|
}[] | null | undefined;
|
|
104
144
|
attachments?: {
|
|
105
145
|
images?: {
|
|
@@ -37,23 +37,43 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
37
37
|
body: z.ZodString;
|
|
38
38
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
associated_gid: z.ZodString;
|
|
40
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
41
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
43
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
44
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
41
45
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
46
|
+
title: z.ZodOptional<z.ZodString>;
|
|
42
47
|
}, "strip", z.ZodTypeAny, {
|
|
43
48
|
role: "link" | "profile" | "mention";
|
|
44
49
|
associated_gid: string;
|
|
50
|
+
title?: string | undefined;
|
|
51
|
+
description?: string | null | undefined;
|
|
52
|
+
cta_url?: string | undefined;
|
|
53
|
+
image_url?: string | null | undefined;
|
|
45
54
|
indices?: number[] | null | undefined;
|
|
55
|
+
recommendations_count?: number | undefined;
|
|
46
56
|
}, {
|
|
47
57
|
role: "link" | "profile" | "mention";
|
|
48
58
|
associated_gid: string;
|
|
59
|
+
title?: string | undefined;
|
|
60
|
+
description?: string | null | undefined;
|
|
61
|
+
cta_url?: string | undefined;
|
|
62
|
+
image_url?: string | null | undefined;
|
|
49
63
|
indices?: number[] | null | undefined;
|
|
64
|
+
recommendations_count?: number | undefined;
|
|
50
65
|
}>, "many">>>;
|
|
51
66
|
}, "strip", z.ZodTypeAny, {
|
|
52
67
|
body: string;
|
|
53
68
|
embeddables?: {
|
|
54
69
|
role: "link" | "profile" | "mention";
|
|
55
70
|
associated_gid: string;
|
|
71
|
+
title?: string | undefined;
|
|
72
|
+
description?: string | null | undefined;
|
|
73
|
+
cta_url?: string | undefined;
|
|
74
|
+
image_url?: string | null | undefined;
|
|
56
75
|
indices?: number[] | null | undefined;
|
|
76
|
+
recommendations_count?: number | undefined;
|
|
57
77
|
}[] | null | undefined;
|
|
58
78
|
attachments?: {
|
|
59
79
|
images?: {
|
|
@@ -68,7 +88,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
68
88
|
embeddables?: {
|
|
69
89
|
role: "link" | "profile" | "mention";
|
|
70
90
|
associated_gid: string;
|
|
91
|
+
title?: string | undefined;
|
|
92
|
+
description?: string | null | undefined;
|
|
93
|
+
cta_url?: string | undefined;
|
|
94
|
+
image_url?: string | null | undefined;
|
|
71
95
|
indices?: number[] | null | undefined;
|
|
96
|
+
recommendations_count?: number | undefined;
|
|
72
97
|
}[] | null | undefined;
|
|
73
98
|
attachments?: {
|
|
74
99
|
images?: {
|
|
@@ -119,7 +144,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
119
144
|
embeddables?: {
|
|
120
145
|
role: "link" | "profile" | "mention";
|
|
121
146
|
associated_gid: string;
|
|
147
|
+
title?: string | undefined;
|
|
148
|
+
description?: string | null | undefined;
|
|
149
|
+
cta_url?: string | undefined;
|
|
150
|
+
image_url?: string | null | undefined;
|
|
122
151
|
indices?: number[] | null | undefined;
|
|
152
|
+
recommendations_count?: number | undefined;
|
|
123
153
|
}[] | null | undefined;
|
|
124
154
|
attachments?: {
|
|
125
155
|
images?: {
|
|
@@ -155,7 +185,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
155
185
|
embeddables?: {
|
|
156
186
|
role: "link" | "profile" | "mention";
|
|
157
187
|
associated_gid: string;
|
|
188
|
+
title?: string | undefined;
|
|
189
|
+
description?: string | null | undefined;
|
|
190
|
+
cta_url?: string | undefined;
|
|
191
|
+
image_url?: string | null | undefined;
|
|
158
192
|
indices?: number[] | null | undefined;
|
|
193
|
+
recommendations_count?: number | undefined;
|
|
159
194
|
}[] | null | undefined;
|
|
160
195
|
attachments?: {
|
|
161
196
|
images?: {
|
|
@@ -223,23 +258,43 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
223
258
|
body: z.ZodString;
|
|
224
259
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
225
260
|
associated_gid: z.ZodString;
|
|
261
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
262
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
264
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
265
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
227
266
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
267
|
+
title: z.ZodOptional<z.ZodString>;
|
|
228
268
|
}, "strip", z.ZodTypeAny, {
|
|
229
269
|
role: "link" | "profile" | "mention";
|
|
230
270
|
associated_gid: string;
|
|
271
|
+
title?: string | undefined;
|
|
272
|
+
description?: string | null | undefined;
|
|
273
|
+
cta_url?: string | undefined;
|
|
274
|
+
image_url?: string | null | undefined;
|
|
231
275
|
indices?: number[] | null | undefined;
|
|
276
|
+
recommendations_count?: number | undefined;
|
|
232
277
|
}, {
|
|
233
278
|
role: "link" | "profile" | "mention";
|
|
234
279
|
associated_gid: string;
|
|
280
|
+
title?: string | undefined;
|
|
281
|
+
description?: string | null | undefined;
|
|
282
|
+
cta_url?: string | undefined;
|
|
283
|
+
image_url?: string | null | undefined;
|
|
235
284
|
indices?: number[] | null | undefined;
|
|
285
|
+
recommendations_count?: number | undefined;
|
|
236
286
|
}>, "many">>>;
|
|
237
287
|
}, "strip", z.ZodTypeAny, {
|
|
238
288
|
body: string;
|
|
239
289
|
embeddables?: {
|
|
240
290
|
role: "link" | "profile" | "mention";
|
|
241
291
|
associated_gid: string;
|
|
292
|
+
title?: string | undefined;
|
|
293
|
+
description?: string | null | undefined;
|
|
294
|
+
cta_url?: string | undefined;
|
|
295
|
+
image_url?: string | null | undefined;
|
|
242
296
|
indices?: number[] | null | undefined;
|
|
297
|
+
recommendations_count?: number | undefined;
|
|
243
298
|
}[] | null | undefined;
|
|
244
299
|
attachments?: {
|
|
245
300
|
images?: {
|
|
@@ -254,7 +309,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
254
309
|
embeddables?: {
|
|
255
310
|
role: "link" | "profile" | "mention";
|
|
256
311
|
associated_gid: string;
|
|
312
|
+
title?: string | undefined;
|
|
313
|
+
description?: string | null | undefined;
|
|
314
|
+
cta_url?: string | undefined;
|
|
315
|
+
image_url?: string | null | undefined;
|
|
257
316
|
indices?: number[] | null | undefined;
|
|
317
|
+
recommendations_count?: number | undefined;
|
|
258
318
|
}[] | null | undefined;
|
|
259
319
|
attachments?: {
|
|
260
320
|
images?: {
|
|
@@ -305,7 +365,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
305
365
|
embeddables?: {
|
|
306
366
|
role: "link" | "profile" | "mention";
|
|
307
367
|
associated_gid: string;
|
|
368
|
+
title?: string | undefined;
|
|
369
|
+
description?: string | null | undefined;
|
|
370
|
+
cta_url?: string | undefined;
|
|
371
|
+
image_url?: string | null | undefined;
|
|
308
372
|
indices?: number[] | null | undefined;
|
|
373
|
+
recommendations_count?: number | undefined;
|
|
309
374
|
}[] | null | undefined;
|
|
310
375
|
attachments?: {
|
|
311
376
|
images?: {
|
|
@@ -344,7 +409,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
344
409
|
embeddables?: {
|
|
345
410
|
role: "link" | "profile" | "mention";
|
|
346
411
|
associated_gid: string;
|
|
412
|
+
title?: string | undefined;
|
|
413
|
+
description?: string | null | undefined;
|
|
414
|
+
cta_url?: string | undefined;
|
|
415
|
+
image_url?: string | null | undefined;
|
|
347
416
|
indices?: number[] | null | undefined;
|
|
417
|
+
recommendations_count?: number | undefined;
|
|
348
418
|
}[] | null | undefined;
|
|
349
419
|
attachments?: {
|
|
350
420
|
images?: {
|
|
@@ -383,7 +453,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
383
453
|
embeddables?: {
|
|
384
454
|
role: "link" | "profile" | "mention";
|
|
385
455
|
associated_gid: string;
|
|
456
|
+
title?: string | undefined;
|
|
457
|
+
description?: string | null | undefined;
|
|
458
|
+
cta_url?: string | undefined;
|
|
459
|
+
image_url?: string | null | undefined;
|
|
386
460
|
indices?: number[] | null | undefined;
|
|
461
|
+
recommendations_count?: number | undefined;
|
|
387
462
|
}[] | null | undefined;
|
|
388
463
|
attachments?: {
|
|
389
464
|
images?: {
|
|
@@ -422,7 +497,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
422
497
|
embeddables?: {
|
|
423
498
|
role: "link" | "profile" | "mention";
|
|
424
499
|
associated_gid: string;
|
|
500
|
+
title?: string | undefined;
|
|
501
|
+
description?: string | null | undefined;
|
|
502
|
+
cta_url?: string | undefined;
|
|
503
|
+
image_url?: string | null | undefined;
|
|
425
504
|
indices?: number[] | null | undefined;
|
|
505
|
+
recommendations_count?: number | undefined;
|
|
426
506
|
}[] | null | undefined;
|
|
427
507
|
attachments?: {
|
|
428
508
|
images?: {
|
|
@@ -492,23 +572,43 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
492
572
|
body: z.ZodString;
|
|
493
573
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
494
574
|
associated_gid: z.ZodString;
|
|
575
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
576
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
578
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
579
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
496
580
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
581
|
+
title: z.ZodOptional<z.ZodString>;
|
|
497
582
|
}, "strip", z.ZodTypeAny, {
|
|
498
583
|
role: "link" | "profile" | "mention";
|
|
499
584
|
associated_gid: string;
|
|
585
|
+
title?: string | undefined;
|
|
586
|
+
description?: string | null | undefined;
|
|
587
|
+
cta_url?: string | undefined;
|
|
588
|
+
image_url?: string | null | undefined;
|
|
500
589
|
indices?: number[] | null | undefined;
|
|
590
|
+
recommendations_count?: number | undefined;
|
|
501
591
|
}, {
|
|
502
592
|
role: "link" | "profile" | "mention";
|
|
503
593
|
associated_gid: string;
|
|
594
|
+
title?: string | undefined;
|
|
595
|
+
description?: string | null | undefined;
|
|
596
|
+
cta_url?: string | undefined;
|
|
597
|
+
image_url?: string | null | undefined;
|
|
504
598
|
indices?: number[] | null | undefined;
|
|
599
|
+
recommendations_count?: number | undefined;
|
|
505
600
|
}>, "many">>>;
|
|
506
601
|
}, "strip", z.ZodTypeAny, {
|
|
507
602
|
body: string;
|
|
508
603
|
embeddables?: {
|
|
509
604
|
role: "link" | "profile" | "mention";
|
|
510
605
|
associated_gid: string;
|
|
606
|
+
title?: string | undefined;
|
|
607
|
+
description?: string | null | undefined;
|
|
608
|
+
cta_url?: string | undefined;
|
|
609
|
+
image_url?: string | null | undefined;
|
|
511
610
|
indices?: number[] | null | undefined;
|
|
611
|
+
recommendations_count?: number | undefined;
|
|
512
612
|
}[] | null | undefined;
|
|
513
613
|
attachments?: {
|
|
514
614
|
images?: {
|
|
@@ -523,7 +623,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
523
623
|
embeddables?: {
|
|
524
624
|
role: "link" | "profile" | "mention";
|
|
525
625
|
associated_gid: string;
|
|
626
|
+
title?: string | undefined;
|
|
627
|
+
description?: string | null | undefined;
|
|
628
|
+
cta_url?: string | undefined;
|
|
629
|
+
image_url?: string | null | undefined;
|
|
526
630
|
indices?: number[] | null | undefined;
|
|
631
|
+
recommendations_count?: number | undefined;
|
|
527
632
|
}[] | null | undefined;
|
|
528
633
|
attachments?: {
|
|
529
634
|
images?: {
|
|
@@ -544,7 +649,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
544
649
|
embeddables?: {
|
|
545
650
|
role: "link" | "profile" | "mention";
|
|
546
651
|
associated_gid: string;
|
|
652
|
+
title?: string | undefined;
|
|
653
|
+
description?: string | null | undefined;
|
|
654
|
+
cta_url?: string | undefined;
|
|
655
|
+
image_url?: string | null | undefined;
|
|
547
656
|
indices?: number[] | null | undefined;
|
|
657
|
+
recommendations_count?: number | undefined;
|
|
548
658
|
}[] | null | undefined;
|
|
549
659
|
attachments?: {
|
|
550
660
|
images?: {
|
|
@@ -565,7 +675,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
565
675
|
embeddables?: {
|
|
566
676
|
role: "link" | "profile" | "mention";
|
|
567
677
|
associated_gid: string;
|
|
678
|
+
title?: string | undefined;
|
|
679
|
+
description?: string | null | undefined;
|
|
680
|
+
cta_url?: string | undefined;
|
|
681
|
+
image_url?: string | null | undefined;
|
|
568
682
|
indices?: number[] | null | undefined;
|
|
683
|
+
recommendations_count?: number | undefined;
|
|
569
684
|
}[] | null | undefined;
|
|
570
685
|
attachments?: {
|
|
571
686
|
images?: {
|
|
@@ -617,23 +732,43 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
617
732
|
body: z.ZodString;
|
|
618
733
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
619
734
|
associated_gid: z.ZodString;
|
|
735
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
736
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
620
738
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
739
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
621
740
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
741
|
+
title: z.ZodOptional<z.ZodString>;
|
|
622
742
|
}, "strip", z.ZodTypeAny, {
|
|
623
743
|
role: "link" | "profile" | "mention";
|
|
624
744
|
associated_gid: string;
|
|
745
|
+
title?: string | undefined;
|
|
746
|
+
description?: string | null | undefined;
|
|
747
|
+
cta_url?: string | undefined;
|
|
748
|
+
image_url?: string | null | undefined;
|
|
625
749
|
indices?: number[] | null | undefined;
|
|
750
|
+
recommendations_count?: number | undefined;
|
|
626
751
|
}, {
|
|
627
752
|
role: "link" | "profile" | "mention";
|
|
628
753
|
associated_gid: string;
|
|
754
|
+
title?: string | undefined;
|
|
755
|
+
description?: string | null | undefined;
|
|
756
|
+
cta_url?: string | undefined;
|
|
757
|
+
image_url?: string | null | undefined;
|
|
629
758
|
indices?: number[] | null | undefined;
|
|
759
|
+
recommendations_count?: number | undefined;
|
|
630
760
|
}>, "many">>>;
|
|
631
761
|
}, "strip", z.ZodTypeAny, {
|
|
632
762
|
body: string;
|
|
633
763
|
embeddables?: {
|
|
634
764
|
role: "link" | "profile" | "mention";
|
|
635
765
|
associated_gid: string;
|
|
766
|
+
title?: string | undefined;
|
|
767
|
+
description?: string | null | undefined;
|
|
768
|
+
cta_url?: string | undefined;
|
|
769
|
+
image_url?: string | null | undefined;
|
|
636
770
|
indices?: number[] | null | undefined;
|
|
771
|
+
recommendations_count?: number | undefined;
|
|
637
772
|
}[] | null | undefined;
|
|
638
773
|
attachments?: {
|
|
639
774
|
images?: {
|
|
@@ -648,7 +783,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
648
783
|
embeddables?: {
|
|
649
784
|
role: "link" | "profile" | "mention";
|
|
650
785
|
associated_gid: string;
|
|
786
|
+
title?: string | undefined;
|
|
787
|
+
description?: string | null | undefined;
|
|
788
|
+
cta_url?: string | undefined;
|
|
789
|
+
image_url?: string | null | undefined;
|
|
651
790
|
indices?: number[] | null | undefined;
|
|
791
|
+
recommendations_count?: number | undefined;
|
|
652
792
|
}[] | null | undefined;
|
|
653
793
|
attachments?: {
|
|
654
794
|
images?: {
|
|
@@ -669,7 +809,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
669
809
|
embeddables?: {
|
|
670
810
|
role: "link" | "profile" | "mention";
|
|
671
811
|
associated_gid: string;
|
|
812
|
+
title?: string | undefined;
|
|
813
|
+
description?: string | null | undefined;
|
|
814
|
+
cta_url?: string | undefined;
|
|
815
|
+
image_url?: string | null | undefined;
|
|
672
816
|
indices?: number[] | null | undefined;
|
|
817
|
+
recommendations_count?: number | undefined;
|
|
673
818
|
}[] | null | undefined;
|
|
674
819
|
attachments?: {
|
|
675
820
|
images?: {
|
|
@@ -690,7 +835,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
690
835
|
embeddables?: {
|
|
691
836
|
role: "link" | "profile" | "mention";
|
|
692
837
|
associated_gid: string;
|
|
838
|
+
title?: string | undefined;
|
|
839
|
+
description?: string | null | undefined;
|
|
840
|
+
cta_url?: string | undefined;
|
|
841
|
+
image_url?: string | null | undefined;
|
|
693
842
|
indices?: number[] | null | undefined;
|
|
843
|
+
recommendations_count?: number | undefined;
|
|
694
844
|
}[] | null | undefined;
|
|
695
845
|
attachments?: {
|
|
696
846
|
images?: {
|
|
@@ -742,23 +892,43 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
742
892
|
body: z.ZodString;
|
|
743
893
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
744
894
|
associated_gid: z.ZodString;
|
|
895
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
896
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
897
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
745
898
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
899
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
746
900
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
901
|
+
title: z.ZodOptional<z.ZodString>;
|
|
747
902
|
}, "strip", z.ZodTypeAny, {
|
|
748
903
|
role: "link" | "profile" | "mention";
|
|
749
904
|
associated_gid: string;
|
|
905
|
+
title?: string | undefined;
|
|
906
|
+
description?: string | null | undefined;
|
|
907
|
+
cta_url?: string | undefined;
|
|
908
|
+
image_url?: string | null | undefined;
|
|
750
909
|
indices?: number[] | null | undefined;
|
|
910
|
+
recommendations_count?: number | undefined;
|
|
751
911
|
}, {
|
|
752
912
|
role: "link" | "profile" | "mention";
|
|
753
913
|
associated_gid: string;
|
|
914
|
+
title?: string | undefined;
|
|
915
|
+
description?: string | null | undefined;
|
|
916
|
+
cta_url?: string | undefined;
|
|
917
|
+
image_url?: string | null | undefined;
|
|
754
918
|
indices?: number[] | null | undefined;
|
|
919
|
+
recommendations_count?: number | undefined;
|
|
755
920
|
}>, "many">>>;
|
|
756
921
|
}, "strip", z.ZodTypeAny, {
|
|
757
922
|
body: string;
|
|
758
923
|
embeddables?: {
|
|
759
924
|
role: "link" | "profile" | "mention";
|
|
760
925
|
associated_gid: string;
|
|
926
|
+
title?: string | undefined;
|
|
927
|
+
description?: string | null | undefined;
|
|
928
|
+
cta_url?: string | undefined;
|
|
929
|
+
image_url?: string | null | undefined;
|
|
761
930
|
indices?: number[] | null | undefined;
|
|
931
|
+
recommendations_count?: number | undefined;
|
|
762
932
|
}[] | null | undefined;
|
|
763
933
|
attachments?: {
|
|
764
934
|
images?: {
|
|
@@ -773,7 +943,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
773
943
|
embeddables?: {
|
|
774
944
|
role: "link" | "profile" | "mention";
|
|
775
945
|
associated_gid: string;
|
|
946
|
+
title?: string | undefined;
|
|
947
|
+
description?: string | null | undefined;
|
|
948
|
+
cta_url?: string | undefined;
|
|
949
|
+
image_url?: string | null | undefined;
|
|
776
950
|
indices?: number[] | null | undefined;
|
|
951
|
+
recommendations_count?: number | undefined;
|
|
777
952
|
}[] | null | undefined;
|
|
778
953
|
attachments?: {
|
|
779
954
|
images?: {
|
|
@@ -794,7 +969,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
794
969
|
embeddables?: {
|
|
795
970
|
role: "link" | "profile" | "mention";
|
|
796
971
|
associated_gid: string;
|
|
972
|
+
title?: string | undefined;
|
|
973
|
+
description?: string | null | undefined;
|
|
974
|
+
cta_url?: string | undefined;
|
|
975
|
+
image_url?: string | null | undefined;
|
|
797
976
|
indices?: number[] | null | undefined;
|
|
977
|
+
recommendations_count?: number | undefined;
|
|
798
978
|
}[] | null | undefined;
|
|
799
979
|
attachments?: {
|
|
800
980
|
images?: {
|
|
@@ -815,7 +995,12 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
815
995
|
embeddables?: {
|
|
816
996
|
role: "link" | "profile" | "mention";
|
|
817
997
|
associated_gid: string;
|
|
998
|
+
title?: string | undefined;
|
|
999
|
+
description?: string | null | undefined;
|
|
1000
|
+
cta_url?: string | undefined;
|
|
1001
|
+
image_url?: string | null | undefined;
|
|
818
1002
|
indices?: number[] | null | undefined;
|
|
1003
|
+
recommendations_count?: number | undefined;
|
|
819
1004
|
}[] | null | undefined;
|
|
820
1005
|
attachments?: {
|
|
821
1006
|
images?: {
|
|
@@ -37,23 +37,43 @@ export declare const eventValidationSchema: z.ZodObject<{
|
|
|
37
37
|
body: z.ZodString;
|
|
38
38
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
associated_gid: z.ZodString;
|
|
40
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
41
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
43
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
44
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
41
45
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
46
|
+
title: z.ZodOptional<z.ZodString>;
|
|
42
47
|
}, "strip", z.ZodTypeAny, {
|
|
43
48
|
role: "link" | "profile" | "mention";
|
|
44
49
|
associated_gid: string;
|
|
50
|
+
title?: string | undefined;
|
|
51
|
+
description?: string | null | undefined;
|
|
52
|
+
cta_url?: string | undefined;
|
|
53
|
+
image_url?: string | null | undefined;
|
|
45
54
|
indices?: number[] | null | undefined;
|
|
55
|
+
recommendations_count?: number | undefined;
|
|
46
56
|
}, {
|
|
47
57
|
role: "link" | "profile" | "mention";
|
|
48
58
|
associated_gid: string;
|
|
59
|
+
title?: string | undefined;
|
|
60
|
+
description?: string | null | undefined;
|
|
61
|
+
cta_url?: string | undefined;
|
|
62
|
+
image_url?: string | null | undefined;
|
|
49
63
|
indices?: number[] | null | undefined;
|
|
64
|
+
recommendations_count?: number | undefined;
|
|
50
65
|
}>, "many">>>;
|
|
51
66
|
}, "strip", z.ZodTypeAny, {
|
|
52
67
|
body: string;
|
|
53
68
|
embeddables?: {
|
|
54
69
|
role: "link" | "profile" | "mention";
|
|
55
70
|
associated_gid: string;
|
|
71
|
+
title?: string | undefined;
|
|
72
|
+
description?: string | null | undefined;
|
|
73
|
+
cta_url?: string | undefined;
|
|
74
|
+
image_url?: string | null | undefined;
|
|
56
75
|
indices?: number[] | null | undefined;
|
|
76
|
+
recommendations_count?: number | undefined;
|
|
57
77
|
}[] | null | undefined;
|
|
58
78
|
attachments?: {
|
|
59
79
|
images?: {
|
|
@@ -68,7 +88,12 @@ export declare const eventValidationSchema: z.ZodObject<{
|
|
|
68
88
|
embeddables?: {
|
|
69
89
|
role: "link" | "profile" | "mention";
|
|
70
90
|
associated_gid: string;
|
|
91
|
+
title?: string | undefined;
|
|
92
|
+
description?: string | null | undefined;
|
|
93
|
+
cta_url?: string | undefined;
|
|
94
|
+
image_url?: string | null | undefined;
|
|
71
95
|
indices?: number[] | null | undefined;
|
|
96
|
+
recommendations_count?: number | undefined;
|
|
72
97
|
}[] | null | undefined;
|
|
73
98
|
attachments?: {
|
|
74
99
|
images?: {
|
|
@@ -119,7 +144,12 @@ export declare const eventValidationSchema: z.ZodObject<{
|
|
|
119
144
|
embeddables?: {
|
|
120
145
|
role: "link" | "profile" | "mention";
|
|
121
146
|
associated_gid: string;
|
|
147
|
+
title?: string | undefined;
|
|
148
|
+
description?: string | null | undefined;
|
|
149
|
+
cta_url?: string | undefined;
|
|
150
|
+
image_url?: string | null | undefined;
|
|
122
151
|
indices?: number[] | null | undefined;
|
|
152
|
+
recommendations_count?: number | undefined;
|
|
123
153
|
}[] | null | undefined;
|
|
124
154
|
attachments?: {
|
|
125
155
|
images?: {
|
|
@@ -155,7 +185,12 @@ export declare const eventValidationSchema: z.ZodObject<{
|
|
|
155
185
|
embeddables?: {
|
|
156
186
|
role: "link" | "profile" | "mention";
|
|
157
187
|
associated_gid: string;
|
|
188
|
+
title?: string | undefined;
|
|
189
|
+
description?: string | null | undefined;
|
|
190
|
+
cta_url?: string | undefined;
|
|
191
|
+
image_url?: string | null | undefined;
|
|
158
192
|
indices?: number[] | null | undefined;
|
|
193
|
+
recommendations_count?: number | undefined;
|
|
159
194
|
}[] | null | undefined;
|
|
160
195
|
attachments?: {
|
|
161
196
|
images?: {
|