@goodhood-web/nebenan-base 4.4.1 → 4.4.2-development.1
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 +14 -14
- package/index.mjs +4564 -4576
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/ContentFieldsSheet/ContentFieldsSheet.types.d.ts +0 -20
- package/lib/ContentCreator/components/ContentCreatorFieldWrapper/components/PostFields/FormRichTextArea.d.ts +10 -5
- package/lib/ContentCreator/validationSchemas/dynamicValidationSchema.d.ts +42 -22
- package/lib/ContentCreator/validationSchemas/marketplaceSchema.d.ts +42 -22
- package/package.json +1 -1
|
@@ -18,23 +18,3 @@ export type FooterProps = {
|
|
|
18
18
|
onOpenReachTypeSelector: () => void;
|
|
19
19
|
onPoiOpen: () => void;
|
|
20
20
|
};
|
|
21
|
-
export type Lang = {
|
|
22
|
-
contentTypes: {
|
|
23
|
-
event: string;
|
|
24
|
-
marketplace: string;
|
|
25
|
-
post: string;
|
|
26
|
-
recommendation: string;
|
|
27
|
-
search: string;
|
|
28
|
-
};
|
|
29
|
-
marketplaceAndEventReachTypeLabels: {
|
|
30
|
-
extended: string;
|
|
31
|
-
hood: string;
|
|
32
|
-
public: string;
|
|
33
|
-
};
|
|
34
|
-
reachTypes: {
|
|
35
|
-
extended: string;
|
|
36
|
-
hood: string;
|
|
37
|
-
public: string;
|
|
38
|
-
};
|
|
39
|
-
submitButton: string;
|
|
40
|
-
};
|
|
@@ -118,15 +118,20 @@ declare const FormRichTextAreaInput: import('react').ForwardRefExoticComponent<U
|
|
|
118
118
|
};
|
|
119
119
|
category: string;
|
|
120
120
|
content_type: "marketplace";
|
|
121
|
-
|
|
122
|
-
reach: "profile" | "public" | "hood" | "extended";
|
|
123
|
-
marketplace_item_type: string;
|
|
124
|
-
images?: {
|
|
121
|
+
images: [{
|
|
125
122
|
id: string;
|
|
126
123
|
croppedImg: File;
|
|
127
124
|
originalImg: File;
|
|
128
125
|
signedId?: string | undefined;
|
|
129
|
-
}
|
|
126
|
+
}, ...{
|
|
127
|
+
id: string;
|
|
128
|
+
croppedImg: File;
|
|
129
|
+
originalImg: File;
|
|
130
|
+
signedId?: string | undefined;
|
|
131
|
+
}[]];
|
|
132
|
+
subject: string;
|
|
133
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
134
|
+
marketplace_item_type: string;
|
|
130
135
|
price?: string | null | undefined;
|
|
131
136
|
}> & Partial<RichTextAreaProps> & {
|
|
132
137
|
name: string;
|
|
@@ -263,7 +263,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
}>;
|
|
265
265
|
content_type: z.ZodLiteral<"marketplace">;
|
|
266
|
-
images: z.
|
|
266
|
+
images: z.ZodArray<z.ZodObject<{
|
|
267
267
|
croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
|
|
268
268
|
id: z.ZodString;
|
|
269
269
|
originalImg: z.ZodType<File, z.ZodTypeDef, File>;
|
|
@@ -278,7 +278,7 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
278
278
|
croppedImg: File;
|
|
279
279
|
originalImg: File;
|
|
280
280
|
signedId?: string | undefined;
|
|
281
|
-
}>, "
|
|
281
|
+
}>, "atleastone">;
|
|
282
282
|
marketplace_item_type: z.ZodString;
|
|
283
283
|
price: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
284
284
|
reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
|
|
@@ -302,15 +302,20 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
302
302
|
};
|
|
303
303
|
category: string;
|
|
304
304
|
content_type: "marketplace";
|
|
305
|
-
|
|
306
|
-
reach: "profile" | "public" | "hood" | "extended";
|
|
307
|
-
marketplace_item_type: string;
|
|
308
|
-
images?: {
|
|
305
|
+
images: [{
|
|
309
306
|
id: string;
|
|
310
307
|
croppedImg: File;
|
|
311
308
|
originalImg: File;
|
|
312
309
|
signedId?: string | undefined;
|
|
313
|
-
}
|
|
310
|
+
}, ...{
|
|
311
|
+
id: string;
|
|
312
|
+
croppedImg: File;
|
|
313
|
+
originalImg: File;
|
|
314
|
+
signedId?: string | undefined;
|
|
315
|
+
}[]];
|
|
316
|
+
subject: string;
|
|
317
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
318
|
+
marketplace_item_type: string;
|
|
314
319
|
price?: string | null | undefined;
|
|
315
320
|
}, {
|
|
316
321
|
content: {
|
|
@@ -331,15 +336,20 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
331
336
|
};
|
|
332
337
|
category: string;
|
|
333
338
|
content_type: "marketplace";
|
|
334
|
-
|
|
335
|
-
reach: "profile" | "public" | "hood" | "extended";
|
|
336
|
-
marketplace_item_type: string;
|
|
337
|
-
images?: {
|
|
339
|
+
images: [{
|
|
338
340
|
id: string;
|
|
339
341
|
croppedImg: File;
|
|
340
342
|
originalImg: File;
|
|
341
343
|
signedId?: string | undefined;
|
|
342
|
-
}
|
|
344
|
+
}, ...{
|
|
345
|
+
id: string;
|
|
346
|
+
croppedImg: File;
|
|
347
|
+
originalImg: File;
|
|
348
|
+
signedId?: string | undefined;
|
|
349
|
+
}[]];
|
|
350
|
+
subject: string;
|
|
351
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
352
|
+
marketplace_item_type: string;
|
|
343
353
|
price?: string | null | undefined;
|
|
344
354
|
}>, {
|
|
345
355
|
content: {
|
|
@@ -360,15 +370,20 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
360
370
|
};
|
|
361
371
|
category: string;
|
|
362
372
|
content_type: "marketplace";
|
|
363
|
-
|
|
364
|
-
reach: "profile" | "public" | "hood" | "extended";
|
|
365
|
-
marketplace_item_type: string;
|
|
366
|
-
images?: {
|
|
373
|
+
images: [{
|
|
367
374
|
id: string;
|
|
368
375
|
croppedImg: File;
|
|
369
376
|
originalImg: File;
|
|
370
377
|
signedId?: string | undefined;
|
|
371
|
-
}
|
|
378
|
+
}, ...{
|
|
379
|
+
id: string;
|
|
380
|
+
croppedImg: File;
|
|
381
|
+
originalImg: File;
|
|
382
|
+
signedId?: string | undefined;
|
|
383
|
+
}[]];
|
|
384
|
+
subject: string;
|
|
385
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
386
|
+
marketplace_item_type: string;
|
|
372
387
|
price?: string | null | undefined;
|
|
373
388
|
}, {
|
|
374
389
|
content: {
|
|
@@ -389,15 +404,20 @@ export declare const contentValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
389
404
|
};
|
|
390
405
|
category: string;
|
|
391
406
|
content_type: "marketplace";
|
|
392
|
-
|
|
393
|
-
reach: "profile" | "public" | "hood" | "extended";
|
|
394
|
-
marketplace_item_type: string;
|
|
395
|
-
images?: {
|
|
407
|
+
images: [{
|
|
396
408
|
id: string;
|
|
397
409
|
croppedImg: File;
|
|
398
410
|
originalImg: File;
|
|
399
411
|
signedId?: string | undefined;
|
|
400
|
-
}
|
|
412
|
+
}, ...{
|
|
413
|
+
id: string;
|
|
414
|
+
croppedImg: File;
|
|
415
|
+
originalImg: File;
|
|
416
|
+
signedId?: string | undefined;
|
|
417
|
+
}[]];
|
|
418
|
+
subject: string;
|
|
419
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
420
|
+
marketplace_item_type: string;
|
|
401
421
|
price?: string | null | undefined;
|
|
402
422
|
}>, z.ZodObject<{
|
|
403
423
|
content: z.ZodObject<{
|
|
@@ -80,7 +80,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
80
80
|
} | undefined;
|
|
81
81
|
}>;
|
|
82
82
|
content_type: z.ZodLiteral<"marketplace">;
|
|
83
|
-
images: z.
|
|
83
|
+
images: z.ZodArray<z.ZodObject<{
|
|
84
84
|
croppedImg: z.ZodType<File, z.ZodTypeDef, File>;
|
|
85
85
|
id: z.ZodString;
|
|
86
86
|
originalImg: z.ZodType<File, z.ZodTypeDef, File>;
|
|
@@ -95,7 +95,7 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
95
95
|
croppedImg: File;
|
|
96
96
|
originalImg: File;
|
|
97
97
|
signedId?: string | undefined;
|
|
98
|
-
}>, "
|
|
98
|
+
}>, "atleastone">;
|
|
99
99
|
marketplace_item_type: z.ZodString;
|
|
100
100
|
price: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
101
101
|
reach: z.ZodEnum<["profile", "hood", "extended", "public"]>;
|
|
@@ -119,15 +119,20 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
119
119
|
};
|
|
120
120
|
category: string;
|
|
121
121
|
content_type: "marketplace";
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
images: [{
|
|
123
|
+
id: string;
|
|
124
|
+
croppedImg: File;
|
|
125
|
+
originalImg: File;
|
|
126
|
+
signedId?: string | undefined;
|
|
127
|
+
}, ...{
|
|
126
128
|
id: string;
|
|
127
129
|
croppedImg: File;
|
|
128
130
|
originalImg: File;
|
|
129
131
|
signedId?: string | undefined;
|
|
130
|
-
}[]
|
|
132
|
+
}[]];
|
|
133
|
+
subject: string;
|
|
134
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
135
|
+
marketplace_item_type: string;
|
|
131
136
|
price?: string | null | undefined;
|
|
132
137
|
}, {
|
|
133
138
|
content: {
|
|
@@ -148,15 +153,20 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
148
153
|
};
|
|
149
154
|
category: string;
|
|
150
155
|
content_type: "marketplace";
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
156
|
+
images: [{
|
|
157
|
+
id: string;
|
|
158
|
+
croppedImg: File;
|
|
159
|
+
originalImg: File;
|
|
160
|
+
signedId?: string | undefined;
|
|
161
|
+
}, ...{
|
|
155
162
|
id: string;
|
|
156
163
|
croppedImg: File;
|
|
157
164
|
originalImg: File;
|
|
158
165
|
signedId?: string | undefined;
|
|
159
|
-
}[]
|
|
166
|
+
}[]];
|
|
167
|
+
subject: string;
|
|
168
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
169
|
+
marketplace_item_type: string;
|
|
160
170
|
price?: string | null | undefined;
|
|
161
171
|
}>, {
|
|
162
172
|
content: {
|
|
@@ -177,15 +187,20 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
177
187
|
};
|
|
178
188
|
category: string;
|
|
179
189
|
content_type: "marketplace";
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
images: [{
|
|
191
|
+
id: string;
|
|
192
|
+
croppedImg: File;
|
|
193
|
+
originalImg: File;
|
|
194
|
+
signedId?: string | undefined;
|
|
195
|
+
}, ...{
|
|
184
196
|
id: string;
|
|
185
197
|
croppedImg: File;
|
|
186
198
|
originalImg: File;
|
|
187
199
|
signedId?: string | undefined;
|
|
188
|
-
}[]
|
|
200
|
+
}[]];
|
|
201
|
+
subject: string;
|
|
202
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
203
|
+
marketplace_item_type: string;
|
|
189
204
|
price?: string | null | undefined;
|
|
190
205
|
}, {
|
|
191
206
|
content: {
|
|
@@ -206,14 +221,19 @@ export declare const marketplaceValidationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
206
221
|
};
|
|
207
222
|
category: string;
|
|
208
223
|
content_type: "marketplace";
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
224
|
+
images: [{
|
|
225
|
+
id: string;
|
|
226
|
+
croppedImg: File;
|
|
227
|
+
originalImg: File;
|
|
228
|
+
signedId?: string | undefined;
|
|
229
|
+
}, ...{
|
|
213
230
|
id: string;
|
|
214
231
|
croppedImg: File;
|
|
215
232
|
originalImg: File;
|
|
216
233
|
signedId?: string | undefined;
|
|
217
|
-
}[]
|
|
234
|
+
}[]];
|
|
235
|
+
subject: string;
|
|
236
|
+
reach: "profile" | "public" | "hood" | "extended";
|
|
237
|
+
marketplace_item_type: string;
|
|
218
238
|
price?: string | null | undefined;
|
|
219
239
|
}>;
|