@awarevue/api-types 1.0.94 → 1.0.95
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/dist/layout.d.ts +9 -0
- package/dist/layout.js +3 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/layout.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare const sAddLayoutRequest: z.ZodObject<{
|
|
|
43
43
|
deviceId: string;
|
|
44
44
|
rotation: number;
|
|
45
45
|
}>, "many">;
|
|
46
|
+
colorize: z.ZodBoolean;
|
|
46
47
|
}, "strip", z.ZodTypeAny, {
|
|
47
48
|
name: string;
|
|
48
49
|
devices: {
|
|
@@ -54,6 +55,7 @@ export declare const sAddLayoutRequest: z.ZodObject<{
|
|
|
54
55
|
}[];
|
|
55
56
|
thumbnailId: string;
|
|
56
57
|
imageId: string;
|
|
58
|
+
colorize: boolean;
|
|
57
59
|
order?: number | undefined;
|
|
58
60
|
}, {
|
|
59
61
|
name: string;
|
|
@@ -66,6 +68,7 @@ export declare const sAddLayoutRequest: z.ZodObject<{
|
|
|
66
68
|
}[];
|
|
67
69
|
thumbnailId: string;
|
|
68
70
|
imageId: string;
|
|
71
|
+
colorize: boolean;
|
|
69
72
|
order?: number | undefined;
|
|
70
73
|
}>;
|
|
71
74
|
export type AddLayoutRequest = z.infer<typeof sAddLayoutRequest>;
|
|
@@ -94,6 +97,7 @@ export declare const sUpdateLayoutRequest: z.ZodObject<{
|
|
|
94
97
|
deviceId: string;
|
|
95
98
|
rotation: number;
|
|
96
99
|
}>, "many">>;
|
|
100
|
+
colorize: z.ZodOptional<z.ZodBoolean>;
|
|
97
101
|
}, "strip", z.ZodTypeAny, {
|
|
98
102
|
name?: string | undefined;
|
|
99
103
|
order?: number | undefined;
|
|
@@ -107,6 +111,7 @@ export declare const sUpdateLayoutRequest: z.ZodObject<{
|
|
|
107
111
|
}[] | undefined;
|
|
108
112
|
thumbnailId?: string | undefined;
|
|
109
113
|
imageId?: string | undefined;
|
|
114
|
+
colorize?: boolean | undefined;
|
|
110
115
|
}, {
|
|
111
116
|
name?: string | undefined;
|
|
112
117
|
order?: number | undefined;
|
|
@@ -120,6 +125,7 @@ export declare const sUpdateLayoutRequest: z.ZodObject<{
|
|
|
120
125
|
}[] | undefined;
|
|
121
126
|
thumbnailId?: string | undefined;
|
|
122
127
|
imageId?: string | undefined;
|
|
128
|
+
colorize?: boolean | undefined;
|
|
123
129
|
}>;
|
|
124
130
|
export type UpdateLayoutRequest = {
|
|
125
131
|
id: string;
|
|
@@ -150,6 +156,7 @@ export declare const sLayoutDto: z.ZodObject<{
|
|
|
150
156
|
deviceId: string;
|
|
151
157
|
rotation: number;
|
|
152
158
|
}>, "many">;
|
|
159
|
+
colorize: z.ZodOptional<z.ZodBoolean>;
|
|
153
160
|
createdOn: z.ZodString;
|
|
154
161
|
lastModifiedOn: z.ZodString;
|
|
155
162
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -168,6 +175,7 @@ export declare const sLayoutDto: z.ZodObject<{
|
|
|
168
175
|
}[];
|
|
169
176
|
thumbnailUrl: string;
|
|
170
177
|
imageUrl: string;
|
|
178
|
+
colorize?: boolean | undefined;
|
|
171
179
|
}, {
|
|
172
180
|
name: string;
|
|
173
181
|
id: string;
|
|
@@ -184,5 +192,6 @@ export declare const sLayoutDto: z.ZodObject<{
|
|
|
184
192
|
}[];
|
|
185
193
|
thumbnailUrl: string;
|
|
186
194
|
imageUrl: string;
|
|
195
|
+
colorize?: boolean | undefined;
|
|
187
196
|
}>;
|
|
188
197
|
export type LayoutDto = z.infer<typeof sLayoutDto>;
|
package/dist/layout.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.sAddLayoutRequest = zod_1.default.object({
|
|
|
18
18
|
imageId: zod_1.default.string().nonempty(),
|
|
19
19
|
order: zod_1.default.number().optional(),
|
|
20
20
|
devices: zod_1.default.array(exports.sLayoutDeviceDto),
|
|
21
|
+
colorize: zod_1.default.boolean(),
|
|
21
22
|
});
|
|
22
23
|
exports.sUpdateLayoutRequest = zod_1.default.object({
|
|
23
24
|
name: zod_1.default.string().optional(),
|
|
@@ -26,6 +27,7 @@ exports.sUpdateLayoutRequest = zod_1.default.object({
|
|
|
26
27
|
order: zod_1.default.number().optional(),
|
|
27
28
|
isDefault: zod_1.default.boolean().optional(),
|
|
28
29
|
devices: zod_1.default.array(exports.sLayoutDeviceDto).optional(),
|
|
30
|
+
colorize: zod_1.default.boolean().optional(),
|
|
29
31
|
});
|
|
30
32
|
exports.sLayoutDto = zod_1.default.object({
|
|
31
33
|
id: zod_1.default.string(),
|
|
@@ -35,6 +37,7 @@ exports.sLayoutDto = zod_1.default.object({
|
|
|
35
37
|
order: zod_1.default.number(),
|
|
36
38
|
isDefault: zod_1.default.boolean(),
|
|
37
39
|
devices: zod_1.default.array(exports.sLayoutDeviceDto),
|
|
40
|
+
colorize: zod_1.default.boolean().optional(),
|
|
38
41
|
createdOn: zod_1.default.string(),
|
|
39
42
|
lastModifiedOn: zod_1.default.string(),
|
|
40
43
|
});
|
package/dist/package.json
CHANGED