@shapediver/viewer.shared.types 3.12.2 → 3.12.4
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/interfaces/parameter/IDrawingParametersSettings.d.ts +74 -74
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.js +10 -6
- package/dist/interfaces/parameter/IDrawingParametersSettings.js.map +1 -1
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts +638 -638
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IInteractionParameterSettings.js +27 -14
- package/dist/interfaces/parameter/IInteractionParameterSettings.js.map +1 -1
- package/package.json +6 -6
|
@@ -31,88 +31,88 @@ export interface IInteractionParameterSettings {
|
|
|
31
31
|
}
|
|
32
32
|
export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"selection">;
|
|
34
|
-
props: z.ZodObject<{
|
|
35
|
-
maximumSelection: z.ZodOptional<z.ZodNumber
|
|
36
|
-
minimumSelection: z.ZodOptional<z.ZodNumber
|
|
37
|
-
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
38
|
-
selectionColor: z.ZodOptional<z.ZodString
|
|
39
|
-
}
|
|
34
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
35
|
+
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
38
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
}, {
|
|
40
40
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
41
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
42
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
43
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
44
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
45
|
-
activeText: z.ZodOptional<z.ZodString
|
|
41
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
inactiveTitle?: string | undefined;
|
|
48
|
-
activeTitle?: string | undefined;
|
|
49
|
-
activeText?: string | undefined;
|
|
47
|
+
inactiveTitle?: string | null | undefined;
|
|
48
|
+
activeTitle?: string | null | undefined;
|
|
49
|
+
activeText?: string | null | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
inactiveTitle?: string | undefined;
|
|
52
|
-
activeTitle?: string | undefined;
|
|
53
|
-
activeText?: string | undefined;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
prompt?: {
|
|
57
|
-
inactiveTitle?: string | undefined;
|
|
58
|
-
activeTitle?: string | undefined;
|
|
59
|
-
activeText?: string | undefined;
|
|
60
|
-
} | undefined;
|
|
61
|
-
maximumSelection?: number | undefined;
|
|
62
|
-
minimumSelection?: number | undefined;
|
|
63
|
-
nameFilter?: string[] | undefined;
|
|
64
|
-
selectionColor?: string | undefined;
|
|
51
|
+
inactiveTitle?: string | null | undefined;
|
|
52
|
+
activeTitle?: string | null | undefined;
|
|
53
|
+
activeText?: string | null | undefined;
|
|
54
|
+
}>>>;
|
|
55
|
+
}>, "strip", z.ZodTypeAny, {
|
|
65
56
|
hover?: boolean | undefined;
|
|
66
|
-
hoverColor?: string | undefined;
|
|
67
|
-
}, {
|
|
57
|
+
hoverColor?: string | null | undefined;
|
|
68
58
|
prompt?: {
|
|
69
|
-
inactiveTitle?: string | undefined;
|
|
70
|
-
activeTitle?: string | undefined;
|
|
71
|
-
activeText?: string | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
maximumSelection?: number | undefined;
|
|
74
|
-
minimumSelection?: number | undefined;
|
|
75
|
-
nameFilter?: string[] | undefined;
|
|
76
|
-
selectionColor?: string | undefined;
|
|
59
|
+
inactiveTitle?: string | null | undefined;
|
|
60
|
+
activeTitle?: string | null | undefined;
|
|
61
|
+
activeText?: string | null | undefined;
|
|
62
|
+
} | null | undefined;
|
|
63
|
+
maximumSelection?: number | null | undefined;
|
|
64
|
+
minimumSelection?: number | null | undefined;
|
|
65
|
+
nameFilter?: string[] | null | undefined;
|
|
66
|
+
selectionColor?: string | null | undefined;
|
|
67
|
+
}, {
|
|
77
68
|
hover?: unknown;
|
|
78
|
-
hoverColor?: string | undefined;
|
|
69
|
+
hoverColor?: string | null | undefined;
|
|
70
|
+
prompt?: {
|
|
71
|
+
inactiveTitle?: string | null | undefined;
|
|
72
|
+
activeTitle?: string | null | undefined;
|
|
73
|
+
activeText?: string | null | undefined;
|
|
74
|
+
} | null | undefined;
|
|
75
|
+
maximumSelection?: number | null | undefined;
|
|
76
|
+
minimumSelection?: number | null | undefined;
|
|
77
|
+
nameFilter?: string[] | null | undefined;
|
|
78
|
+
selectionColor?: string | null | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
type: "selection";
|
|
82
82
|
props: {
|
|
83
|
-
prompt?: {
|
|
84
|
-
inactiveTitle?: string | undefined;
|
|
85
|
-
activeTitle?: string | undefined;
|
|
86
|
-
activeText?: string | undefined;
|
|
87
|
-
} | undefined;
|
|
88
|
-
maximumSelection?: number | undefined;
|
|
89
|
-
minimumSelection?: number | undefined;
|
|
90
|
-
nameFilter?: string[] | undefined;
|
|
91
|
-
selectionColor?: string | undefined;
|
|
92
83
|
hover?: boolean | undefined;
|
|
93
|
-
hoverColor?: string | undefined;
|
|
84
|
+
hoverColor?: string | null | undefined;
|
|
85
|
+
prompt?: {
|
|
86
|
+
inactiveTitle?: string | null | undefined;
|
|
87
|
+
activeTitle?: string | null | undefined;
|
|
88
|
+
activeText?: string | null | undefined;
|
|
89
|
+
} | null | undefined;
|
|
90
|
+
maximumSelection?: number | null | undefined;
|
|
91
|
+
minimumSelection?: number | null | undefined;
|
|
92
|
+
nameFilter?: string[] | null | undefined;
|
|
93
|
+
selectionColor?: string | null | undefined;
|
|
94
94
|
};
|
|
95
95
|
}, {
|
|
96
96
|
type: "selection";
|
|
97
97
|
props: {
|
|
98
|
-
prompt?: {
|
|
99
|
-
inactiveTitle?: string | undefined;
|
|
100
|
-
activeTitle?: string | undefined;
|
|
101
|
-
activeText?: string | undefined;
|
|
102
|
-
} | undefined;
|
|
103
|
-
maximumSelection?: number | undefined;
|
|
104
|
-
minimumSelection?: number | undefined;
|
|
105
|
-
nameFilter?: string[] | undefined;
|
|
106
|
-
selectionColor?: string | undefined;
|
|
107
98
|
hover?: unknown;
|
|
108
|
-
hoverColor?: string | undefined;
|
|
99
|
+
hoverColor?: string | null | undefined;
|
|
100
|
+
prompt?: {
|
|
101
|
+
inactiveTitle?: string | null | undefined;
|
|
102
|
+
activeTitle?: string | null | undefined;
|
|
103
|
+
activeText?: string | null | undefined;
|
|
104
|
+
} | null | undefined;
|
|
105
|
+
maximumSelection?: number | null | undefined;
|
|
106
|
+
minimumSelection?: number | null | undefined;
|
|
107
|
+
nameFilter?: string[] | null | undefined;
|
|
108
|
+
selectionColor?: string | null | undefined;
|
|
109
109
|
};
|
|
110
110
|
}>;
|
|
111
111
|
export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
112
112
|
type: z.ZodLiteral<"gumball">;
|
|
113
|
-
props: z.ZodObject<{
|
|
113
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
114
114
|
enableRotation: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
115
|
-
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
enableRotationAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
116
116
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
117
117
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
118
118
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -124,9 +124,9 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
124
124
|
x?: unknown;
|
|
125
125
|
y?: unknown;
|
|
126
126
|
z?: unknown;
|
|
127
|
-
}
|
|
127
|
+
}>>>;
|
|
128
128
|
enableScaling: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
129
|
-
enableScalingAxes: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
enableScalingAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
130
130
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
131
131
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
132
132
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -138,9 +138,9 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
138
138
|
x?: unknown;
|
|
139
139
|
y?: unknown;
|
|
140
140
|
z?: unknown;
|
|
141
|
-
}
|
|
141
|
+
}>>>;
|
|
142
142
|
enableTranslation: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
143
|
-
enableTranslationAxes: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
enableTranslationAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
144
144
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
145
145
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
146
146
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -152,166 +152,166 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
152
152
|
x?: unknown;
|
|
153
153
|
y?: unknown;
|
|
154
154
|
z?: unknown;
|
|
155
|
-
}
|
|
156
|
-
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
157
|
-
scale: z.ZodOptional<z.ZodNumber
|
|
158
|
-
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]
|
|
159
|
-
selectionColor: z.ZodOptional<z.ZodString
|
|
160
|
-
}
|
|
155
|
+
}>>>;
|
|
156
|
+
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
157
|
+
scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
158
|
+
space: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>>;
|
|
159
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
}, {
|
|
161
161
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
162
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
163
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
164
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
165
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
166
|
-
activeText: z.ZodOptional<z.ZodString
|
|
162
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
164
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
inactiveTitle?: string | undefined;
|
|
169
|
-
activeTitle?: string | undefined;
|
|
170
|
-
activeText?: string | undefined;
|
|
168
|
+
inactiveTitle?: string | null | undefined;
|
|
169
|
+
activeTitle?: string | null | undefined;
|
|
170
|
+
activeText?: string | null | undefined;
|
|
171
171
|
}, {
|
|
172
|
-
inactiveTitle?: string | undefined;
|
|
173
|
-
activeTitle?: string | undefined;
|
|
174
|
-
activeText?: string | undefined;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
prompt?: {
|
|
178
|
-
inactiveTitle?: string | undefined;
|
|
179
|
-
activeTitle?: string | undefined;
|
|
180
|
-
activeText?: string | undefined;
|
|
181
|
-
} | undefined;
|
|
182
|
-
nameFilter?: string[] | undefined;
|
|
183
|
-
selectionColor?: string | undefined;
|
|
172
|
+
inactiveTitle?: string | null | undefined;
|
|
173
|
+
activeTitle?: string | null | undefined;
|
|
174
|
+
activeText?: string | null | undefined;
|
|
175
|
+
}>>>;
|
|
176
|
+
}>, "strip", z.ZodTypeAny, {
|
|
184
177
|
hover?: boolean | undefined;
|
|
185
|
-
hoverColor?: string | undefined;
|
|
178
|
+
hoverColor?: string | null | undefined;
|
|
179
|
+
prompt?: {
|
|
180
|
+
inactiveTitle?: string | null | undefined;
|
|
181
|
+
activeTitle?: string | null | undefined;
|
|
182
|
+
activeText?: string | null | undefined;
|
|
183
|
+
} | null | undefined;
|
|
184
|
+
nameFilter?: string[] | null | undefined;
|
|
185
|
+
selectionColor?: string | null | undefined;
|
|
186
186
|
enableRotation?: boolean | undefined;
|
|
187
187
|
enableRotationAxes?: {
|
|
188
188
|
x?: boolean | undefined;
|
|
189
189
|
y?: boolean | undefined;
|
|
190
190
|
z?: boolean | undefined;
|
|
191
|
-
} | undefined;
|
|
191
|
+
} | null | undefined;
|
|
192
192
|
enableScaling?: boolean | undefined;
|
|
193
193
|
enableScalingAxes?: {
|
|
194
194
|
x?: boolean | undefined;
|
|
195
195
|
y?: boolean | undefined;
|
|
196
196
|
z?: boolean | undefined;
|
|
197
|
-
} | undefined;
|
|
197
|
+
} | null | undefined;
|
|
198
198
|
enableTranslation?: boolean | undefined;
|
|
199
199
|
enableTranslationAxes?: {
|
|
200
200
|
x?: boolean | undefined;
|
|
201
201
|
y?: boolean | undefined;
|
|
202
202
|
z?: boolean | undefined;
|
|
203
|
-
} | undefined;
|
|
204
|
-
scale?: number | undefined;
|
|
205
|
-
space?: "local" | "world" | undefined;
|
|
203
|
+
} | null | undefined;
|
|
204
|
+
scale?: number | null | undefined;
|
|
205
|
+
space?: "local" | "world" | null | undefined;
|
|
206
206
|
}, {
|
|
207
|
-
prompt?: {
|
|
208
|
-
inactiveTitle?: string | undefined;
|
|
209
|
-
activeTitle?: string | undefined;
|
|
210
|
-
activeText?: string | undefined;
|
|
211
|
-
} | undefined;
|
|
212
|
-
nameFilter?: string[] | undefined;
|
|
213
|
-
selectionColor?: string | undefined;
|
|
214
207
|
hover?: unknown;
|
|
215
|
-
hoverColor?: string | undefined;
|
|
208
|
+
hoverColor?: string | null | undefined;
|
|
209
|
+
prompt?: {
|
|
210
|
+
inactiveTitle?: string | null | undefined;
|
|
211
|
+
activeTitle?: string | null | undefined;
|
|
212
|
+
activeText?: string | null | undefined;
|
|
213
|
+
} | null | undefined;
|
|
214
|
+
nameFilter?: string[] | null | undefined;
|
|
215
|
+
selectionColor?: string | null | undefined;
|
|
216
216
|
enableRotation?: unknown;
|
|
217
217
|
enableRotationAxes?: {
|
|
218
218
|
x?: unknown;
|
|
219
219
|
y?: unknown;
|
|
220
220
|
z?: unknown;
|
|
221
|
-
} | undefined;
|
|
221
|
+
} | null | undefined;
|
|
222
222
|
enableScaling?: unknown;
|
|
223
223
|
enableScalingAxes?: {
|
|
224
224
|
x?: unknown;
|
|
225
225
|
y?: unknown;
|
|
226
226
|
z?: unknown;
|
|
227
|
-
} | undefined;
|
|
227
|
+
} | null | undefined;
|
|
228
228
|
enableTranslation?: unknown;
|
|
229
229
|
enableTranslationAxes?: {
|
|
230
230
|
x?: unknown;
|
|
231
231
|
y?: unknown;
|
|
232
232
|
z?: unknown;
|
|
233
|
-
} | undefined;
|
|
234
|
-
scale?: number | undefined;
|
|
235
|
-
space?: "local" | "world" | undefined;
|
|
233
|
+
} | null | undefined;
|
|
234
|
+
scale?: number | null | undefined;
|
|
235
|
+
space?: "local" | "world" | null | undefined;
|
|
236
236
|
}>;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
type: "gumball";
|
|
239
239
|
props: {
|
|
240
|
-
prompt?: {
|
|
241
|
-
inactiveTitle?: string | undefined;
|
|
242
|
-
activeTitle?: string | undefined;
|
|
243
|
-
activeText?: string | undefined;
|
|
244
|
-
} | undefined;
|
|
245
|
-
nameFilter?: string[] | undefined;
|
|
246
|
-
selectionColor?: string | undefined;
|
|
247
240
|
hover?: boolean | undefined;
|
|
248
|
-
hoverColor?: string | undefined;
|
|
241
|
+
hoverColor?: string | null | undefined;
|
|
242
|
+
prompt?: {
|
|
243
|
+
inactiveTitle?: string | null | undefined;
|
|
244
|
+
activeTitle?: string | null | undefined;
|
|
245
|
+
activeText?: string | null | undefined;
|
|
246
|
+
} | null | undefined;
|
|
247
|
+
nameFilter?: string[] | null | undefined;
|
|
248
|
+
selectionColor?: string | null | undefined;
|
|
249
249
|
enableRotation?: boolean | undefined;
|
|
250
250
|
enableRotationAxes?: {
|
|
251
251
|
x?: boolean | undefined;
|
|
252
252
|
y?: boolean | undefined;
|
|
253
253
|
z?: boolean | undefined;
|
|
254
|
-
} | undefined;
|
|
254
|
+
} | null | undefined;
|
|
255
255
|
enableScaling?: boolean | undefined;
|
|
256
256
|
enableScalingAxes?: {
|
|
257
257
|
x?: boolean | undefined;
|
|
258
258
|
y?: boolean | undefined;
|
|
259
259
|
z?: boolean | undefined;
|
|
260
|
-
} | undefined;
|
|
260
|
+
} | null | undefined;
|
|
261
261
|
enableTranslation?: boolean | undefined;
|
|
262
262
|
enableTranslationAxes?: {
|
|
263
263
|
x?: boolean | undefined;
|
|
264
264
|
y?: boolean | undefined;
|
|
265
265
|
z?: boolean | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
scale?: number | undefined;
|
|
268
|
-
space?: "local" | "world" | undefined;
|
|
266
|
+
} | null | undefined;
|
|
267
|
+
scale?: number | null | undefined;
|
|
268
|
+
space?: "local" | "world" | null | undefined;
|
|
269
269
|
};
|
|
270
270
|
}, {
|
|
271
271
|
type: "gumball";
|
|
272
272
|
props: {
|
|
273
|
-
prompt?: {
|
|
274
|
-
inactiveTitle?: string | undefined;
|
|
275
|
-
activeTitle?: string | undefined;
|
|
276
|
-
activeText?: string | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
nameFilter?: string[] | undefined;
|
|
279
|
-
selectionColor?: string | undefined;
|
|
280
273
|
hover?: unknown;
|
|
281
|
-
hoverColor?: string | undefined;
|
|
274
|
+
hoverColor?: string | null | undefined;
|
|
275
|
+
prompt?: {
|
|
276
|
+
inactiveTitle?: string | null | undefined;
|
|
277
|
+
activeTitle?: string | null | undefined;
|
|
278
|
+
activeText?: string | null | undefined;
|
|
279
|
+
} | null | undefined;
|
|
280
|
+
nameFilter?: string[] | null | undefined;
|
|
281
|
+
selectionColor?: string | null | undefined;
|
|
282
282
|
enableRotation?: unknown;
|
|
283
283
|
enableRotationAxes?: {
|
|
284
284
|
x?: unknown;
|
|
285
285
|
y?: unknown;
|
|
286
286
|
z?: unknown;
|
|
287
|
-
} | undefined;
|
|
287
|
+
} | null | undefined;
|
|
288
288
|
enableScaling?: unknown;
|
|
289
289
|
enableScalingAxes?: {
|
|
290
290
|
x?: unknown;
|
|
291
291
|
y?: unknown;
|
|
292
292
|
z?: unknown;
|
|
293
|
-
} | undefined;
|
|
293
|
+
} | null | undefined;
|
|
294
294
|
enableTranslation?: unknown;
|
|
295
295
|
enableTranslationAxes?: {
|
|
296
296
|
x?: unknown;
|
|
297
297
|
y?: unknown;
|
|
298
298
|
z?: unknown;
|
|
299
|
-
} | undefined;
|
|
300
|
-
scale?: number | undefined;
|
|
301
|
-
space?: "local" | "world" | undefined;
|
|
299
|
+
} | null | undefined;
|
|
300
|
+
scale?: number | null | undefined;
|
|
301
|
+
space?: "local" | "world" | null | undefined;
|
|
302
302
|
};
|
|
303
303
|
}>;
|
|
304
304
|
export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
305
305
|
type: z.ZodLiteral<"dragging">;
|
|
306
|
-
props: z.ZodObject<{
|
|
307
|
-
draggingColor: z.ZodOptional<z.ZodString
|
|
308
|
-
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
306
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
307
|
+
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
objects: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
309
309
|
nameFilter: z.ZodString;
|
|
310
310
|
restrictions: z.ZodArray<z.ZodString, "many">;
|
|
311
|
-
dragAnchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
311
|
+
dragAnchors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
312
312
|
id: z.ZodString;
|
|
313
313
|
position: z.ZodArray<z.ZodNumber, "many">;
|
|
314
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
315
315
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
316
316
|
angle: z.ZodNumber;
|
|
317
317
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -320,52 +320,52 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
320
320
|
}, {
|
|
321
321
|
axis: number[];
|
|
322
322
|
angle: number;
|
|
323
|
-
}
|
|
323
|
+
}>>>;
|
|
324
324
|
}, "strip", z.ZodTypeAny, {
|
|
325
325
|
id: string;
|
|
326
326
|
position: number[];
|
|
327
327
|
rotation?: {
|
|
328
328
|
axis: number[];
|
|
329
329
|
angle: number;
|
|
330
|
-
} | undefined;
|
|
330
|
+
} | null | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
id: string;
|
|
333
333
|
position: number[];
|
|
334
334
|
rotation?: {
|
|
335
335
|
axis: number[];
|
|
336
336
|
angle: number;
|
|
337
|
-
} | undefined;
|
|
338
|
-
}>, "many"
|
|
339
|
-
dragOrigin: z.ZodOptional<z.ZodArray<z.ZodNumber, "many"
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
}>, "many">>>;
|
|
339
|
+
dragOrigin: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
|
-
restrictions: string[];
|
|
342
341
|
nameFilter: string;
|
|
342
|
+
restrictions: string[];
|
|
343
343
|
dragAnchors?: {
|
|
344
344
|
id: string;
|
|
345
345
|
position: number[];
|
|
346
346
|
rotation?: {
|
|
347
347
|
axis: number[];
|
|
348
348
|
angle: number;
|
|
349
|
-
} | undefined;
|
|
350
|
-
}[] | undefined;
|
|
351
|
-
dragOrigin?: number[] | undefined;
|
|
349
|
+
} | null | undefined;
|
|
350
|
+
}[] | null | undefined;
|
|
351
|
+
dragOrigin?: number[] | null | undefined;
|
|
352
352
|
}, {
|
|
353
|
-
restrictions: string[];
|
|
354
353
|
nameFilter: string;
|
|
354
|
+
restrictions: string[];
|
|
355
355
|
dragAnchors?: {
|
|
356
356
|
id: string;
|
|
357
357
|
position: number[];
|
|
358
358
|
rotation?: {
|
|
359
359
|
axis: number[];
|
|
360
360
|
angle: number;
|
|
361
|
-
} | undefined;
|
|
362
|
-
}[] | undefined;
|
|
363
|
-
dragOrigin?: number[] | undefined;
|
|
364
|
-
}>, "many"
|
|
365
|
-
restrictions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
361
|
+
} | null | undefined;
|
|
362
|
+
}[] | null | undefined;
|
|
363
|
+
dragOrigin?: number[] | null | undefined;
|
|
364
|
+
}>, "many">>>;
|
|
365
|
+
restrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
366
366
|
id: z.ZodString;
|
|
367
367
|
type: z.ZodString;
|
|
368
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
368
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
369
369
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
370
370
|
angle: z.ZodNumber;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -374,11 +374,11 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
374
374
|
}, {
|
|
375
375
|
axis: number[];
|
|
376
376
|
angle: number;
|
|
377
|
-
}
|
|
377
|
+
}>>>;
|
|
378
378
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
379
379
|
id: z.ZodString;
|
|
380
380
|
type: z.ZodString;
|
|
381
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
381
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
382
382
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
383
383
|
angle: z.ZodNumber;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -387,11 +387,11 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
387
387
|
}, {
|
|
388
388
|
axis: number[];
|
|
389
389
|
angle: number;
|
|
390
|
-
}
|
|
390
|
+
}>>>;
|
|
391
391
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
392
392
|
id: z.ZodString;
|
|
393
393
|
type: z.ZodString;
|
|
394
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
394
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
395
395
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
396
396
|
angle: z.ZodNumber;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -400,29 +400,37 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
400
400
|
}, {
|
|
401
401
|
axis: number[];
|
|
402
402
|
angle: number;
|
|
403
|
-
}
|
|
404
|
-
}, z.ZodTypeAny, "passthrough">>, "many"
|
|
405
|
-
}
|
|
403
|
+
}>>>;
|
|
404
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
405
|
+
}, {
|
|
406
406
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
407
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
408
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
409
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
410
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
411
|
-
activeText: z.ZodOptional<z.ZodString
|
|
407
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
409
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
inactiveTitle?: string | undefined;
|
|
414
|
-
activeTitle?: string | undefined;
|
|
415
|
-
activeText?: string | undefined;
|
|
413
|
+
inactiveTitle?: string | null | undefined;
|
|
414
|
+
activeTitle?: string | null | undefined;
|
|
415
|
+
activeText?: string | null | undefined;
|
|
416
416
|
}, {
|
|
417
|
-
inactiveTitle?: string | undefined;
|
|
418
|
-
activeTitle?: string | undefined;
|
|
419
|
-
activeText?: string | undefined;
|
|
420
|
-
}
|
|
421
|
-
}
|
|
417
|
+
inactiveTitle?: string | null | undefined;
|
|
418
|
+
activeTitle?: string | null | undefined;
|
|
419
|
+
activeText?: string | null | undefined;
|
|
420
|
+
}>>>;
|
|
421
|
+
}>, "strip", z.ZodTypeAny, {
|
|
422
|
+
hover?: boolean | undefined;
|
|
423
|
+
hoverColor?: string | null | undefined;
|
|
424
|
+
prompt?: {
|
|
425
|
+
inactiveTitle?: string | null | undefined;
|
|
426
|
+
activeTitle?: string | null | undefined;
|
|
427
|
+
activeText?: string | null | undefined;
|
|
428
|
+
} | null | undefined;
|
|
429
|
+
draggingColor?: string | null | undefined;
|
|
422
430
|
restrictions?: z.objectOutputType<{
|
|
423
431
|
id: z.ZodString;
|
|
424
432
|
type: z.ZodString;
|
|
425
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
433
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
426
434
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
427
435
|
angle: z.ZodNumber;
|
|
428
436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -431,34 +439,34 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
431
439
|
}, {
|
|
432
440
|
axis: number[];
|
|
433
441
|
angle: number;
|
|
434
|
-
}
|
|
435
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
436
|
-
prompt?: {
|
|
437
|
-
inactiveTitle?: string | undefined;
|
|
438
|
-
activeTitle?: string | undefined;
|
|
439
|
-
activeText?: string | undefined;
|
|
440
|
-
} | undefined;
|
|
441
|
-
hover?: boolean | undefined;
|
|
442
|
-
hoverColor?: string | undefined;
|
|
443
|
-
draggingColor?: string | undefined;
|
|
442
|
+
}>>>;
|
|
443
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
444
444
|
objects?: {
|
|
445
|
-
restrictions: string[];
|
|
446
445
|
nameFilter: string;
|
|
446
|
+
restrictions: string[];
|
|
447
447
|
dragAnchors?: {
|
|
448
448
|
id: string;
|
|
449
449
|
position: number[];
|
|
450
450
|
rotation?: {
|
|
451
451
|
axis: number[];
|
|
452
452
|
angle: number;
|
|
453
|
-
} | undefined;
|
|
454
|
-
}[] | undefined;
|
|
455
|
-
dragOrigin?: number[] | undefined;
|
|
456
|
-
}[] | undefined;
|
|
453
|
+
} | null | undefined;
|
|
454
|
+
}[] | null | undefined;
|
|
455
|
+
dragOrigin?: number[] | null | undefined;
|
|
456
|
+
}[] | null | undefined;
|
|
457
457
|
}, {
|
|
458
|
+
hover?: unknown;
|
|
459
|
+
hoverColor?: string | null | undefined;
|
|
460
|
+
prompt?: {
|
|
461
|
+
inactiveTitle?: string | null | undefined;
|
|
462
|
+
activeTitle?: string | null | undefined;
|
|
463
|
+
activeText?: string | null | undefined;
|
|
464
|
+
} | null | undefined;
|
|
465
|
+
draggingColor?: string | null | undefined;
|
|
458
466
|
restrictions?: z.objectInputType<{
|
|
459
467
|
id: z.ZodString;
|
|
460
468
|
type: z.ZodString;
|
|
461
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
462
470
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
463
471
|
angle: z.ZodNumber;
|
|
464
472
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -467,37 +475,37 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
467
475
|
}, {
|
|
468
476
|
axis: number[];
|
|
469
477
|
angle: number;
|
|
470
|
-
}
|
|
471
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
472
|
-
prompt?: {
|
|
473
|
-
inactiveTitle?: string | undefined;
|
|
474
|
-
activeTitle?: string | undefined;
|
|
475
|
-
activeText?: string | undefined;
|
|
476
|
-
} | undefined;
|
|
477
|
-
hover?: unknown;
|
|
478
|
-
hoverColor?: string | undefined;
|
|
479
|
-
draggingColor?: string | undefined;
|
|
478
|
+
}>>>;
|
|
479
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
480
480
|
objects?: {
|
|
481
|
-
restrictions: string[];
|
|
482
481
|
nameFilter: string;
|
|
482
|
+
restrictions: string[];
|
|
483
483
|
dragAnchors?: {
|
|
484
484
|
id: string;
|
|
485
485
|
position: number[];
|
|
486
486
|
rotation?: {
|
|
487
487
|
axis: number[];
|
|
488
488
|
angle: number;
|
|
489
|
-
} | undefined;
|
|
490
|
-
}[] | undefined;
|
|
491
|
-
dragOrigin?: number[] | undefined;
|
|
492
|
-
}[] | undefined;
|
|
489
|
+
} | null | undefined;
|
|
490
|
+
}[] | null | undefined;
|
|
491
|
+
dragOrigin?: number[] | null | undefined;
|
|
492
|
+
}[] | null | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
495
|
type: "dragging";
|
|
496
496
|
props: {
|
|
497
|
+
hover?: boolean | undefined;
|
|
498
|
+
hoverColor?: string | null | undefined;
|
|
499
|
+
prompt?: {
|
|
500
|
+
inactiveTitle?: string | null | undefined;
|
|
501
|
+
activeTitle?: string | null | undefined;
|
|
502
|
+
activeText?: string | null | undefined;
|
|
503
|
+
} | null | undefined;
|
|
504
|
+
draggingColor?: string | null | undefined;
|
|
497
505
|
restrictions?: z.objectOutputType<{
|
|
498
506
|
id: z.ZodString;
|
|
499
507
|
type: z.ZodString;
|
|
500
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
508
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
501
509
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
502
510
|
angle: z.ZodNumber;
|
|
503
511
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -506,37 +514,37 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
506
514
|
}, {
|
|
507
515
|
axis: number[];
|
|
508
516
|
angle: number;
|
|
509
|
-
}
|
|
510
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
511
|
-
prompt?: {
|
|
512
|
-
inactiveTitle?: string | undefined;
|
|
513
|
-
activeTitle?: string | undefined;
|
|
514
|
-
activeText?: string | undefined;
|
|
515
|
-
} | undefined;
|
|
516
|
-
hover?: boolean | undefined;
|
|
517
|
-
hoverColor?: string | undefined;
|
|
518
|
-
draggingColor?: string | undefined;
|
|
517
|
+
}>>>;
|
|
518
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
519
519
|
objects?: {
|
|
520
|
-
restrictions: string[];
|
|
521
520
|
nameFilter: string;
|
|
521
|
+
restrictions: string[];
|
|
522
522
|
dragAnchors?: {
|
|
523
523
|
id: string;
|
|
524
524
|
position: number[];
|
|
525
525
|
rotation?: {
|
|
526
526
|
axis: number[];
|
|
527
527
|
angle: number;
|
|
528
|
-
} | undefined;
|
|
529
|
-
}[] | undefined;
|
|
530
|
-
dragOrigin?: number[] | undefined;
|
|
531
|
-
}[] | undefined;
|
|
528
|
+
} | null | undefined;
|
|
529
|
+
}[] | null | undefined;
|
|
530
|
+
dragOrigin?: number[] | null | undefined;
|
|
531
|
+
}[] | null | undefined;
|
|
532
532
|
};
|
|
533
533
|
}, {
|
|
534
534
|
type: "dragging";
|
|
535
535
|
props: {
|
|
536
|
+
hover?: unknown;
|
|
537
|
+
hoverColor?: string | null | undefined;
|
|
538
|
+
prompt?: {
|
|
539
|
+
inactiveTitle?: string | null | undefined;
|
|
540
|
+
activeTitle?: string | null | undefined;
|
|
541
|
+
activeText?: string | null | undefined;
|
|
542
|
+
} | null | undefined;
|
|
543
|
+
draggingColor?: string | null | undefined;
|
|
536
544
|
restrictions?: z.objectInputType<{
|
|
537
545
|
id: z.ZodString;
|
|
538
546
|
type: z.ZodString;
|
|
539
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
547
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
540
548
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
541
549
|
angle: z.ZodNumber;
|
|
542
550
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -545,114 +553,106 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
545
553
|
}, {
|
|
546
554
|
axis: number[];
|
|
547
555
|
angle: number;
|
|
548
|
-
}
|
|
549
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
550
|
-
prompt?: {
|
|
551
|
-
inactiveTitle?: string | undefined;
|
|
552
|
-
activeTitle?: string | undefined;
|
|
553
|
-
activeText?: string | undefined;
|
|
554
|
-
} | undefined;
|
|
555
|
-
hover?: unknown;
|
|
556
|
-
hoverColor?: string | undefined;
|
|
557
|
-
draggingColor?: string | undefined;
|
|
556
|
+
}>>>;
|
|
557
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
558
558
|
objects?: {
|
|
559
|
-
restrictions: string[];
|
|
560
559
|
nameFilter: string;
|
|
560
|
+
restrictions: string[];
|
|
561
561
|
dragAnchors?: {
|
|
562
562
|
id: string;
|
|
563
563
|
position: number[];
|
|
564
564
|
rotation?: {
|
|
565
565
|
axis: number[];
|
|
566
566
|
angle: number;
|
|
567
|
-
} | undefined;
|
|
568
|
-
}[] | undefined;
|
|
569
|
-
dragOrigin?: number[] | undefined;
|
|
570
|
-
}[] | undefined;
|
|
567
|
+
} | null | undefined;
|
|
568
|
+
}[] | null | undefined;
|
|
569
|
+
dragOrigin?: number[] | null | undefined;
|
|
570
|
+
}[] | null | undefined;
|
|
571
571
|
};
|
|
572
572
|
}>;
|
|
573
573
|
export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
574
574
|
type: z.ZodLiteral<"selection">;
|
|
575
|
-
props: z.ZodObject<{
|
|
576
|
-
maximumSelection: z.ZodOptional<z.ZodNumber
|
|
577
|
-
minimumSelection: z.ZodOptional<z.ZodNumber
|
|
578
|
-
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
579
|
-
selectionColor: z.ZodOptional<z.ZodString
|
|
580
|
-
}
|
|
575
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
576
|
+
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
577
|
+
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
578
|
+
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
579
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
580
|
+
}, {
|
|
581
581
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
582
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
583
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
584
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
585
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
586
|
-
activeText: z.ZodOptional<z.ZodString
|
|
582
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
583
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
584
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
586
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
587
|
}, "strip", z.ZodTypeAny, {
|
|
588
|
-
inactiveTitle?: string | undefined;
|
|
589
|
-
activeTitle?: string | undefined;
|
|
590
|
-
activeText?: string | undefined;
|
|
588
|
+
inactiveTitle?: string | null | undefined;
|
|
589
|
+
activeTitle?: string | null | undefined;
|
|
590
|
+
activeText?: string | null | undefined;
|
|
591
591
|
}, {
|
|
592
|
-
inactiveTitle?: string | undefined;
|
|
593
|
-
activeTitle?: string | undefined;
|
|
594
|
-
activeText?: string | undefined;
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
prompt?: {
|
|
598
|
-
inactiveTitle?: string | undefined;
|
|
599
|
-
activeTitle?: string | undefined;
|
|
600
|
-
activeText?: string | undefined;
|
|
601
|
-
} | undefined;
|
|
602
|
-
maximumSelection?: number | undefined;
|
|
603
|
-
minimumSelection?: number | undefined;
|
|
604
|
-
nameFilter?: string[] | undefined;
|
|
605
|
-
selectionColor?: string | undefined;
|
|
592
|
+
inactiveTitle?: string | null | undefined;
|
|
593
|
+
activeTitle?: string | null | undefined;
|
|
594
|
+
activeText?: string | null | undefined;
|
|
595
|
+
}>>>;
|
|
596
|
+
}>, "strip", z.ZodTypeAny, {
|
|
606
597
|
hover?: boolean | undefined;
|
|
607
|
-
hoverColor?: string | undefined;
|
|
608
|
-
}, {
|
|
598
|
+
hoverColor?: string | null | undefined;
|
|
609
599
|
prompt?: {
|
|
610
|
-
inactiveTitle?: string | undefined;
|
|
611
|
-
activeTitle?: string | undefined;
|
|
612
|
-
activeText?: string | undefined;
|
|
613
|
-
} | undefined;
|
|
614
|
-
maximumSelection?: number | undefined;
|
|
615
|
-
minimumSelection?: number | undefined;
|
|
616
|
-
nameFilter?: string[] | undefined;
|
|
617
|
-
selectionColor?: string | undefined;
|
|
600
|
+
inactiveTitle?: string | null | undefined;
|
|
601
|
+
activeTitle?: string | null | undefined;
|
|
602
|
+
activeText?: string | null | undefined;
|
|
603
|
+
} | null | undefined;
|
|
604
|
+
maximumSelection?: number | null | undefined;
|
|
605
|
+
minimumSelection?: number | null | undefined;
|
|
606
|
+
nameFilter?: string[] | null | undefined;
|
|
607
|
+
selectionColor?: string | null | undefined;
|
|
608
|
+
}, {
|
|
618
609
|
hover?: unknown;
|
|
619
|
-
hoverColor?: string | undefined;
|
|
610
|
+
hoverColor?: string | null | undefined;
|
|
611
|
+
prompt?: {
|
|
612
|
+
inactiveTitle?: string | null | undefined;
|
|
613
|
+
activeTitle?: string | null | undefined;
|
|
614
|
+
activeText?: string | null | undefined;
|
|
615
|
+
} | null | undefined;
|
|
616
|
+
maximumSelection?: number | null | undefined;
|
|
617
|
+
minimumSelection?: number | null | undefined;
|
|
618
|
+
nameFilter?: string[] | null | undefined;
|
|
619
|
+
selectionColor?: string | null | undefined;
|
|
620
620
|
}>;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
622
|
type: "selection";
|
|
623
623
|
props: {
|
|
624
|
-
prompt?: {
|
|
625
|
-
inactiveTitle?: string | undefined;
|
|
626
|
-
activeTitle?: string | undefined;
|
|
627
|
-
activeText?: string | undefined;
|
|
628
|
-
} | undefined;
|
|
629
|
-
maximumSelection?: number | undefined;
|
|
630
|
-
minimumSelection?: number | undefined;
|
|
631
|
-
nameFilter?: string[] | undefined;
|
|
632
|
-
selectionColor?: string | undefined;
|
|
633
624
|
hover?: boolean | undefined;
|
|
634
|
-
hoverColor?: string | undefined;
|
|
625
|
+
hoverColor?: string | null | undefined;
|
|
626
|
+
prompt?: {
|
|
627
|
+
inactiveTitle?: string | null | undefined;
|
|
628
|
+
activeTitle?: string | null | undefined;
|
|
629
|
+
activeText?: string | null | undefined;
|
|
630
|
+
} | null | undefined;
|
|
631
|
+
maximumSelection?: number | null | undefined;
|
|
632
|
+
minimumSelection?: number | null | undefined;
|
|
633
|
+
nameFilter?: string[] | null | undefined;
|
|
634
|
+
selectionColor?: string | null | undefined;
|
|
635
635
|
};
|
|
636
636
|
}, {
|
|
637
637
|
type: "selection";
|
|
638
638
|
props: {
|
|
639
|
-
prompt?: {
|
|
640
|
-
inactiveTitle?: string | undefined;
|
|
641
|
-
activeTitle?: string | undefined;
|
|
642
|
-
activeText?: string | undefined;
|
|
643
|
-
} | undefined;
|
|
644
|
-
maximumSelection?: number | undefined;
|
|
645
|
-
minimumSelection?: number | undefined;
|
|
646
|
-
nameFilter?: string[] | undefined;
|
|
647
|
-
selectionColor?: string | undefined;
|
|
648
639
|
hover?: unknown;
|
|
649
|
-
hoverColor?: string | undefined;
|
|
640
|
+
hoverColor?: string | null | undefined;
|
|
641
|
+
prompt?: {
|
|
642
|
+
inactiveTitle?: string | null | undefined;
|
|
643
|
+
activeTitle?: string | null | undefined;
|
|
644
|
+
activeText?: string | null | undefined;
|
|
645
|
+
} | null | undefined;
|
|
646
|
+
maximumSelection?: number | null | undefined;
|
|
647
|
+
minimumSelection?: number | null | undefined;
|
|
648
|
+
nameFilter?: string[] | null | undefined;
|
|
649
|
+
selectionColor?: string | null | undefined;
|
|
650
650
|
};
|
|
651
651
|
}>, z.ZodObject<{
|
|
652
652
|
type: z.ZodLiteral<"gumball">;
|
|
653
|
-
props: z.ZodObject<{
|
|
653
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
654
654
|
enableRotation: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
655
|
-
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
655
|
+
enableRotationAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
656
656
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
657
657
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
658
658
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -664,9 +664,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
664
664
|
x?: unknown;
|
|
665
665
|
y?: unknown;
|
|
666
666
|
z?: unknown;
|
|
667
|
-
}
|
|
667
|
+
}>>>;
|
|
668
668
|
enableScaling: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
669
|
-
enableScalingAxes: z.ZodOptional<z.ZodObject<{
|
|
669
|
+
enableScalingAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
670
670
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
671
671
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
672
672
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -678,9 +678,9 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
678
678
|
x?: unknown;
|
|
679
679
|
y?: unknown;
|
|
680
680
|
z?: unknown;
|
|
681
|
-
}
|
|
681
|
+
}>>>;
|
|
682
682
|
enableTranslation: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
683
|
-
enableTranslationAxes: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
enableTranslationAxes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
684
684
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
685
685
|
y: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
686
686
|
z: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -692,165 +692,165 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
692
692
|
x?: unknown;
|
|
693
693
|
y?: unknown;
|
|
694
694
|
z?: unknown;
|
|
695
|
-
}
|
|
696
|
-
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many"
|
|
697
|
-
scale: z.ZodOptional<z.ZodNumber
|
|
698
|
-
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]
|
|
699
|
-
selectionColor: z.ZodOptional<z.ZodString
|
|
700
|
-
}
|
|
695
|
+
}>>>;
|
|
696
|
+
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
697
|
+
scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
698
|
+
space: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>>;
|
|
699
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
700
|
+
}, {
|
|
701
701
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
702
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
703
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
704
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
705
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
706
|
-
activeText: z.ZodOptional<z.ZodString
|
|
702
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
703
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
704
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
705
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
706
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
inactiveTitle?: string | undefined;
|
|
709
|
-
activeTitle?: string | undefined;
|
|
710
|
-
activeText?: string | undefined;
|
|
708
|
+
inactiveTitle?: string | null | undefined;
|
|
709
|
+
activeTitle?: string | null | undefined;
|
|
710
|
+
activeText?: string | null | undefined;
|
|
711
711
|
}, {
|
|
712
|
-
inactiveTitle?: string | undefined;
|
|
713
|
-
activeTitle?: string | undefined;
|
|
714
|
-
activeText?: string | undefined;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
prompt?: {
|
|
718
|
-
inactiveTitle?: string | undefined;
|
|
719
|
-
activeTitle?: string | undefined;
|
|
720
|
-
activeText?: string | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
nameFilter?: string[] | undefined;
|
|
723
|
-
selectionColor?: string | undefined;
|
|
712
|
+
inactiveTitle?: string | null | undefined;
|
|
713
|
+
activeTitle?: string | null | undefined;
|
|
714
|
+
activeText?: string | null | undefined;
|
|
715
|
+
}>>>;
|
|
716
|
+
}>, "strip", z.ZodTypeAny, {
|
|
724
717
|
hover?: boolean | undefined;
|
|
725
|
-
hoverColor?: string | undefined;
|
|
718
|
+
hoverColor?: string | null | undefined;
|
|
719
|
+
prompt?: {
|
|
720
|
+
inactiveTitle?: string | null | undefined;
|
|
721
|
+
activeTitle?: string | null | undefined;
|
|
722
|
+
activeText?: string | null | undefined;
|
|
723
|
+
} | null | undefined;
|
|
724
|
+
nameFilter?: string[] | null | undefined;
|
|
725
|
+
selectionColor?: string | null | undefined;
|
|
726
726
|
enableRotation?: boolean | undefined;
|
|
727
727
|
enableRotationAxes?: {
|
|
728
728
|
x?: boolean | undefined;
|
|
729
729
|
y?: boolean | undefined;
|
|
730
730
|
z?: boolean | undefined;
|
|
731
|
-
} | undefined;
|
|
731
|
+
} | null | undefined;
|
|
732
732
|
enableScaling?: boolean | undefined;
|
|
733
733
|
enableScalingAxes?: {
|
|
734
734
|
x?: boolean | undefined;
|
|
735
735
|
y?: boolean | undefined;
|
|
736
736
|
z?: boolean | undefined;
|
|
737
|
-
} | undefined;
|
|
737
|
+
} | null | undefined;
|
|
738
738
|
enableTranslation?: boolean | undefined;
|
|
739
739
|
enableTranslationAxes?: {
|
|
740
740
|
x?: boolean | undefined;
|
|
741
741
|
y?: boolean | undefined;
|
|
742
742
|
z?: boolean | undefined;
|
|
743
|
-
} | undefined;
|
|
744
|
-
scale?: number | undefined;
|
|
745
|
-
space?: "local" | "world" | undefined;
|
|
743
|
+
} | null | undefined;
|
|
744
|
+
scale?: number | null | undefined;
|
|
745
|
+
space?: "local" | "world" | null | undefined;
|
|
746
746
|
}, {
|
|
747
|
-
prompt?: {
|
|
748
|
-
inactiveTitle?: string | undefined;
|
|
749
|
-
activeTitle?: string | undefined;
|
|
750
|
-
activeText?: string | undefined;
|
|
751
|
-
} | undefined;
|
|
752
|
-
nameFilter?: string[] | undefined;
|
|
753
|
-
selectionColor?: string | undefined;
|
|
754
747
|
hover?: unknown;
|
|
755
|
-
hoverColor?: string | undefined;
|
|
748
|
+
hoverColor?: string | null | undefined;
|
|
749
|
+
prompt?: {
|
|
750
|
+
inactiveTitle?: string | null | undefined;
|
|
751
|
+
activeTitle?: string | null | undefined;
|
|
752
|
+
activeText?: string | null | undefined;
|
|
753
|
+
} | null | undefined;
|
|
754
|
+
nameFilter?: string[] | null | undefined;
|
|
755
|
+
selectionColor?: string | null | undefined;
|
|
756
756
|
enableRotation?: unknown;
|
|
757
757
|
enableRotationAxes?: {
|
|
758
758
|
x?: unknown;
|
|
759
759
|
y?: unknown;
|
|
760
760
|
z?: unknown;
|
|
761
|
-
} | undefined;
|
|
761
|
+
} | null | undefined;
|
|
762
762
|
enableScaling?: unknown;
|
|
763
763
|
enableScalingAxes?: {
|
|
764
764
|
x?: unknown;
|
|
765
765
|
y?: unknown;
|
|
766
766
|
z?: unknown;
|
|
767
|
-
} | undefined;
|
|
767
|
+
} | null | undefined;
|
|
768
768
|
enableTranslation?: unknown;
|
|
769
769
|
enableTranslationAxes?: {
|
|
770
770
|
x?: unknown;
|
|
771
771
|
y?: unknown;
|
|
772
772
|
z?: unknown;
|
|
773
|
-
} | undefined;
|
|
774
|
-
scale?: number | undefined;
|
|
775
|
-
space?: "local" | "world" | undefined;
|
|
773
|
+
} | null | undefined;
|
|
774
|
+
scale?: number | null | undefined;
|
|
775
|
+
space?: "local" | "world" | null | undefined;
|
|
776
776
|
}>;
|
|
777
777
|
}, "strip", z.ZodTypeAny, {
|
|
778
778
|
type: "gumball";
|
|
779
779
|
props: {
|
|
780
|
-
prompt?: {
|
|
781
|
-
inactiveTitle?: string | undefined;
|
|
782
|
-
activeTitle?: string | undefined;
|
|
783
|
-
activeText?: string | undefined;
|
|
784
|
-
} | undefined;
|
|
785
|
-
nameFilter?: string[] | undefined;
|
|
786
|
-
selectionColor?: string | undefined;
|
|
787
780
|
hover?: boolean | undefined;
|
|
788
|
-
hoverColor?: string | undefined;
|
|
781
|
+
hoverColor?: string | null | undefined;
|
|
782
|
+
prompt?: {
|
|
783
|
+
inactiveTitle?: string | null | undefined;
|
|
784
|
+
activeTitle?: string | null | undefined;
|
|
785
|
+
activeText?: string | null | undefined;
|
|
786
|
+
} | null | undefined;
|
|
787
|
+
nameFilter?: string[] | null | undefined;
|
|
788
|
+
selectionColor?: string | null | undefined;
|
|
789
789
|
enableRotation?: boolean | undefined;
|
|
790
790
|
enableRotationAxes?: {
|
|
791
791
|
x?: boolean | undefined;
|
|
792
792
|
y?: boolean | undefined;
|
|
793
793
|
z?: boolean | undefined;
|
|
794
|
-
} | undefined;
|
|
794
|
+
} | null | undefined;
|
|
795
795
|
enableScaling?: boolean | undefined;
|
|
796
796
|
enableScalingAxes?: {
|
|
797
797
|
x?: boolean | undefined;
|
|
798
798
|
y?: boolean | undefined;
|
|
799
799
|
z?: boolean | undefined;
|
|
800
|
-
} | undefined;
|
|
800
|
+
} | null | undefined;
|
|
801
801
|
enableTranslation?: boolean | undefined;
|
|
802
802
|
enableTranslationAxes?: {
|
|
803
803
|
x?: boolean | undefined;
|
|
804
804
|
y?: boolean | undefined;
|
|
805
805
|
z?: boolean | undefined;
|
|
806
|
-
} | undefined;
|
|
807
|
-
scale?: number | undefined;
|
|
808
|
-
space?: "local" | "world" | undefined;
|
|
806
|
+
} | null | undefined;
|
|
807
|
+
scale?: number | null | undefined;
|
|
808
|
+
space?: "local" | "world" | null | undefined;
|
|
809
809
|
};
|
|
810
810
|
}, {
|
|
811
811
|
type: "gumball";
|
|
812
812
|
props: {
|
|
813
|
-
prompt?: {
|
|
814
|
-
inactiveTitle?: string | undefined;
|
|
815
|
-
activeTitle?: string | undefined;
|
|
816
|
-
activeText?: string | undefined;
|
|
817
|
-
} | undefined;
|
|
818
|
-
nameFilter?: string[] | undefined;
|
|
819
|
-
selectionColor?: string | undefined;
|
|
820
813
|
hover?: unknown;
|
|
821
|
-
hoverColor?: string | undefined;
|
|
814
|
+
hoverColor?: string | null | undefined;
|
|
815
|
+
prompt?: {
|
|
816
|
+
inactiveTitle?: string | null | undefined;
|
|
817
|
+
activeTitle?: string | null | undefined;
|
|
818
|
+
activeText?: string | null | undefined;
|
|
819
|
+
} | null | undefined;
|
|
820
|
+
nameFilter?: string[] | null | undefined;
|
|
821
|
+
selectionColor?: string | null | undefined;
|
|
822
822
|
enableRotation?: unknown;
|
|
823
823
|
enableRotationAxes?: {
|
|
824
824
|
x?: unknown;
|
|
825
825
|
y?: unknown;
|
|
826
826
|
z?: unknown;
|
|
827
|
-
} | undefined;
|
|
827
|
+
} | null | undefined;
|
|
828
828
|
enableScaling?: unknown;
|
|
829
829
|
enableScalingAxes?: {
|
|
830
830
|
x?: unknown;
|
|
831
831
|
y?: unknown;
|
|
832
832
|
z?: unknown;
|
|
833
|
-
} | undefined;
|
|
833
|
+
} | null | undefined;
|
|
834
834
|
enableTranslation?: unknown;
|
|
835
835
|
enableTranslationAxes?: {
|
|
836
836
|
x?: unknown;
|
|
837
837
|
y?: unknown;
|
|
838
838
|
z?: unknown;
|
|
839
|
-
} | undefined;
|
|
840
|
-
scale?: number | undefined;
|
|
841
|
-
space?: "local" | "world" | undefined;
|
|
839
|
+
} | null | undefined;
|
|
840
|
+
scale?: number | null | undefined;
|
|
841
|
+
space?: "local" | "world" | null | undefined;
|
|
842
842
|
};
|
|
843
843
|
}>]>, z.ZodObject<{
|
|
844
844
|
type: z.ZodLiteral<"dragging">;
|
|
845
|
-
props: z.ZodObject<{
|
|
846
|
-
draggingColor: z.ZodOptional<z.ZodString
|
|
847
|
-
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
845
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
846
|
+
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
847
|
+
objects: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
848
848
|
nameFilter: z.ZodString;
|
|
849
849
|
restrictions: z.ZodArray<z.ZodString, "many">;
|
|
850
|
-
dragAnchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
850
|
+
dragAnchors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
851
851
|
id: z.ZodString;
|
|
852
852
|
position: z.ZodArray<z.ZodNumber, "many">;
|
|
853
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
853
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
854
854
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
855
855
|
angle: z.ZodNumber;
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -859,52 +859,52 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
859
859
|
}, {
|
|
860
860
|
axis: number[];
|
|
861
861
|
angle: number;
|
|
862
|
-
}
|
|
862
|
+
}>>>;
|
|
863
863
|
}, "strip", z.ZodTypeAny, {
|
|
864
864
|
id: string;
|
|
865
865
|
position: number[];
|
|
866
866
|
rotation?: {
|
|
867
867
|
axis: number[];
|
|
868
868
|
angle: number;
|
|
869
|
-
} | undefined;
|
|
869
|
+
} | null | undefined;
|
|
870
870
|
}, {
|
|
871
871
|
id: string;
|
|
872
872
|
position: number[];
|
|
873
873
|
rotation?: {
|
|
874
874
|
axis: number[];
|
|
875
875
|
angle: number;
|
|
876
|
-
} | undefined;
|
|
877
|
-
}>, "many"
|
|
878
|
-
dragOrigin: z.ZodOptional<z.ZodArray<z.ZodNumber, "many"
|
|
876
|
+
} | null | undefined;
|
|
877
|
+
}>, "many">>>;
|
|
878
|
+
dragOrigin: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
879
879
|
}, "strip", z.ZodTypeAny, {
|
|
880
|
-
restrictions: string[];
|
|
881
880
|
nameFilter: string;
|
|
881
|
+
restrictions: string[];
|
|
882
882
|
dragAnchors?: {
|
|
883
883
|
id: string;
|
|
884
884
|
position: number[];
|
|
885
885
|
rotation?: {
|
|
886
886
|
axis: number[];
|
|
887
887
|
angle: number;
|
|
888
|
-
} | undefined;
|
|
889
|
-
}[] | undefined;
|
|
890
|
-
dragOrigin?: number[] | undefined;
|
|
888
|
+
} | null | undefined;
|
|
889
|
+
}[] | null | undefined;
|
|
890
|
+
dragOrigin?: number[] | null | undefined;
|
|
891
891
|
}, {
|
|
892
|
-
restrictions: string[];
|
|
893
892
|
nameFilter: string;
|
|
893
|
+
restrictions: string[];
|
|
894
894
|
dragAnchors?: {
|
|
895
895
|
id: string;
|
|
896
896
|
position: number[];
|
|
897
897
|
rotation?: {
|
|
898
898
|
axis: number[];
|
|
899
899
|
angle: number;
|
|
900
|
-
} | undefined;
|
|
901
|
-
}[] | undefined;
|
|
902
|
-
dragOrigin?: number[] | undefined;
|
|
903
|
-
}>, "many"
|
|
904
|
-
restrictions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
900
|
+
} | null | undefined;
|
|
901
|
+
}[] | null | undefined;
|
|
902
|
+
dragOrigin?: number[] | null | undefined;
|
|
903
|
+
}>, "many">>>;
|
|
904
|
+
restrictions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
905
905
|
id: z.ZodString;
|
|
906
906
|
type: z.ZodString;
|
|
907
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
907
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
908
908
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
909
909
|
angle: z.ZodNumber;
|
|
910
910
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -913,11 +913,11 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
913
913
|
}, {
|
|
914
914
|
axis: number[];
|
|
915
915
|
angle: number;
|
|
916
|
-
}
|
|
916
|
+
}>>>;
|
|
917
917
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
918
918
|
id: z.ZodString;
|
|
919
919
|
type: z.ZodString;
|
|
920
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
920
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
921
921
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
922
922
|
angle: z.ZodNumber;
|
|
923
923
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -926,11 +926,11 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
926
926
|
}, {
|
|
927
927
|
axis: number[];
|
|
928
928
|
angle: number;
|
|
929
|
-
}
|
|
929
|
+
}>>>;
|
|
930
930
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
931
931
|
id: z.ZodString;
|
|
932
932
|
type: z.ZodString;
|
|
933
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
933
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
934
934
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
935
935
|
angle: z.ZodNumber;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -939,29 +939,37 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
939
939
|
}, {
|
|
940
940
|
axis: number[];
|
|
941
941
|
angle: number;
|
|
942
|
-
}
|
|
943
|
-
}, z.ZodTypeAny, "passthrough">>, "many"
|
|
944
|
-
}
|
|
942
|
+
}>>>;
|
|
943
|
+
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
944
|
+
}, {
|
|
945
945
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
946
|
-
hoverColor: z.ZodOptional<z.ZodString
|
|
947
|
-
prompt: z.ZodOptional<z.ZodObject<{
|
|
948
|
-
inactiveTitle: z.ZodOptional<z.ZodString
|
|
949
|
-
activeTitle: z.ZodOptional<z.ZodString
|
|
950
|
-
activeText: z.ZodOptional<z.ZodString
|
|
946
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
948
|
+
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
949
|
+
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
950
|
+
activeText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
951
951
|
}, "strip", z.ZodTypeAny, {
|
|
952
|
-
inactiveTitle?: string | undefined;
|
|
953
|
-
activeTitle?: string | undefined;
|
|
954
|
-
activeText?: string | undefined;
|
|
952
|
+
inactiveTitle?: string | null | undefined;
|
|
953
|
+
activeTitle?: string | null | undefined;
|
|
954
|
+
activeText?: string | null | undefined;
|
|
955
955
|
}, {
|
|
956
|
-
inactiveTitle?: string | undefined;
|
|
957
|
-
activeTitle?: string | undefined;
|
|
958
|
-
activeText?: string | undefined;
|
|
959
|
-
}
|
|
960
|
-
}
|
|
956
|
+
inactiveTitle?: string | null | undefined;
|
|
957
|
+
activeTitle?: string | null | undefined;
|
|
958
|
+
activeText?: string | null | undefined;
|
|
959
|
+
}>>>;
|
|
960
|
+
}>, "strip", z.ZodTypeAny, {
|
|
961
|
+
hover?: boolean | undefined;
|
|
962
|
+
hoverColor?: string | null | undefined;
|
|
963
|
+
prompt?: {
|
|
964
|
+
inactiveTitle?: string | null | undefined;
|
|
965
|
+
activeTitle?: string | null | undefined;
|
|
966
|
+
activeText?: string | null | undefined;
|
|
967
|
+
} | null | undefined;
|
|
968
|
+
draggingColor?: string | null | undefined;
|
|
961
969
|
restrictions?: z.objectOutputType<{
|
|
962
970
|
id: z.ZodString;
|
|
963
971
|
type: z.ZodString;
|
|
964
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
965
973
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
966
974
|
angle: z.ZodNumber;
|
|
967
975
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -970,34 +978,34 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
970
978
|
}, {
|
|
971
979
|
axis: number[];
|
|
972
980
|
angle: number;
|
|
973
|
-
}
|
|
974
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
975
|
-
prompt?: {
|
|
976
|
-
inactiveTitle?: string | undefined;
|
|
977
|
-
activeTitle?: string | undefined;
|
|
978
|
-
activeText?: string | undefined;
|
|
979
|
-
} | undefined;
|
|
980
|
-
hover?: boolean | undefined;
|
|
981
|
-
hoverColor?: string | undefined;
|
|
982
|
-
draggingColor?: string | undefined;
|
|
981
|
+
}>>>;
|
|
982
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
983
983
|
objects?: {
|
|
984
|
-
restrictions: string[];
|
|
985
984
|
nameFilter: string;
|
|
985
|
+
restrictions: string[];
|
|
986
986
|
dragAnchors?: {
|
|
987
987
|
id: string;
|
|
988
988
|
position: number[];
|
|
989
989
|
rotation?: {
|
|
990
990
|
axis: number[];
|
|
991
991
|
angle: number;
|
|
992
|
-
} | undefined;
|
|
993
|
-
}[] | undefined;
|
|
994
|
-
dragOrigin?: number[] | undefined;
|
|
995
|
-
}[] | undefined;
|
|
992
|
+
} | null | undefined;
|
|
993
|
+
}[] | null | undefined;
|
|
994
|
+
dragOrigin?: number[] | null | undefined;
|
|
995
|
+
}[] | null | undefined;
|
|
996
996
|
}, {
|
|
997
|
+
hover?: unknown;
|
|
998
|
+
hoverColor?: string | null | undefined;
|
|
999
|
+
prompt?: {
|
|
1000
|
+
inactiveTitle?: string | null | undefined;
|
|
1001
|
+
activeTitle?: string | null | undefined;
|
|
1002
|
+
activeText?: string | null | undefined;
|
|
1003
|
+
} | null | undefined;
|
|
1004
|
+
draggingColor?: string | null | undefined;
|
|
997
1005
|
restrictions?: z.objectInputType<{
|
|
998
1006
|
id: z.ZodString;
|
|
999
1007
|
type: z.ZodString;
|
|
1000
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1008
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1001
1009
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1002
1010
|
angle: z.ZodNumber;
|
|
1003
1011
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1006,37 +1014,37 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1006
1014
|
}, {
|
|
1007
1015
|
axis: number[];
|
|
1008
1016
|
angle: number;
|
|
1009
|
-
}
|
|
1010
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1011
|
-
prompt?: {
|
|
1012
|
-
inactiveTitle?: string | undefined;
|
|
1013
|
-
activeTitle?: string | undefined;
|
|
1014
|
-
activeText?: string | undefined;
|
|
1015
|
-
} | undefined;
|
|
1016
|
-
hover?: unknown;
|
|
1017
|
-
hoverColor?: string | undefined;
|
|
1018
|
-
draggingColor?: string | undefined;
|
|
1017
|
+
}>>>;
|
|
1018
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1019
1019
|
objects?: {
|
|
1020
|
-
restrictions: string[];
|
|
1021
1020
|
nameFilter: string;
|
|
1021
|
+
restrictions: string[];
|
|
1022
1022
|
dragAnchors?: {
|
|
1023
1023
|
id: string;
|
|
1024
1024
|
position: number[];
|
|
1025
1025
|
rotation?: {
|
|
1026
1026
|
axis: number[];
|
|
1027
1027
|
angle: number;
|
|
1028
|
-
} | undefined;
|
|
1029
|
-
}[] | undefined;
|
|
1030
|
-
dragOrigin?: number[] | undefined;
|
|
1031
|
-
}[] | undefined;
|
|
1028
|
+
} | null | undefined;
|
|
1029
|
+
}[] | null | undefined;
|
|
1030
|
+
dragOrigin?: number[] | null | undefined;
|
|
1031
|
+
}[] | null | undefined;
|
|
1032
1032
|
}>;
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
1034
|
type: "dragging";
|
|
1035
1035
|
props: {
|
|
1036
|
+
hover?: boolean | undefined;
|
|
1037
|
+
hoverColor?: string | null | undefined;
|
|
1038
|
+
prompt?: {
|
|
1039
|
+
inactiveTitle?: string | null | undefined;
|
|
1040
|
+
activeTitle?: string | null | undefined;
|
|
1041
|
+
activeText?: string | null | undefined;
|
|
1042
|
+
} | null | undefined;
|
|
1043
|
+
draggingColor?: string | null | undefined;
|
|
1036
1044
|
restrictions?: z.objectOutputType<{
|
|
1037
1045
|
id: z.ZodString;
|
|
1038
1046
|
type: z.ZodString;
|
|
1039
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1047
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1040
1048
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1041
1049
|
angle: z.ZodNumber;
|
|
1042
1050
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1045,37 +1053,37 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1045
1053
|
}, {
|
|
1046
1054
|
axis: number[];
|
|
1047
1055
|
angle: number;
|
|
1048
|
-
}
|
|
1049
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1050
|
-
prompt?: {
|
|
1051
|
-
inactiveTitle?: string | undefined;
|
|
1052
|
-
activeTitle?: string | undefined;
|
|
1053
|
-
activeText?: string | undefined;
|
|
1054
|
-
} | undefined;
|
|
1055
|
-
hover?: boolean | undefined;
|
|
1056
|
-
hoverColor?: string | undefined;
|
|
1057
|
-
draggingColor?: string | undefined;
|
|
1056
|
+
}>>>;
|
|
1057
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1058
1058
|
objects?: {
|
|
1059
|
-
restrictions: string[];
|
|
1060
1059
|
nameFilter: string;
|
|
1060
|
+
restrictions: string[];
|
|
1061
1061
|
dragAnchors?: {
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
position: number[];
|
|
1064
1064
|
rotation?: {
|
|
1065
1065
|
axis: number[];
|
|
1066
1066
|
angle: number;
|
|
1067
|
-
} | undefined;
|
|
1068
|
-
}[] | undefined;
|
|
1069
|
-
dragOrigin?: number[] | undefined;
|
|
1070
|
-
}[] | undefined;
|
|
1067
|
+
} | null | undefined;
|
|
1068
|
+
}[] | null | undefined;
|
|
1069
|
+
dragOrigin?: number[] | null | undefined;
|
|
1070
|
+
}[] | null | undefined;
|
|
1071
1071
|
};
|
|
1072
1072
|
}, {
|
|
1073
1073
|
type: "dragging";
|
|
1074
1074
|
props: {
|
|
1075
|
+
hover?: unknown;
|
|
1076
|
+
hoverColor?: string | null | undefined;
|
|
1077
|
+
prompt?: {
|
|
1078
|
+
inactiveTitle?: string | null | undefined;
|
|
1079
|
+
activeTitle?: string | null | undefined;
|
|
1080
|
+
activeText?: string | null | undefined;
|
|
1081
|
+
} | null | undefined;
|
|
1082
|
+
draggingColor?: string | null | undefined;
|
|
1075
1083
|
restrictions?: z.objectInputType<{
|
|
1076
1084
|
id: z.ZodString;
|
|
1077
1085
|
type: z.ZodString;
|
|
1078
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1086
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1079
1087
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1080
1088
|
angle: z.ZodNumber;
|
|
1081
1089
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1084,86 +1092,86 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1084
1092
|
}, {
|
|
1085
1093
|
axis: number[];
|
|
1086
1094
|
angle: number;
|
|
1087
|
-
}
|
|
1088
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1089
|
-
prompt?: {
|
|
1090
|
-
inactiveTitle?: string | undefined;
|
|
1091
|
-
activeTitle?: string | undefined;
|
|
1092
|
-
activeText?: string | undefined;
|
|
1093
|
-
} | undefined;
|
|
1094
|
-
hover?: unknown;
|
|
1095
|
-
hoverColor?: string | undefined;
|
|
1096
|
-
draggingColor?: string | undefined;
|
|
1095
|
+
}>>>;
|
|
1096
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1097
1097
|
objects?: {
|
|
1098
|
-
restrictions: string[];
|
|
1099
1098
|
nameFilter: string;
|
|
1099
|
+
restrictions: string[];
|
|
1100
1100
|
dragAnchors?: {
|
|
1101
1101
|
id: string;
|
|
1102
1102
|
position: number[];
|
|
1103
1103
|
rotation?: {
|
|
1104
1104
|
axis: number[];
|
|
1105
1105
|
angle: number;
|
|
1106
|
-
} | undefined;
|
|
1107
|
-
}[] | undefined;
|
|
1108
|
-
dragOrigin?: number[] | undefined;
|
|
1109
|
-
}[] | undefined;
|
|
1106
|
+
} | null | undefined;
|
|
1107
|
+
}[] | null | undefined;
|
|
1108
|
+
dragOrigin?: number[] | null | undefined;
|
|
1109
|
+
}[] | null | undefined;
|
|
1110
1110
|
};
|
|
1111
1111
|
}>]>;
|
|
1112
1112
|
export declare const validateInteractionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1113
1113
|
type: "selection";
|
|
1114
1114
|
props: {
|
|
1115
|
-
prompt?: {
|
|
1116
|
-
inactiveTitle?: string | undefined;
|
|
1117
|
-
activeTitle?: string | undefined;
|
|
1118
|
-
activeText?: string | undefined;
|
|
1119
|
-
} | undefined;
|
|
1120
|
-
maximumSelection?: number | undefined;
|
|
1121
|
-
minimumSelection?: number | undefined;
|
|
1122
|
-
nameFilter?: string[] | undefined;
|
|
1123
|
-
selectionColor?: string | undefined;
|
|
1124
1115
|
hover?: unknown;
|
|
1125
|
-
hoverColor?: string | undefined;
|
|
1116
|
+
hoverColor?: string | null | undefined;
|
|
1117
|
+
prompt?: {
|
|
1118
|
+
inactiveTitle?: string | null | undefined;
|
|
1119
|
+
activeTitle?: string | null | undefined;
|
|
1120
|
+
activeText?: string | null | undefined;
|
|
1121
|
+
} | null | undefined;
|
|
1122
|
+
maximumSelection?: number | null | undefined;
|
|
1123
|
+
minimumSelection?: number | null | undefined;
|
|
1124
|
+
nameFilter?: string[] | null | undefined;
|
|
1125
|
+
selectionColor?: string | null | undefined;
|
|
1126
1126
|
};
|
|
1127
1127
|
} | {
|
|
1128
1128
|
type: "gumball";
|
|
1129
1129
|
props: {
|
|
1130
|
-
prompt?: {
|
|
1131
|
-
inactiveTitle?: string | undefined;
|
|
1132
|
-
activeTitle?: string | undefined;
|
|
1133
|
-
activeText?: string | undefined;
|
|
1134
|
-
} | undefined;
|
|
1135
|
-
nameFilter?: string[] | undefined;
|
|
1136
|
-
selectionColor?: string | undefined;
|
|
1137
1130
|
hover?: unknown;
|
|
1138
|
-
hoverColor?: string | undefined;
|
|
1131
|
+
hoverColor?: string | null | undefined;
|
|
1132
|
+
prompt?: {
|
|
1133
|
+
inactiveTitle?: string | null | undefined;
|
|
1134
|
+
activeTitle?: string | null | undefined;
|
|
1135
|
+
activeText?: string | null | undefined;
|
|
1136
|
+
} | null | undefined;
|
|
1137
|
+
nameFilter?: string[] | null | undefined;
|
|
1138
|
+
selectionColor?: string | null | undefined;
|
|
1139
1139
|
enableRotation?: unknown;
|
|
1140
1140
|
enableRotationAxes?: {
|
|
1141
1141
|
x?: unknown;
|
|
1142
1142
|
y?: unknown;
|
|
1143
1143
|
z?: unknown;
|
|
1144
|
-
} | undefined;
|
|
1144
|
+
} | null | undefined;
|
|
1145
1145
|
enableScaling?: unknown;
|
|
1146
1146
|
enableScalingAxes?: {
|
|
1147
1147
|
x?: unknown;
|
|
1148
1148
|
y?: unknown;
|
|
1149
1149
|
z?: unknown;
|
|
1150
|
-
} | undefined;
|
|
1150
|
+
} | null | undefined;
|
|
1151
1151
|
enableTranslation?: unknown;
|
|
1152
1152
|
enableTranslationAxes?: {
|
|
1153
1153
|
x?: unknown;
|
|
1154
1154
|
y?: unknown;
|
|
1155
1155
|
z?: unknown;
|
|
1156
|
-
} | undefined;
|
|
1157
|
-
scale?: number | undefined;
|
|
1158
|
-
space?: "local" | "world" | undefined;
|
|
1156
|
+
} | null | undefined;
|
|
1157
|
+
scale?: number | null | undefined;
|
|
1158
|
+
space?: "local" | "world" | null | undefined;
|
|
1159
1159
|
};
|
|
1160
1160
|
} | {
|
|
1161
1161
|
type: "dragging";
|
|
1162
1162
|
props: {
|
|
1163
|
+
hover?: unknown;
|
|
1164
|
+
hoverColor?: string | null | undefined;
|
|
1165
|
+
prompt?: {
|
|
1166
|
+
inactiveTitle?: string | null | undefined;
|
|
1167
|
+
activeTitle?: string | null | undefined;
|
|
1168
|
+
activeText?: string | null | undefined;
|
|
1169
|
+
} | null | undefined;
|
|
1170
|
+
draggingColor?: string | null | undefined;
|
|
1163
1171
|
restrictions?: z.objectInputType<{
|
|
1164
1172
|
id: z.ZodString;
|
|
1165
1173
|
type: z.ZodString;
|
|
1166
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1174
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1167
1175
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1168
1176
|
angle: z.ZodNumber;
|
|
1169
1177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1172,85 +1180,85 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1172
1180
|
}, {
|
|
1173
1181
|
axis: number[];
|
|
1174
1182
|
angle: number;
|
|
1175
|
-
}
|
|
1176
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1177
|
-
prompt?: {
|
|
1178
|
-
inactiveTitle?: string | undefined;
|
|
1179
|
-
activeTitle?: string | undefined;
|
|
1180
|
-
activeText?: string | undefined;
|
|
1181
|
-
} | undefined;
|
|
1182
|
-
hover?: unknown;
|
|
1183
|
-
hoverColor?: string | undefined;
|
|
1184
|
-
draggingColor?: string | undefined;
|
|
1183
|
+
}>>>;
|
|
1184
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1185
1185
|
objects?: {
|
|
1186
|
-
restrictions: string[];
|
|
1187
1186
|
nameFilter: string;
|
|
1187
|
+
restrictions: string[];
|
|
1188
1188
|
dragAnchors?: {
|
|
1189
1189
|
id: string;
|
|
1190
1190
|
position: number[];
|
|
1191
1191
|
rotation?: {
|
|
1192
1192
|
axis: number[];
|
|
1193
1193
|
angle: number;
|
|
1194
|
-
} | undefined;
|
|
1195
|
-
}[] | undefined;
|
|
1196
|
-
dragOrigin?: number[] | undefined;
|
|
1197
|
-
}[] | undefined;
|
|
1194
|
+
} | null | undefined;
|
|
1195
|
+
}[] | null | undefined;
|
|
1196
|
+
dragOrigin?: number[] | null | undefined;
|
|
1197
|
+
}[] | null | undefined;
|
|
1198
1198
|
};
|
|
1199
1199
|
}, {
|
|
1200
1200
|
type: "selection";
|
|
1201
1201
|
props: {
|
|
1202
|
-
prompt?: {
|
|
1203
|
-
inactiveTitle?: string | undefined;
|
|
1204
|
-
activeTitle?: string | undefined;
|
|
1205
|
-
activeText?: string | undefined;
|
|
1206
|
-
} | undefined;
|
|
1207
|
-
maximumSelection?: number | undefined;
|
|
1208
|
-
minimumSelection?: number | undefined;
|
|
1209
|
-
nameFilter?: string[] | undefined;
|
|
1210
|
-
selectionColor?: string | undefined;
|
|
1211
1202
|
hover?: boolean | undefined;
|
|
1212
|
-
hoverColor?: string | undefined;
|
|
1203
|
+
hoverColor?: string | null | undefined;
|
|
1204
|
+
prompt?: {
|
|
1205
|
+
inactiveTitle?: string | null | undefined;
|
|
1206
|
+
activeTitle?: string | null | undefined;
|
|
1207
|
+
activeText?: string | null | undefined;
|
|
1208
|
+
} | null | undefined;
|
|
1209
|
+
maximumSelection?: number | null | undefined;
|
|
1210
|
+
minimumSelection?: number | null | undefined;
|
|
1211
|
+
nameFilter?: string[] | null | undefined;
|
|
1212
|
+
selectionColor?: string | null | undefined;
|
|
1213
1213
|
};
|
|
1214
1214
|
} | {
|
|
1215
1215
|
type: "gumball";
|
|
1216
1216
|
props: {
|
|
1217
|
-
prompt?: {
|
|
1218
|
-
inactiveTitle?: string | undefined;
|
|
1219
|
-
activeTitle?: string | undefined;
|
|
1220
|
-
activeText?: string | undefined;
|
|
1221
|
-
} | undefined;
|
|
1222
|
-
nameFilter?: string[] | undefined;
|
|
1223
|
-
selectionColor?: string | undefined;
|
|
1224
1217
|
hover?: boolean | undefined;
|
|
1225
|
-
hoverColor?: string | undefined;
|
|
1218
|
+
hoverColor?: string | null | undefined;
|
|
1219
|
+
prompt?: {
|
|
1220
|
+
inactiveTitle?: string | null | undefined;
|
|
1221
|
+
activeTitle?: string | null | undefined;
|
|
1222
|
+
activeText?: string | null | undefined;
|
|
1223
|
+
} | null | undefined;
|
|
1224
|
+
nameFilter?: string[] | null | undefined;
|
|
1225
|
+
selectionColor?: string | null | undefined;
|
|
1226
1226
|
enableRotation?: boolean | undefined;
|
|
1227
1227
|
enableRotationAxes?: {
|
|
1228
1228
|
x?: boolean | undefined;
|
|
1229
1229
|
y?: boolean | undefined;
|
|
1230
1230
|
z?: boolean | undefined;
|
|
1231
|
-
} | undefined;
|
|
1231
|
+
} | null | undefined;
|
|
1232
1232
|
enableScaling?: boolean | undefined;
|
|
1233
1233
|
enableScalingAxes?: {
|
|
1234
1234
|
x?: boolean | undefined;
|
|
1235
1235
|
y?: boolean | undefined;
|
|
1236
1236
|
z?: boolean | undefined;
|
|
1237
|
-
} | undefined;
|
|
1237
|
+
} | null | undefined;
|
|
1238
1238
|
enableTranslation?: boolean | undefined;
|
|
1239
1239
|
enableTranslationAxes?: {
|
|
1240
1240
|
x?: boolean | undefined;
|
|
1241
1241
|
y?: boolean | undefined;
|
|
1242
1242
|
z?: boolean | undefined;
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
scale?: number | undefined;
|
|
1245
|
-
space?: "local" | "world" | undefined;
|
|
1243
|
+
} | null | undefined;
|
|
1244
|
+
scale?: number | null | undefined;
|
|
1245
|
+
space?: "local" | "world" | null | undefined;
|
|
1246
1246
|
};
|
|
1247
1247
|
} | {
|
|
1248
1248
|
type: "dragging";
|
|
1249
1249
|
props: {
|
|
1250
|
+
hover?: boolean | undefined;
|
|
1251
|
+
hoverColor?: string | null | undefined;
|
|
1252
|
+
prompt?: {
|
|
1253
|
+
inactiveTitle?: string | null | undefined;
|
|
1254
|
+
activeTitle?: string | null | undefined;
|
|
1255
|
+
activeText?: string | null | undefined;
|
|
1256
|
+
} | null | undefined;
|
|
1257
|
+
draggingColor?: string | null | undefined;
|
|
1250
1258
|
restrictions?: z.objectOutputType<{
|
|
1251
1259
|
id: z.ZodString;
|
|
1252
1260
|
type: z.ZodString;
|
|
1253
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1261
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1254
1262
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1255
1263
|
angle: z.ZodNumber;
|
|
1256
1264
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1259,136 +1267,136 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1259
1267
|
}, {
|
|
1260
1268
|
axis: number[];
|
|
1261
1269
|
angle: number;
|
|
1262
|
-
}
|
|
1263
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1264
|
-
prompt?: {
|
|
1265
|
-
inactiveTitle?: string | undefined;
|
|
1266
|
-
activeTitle?: string | undefined;
|
|
1267
|
-
activeText?: string | undefined;
|
|
1268
|
-
} | undefined;
|
|
1269
|
-
hover?: boolean | undefined;
|
|
1270
|
-
hoverColor?: string | undefined;
|
|
1271
|
-
draggingColor?: string | undefined;
|
|
1270
|
+
}>>>;
|
|
1271
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1272
1272
|
objects?: {
|
|
1273
|
-
restrictions: string[];
|
|
1274
1273
|
nameFilter: string;
|
|
1274
|
+
restrictions: string[];
|
|
1275
1275
|
dragAnchors?: {
|
|
1276
1276
|
id: string;
|
|
1277
1277
|
position: number[];
|
|
1278
1278
|
rotation?: {
|
|
1279
1279
|
axis: number[];
|
|
1280
1280
|
angle: number;
|
|
1281
|
-
} | undefined;
|
|
1282
|
-
}[] | undefined;
|
|
1283
|
-
dragOrigin?: number[] | undefined;
|
|
1284
|
-
}[] | undefined;
|
|
1281
|
+
} | null | undefined;
|
|
1282
|
+
}[] | null | undefined;
|
|
1283
|
+
dragOrigin?: number[] | null | undefined;
|
|
1284
|
+
}[] | null | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
}>;
|
|
1287
1287
|
export declare const validateSelectionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1288
1288
|
type: "selection";
|
|
1289
1289
|
props: {
|
|
1290
|
-
prompt?: {
|
|
1291
|
-
inactiveTitle?: string | undefined;
|
|
1292
|
-
activeTitle?: string | undefined;
|
|
1293
|
-
activeText?: string | undefined;
|
|
1294
|
-
} | undefined;
|
|
1295
|
-
maximumSelection?: number | undefined;
|
|
1296
|
-
minimumSelection?: number | undefined;
|
|
1297
|
-
nameFilter?: string[] | undefined;
|
|
1298
|
-
selectionColor?: string | undefined;
|
|
1299
1290
|
hover?: unknown;
|
|
1300
|
-
hoverColor?: string | undefined;
|
|
1291
|
+
hoverColor?: string | null | undefined;
|
|
1292
|
+
prompt?: {
|
|
1293
|
+
inactiveTitle?: string | null | undefined;
|
|
1294
|
+
activeTitle?: string | null | undefined;
|
|
1295
|
+
activeText?: string | null | undefined;
|
|
1296
|
+
} | null | undefined;
|
|
1297
|
+
maximumSelection?: number | null | undefined;
|
|
1298
|
+
minimumSelection?: number | null | undefined;
|
|
1299
|
+
nameFilter?: string[] | null | undefined;
|
|
1300
|
+
selectionColor?: string | null | undefined;
|
|
1301
1301
|
};
|
|
1302
1302
|
}, {
|
|
1303
1303
|
type: "selection";
|
|
1304
1304
|
props: {
|
|
1305
|
-
prompt?: {
|
|
1306
|
-
inactiveTitle?: string | undefined;
|
|
1307
|
-
activeTitle?: string | undefined;
|
|
1308
|
-
activeText?: string | undefined;
|
|
1309
|
-
} | undefined;
|
|
1310
|
-
maximumSelection?: number | undefined;
|
|
1311
|
-
minimumSelection?: number | undefined;
|
|
1312
|
-
nameFilter?: string[] | undefined;
|
|
1313
|
-
selectionColor?: string | undefined;
|
|
1314
1305
|
hover?: boolean | undefined;
|
|
1315
|
-
hoverColor?: string | undefined;
|
|
1306
|
+
hoverColor?: string | null | undefined;
|
|
1307
|
+
prompt?: {
|
|
1308
|
+
inactiveTitle?: string | null | undefined;
|
|
1309
|
+
activeTitle?: string | null | undefined;
|
|
1310
|
+
activeText?: string | null | undefined;
|
|
1311
|
+
} | null | undefined;
|
|
1312
|
+
maximumSelection?: number | null | undefined;
|
|
1313
|
+
minimumSelection?: number | null | undefined;
|
|
1314
|
+
nameFilter?: string[] | null | undefined;
|
|
1315
|
+
selectionColor?: string | null | undefined;
|
|
1316
1316
|
};
|
|
1317
1317
|
}>;
|
|
1318
1318
|
export declare const validateGumballParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1319
1319
|
type: "gumball";
|
|
1320
1320
|
props: {
|
|
1321
|
-
prompt?: {
|
|
1322
|
-
inactiveTitle?: string | undefined;
|
|
1323
|
-
activeTitle?: string | undefined;
|
|
1324
|
-
activeText?: string | undefined;
|
|
1325
|
-
} | undefined;
|
|
1326
|
-
nameFilter?: string[] | undefined;
|
|
1327
|
-
selectionColor?: string | undefined;
|
|
1328
1321
|
hover?: unknown;
|
|
1329
|
-
hoverColor?: string | undefined;
|
|
1322
|
+
hoverColor?: string | null | undefined;
|
|
1323
|
+
prompt?: {
|
|
1324
|
+
inactiveTitle?: string | null | undefined;
|
|
1325
|
+
activeTitle?: string | null | undefined;
|
|
1326
|
+
activeText?: string | null | undefined;
|
|
1327
|
+
} | null | undefined;
|
|
1328
|
+
nameFilter?: string[] | null | undefined;
|
|
1329
|
+
selectionColor?: string | null | undefined;
|
|
1330
1330
|
enableRotation?: unknown;
|
|
1331
1331
|
enableRotationAxes?: {
|
|
1332
1332
|
x?: unknown;
|
|
1333
1333
|
y?: unknown;
|
|
1334
1334
|
z?: unknown;
|
|
1335
|
-
} | undefined;
|
|
1335
|
+
} | null | undefined;
|
|
1336
1336
|
enableScaling?: unknown;
|
|
1337
1337
|
enableScalingAxes?: {
|
|
1338
1338
|
x?: unknown;
|
|
1339
1339
|
y?: unknown;
|
|
1340
1340
|
z?: unknown;
|
|
1341
|
-
} | undefined;
|
|
1341
|
+
} | null | undefined;
|
|
1342
1342
|
enableTranslation?: unknown;
|
|
1343
1343
|
enableTranslationAxes?: {
|
|
1344
1344
|
x?: unknown;
|
|
1345
1345
|
y?: unknown;
|
|
1346
1346
|
z?: unknown;
|
|
1347
|
-
} | undefined;
|
|
1348
|
-
scale?: number | undefined;
|
|
1349
|
-
space?: "local" | "world" | undefined;
|
|
1347
|
+
} | null | undefined;
|
|
1348
|
+
scale?: number | null | undefined;
|
|
1349
|
+
space?: "local" | "world" | null | undefined;
|
|
1350
1350
|
};
|
|
1351
1351
|
}, {
|
|
1352
1352
|
type: "gumball";
|
|
1353
1353
|
props: {
|
|
1354
|
-
prompt?: {
|
|
1355
|
-
inactiveTitle?: string | undefined;
|
|
1356
|
-
activeTitle?: string | undefined;
|
|
1357
|
-
activeText?: string | undefined;
|
|
1358
|
-
} | undefined;
|
|
1359
|
-
nameFilter?: string[] | undefined;
|
|
1360
|
-
selectionColor?: string | undefined;
|
|
1361
1354
|
hover?: boolean | undefined;
|
|
1362
|
-
hoverColor?: string | undefined;
|
|
1355
|
+
hoverColor?: string | null | undefined;
|
|
1356
|
+
prompt?: {
|
|
1357
|
+
inactiveTitle?: string | null | undefined;
|
|
1358
|
+
activeTitle?: string | null | undefined;
|
|
1359
|
+
activeText?: string | null | undefined;
|
|
1360
|
+
} | null | undefined;
|
|
1361
|
+
nameFilter?: string[] | null | undefined;
|
|
1362
|
+
selectionColor?: string | null | undefined;
|
|
1363
1363
|
enableRotation?: boolean | undefined;
|
|
1364
1364
|
enableRotationAxes?: {
|
|
1365
1365
|
x?: boolean | undefined;
|
|
1366
1366
|
y?: boolean | undefined;
|
|
1367
1367
|
z?: boolean | undefined;
|
|
1368
|
-
} | undefined;
|
|
1368
|
+
} | null | undefined;
|
|
1369
1369
|
enableScaling?: boolean | undefined;
|
|
1370
1370
|
enableScalingAxes?: {
|
|
1371
1371
|
x?: boolean | undefined;
|
|
1372
1372
|
y?: boolean | undefined;
|
|
1373
1373
|
z?: boolean | undefined;
|
|
1374
|
-
} | undefined;
|
|
1374
|
+
} | null | undefined;
|
|
1375
1375
|
enableTranslation?: boolean | undefined;
|
|
1376
1376
|
enableTranslationAxes?: {
|
|
1377
1377
|
x?: boolean | undefined;
|
|
1378
1378
|
y?: boolean | undefined;
|
|
1379
1379
|
z?: boolean | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
|
-
scale?: number | undefined;
|
|
1382
|
-
space?: "local" | "world" | undefined;
|
|
1380
|
+
} | null | undefined;
|
|
1381
|
+
scale?: number | null | undefined;
|
|
1382
|
+
space?: "local" | "world" | null | undefined;
|
|
1383
1383
|
};
|
|
1384
1384
|
}>;
|
|
1385
1385
|
export declare const validateDraggingParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1386
1386
|
type: "dragging";
|
|
1387
1387
|
props: {
|
|
1388
|
+
hover?: unknown;
|
|
1389
|
+
hoverColor?: string | null | undefined;
|
|
1390
|
+
prompt?: {
|
|
1391
|
+
inactiveTitle?: string | null | undefined;
|
|
1392
|
+
activeTitle?: string | null | undefined;
|
|
1393
|
+
activeText?: string | null | undefined;
|
|
1394
|
+
} | null | undefined;
|
|
1395
|
+
draggingColor?: string | null | undefined;
|
|
1388
1396
|
restrictions?: z.objectInputType<{
|
|
1389
1397
|
id: z.ZodString;
|
|
1390
1398
|
type: z.ZodString;
|
|
1391
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1399
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1392
1400
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1393
1401
|
angle: z.ZodNumber;
|
|
1394
1402
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1397,37 +1405,37 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1397
1405
|
}, {
|
|
1398
1406
|
axis: number[];
|
|
1399
1407
|
angle: number;
|
|
1400
|
-
}
|
|
1401
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1402
|
-
prompt?: {
|
|
1403
|
-
inactiveTitle?: string | undefined;
|
|
1404
|
-
activeTitle?: string | undefined;
|
|
1405
|
-
activeText?: string | undefined;
|
|
1406
|
-
} | undefined;
|
|
1407
|
-
hover?: unknown;
|
|
1408
|
-
hoverColor?: string | undefined;
|
|
1409
|
-
draggingColor?: string | undefined;
|
|
1408
|
+
}>>>;
|
|
1409
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1410
1410
|
objects?: {
|
|
1411
|
-
restrictions: string[];
|
|
1412
1411
|
nameFilter: string;
|
|
1412
|
+
restrictions: string[];
|
|
1413
1413
|
dragAnchors?: {
|
|
1414
1414
|
id: string;
|
|
1415
1415
|
position: number[];
|
|
1416
1416
|
rotation?: {
|
|
1417
1417
|
axis: number[];
|
|
1418
1418
|
angle: number;
|
|
1419
|
-
} | undefined;
|
|
1420
|
-
}[] | undefined;
|
|
1421
|
-
dragOrigin?: number[] | undefined;
|
|
1422
|
-
}[] | undefined;
|
|
1419
|
+
} | null | undefined;
|
|
1420
|
+
}[] | null | undefined;
|
|
1421
|
+
dragOrigin?: number[] | null | undefined;
|
|
1422
|
+
}[] | null | undefined;
|
|
1423
1423
|
};
|
|
1424
1424
|
}, {
|
|
1425
1425
|
type: "dragging";
|
|
1426
1426
|
props: {
|
|
1427
|
+
hover?: boolean | undefined;
|
|
1428
|
+
hoverColor?: string | null | undefined;
|
|
1429
|
+
prompt?: {
|
|
1430
|
+
inactiveTitle?: string | null | undefined;
|
|
1431
|
+
activeTitle?: string | null | undefined;
|
|
1432
|
+
activeText?: string | null | undefined;
|
|
1433
|
+
} | null | undefined;
|
|
1434
|
+
draggingColor?: string | null | undefined;
|
|
1427
1435
|
restrictions?: z.objectOutputType<{
|
|
1428
1436
|
id: z.ZodString;
|
|
1429
1437
|
type: z.ZodString;
|
|
1430
|
-
rotation: z.ZodOptional<z.ZodObject<{
|
|
1438
|
+
rotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1431
1439
|
axis: z.ZodArray<z.ZodNumber, "many">;
|
|
1432
1440
|
angle: z.ZodNumber;
|
|
1433
1441
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1436,29 +1444,21 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1436
1444
|
}, {
|
|
1437
1445
|
axis: number[];
|
|
1438
1446
|
angle: number;
|
|
1439
|
-
}
|
|
1440
|
-
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1441
|
-
prompt?: {
|
|
1442
|
-
inactiveTitle?: string | undefined;
|
|
1443
|
-
activeTitle?: string | undefined;
|
|
1444
|
-
activeText?: string | undefined;
|
|
1445
|
-
} | undefined;
|
|
1446
|
-
hover?: boolean | undefined;
|
|
1447
|
-
hoverColor?: string | undefined;
|
|
1448
|
-
draggingColor?: string | undefined;
|
|
1447
|
+
}>>>;
|
|
1448
|
+
}, z.ZodTypeAny, "passthrough">[] | null | undefined;
|
|
1449
1449
|
objects?: {
|
|
1450
|
-
restrictions: string[];
|
|
1451
1450
|
nameFilter: string;
|
|
1451
|
+
restrictions: string[];
|
|
1452
1452
|
dragAnchors?: {
|
|
1453
1453
|
id: string;
|
|
1454
1454
|
position: number[];
|
|
1455
1455
|
rotation?: {
|
|
1456
1456
|
axis: number[];
|
|
1457
1457
|
angle: number;
|
|
1458
|
-
} | undefined;
|
|
1459
|
-
}[] | undefined;
|
|
1460
|
-
dragOrigin?: number[] | undefined;
|
|
1461
|
-
}[] | undefined;
|
|
1458
|
+
} | null | undefined;
|
|
1459
|
+
}[] | null | undefined;
|
|
1460
|
+
dragOrigin?: number[] | null | undefined;
|
|
1461
|
+
}[] | null | undefined;
|
|
1462
1462
|
};
|
|
1463
1463
|
}>;
|
|
1464
1464
|
//# sourceMappingURL=IInteractionParameterSettings.d.ts.map
|