hububb-saas-shared 1.2.1 → 1.2.2
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const imageSchema: import("zod").ZodObject<{
|
|
2
2
|
id: import("zod").ZodNumber;
|
|
3
3
|
propertyId: import("zod").ZodNumber;
|
|
4
|
+
originalUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
4
5
|
smallUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
5
6
|
mediumUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
6
7
|
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
@@ -16,6 +17,7 @@ export declare const imageSchema: import("zod").ZodObject<{
|
|
|
16
17
|
propertyId: number;
|
|
17
18
|
caption?: string | null | undefined;
|
|
18
19
|
propertyRoomId?: number | null | undefined;
|
|
20
|
+
originalUrl?: string | null | undefined;
|
|
19
21
|
smallUrl?: string | null | undefined;
|
|
20
22
|
mediumUrl?: string | null | undefined;
|
|
21
23
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -27,6 +29,7 @@ export declare const imageSchema: import("zod").ZodObject<{
|
|
|
27
29
|
propertyId: number;
|
|
28
30
|
caption?: string | null | undefined;
|
|
29
31
|
propertyRoomId?: number | null | undefined;
|
|
32
|
+
originalUrl?: string | null | undefined;
|
|
30
33
|
smallUrl?: string | null | undefined;
|
|
31
34
|
mediumUrl?: string | null | undefined;
|
|
32
35
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
|
|
|
5
5
|
exports.imageSchema = (0, zod_1.object)({
|
|
6
6
|
id: (0, zod_1.number)().int(),
|
|
7
7
|
propertyId: (0, zod_1.number)().int(),
|
|
8
|
+
originalUrl: (0, zod_1.string)().nullish(),
|
|
8
9
|
smallUrl: (0, zod_1.string)().nullish(),
|
|
9
10
|
mediumUrl: (0, zod_1.string)().nullish(),
|
|
10
11
|
thumbnailUrl: (0, zod_1.string)().nullish(),
|
|
@@ -290,6 +290,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
290
290
|
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
291
291
|
propertyId: z.ZodNumber;
|
|
292
292
|
propertyRoomId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
293
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
|
293
294
|
smallUrl: z.ZodString;
|
|
294
295
|
mediumUrl: z.ZodString;
|
|
295
296
|
thumbnailUrl: z.ZodString;
|
|
@@ -303,6 +304,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
303
304
|
thumbnailUrl: string;
|
|
304
305
|
sortOrder: number;
|
|
305
306
|
propertyRoomId?: number | null | undefined;
|
|
307
|
+
originalUrl?: string | undefined;
|
|
306
308
|
}, {
|
|
307
309
|
caption: string;
|
|
308
310
|
propertyId: number;
|
|
@@ -311,6 +313,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
311
313
|
thumbnailUrl: string;
|
|
312
314
|
sortOrder: number;
|
|
313
315
|
propertyRoomId?: number | null | undefined;
|
|
316
|
+
originalUrl?: string | undefined;
|
|
314
317
|
}>, "many">>;
|
|
315
318
|
propertyRooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
316
319
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -430,6 +433,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
430
433
|
thumbnailUrl: string;
|
|
431
434
|
sortOrder: number;
|
|
432
435
|
propertyRoomId?: number | null | undefined;
|
|
436
|
+
originalUrl?: string | undefined;
|
|
433
437
|
}[] | undefined;
|
|
434
438
|
propertyRooms?: {
|
|
435
439
|
name: string;
|
|
@@ -525,6 +529,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
525
529
|
thumbnailUrl: string;
|
|
526
530
|
sortOrder: number;
|
|
527
531
|
propertyRoomId?: number | null | undefined;
|
|
532
|
+
originalUrl?: string | undefined;
|
|
528
533
|
}[] | undefined;
|
|
529
534
|
propertyRooms?: {
|
|
530
535
|
name: string;
|
|
@@ -127,6 +127,7 @@ exports.updatePropertySchema = (0, zod_1.object)({
|
|
|
127
127
|
.array(zod_1.z.object({
|
|
128
128
|
propertyId: (0, zod_1.number)(),
|
|
129
129
|
propertyRoomId: (0, zod_1.number)().nullish(),
|
|
130
|
+
originalUrl: (0, zod_1.string)().optional(),
|
|
130
131
|
smallUrl: (0, zod_1.string)(),
|
|
131
132
|
mediumUrl: (0, zod_1.string)(),
|
|
132
133
|
thumbnailUrl: (0, zod_1.string)(),
|