@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
|
@@ -37,23 +37,43 @@ export declare const marketplaceValidationSchema: z.ZodEffects<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 marketplaceValidationSchema: z.ZodEffects<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 marketplaceValidationSchema: z.ZodEffects<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?: {
|
|
@@ -158,7 +188,12 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
158
188
|
embeddables?: {
|
|
159
189
|
role: "link" | "profile" | "mention";
|
|
160
190
|
associated_gid: string;
|
|
191
|
+
title?: string | undefined;
|
|
192
|
+
description?: string | null | undefined;
|
|
193
|
+
cta_url?: string | undefined;
|
|
194
|
+
image_url?: string | null | undefined;
|
|
161
195
|
indices?: number[] | null | undefined;
|
|
196
|
+
recommendations_count?: number | undefined;
|
|
162
197
|
}[] | null | undefined;
|
|
163
198
|
attachments?: {
|
|
164
199
|
images?: {
|
|
@@ -197,7 +232,12 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
197
232
|
embeddables?: {
|
|
198
233
|
role: "link" | "profile" | "mention";
|
|
199
234
|
associated_gid: string;
|
|
235
|
+
title?: string | undefined;
|
|
236
|
+
description?: string | null | undefined;
|
|
237
|
+
cta_url?: string | undefined;
|
|
238
|
+
image_url?: string | null | undefined;
|
|
200
239
|
indices?: number[] | null | undefined;
|
|
240
|
+
recommendations_count?: number | undefined;
|
|
201
241
|
}[] | null | undefined;
|
|
202
242
|
attachments?: {
|
|
203
243
|
images?: {
|
|
@@ -236,7 +276,12 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
236
276
|
embeddables?: {
|
|
237
277
|
role: "link" | "profile" | "mention";
|
|
238
278
|
associated_gid: string;
|
|
279
|
+
title?: string | undefined;
|
|
280
|
+
description?: string | null | undefined;
|
|
281
|
+
cta_url?: string | undefined;
|
|
282
|
+
image_url?: string | null | undefined;
|
|
239
283
|
indices?: number[] | null | undefined;
|
|
284
|
+
recommendations_count?: number | undefined;
|
|
240
285
|
}[] | null | undefined;
|
|
241
286
|
attachments?: {
|
|
242
287
|
images?: {
|
|
@@ -36,23 +36,43 @@ export declare const postValidationSchema: z.ZodObject<{
|
|
|
36
36
|
body: z.ZodString;
|
|
37
37
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
38
38
|
associated_gid: z.ZodString;
|
|
39
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
40
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
42
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
43
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
40
44
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
45
|
+
title: z.ZodOptional<z.ZodString>;
|
|
41
46
|
}, "strip", z.ZodTypeAny, {
|
|
42
47
|
role: "link" | "profile" | "mention";
|
|
43
48
|
associated_gid: string;
|
|
49
|
+
title?: string | undefined;
|
|
50
|
+
description?: string | null | undefined;
|
|
51
|
+
cta_url?: string | undefined;
|
|
52
|
+
image_url?: string | null | undefined;
|
|
44
53
|
indices?: number[] | null | undefined;
|
|
54
|
+
recommendations_count?: number | undefined;
|
|
45
55
|
}, {
|
|
46
56
|
role: "link" | "profile" | "mention";
|
|
47
57
|
associated_gid: string;
|
|
58
|
+
title?: string | undefined;
|
|
59
|
+
description?: string | null | undefined;
|
|
60
|
+
cta_url?: string | undefined;
|
|
61
|
+
image_url?: string | null | undefined;
|
|
48
62
|
indices?: number[] | null | undefined;
|
|
63
|
+
recommendations_count?: number | undefined;
|
|
49
64
|
}>, "many">>>;
|
|
50
65
|
}, "strip", z.ZodTypeAny, {
|
|
51
66
|
body: string;
|
|
52
67
|
embeddables?: {
|
|
53
68
|
role: "link" | "profile" | "mention";
|
|
54
69
|
associated_gid: string;
|
|
70
|
+
title?: string | undefined;
|
|
71
|
+
description?: string | null | undefined;
|
|
72
|
+
cta_url?: string | undefined;
|
|
73
|
+
image_url?: string | null | undefined;
|
|
55
74
|
indices?: number[] | null | undefined;
|
|
75
|
+
recommendations_count?: number | undefined;
|
|
56
76
|
}[] | null | undefined;
|
|
57
77
|
attachments?: {
|
|
58
78
|
images?: {
|
|
@@ -67,7 +87,12 @@ export declare const postValidationSchema: z.ZodObject<{
|
|
|
67
87
|
embeddables?: {
|
|
68
88
|
role: "link" | "profile" | "mention";
|
|
69
89
|
associated_gid: string;
|
|
90
|
+
title?: string | undefined;
|
|
91
|
+
description?: string | null | undefined;
|
|
92
|
+
cta_url?: string | undefined;
|
|
93
|
+
image_url?: string | null | undefined;
|
|
70
94
|
indices?: number[] | null | undefined;
|
|
95
|
+
recommendations_count?: number | undefined;
|
|
71
96
|
}[] | null | undefined;
|
|
72
97
|
attachments?: {
|
|
73
98
|
images?: {
|
|
@@ -88,7 +113,12 @@ export declare const postValidationSchema: z.ZodObject<{
|
|
|
88
113
|
embeddables?: {
|
|
89
114
|
role: "link" | "profile" | "mention";
|
|
90
115
|
associated_gid: string;
|
|
116
|
+
title?: string | undefined;
|
|
117
|
+
description?: string | null | undefined;
|
|
118
|
+
cta_url?: string | undefined;
|
|
119
|
+
image_url?: string | null | undefined;
|
|
91
120
|
indices?: number[] | null | undefined;
|
|
121
|
+
recommendations_count?: number | undefined;
|
|
92
122
|
}[] | null | undefined;
|
|
93
123
|
attachments?: {
|
|
94
124
|
images?: {
|
|
@@ -109,7 +139,12 @@ export declare const postValidationSchema: z.ZodObject<{
|
|
|
109
139
|
embeddables?: {
|
|
110
140
|
role: "link" | "profile" | "mention";
|
|
111
141
|
associated_gid: string;
|
|
142
|
+
title?: string | undefined;
|
|
143
|
+
description?: string | null | undefined;
|
|
144
|
+
cta_url?: string | undefined;
|
|
145
|
+
image_url?: string | null | undefined;
|
|
112
146
|
indices?: number[] | null | undefined;
|
|
147
|
+
recommendations_count?: number | undefined;
|
|
113
148
|
}[] | null | undefined;
|
|
114
149
|
attachments?: {
|
|
115
150
|
images?: {
|
|
@@ -162,23 +197,43 @@ export declare const searchValidationSchema: z.ZodObject<{
|
|
|
162
197
|
body: z.ZodString;
|
|
163
198
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
164
199
|
associated_gid: z.ZodString;
|
|
200
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
201
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
203
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
204
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
166
205
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
206
|
+
title: z.ZodOptional<z.ZodString>;
|
|
167
207
|
}, "strip", z.ZodTypeAny, {
|
|
168
208
|
role: "link" | "profile" | "mention";
|
|
169
209
|
associated_gid: string;
|
|
210
|
+
title?: string | undefined;
|
|
211
|
+
description?: string | null | undefined;
|
|
212
|
+
cta_url?: string | undefined;
|
|
213
|
+
image_url?: string | null | undefined;
|
|
170
214
|
indices?: number[] | null | undefined;
|
|
215
|
+
recommendations_count?: number | undefined;
|
|
171
216
|
}, {
|
|
172
217
|
role: "link" | "profile" | "mention";
|
|
173
218
|
associated_gid: string;
|
|
219
|
+
title?: string | undefined;
|
|
220
|
+
description?: string | null | undefined;
|
|
221
|
+
cta_url?: string | undefined;
|
|
222
|
+
image_url?: string | null | undefined;
|
|
174
223
|
indices?: number[] | null | undefined;
|
|
224
|
+
recommendations_count?: number | undefined;
|
|
175
225
|
}>, "many">>>;
|
|
176
226
|
}, "strip", z.ZodTypeAny, {
|
|
177
227
|
body: string;
|
|
178
228
|
embeddables?: {
|
|
179
229
|
role: "link" | "profile" | "mention";
|
|
180
230
|
associated_gid: string;
|
|
231
|
+
title?: string | undefined;
|
|
232
|
+
description?: string | null | undefined;
|
|
233
|
+
cta_url?: string | undefined;
|
|
234
|
+
image_url?: string | null | undefined;
|
|
181
235
|
indices?: number[] | null | undefined;
|
|
236
|
+
recommendations_count?: number | undefined;
|
|
182
237
|
}[] | null | undefined;
|
|
183
238
|
attachments?: {
|
|
184
239
|
images?: {
|
|
@@ -193,7 +248,12 @@ export declare const searchValidationSchema: z.ZodObject<{
|
|
|
193
248
|
embeddables?: {
|
|
194
249
|
role: "link" | "profile" | "mention";
|
|
195
250
|
associated_gid: string;
|
|
251
|
+
title?: string | undefined;
|
|
252
|
+
description?: string | null | undefined;
|
|
253
|
+
cta_url?: string | undefined;
|
|
254
|
+
image_url?: string | null | undefined;
|
|
196
255
|
indices?: number[] | null | undefined;
|
|
256
|
+
recommendations_count?: number | undefined;
|
|
197
257
|
}[] | null | undefined;
|
|
198
258
|
attachments?: {
|
|
199
259
|
images?: {
|
|
@@ -214,7 +274,12 @@ export declare const searchValidationSchema: z.ZodObject<{
|
|
|
214
274
|
embeddables?: {
|
|
215
275
|
role: "link" | "profile" | "mention";
|
|
216
276
|
associated_gid: string;
|
|
277
|
+
title?: string | undefined;
|
|
278
|
+
description?: string | null | undefined;
|
|
279
|
+
cta_url?: string | undefined;
|
|
280
|
+
image_url?: string | null | undefined;
|
|
217
281
|
indices?: number[] | null | undefined;
|
|
282
|
+
recommendations_count?: number | undefined;
|
|
218
283
|
}[] | null | undefined;
|
|
219
284
|
attachments?: {
|
|
220
285
|
images?: {
|
|
@@ -235,7 +300,12 @@ export declare const searchValidationSchema: z.ZodObject<{
|
|
|
235
300
|
embeddables?: {
|
|
236
301
|
role: "link" | "profile" | "mention";
|
|
237
302
|
associated_gid: string;
|
|
303
|
+
title?: string | undefined;
|
|
304
|
+
description?: string | null | undefined;
|
|
305
|
+
cta_url?: string | undefined;
|
|
306
|
+
image_url?: string | null | undefined;
|
|
238
307
|
indices?: number[] | null | undefined;
|
|
308
|
+
recommendations_count?: number | undefined;
|
|
239
309
|
}[] | null | undefined;
|
|
240
310
|
attachments?: {
|
|
241
311
|
images?: {
|
|
@@ -288,23 +358,43 @@ export declare const recommendationValidationSchema: z.ZodObject<{
|
|
|
288
358
|
body: z.ZodString;
|
|
289
359
|
embeddables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
290
360
|
associated_gid: z.ZodString;
|
|
361
|
+
cta_url: z.ZodOptional<z.ZodString>;
|
|
362
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
363
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
364
|
indices: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
365
|
+
recommendations_count: z.ZodOptional<z.ZodNumber>;
|
|
292
366
|
role: z.ZodEnum<["mention", "link", "profile"]>;
|
|
367
|
+
title: z.ZodOptional<z.ZodString>;
|
|
293
368
|
}, "strip", z.ZodTypeAny, {
|
|
294
369
|
role: "link" | "profile" | "mention";
|
|
295
370
|
associated_gid: string;
|
|
371
|
+
title?: string | undefined;
|
|
372
|
+
description?: string | null | undefined;
|
|
373
|
+
cta_url?: string | undefined;
|
|
374
|
+
image_url?: string | null | undefined;
|
|
296
375
|
indices?: number[] | null | undefined;
|
|
376
|
+
recommendations_count?: number | undefined;
|
|
297
377
|
}, {
|
|
298
378
|
role: "link" | "profile" | "mention";
|
|
299
379
|
associated_gid: string;
|
|
380
|
+
title?: string | undefined;
|
|
381
|
+
description?: string | null | undefined;
|
|
382
|
+
cta_url?: string | undefined;
|
|
383
|
+
image_url?: string | null | undefined;
|
|
300
384
|
indices?: number[] | null | undefined;
|
|
385
|
+
recommendations_count?: number | undefined;
|
|
301
386
|
}>, "many">>>;
|
|
302
387
|
}, "strip", z.ZodTypeAny, {
|
|
303
388
|
body: string;
|
|
304
389
|
embeddables?: {
|
|
305
390
|
role: "link" | "profile" | "mention";
|
|
306
391
|
associated_gid: string;
|
|
392
|
+
title?: string | undefined;
|
|
393
|
+
description?: string | null | undefined;
|
|
394
|
+
cta_url?: string | undefined;
|
|
395
|
+
image_url?: string | null | undefined;
|
|
307
396
|
indices?: number[] | null | undefined;
|
|
397
|
+
recommendations_count?: number | undefined;
|
|
308
398
|
}[] | null | undefined;
|
|
309
399
|
attachments?: {
|
|
310
400
|
images?: {
|
|
@@ -319,7 +409,12 @@ export declare const recommendationValidationSchema: z.ZodObject<{
|
|
|
319
409
|
embeddables?: {
|
|
320
410
|
role: "link" | "profile" | "mention";
|
|
321
411
|
associated_gid: string;
|
|
412
|
+
title?: string | undefined;
|
|
413
|
+
description?: string | null | undefined;
|
|
414
|
+
cta_url?: string | undefined;
|
|
415
|
+
image_url?: string | null | undefined;
|
|
322
416
|
indices?: number[] | null | undefined;
|
|
417
|
+
recommendations_count?: number | undefined;
|
|
323
418
|
}[] | null | undefined;
|
|
324
419
|
attachments?: {
|
|
325
420
|
images?: {
|
|
@@ -340,7 +435,12 @@ export declare const recommendationValidationSchema: z.ZodObject<{
|
|
|
340
435
|
embeddables?: {
|
|
341
436
|
role: "link" | "profile" | "mention";
|
|
342
437
|
associated_gid: string;
|
|
438
|
+
title?: string | undefined;
|
|
439
|
+
description?: string | null | undefined;
|
|
440
|
+
cta_url?: string | undefined;
|
|
441
|
+
image_url?: string | null | undefined;
|
|
343
442
|
indices?: number[] | null | undefined;
|
|
443
|
+
recommendations_count?: number | undefined;
|
|
344
444
|
}[] | null | undefined;
|
|
345
445
|
attachments?: {
|
|
346
446
|
images?: {
|
|
@@ -361,7 +461,12 @@ export declare const recommendationValidationSchema: z.ZodObject<{
|
|
|
361
461
|
embeddables?: {
|
|
362
462
|
role: "link" | "profile" | "mention";
|
|
363
463
|
associated_gid: string;
|
|
464
|
+
title?: string | undefined;
|
|
465
|
+
description?: string | null | undefined;
|
|
466
|
+
cta_url?: string | undefined;
|
|
467
|
+
image_url?: string | null | undefined;
|
|
364
468
|
indices?: number[] | null | undefined;
|
|
469
|
+
recommendations_count?: number | undefined;
|
|
365
470
|
}[] | null | undefined;
|
|
366
471
|
attachments?: {
|
|
367
472
|
images?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageFile } from '../RichTextArea/RichTextArea.types';
|
|
2
2
|
import { MarketplaceImageCropperProps } from './MarketplaceImageCropper.types';
|
|
3
3
|
export declare function updateImageById(files: ImageFile[], targetId: string, updates: Partial<ImageFile>): ImageFile[];
|
|
4
|
-
declare const MarketplaceImageCropper: ({ CCFormSelectedImage, errorMessage, imageFiles, isEventImageCropper, isInContentCreator, multiple, setImageFiles, }: MarketplaceImageCropperProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const MarketplaceImageCropper: ({ CCFormSelectedImage, editImagesIds, errorMessage, imageFiles, isEventImageCropper, isInContentCreator, multiple, setImageFiles, }: MarketplaceImageCropperProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default MarketplaceImageCropper;
|
|
@@ -2,6 +2,7 @@ import { Dispatch, SetStateAction } from 'react';
|
|
|
2
2
|
import { ImageFile } from '../RichTextArea/RichTextArea.types';
|
|
3
3
|
export type MarketplaceImageCropperProps = {
|
|
4
4
|
CCFormSelectedImage?: ImageFile | null;
|
|
5
|
+
editImagesIds?: string[];
|
|
5
6
|
errorMessage?: string;
|
|
6
7
|
imageFiles: ImageFile[];
|
|
7
8
|
isEventImageCropper?: boolean;
|