@shapediver/viewer.shared.types 3.13.2 → 3.13.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/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces/events/ITaskEvent.d.ts +1 -0
- package/dist/interfaces/events/ITaskEvent.d.ts.map +1 -1
- package/dist/interfaces/events/ITaskEvent.js +1 -0
- package/dist/interfaces/events/ITaskEvent.js.map +1 -1
- package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts +5 -3
- package/dist/interfaces/parameter/IDraggingParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IDraggingParameterSettings.js.map +1 -1
- package/dist/interfaces/parameter/IDrawingParametersSettings.d.ts +4 -4
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts +131 -86
- package/dist/interfaces/parameter/IInteractionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/IInteractionParameterSettings.js +10 -4
- package/dist/interfaces/parameter/IInteractionParameterSettings.js.map +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts +5 -3
- package/dist/interfaces/parameter/ISelectionParameterSettings.d.ts.map +1 -1
- package/dist/interfaces/parameter/ISelectionParameterSettings.js.map +1 -1
- package/dist/interfaces/renderingEngine/IPostProcessingEffectDefinitions.d.ts +307 -0
- package/dist/interfaces/renderingEngine/IPostProcessingEffectDefinitions.d.ts.map +1 -0
- package/dist/interfaces/renderingEngine/IPostProcessingEffectDefinitions.js +31 -0
- package/dist/interfaces/renderingEngine/IPostProcessingEffectDefinitions.js.map +1 -0
- package/package.json +5 -5
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { IMaterialStandardDataPropertiesDefinition } from "../data/material/IMaterialStandardData";
|
|
3
|
+
import { IOutlineEffectDefinition } from "../renderingEngine/IPostProcessingEffectDefinitions";
|
|
2
4
|
export declare type InteractionParameterSettingsType = "selection" | "gumball" | "dragging";
|
|
5
|
+
export declare type InteractionEffect = string | IMaterialStandardDataPropertiesDefinition | IOutlineEffectDefinition;
|
|
3
6
|
/**
|
|
4
7
|
* General properties of an interaction parameter.
|
|
5
8
|
*/
|
|
6
9
|
export interface IInteractionParameterProps {
|
|
7
10
|
/** If the objects are hoverable. (default: true) */
|
|
8
11
|
hover?: boolean;
|
|
9
|
-
/** The
|
|
10
|
-
hoverColor?:
|
|
12
|
+
/** The interaction effect on objects when hovered. (default: '#00ff78') */
|
|
13
|
+
hoverColor?: InteractionEffect;
|
|
11
14
|
/** A prompt that can be defined which is displayed instead of the default prompt. */
|
|
12
15
|
prompt?: {
|
|
13
16
|
/** The title when the parameter is inactive. */
|
|
@@ -35,11 +38,12 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
35
38
|
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
39
|
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
40
|
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
38
|
-
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
41
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
42
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
39
43
|
deselectOnEmpty: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
40
44
|
}, {
|
|
41
45
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
42
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
46
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
43
47
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
48
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
49
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -55,7 +59,7 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
55
59
|
}>>>;
|
|
56
60
|
}>, "strip", z.ZodTypeAny, {
|
|
57
61
|
hover?: boolean | undefined;
|
|
58
|
-
hoverColor?: string | null | undefined;
|
|
62
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
59
63
|
prompt?: {
|
|
60
64
|
inactiveTitle?: string | null | undefined;
|
|
61
65
|
activeTitle?: string | null | undefined;
|
|
@@ -64,11 +68,12 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
64
68
|
maximumSelection?: number | null | undefined;
|
|
65
69
|
minimumSelection?: number | null | undefined;
|
|
66
70
|
nameFilter?: string[] | null | undefined;
|
|
67
|
-
selectionColor?: string | null | undefined;
|
|
71
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
72
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
68
73
|
deselectOnEmpty?: boolean | undefined;
|
|
69
74
|
}, {
|
|
70
75
|
hover?: unknown;
|
|
71
|
-
hoverColor?: string | null | undefined;
|
|
76
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
72
77
|
prompt?: {
|
|
73
78
|
inactiveTitle?: string | null | undefined;
|
|
74
79
|
activeTitle?: string | null | undefined;
|
|
@@ -77,14 +82,15 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
77
82
|
maximumSelection?: number | null | undefined;
|
|
78
83
|
minimumSelection?: number | null | undefined;
|
|
79
84
|
nameFilter?: string[] | null | undefined;
|
|
80
|
-
selectionColor?: string | null | undefined;
|
|
85
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
86
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
81
87
|
deselectOnEmpty?: unknown;
|
|
82
88
|
}>;
|
|
83
89
|
}, "strip", z.ZodTypeAny, {
|
|
84
90
|
type: "selection";
|
|
85
91
|
props: {
|
|
86
92
|
hover?: boolean | undefined;
|
|
87
|
-
hoverColor?: string | null | undefined;
|
|
93
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
88
94
|
prompt?: {
|
|
89
95
|
inactiveTitle?: string | null | undefined;
|
|
90
96
|
activeTitle?: string | null | undefined;
|
|
@@ -93,14 +99,15 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
93
99
|
maximumSelection?: number | null | undefined;
|
|
94
100
|
minimumSelection?: number | null | undefined;
|
|
95
101
|
nameFilter?: string[] | null | undefined;
|
|
96
|
-
selectionColor?: string | null | undefined;
|
|
102
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
103
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
97
104
|
deselectOnEmpty?: boolean | undefined;
|
|
98
105
|
};
|
|
99
106
|
}, {
|
|
100
107
|
type: "selection";
|
|
101
108
|
props: {
|
|
102
109
|
hover?: unknown;
|
|
103
|
-
hoverColor?: string | null | undefined;
|
|
110
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
104
111
|
prompt?: {
|
|
105
112
|
inactiveTitle?: string | null | undefined;
|
|
106
113
|
activeTitle?: string | null | undefined;
|
|
@@ -109,7 +116,8 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
109
116
|
maximumSelection?: number | null | undefined;
|
|
110
117
|
minimumSelection?: number | null | undefined;
|
|
111
118
|
nameFilter?: string[] | null | undefined;
|
|
112
|
-
selectionColor?: string | null | undefined;
|
|
119
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
120
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
113
121
|
deselectOnEmpty?: unknown;
|
|
114
122
|
};
|
|
115
123
|
}>;
|
|
@@ -188,7 +196,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
188
196
|
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
189
197
|
scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
190
198
|
space: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>>;
|
|
191
|
-
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
199
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
200
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
192
201
|
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
193
202
|
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
194
203
|
deselectOnEmpty: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -244,7 +253,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
244
253
|
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
245
254
|
}, {
|
|
246
255
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
247
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
256
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
248
257
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
249
258
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
259
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -260,7 +269,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
260
269
|
}>>>;
|
|
261
270
|
}>, "strip", z.ZodTypeAny, {
|
|
262
271
|
hover?: boolean | undefined;
|
|
263
|
-
hoverColor?: string | null | undefined;
|
|
272
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
264
273
|
prompt?: {
|
|
265
274
|
inactiveTitle?: string | null | undefined;
|
|
266
275
|
activeTitle?: string | null | undefined;
|
|
@@ -269,7 +278,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
269
278
|
maximumSelection?: number | null | undefined;
|
|
270
279
|
minimumSelection?: number | null | undefined;
|
|
271
280
|
nameFilter?: string[] | null | undefined;
|
|
272
|
-
selectionColor?: string | null | undefined;
|
|
281
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
282
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
273
283
|
deselectOnEmpty?: boolean | undefined;
|
|
274
284
|
enableRotation?: boolean | undefined;
|
|
275
285
|
enableRotationAxes?: {
|
|
@@ -320,7 +330,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
320
330
|
}[] | null | undefined;
|
|
321
331
|
}, {
|
|
322
332
|
hover?: unknown;
|
|
323
|
-
hoverColor?: string | null | undefined;
|
|
333
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
324
334
|
prompt?: {
|
|
325
335
|
inactiveTitle?: string | null | undefined;
|
|
326
336
|
activeTitle?: string | null | undefined;
|
|
@@ -329,7 +339,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
329
339
|
maximumSelection?: number | null | undefined;
|
|
330
340
|
minimumSelection?: number | null | undefined;
|
|
331
341
|
nameFilter?: string[] | null | undefined;
|
|
332
|
-
selectionColor?: string | null | undefined;
|
|
342
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
343
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
333
344
|
deselectOnEmpty?: unknown;
|
|
334
345
|
enableRotation?: unknown;
|
|
335
346
|
enableRotationAxes?: {
|
|
@@ -383,7 +394,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
383
394
|
type: "gumball";
|
|
384
395
|
props: {
|
|
385
396
|
hover?: boolean | undefined;
|
|
386
|
-
hoverColor?: string | null | undefined;
|
|
397
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
387
398
|
prompt?: {
|
|
388
399
|
inactiveTitle?: string | null | undefined;
|
|
389
400
|
activeTitle?: string | null | undefined;
|
|
@@ -392,7 +403,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
392
403
|
maximumSelection?: number | null | undefined;
|
|
393
404
|
minimumSelection?: number | null | undefined;
|
|
394
405
|
nameFilter?: string[] | null | undefined;
|
|
395
|
-
selectionColor?: string | null | undefined;
|
|
406
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
407
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
396
408
|
deselectOnEmpty?: boolean | undefined;
|
|
397
409
|
enableRotation?: boolean | undefined;
|
|
398
410
|
enableRotationAxes?: {
|
|
@@ -446,7 +458,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
446
458
|
type: "gumball";
|
|
447
459
|
props: {
|
|
448
460
|
hover?: unknown;
|
|
449
|
-
hoverColor?: string | null | undefined;
|
|
461
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
450
462
|
prompt?: {
|
|
451
463
|
inactiveTitle?: string | null | undefined;
|
|
452
464
|
activeTitle?: string | null | undefined;
|
|
@@ -455,7 +467,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
455
467
|
maximumSelection?: number | null | undefined;
|
|
456
468
|
minimumSelection?: number | null | undefined;
|
|
457
469
|
nameFilter?: string[] | null | undefined;
|
|
458
|
-
selectionColor?: string | null | undefined;
|
|
470
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
471
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
459
472
|
deselectOnEmpty?: unknown;
|
|
460
473
|
enableRotation?: unknown;
|
|
461
474
|
enableRotationAxes?: {
|
|
@@ -509,7 +522,8 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
509
522
|
export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
510
523
|
type: z.ZodLiteral<"dragging">;
|
|
511
524
|
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
512
|
-
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
525
|
+
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
526
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
513
527
|
objects: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
514
528
|
nameFilter: z.ZodString;
|
|
515
529
|
restrictions: z.ZodArray<z.ZodString, "many">;
|
|
@@ -609,7 +623,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
609
623
|
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
610
624
|
}, {
|
|
611
625
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
612
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
626
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
613
627
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
614
628
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
615
629
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -625,12 +639,13 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
625
639
|
}>>>;
|
|
626
640
|
}>, "strip", z.ZodTypeAny, {
|
|
627
641
|
hover?: boolean | undefined;
|
|
628
|
-
hoverColor?: string | null | undefined;
|
|
642
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
629
643
|
prompt?: {
|
|
630
644
|
inactiveTitle?: string | null | undefined;
|
|
631
645
|
activeTitle?: string | null | undefined;
|
|
632
646
|
activeText?: string | null | undefined;
|
|
633
647
|
} | null | undefined;
|
|
648
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
634
649
|
restrictions?: z.objectOutputType<{
|
|
635
650
|
id: z.ZodString;
|
|
636
651
|
type: z.ZodString;
|
|
@@ -658,15 +673,16 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
658
673
|
}[] | null | undefined;
|
|
659
674
|
dragOrigin?: number[] | null | undefined;
|
|
660
675
|
}[] | null | undefined;
|
|
661
|
-
draggingColor?: string | null | undefined;
|
|
676
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
662
677
|
}, {
|
|
663
678
|
hover?: unknown;
|
|
664
|
-
hoverColor?: string | null | undefined;
|
|
679
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
665
680
|
prompt?: {
|
|
666
681
|
inactiveTitle?: string | null | undefined;
|
|
667
682
|
activeTitle?: string | null | undefined;
|
|
668
683
|
activeText?: string | null | undefined;
|
|
669
684
|
} | null | undefined;
|
|
685
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
670
686
|
restrictions?: z.objectInputType<{
|
|
671
687
|
id: z.ZodString;
|
|
672
688
|
type: z.ZodString;
|
|
@@ -694,18 +710,19 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
694
710
|
}[] | null | undefined;
|
|
695
711
|
dragOrigin?: number[] | null | undefined;
|
|
696
712
|
}[] | null | undefined;
|
|
697
|
-
draggingColor?: string | null | undefined;
|
|
713
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
698
714
|
}>;
|
|
699
715
|
}, "strip", z.ZodTypeAny, {
|
|
700
716
|
type: "dragging";
|
|
701
717
|
props: {
|
|
702
718
|
hover?: boolean | undefined;
|
|
703
|
-
hoverColor?: string | null | undefined;
|
|
719
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
704
720
|
prompt?: {
|
|
705
721
|
inactiveTitle?: string | null | undefined;
|
|
706
722
|
activeTitle?: string | null | undefined;
|
|
707
723
|
activeText?: string | null | undefined;
|
|
708
724
|
} | null | undefined;
|
|
725
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
709
726
|
restrictions?: z.objectOutputType<{
|
|
710
727
|
id: z.ZodString;
|
|
711
728
|
type: z.ZodString;
|
|
@@ -733,18 +750,19 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
733
750
|
}[] | null | undefined;
|
|
734
751
|
dragOrigin?: number[] | null | undefined;
|
|
735
752
|
}[] | null | undefined;
|
|
736
|
-
draggingColor?: string | null | undefined;
|
|
753
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
737
754
|
};
|
|
738
755
|
}, {
|
|
739
756
|
type: "dragging";
|
|
740
757
|
props: {
|
|
741
758
|
hover?: unknown;
|
|
742
|
-
hoverColor?: string | null | undefined;
|
|
759
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
743
760
|
prompt?: {
|
|
744
761
|
inactiveTitle?: string | null | undefined;
|
|
745
762
|
activeTitle?: string | null | undefined;
|
|
746
763
|
activeText?: string | null | undefined;
|
|
747
764
|
} | null | undefined;
|
|
765
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
748
766
|
restrictions?: z.objectInputType<{
|
|
749
767
|
id: z.ZodString;
|
|
750
768
|
type: z.ZodString;
|
|
@@ -772,7 +790,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
772
790
|
}[] | null | undefined;
|
|
773
791
|
dragOrigin?: number[] | null | undefined;
|
|
774
792
|
}[] | null | undefined;
|
|
775
|
-
draggingColor?: string | null | undefined;
|
|
793
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
776
794
|
};
|
|
777
795
|
}>;
|
|
778
796
|
export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -781,11 +799,12 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
781
799
|
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
782
800
|
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
783
801
|
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
784
|
-
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
802
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
803
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
785
804
|
deselectOnEmpty: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
786
805
|
}, {
|
|
787
806
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
788
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
807
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
789
808
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
790
809
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
791
810
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -801,7 +820,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
801
820
|
}>>>;
|
|
802
821
|
}>, "strip", z.ZodTypeAny, {
|
|
803
822
|
hover?: boolean | undefined;
|
|
804
|
-
hoverColor?: string | null | undefined;
|
|
823
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
805
824
|
prompt?: {
|
|
806
825
|
inactiveTitle?: string | null | undefined;
|
|
807
826
|
activeTitle?: string | null | undefined;
|
|
@@ -810,11 +829,12 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
810
829
|
maximumSelection?: number | null | undefined;
|
|
811
830
|
minimumSelection?: number | null | undefined;
|
|
812
831
|
nameFilter?: string[] | null | undefined;
|
|
813
|
-
selectionColor?: string | null | undefined;
|
|
832
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
833
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
814
834
|
deselectOnEmpty?: boolean | undefined;
|
|
815
835
|
}, {
|
|
816
836
|
hover?: unknown;
|
|
817
|
-
hoverColor?: string | null | undefined;
|
|
837
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
818
838
|
prompt?: {
|
|
819
839
|
inactiveTitle?: string | null | undefined;
|
|
820
840
|
activeTitle?: string | null | undefined;
|
|
@@ -823,14 +843,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
823
843
|
maximumSelection?: number | null | undefined;
|
|
824
844
|
minimumSelection?: number | null | undefined;
|
|
825
845
|
nameFilter?: string[] | null | undefined;
|
|
826
|
-
selectionColor?: string | null | undefined;
|
|
846
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
847
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
827
848
|
deselectOnEmpty?: unknown;
|
|
828
849
|
}>;
|
|
829
850
|
}, "strip", z.ZodTypeAny, {
|
|
830
851
|
type: "selection";
|
|
831
852
|
props: {
|
|
832
853
|
hover?: boolean | undefined;
|
|
833
|
-
hoverColor?: string | null | undefined;
|
|
854
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
834
855
|
prompt?: {
|
|
835
856
|
inactiveTitle?: string | null | undefined;
|
|
836
857
|
activeTitle?: string | null | undefined;
|
|
@@ -839,14 +860,15 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
839
860
|
maximumSelection?: number | null | undefined;
|
|
840
861
|
minimumSelection?: number | null | undefined;
|
|
841
862
|
nameFilter?: string[] | null | undefined;
|
|
842
|
-
selectionColor?: string | null | undefined;
|
|
863
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
864
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
843
865
|
deselectOnEmpty?: boolean | undefined;
|
|
844
866
|
};
|
|
845
867
|
}, {
|
|
846
868
|
type: "selection";
|
|
847
869
|
props: {
|
|
848
870
|
hover?: unknown;
|
|
849
|
-
hoverColor?: string | null | undefined;
|
|
871
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
850
872
|
prompt?: {
|
|
851
873
|
inactiveTitle?: string | null | undefined;
|
|
852
874
|
activeTitle?: string | null | undefined;
|
|
@@ -855,7 +877,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
855
877
|
maximumSelection?: number | null | undefined;
|
|
856
878
|
minimumSelection?: number | null | undefined;
|
|
857
879
|
nameFilter?: string[] | null | undefined;
|
|
858
|
-
selectionColor?: string | null | undefined;
|
|
880
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
881
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
859
882
|
deselectOnEmpty?: unknown;
|
|
860
883
|
};
|
|
861
884
|
}>, z.ZodObject<{
|
|
@@ -933,7 +956,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
933
956
|
nameFilter: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
934
957
|
scale: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
935
958
|
space: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>>;
|
|
936
|
-
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
959
|
+
selectionColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
960
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
937
961
|
maximumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
938
962
|
minimumSelection: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
939
963
|
deselectOnEmpty: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -989,7 +1013,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
989
1013
|
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
990
1014
|
}, {
|
|
991
1015
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
992
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1016
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
993
1017
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
994
1018
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
995
1019
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1005,7 +1029,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1005
1029
|
}>>>;
|
|
1006
1030
|
}>, "strip", z.ZodTypeAny, {
|
|
1007
1031
|
hover?: boolean | undefined;
|
|
1008
|
-
hoverColor?: string | null | undefined;
|
|
1032
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1009
1033
|
prompt?: {
|
|
1010
1034
|
inactiveTitle?: string | null | undefined;
|
|
1011
1035
|
activeTitle?: string | null | undefined;
|
|
@@ -1014,7 +1038,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1014
1038
|
maximumSelection?: number | null | undefined;
|
|
1015
1039
|
minimumSelection?: number | null | undefined;
|
|
1016
1040
|
nameFilter?: string[] | null | undefined;
|
|
1017
|
-
selectionColor?: string | null | undefined;
|
|
1041
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1042
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1018
1043
|
deselectOnEmpty?: boolean | undefined;
|
|
1019
1044
|
enableRotation?: boolean | undefined;
|
|
1020
1045
|
enableRotationAxes?: {
|
|
@@ -1065,7 +1090,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1065
1090
|
}[] | null | undefined;
|
|
1066
1091
|
}, {
|
|
1067
1092
|
hover?: unknown;
|
|
1068
|
-
hoverColor?: string | null | undefined;
|
|
1093
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1069
1094
|
prompt?: {
|
|
1070
1095
|
inactiveTitle?: string | null | undefined;
|
|
1071
1096
|
activeTitle?: string | null | undefined;
|
|
@@ -1074,7 +1099,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1074
1099
|
maximumSelection?: number | null | undefined;
|
|
1075
1100
|
minimumSelection?: number | null | undefined;
|
|
1076
1101
|
nameFilter?: string[] | null | undefined;
|
|
1077
|
-
selectionColor?: string | null | undefined;
|
|
1102
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1103
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1078
1104
|
deselectOnEmpty?: unknown;
|
|
1079
1105
|
enableRotation?: unknown;
|
|
1080
1106
|
enableRotationAxes?: {
|
|
@@ -1128,7 +1154,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1128
1154
|
type: "gumball";
|
|
1129
1155
|
props: {
|
|
1130
1156
|
hover?: boolean | undefined;
|
|
1131
|
-
hoverColor?: string | null | undefined;
|
|
1157
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1132
1158
|
prompt?: {
|
|
1133
1159
|
inactiveTitle?: string | null | undefined;
|
|
1134
1160
|
activeTitle?: string | null | undefined;
|
|
@@ -1137,7 +1163,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1137
1163
|
maximumSelection?: number | null | undefined;
|
|
1138
1164
|
minimumSelection?: number | null | undefined;
|
|
1139
1165
|
nameFilter?: string[] | null | undefined;
|
|
1140
|
-
selectionColor?: string | null | undefined;
|
|
1166
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1167
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1141
1168
|
deselectOnEmpty?: boolean | undefined;
|
|
1142
1169
|
enableRotation?: boolean | undefined;
|
|
1143
1170
|
enableRotationAxes?: {
|
|
@@ -1191,7 +1218,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1191
1218
|
type: "gumball";
|
|
1192
1219
|
props: {
|
|
1193
1220
|
hover?: unknown;
|
|
1194
|
-
hoverColor?: string | null | undefined;
|
|
1221
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1195
1222
|
prompt?: {
|
|
1196
1223
|
inactiveTitle?: string | null | undefined;
|
|
1197
1224
|
activeTitle?: string | null | undefined;
|
|
@@ -1200,7 +1227,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1200
1227
|
maximumSelection?: number | null | undefined;
|
|
1201
1228
|
minimumSelection?: number | null | undefined;
|
|
1202
1229
|
nameFilter?: string[] | null | undefined;
|
|
1203
|
-
selectionColor?: string | null | undefined;
|
|
1230
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1231
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1204
1232
|
deselectOnEmpty?: unknown;
|
|
1205
1233
|
enableRotation?: unknown;
|
|
1206
1234
|
enableRotationAxes?: {
|
|
@@ -1253,7 +1281,8 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1253
1281
|
}>]>, z.ZodObject<{
|
|
1254
1282
|
type: z.ZodLiteral<"dragging">;
|
|
1255
1283
|
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
1256
|
-
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1284
|
+
draggingColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1285
|
+
availableColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1257
1286
|
objects: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1258
1287
|
nameFilter: z.ZodString;
|
|
1259
1288
|
restrictions: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1353,7 +1382,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1353
1382
|
}, z.ZodTypeAny, "passthrough">>, "many">>>;
|
|
1354
1383
|
}, {
|
|
1355
1384
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
1356
|
-
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1385
|
+
hoverColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>>>;
|
|
1357
1386
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1358
1387
|
inactiveTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1359
1388
|
activeTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1369,12 +1398,13 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1369
1398
|
}>>>;
|
|
1370
1399
|
}>, "strip", z.ZodTypeAny, {
|
|
1371
1400
|
hover?: boolean | undefined;
|
|
1372
|
-
hoverColor?: string | null | undefined;
|
|
1401
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1373
1402
|
prompt?: {
|
|
1374
1403
|
inactiveTitle?: string | null | undefined;
|
|
1375
1404
|
activeTitle?: string | null | undefined;
|
|
1376
1405
|
activeText?: string | null | undefined;
|
|
1377
1406
|
} | null | undefined;
|
|
1407
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1378
1408
|
restrictions?: z.objectOutputType<{
|
|
1379
1409
|
id: z.ZodString;
|
|
1380
1410
|
type: z.ZodString;
|
|
@@ -1402,15 +1432,16 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1402
1432
|
}[] | null | undefined;
|
|
1403
1433
|
dragOrigin?: number[] | null | undefined;
|
|
1404
1434
|
}[] | null | undefined;
|
|
1405
|
-
draggingColor?: string | null | undefined;
|
|
1435
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1406
1436
|
}, {
|
|
1407
1437
|
hover?: unknown;
|
|
1408
|
-
hoverColor?: string | null | undefined;
|
|
1438
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1409
1439
|
prompt?: {
|
|
1410
1440
|
inactiveTitle?: string | null | undefined;
|
|
1411
1441
|
activeTitle?: string | null | undefined;
|
|
1412
1442
|
activeText?: string | null | undefined;
|
|
1413
1443
|
} | null | undefined;
|
|
1444
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1414
1445
|
restrictions?: z.objectInputType<{
|
|
1415
1446
|
id: z.ZodString;
|
|
1416
1447
|
type: z.ZodString;
|
|
@@ -1438,18 +1469,19 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1438
1469
|
}[] | null | undefined;
|
|
1439
1470
|
dragOrigin?: number[] | null | undefined;
|
|
1440
1471
|
}[] | null | undefined;
|
|
1441
|
-
draggingColor?: string | null | undefined;
|
|
1472
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1442
1473
|
}>;
|
|
1443
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1444
1475
|
type: "dragging";
|
|
1445
1476
|
props: {
|
|
1446
1477
|
hover?: boolean | undefined;
|
|
1447
|
-
hoverColor?: string | null | undefined;
|
|
1478
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1448
1479
|
prompt?: {
|
|
1449
1480
|
inactiveTitle?: string | null | undefined;
|
|
1450
1481
|
activeTitle?: string | null | undefined;
|
|
1451
1482
|
activeText?: string | null | undefined;
|
|
1452
1483
|
} | null | undefined;
|
|
1484
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1453
1485
|
restrictions?: z.objectOutputType<{
|
|
1454
1486
|
id: z.ZodString;
|
|
1455
1487
|
type: z.ZodString;
|
|
@@ -1477,18 +1509,19 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1477
1509
|
}[] | null | undefined;
|
|
1478
1510
|
dragOrigin?: number[] | null | undefined;
|
|
1479
1511
|
}[] | null | undefined;
|
|
1480
|
-
draggingColor?: string | null | undefined;
|
|
1512
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1481
1513
|
};
|
|
1482
1514
|
}, {
|
|
1483
1515
|
type: "dragging";
|
|
1484
1516
|
props: {
|
|
1485
1517
|
hover?: unknown;
|
|
1486
|
-
hoverColor?: string | null | undefined;
|
|
1518
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1487
1519
|
prompt?: {
|
|
1488
1520
|
inactiveTitle?: string | null | undefined;
|
|
1489
1521
|
activeTitle?: string | null | undefined;
|
|
1490
1522
|
activeText?: string | null | undefined;
|
|
1491
1523
|
} | null | undefined;
|
|
1524
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1492
1525
|
restrictions?: z.objectInputType<{
|
|
1493
1526
|
id: z.ZodString;
|
|
1494
1527
|
type: z.ZodString;
|
|
@@ -1516,14 +1549,14 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1516
1549
|
}[] | null | undefined;
|
|
1517
1550
|
dragOrigin?: number[] | null | undefined;
|
|
1518
1551
|
}[] | null | undefined;
|
|
1519
|
-
draggingColor?: string | null | undefined;
|
|
1552
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1520
1553
|
};
|
|
1521
1554
|
}>]>;
|
|
1522
1555
|
export declare const validateInteractionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1523
1556
|
type: "selection";
|
|
1524
1557
|
props: {
|
|
1525
1558
|
hover?: unknown;
|
|
1526
|
-
hoverColor?: string | null | undefined;
|
|
1559
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1527
1560
|
prompt?: {
|
|
1528
1561
|
inactiveTitle?: string | null | undefined;
|
|
1529
1562
|
activeTitle?: string | null | undefined;
|
|
@@ -1532,14 +1565,15 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1532
1565
|
maximumSelection?: number | null | undefined;
|
|
1533
1566
|
minimumSelection?: number | null | undefined;
|
|
1534
1567
|
nameFilter?: string[] | null | undefined;
|
|
1535
|
-
selectionColor?: string | null | undefined;
|
|
1568
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1569
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1536
1570
|
deselectOnEmpty?: unknown;
|
|
1537
1571
|
};
|
|
1538
1572
|
} | {
|
|
1539
1573
|
type: "gumball";
|
|
1540
1574
|
props: {
|
|
1541
1575
|
hover?: unknown;
|
|
1542
|
-
hoverColor?: string | null | undefined;
|
|
1576
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1543
1577
|
prompt?: {
|
|
1544
1578
|
inactiveTitle?: string | null | undefined;
|
|
1545
1579
|
activeTitle?: string | null | undefined;
|
|
@@ -1548,7 +1582,8 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1548
1582
|
maximumSelection?: number | null | undefined;
|
|
1549
1583
|
minimumSelection?: number | null | undefined;
|
|
1550
1584
|
nameFilter?: string[] | null | undefined;
|
|
1551
|
-
selectionColor?: string | null | undefined;
|
|
1585
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1586
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1552
1587
|
deselectOnEmpty?: unknown;
|
|
1553
1588
|
enableRotation?: unknown;
|
|
1554
1589
|
enableRotationAxes?: {
|
|
@@ -1602,12 +1637,13 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1602
1637
|
type: "dragging";
|
|
1603
1638
|
props: {
|
|
1604
1639
|
hover?: unknown;
|
|
1605
|
-
hoverColor?: string | null | undefined;
|
|
1640
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1606
1641
|
prompt?: {
|
|
1607
1642
|
inactiveTitle?: string | null | undefined;
|
|
1608
1643
|
activeTitle?: string | null | undefined;
|
|
1609
1644
|
activeText?: string | null | undefined;
|
|
1610
1645
|
} | null | undefined;
|
|
1646
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1611
1647
|
restrictions?: z.objectInputType<{
|
|
1612
1648
|
id: z.ZodString;
|
|
1613
1649
|
type: z.ZodString;
|
|
@@ -1635,13 +1671,13 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1635
1671
|
}[] | null | undefined;
|
|
1636
1672
|
dragOrigin?: number[] | null | undefined;
|
|
1637
1673
|
}[] | null | undefined;
|
|
1638
|
-
draggingColor?: string | null | undefined;
|
|
1674
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1639
1675
|
};
|
|
1640
1676
|
}, {
|
|
1641
1677
|
type: "selection";
|
|
1642
1678
|
props: {
|
|
1643
1679
|
hover?: boolean | undefined;
|
|
1644
|
-
hoverColor?: string | null | undefined;
|
|
1680
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1645
1681
|
prompt?: {
|
|
1646
1682
|
inactiveTitle?: string | null | undefined;
|
|
1647
1683
|
activeTitle?: string | null | undefined;
|
|
@@ -1650,14 +1686,15 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1650
1686
|
maximumSelection?: number | null | undefined;
|
|
1651
1687
|
minimumSelection?: number | null | undefined;
|
|
1652
1688
|
nameFilter?: string[] | null | undefined;
|
|
1653
|
-
selectionColor?: string | null | undefined;
|
|
1689
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1690
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1654
1691
|
deselectOnEmpty?: boolean | undefined;
|
|
1655
1692
|
};
|
|
1656
1693
|
} | {
|
|
1657
1694
|
type: "gumball";
|
|
1658
1695
|
props: {
|
|
1659
1696
|
hover?: boolean | undefined;
|
|
1660
|
-
hoverColor?: string | null | undefined;
|
|
1697
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1661
1698
|
prompt?: {
|
|
1662
1699
|
inactiveTitle?: string | null | undefined;
|
|
1663
1700
|
activeTitle?: string | null | undefined;
|
|
@@ -1666,7 +1703,8 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1666
1703
|
maximumSelection?: number | null | undefined;
|
|
1667
1704
|
minimumSelection?: number | null | undefined;
|
|
1668
1705
|
nameFilter?: string[] | null | undefined;
|
|
1669
|
-
selectionColor?: string | null | undefined;
|
|
1706
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1707
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1670
1708
|
deselectOnEmpty?: boolean | undefined;
|
|
1671
1709
|
enableRotation?: boolean | undefined;
|
|
1672
1710
|
enableRotationAxes?: {
|
|
@@ -1720,12 +1758,13 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1720
1758
|
type: "dragging";
|
|
1721
1759
|
props: {
|
|
1722
1760
|
hover?: boolean | undefined;
|
|
1723
|
-
hoverColor?: string | null | undefined;
|
|
1761
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1724
1762
|
prompt?: {
|
|
1725
1763
|
inactiveTitle?: string | null | undefined;
|
|
1726
1764
|
activeTitle?: string | null | undefined;
|
|
1727
1765
|
activeText?: string | null | undefined;
|
|
1728
1766
|
} | null | undefined;
|
|
1767
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1729
1768
|
restrictions?: z.objectOutputType<{
|
|
1730
1769
|
id: z.ZodString;
|
|
1731
1770
|
type: z.ZodString;
|
|
@@ -1753,14 +1792,14 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1753
1792
|
}[] | null | undefined;
|
|
1754
1793
|
dragOrigin?: number[] | null | undefined;
|
|
1755
1794
|
}[] | null | undefined;
|
|
1756
|
-
draggingColor?: string | null | undefined;
|
|
1795
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1757
1796
|
};
|
|
1758
1797
|
}>;
|
|
1759
1798
|
export declare const validateSelectionParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
1760
1799
|
type: "selection";
|
|
1761
1800
|
props: {
|
|
1762
1801
|
hover?: unknown;
|
|
1763
|
-
hoverColor?: string | null | undefined;
|
|
1802
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1764
1803
|
prompt?: {
|
|
1765
1804
|
inactiveTitle?: string | null | undefined;
|
|
1766
1805
|
activeTitle?: string | null | undefined;
|
|
@@ -1769,14 +1808,15 @@ export declare const validateSelectionParameterSettings: (param: unknown) => z.S
|
|
|
1769
1808
|
maximumSelection?: number | null | undefined;
|
|
1770
1809
|
minimumSelection?: number | null | undefined;
|
|
1771
1810
|
nameFilter?: string[] | null | undefined;
|
|
1772
|
-
selectionColor?: string | null | undefined;
|
|
1811
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1812
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1773
1813
|
deselectOnEmpty?: unknown;
|
|
1774
1814
|
};
|
|
1775
1815
|
}, {
|
|
1776
1816
|
type: "selection";
|
|
1777
1817
|
props: {
|
|
1778
1818
|
hover?: boolean | undefined;
|
|
1779
|
-
hoverColor?: string | null | undefined;
|
|
1819
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1780
1820
|
prompt?: {
|
|
1781
1821
|
inactiveTitle?: string | null | undefined;
|
|
1782
1822
|
activeTitle?: string | null | undefined;
|
|
@@ -1785,7 +1825,8 @@ export declare const validateSelectionParameterSettings: (param: unknown) => z.S
|
|
|
1785
1825
|
maximumSelection?: number | null | undefined;
|
|
1786
1826
|
minimumSelection?: number | null | undefined;
|
|
1787
1827
|
nameFilter?: string[] | null | undefined;
|
|
1788
|
-
selectionColor?: string | null | undefined;
|
|
1828
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1829
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1789
1830
|
deselectOnEmpty?: boolean | undefined;
|
|
1790
1831
|
};
|
|
1791
1832
|
}>;
|
|
@@ -1793,7 +1834,7 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1793
1834
|
type: "gumball";
|
|
1794
1835
|
props: {
|
|
1795
1836
|
hover?: unknown;
|
|
1796
|
-
hoverColor?: string | null | undefined;
|
|
1837
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1797
1838
|
prompt?: {
|
|
1798
1839
|
inactiveTitle?: string | null | undefined;
|
|
1799
1840
|
activeTitle?: string | null | undefined;
|
|
@@ -1802,7 +1843,8 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1802
1843
|
maximumSelection?: number | null | undefined;
|
|
1803
1844
|
minimumSelection?: number | null | undefined;
|
|
1804
1845
|
nameFilter?: string[] | null | undefined;
|
|
1805
|
-
selectionColor?: string | null | undefined;
|
|
1846
|
+
selectionColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1847
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1806
1848
|
deselectOnEmpty?: unknown;
|
|
1807
1849
|
enableRotation?: unknown;
|
|
1808
1850
|
enableRotationAxes?: {
|
|
@@ -1856,7 +1898,7 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1856
1898
|
type: "gumball";
|
|
1857
1899
|
props: {
|
|
1858
1900
|
hover?: boolean | undefined;
|
|
1859
|
-
hoverColor?: string | null | undefined;
|
|
1901
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1860
1902
|
prompt?: {
|
|
1861
1903
|
inactiveTitle?: string | null | undefined;
|
|
1862
1904
|
activeTitle?: string | null | undefined;
|
|
@@ -1865,7 +1907,8 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1865
1907
|
maximumSelection?: number | null | undefined;
|
|
1866
1908
|
minimumSelection?: number | null | undefined;
|
|
1867
1909
|
nameFilter?: string[] | null | undefined;
|
|
1868
|
-
selectionColor?: string | null | undefined;
|
|
1910
|
+
selectionColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1911
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1869
1912
|
deselectOnEmpty?: boolean | undefined;
|
|
1870
1913
|
enableRotation?: boolean | undefined;
|
|
1871
1914
|
enableRotationAxes?: {
|
|
@@ -1920,12 +1963,13 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1920
1963
|
type: "dragging";
|
|
1921
1964
|
props: {
|
|
1922
1965
|
hover?: unknown;
|
|
1923
|
-
hoverColor?: string | null | undefined;
|
|
1966
|
+
hoverColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1924
1967
|
prompt?: {
|
|
1925
1968
|
inactiveTitle?: string | null | undefined;
|
|
1926
1969
|
activeTitle?: string | null | undefined;
|
|
1927
1970
|
activeText?: string | null | undefined;
|
|
1928
1971
|
} | null | undefined;
|
|
1972
|
+
availableColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1929
1973
|
restrictions?: z.objectInputType<{
|
|
1930
1974
|
id: z.ZodString;
|
|
1931
1975
|
type: z.ZodString;
|
|
@@ -1953,18 +1997,19 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1953
1997
|
}[] | null | undefined;
|
|
1954
1998
|
dragOrigin?: number[] | null | undefined;
|
|
1955
1999
|
}[] | null | undefined;
|
|
1956
|
-
draggingColor?: string | null | undefined;
|
|
2000
|
+
draggingColor?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1957
2001
|
};
|
|
1958
2002
|
}, {
|
|
1959
2003
|
type: "dragging";
|
|
1960
2004
|
props: {
|
|
1961
2005
|
hover?: boolean | undefined;
|
|
1962
|
-
hoverColor?: string | null | undefined;
|
|
2006
|
+
hoverColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1963
2007
|
prompt?: {
|
|
1964
2008
|
inactiveTitle?: string | null | undefined;
|
|
1965
2009
|
activeTitle?: string | null | undefined;
|
|
1966
2010
|
activeText?: string | null | undefined;
|
|
1967
2011
|
} | null | undefined;
|
|
2012
|
+
availableColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1968
2013
|
restrictions?: z.objectOutputType<{
|
|
1969
2014
|
id: z.ZodString;
|
|
1970
2015
|
type: z.ZodString;
|
|
@@ -1992,7 +2037,7 @@ export declare const validateDraggingParameterSettings: (param: unknown) => z.Sa
|
|
|
1992
2037
|
}[] | null | undefined;
|
|
1993
2038
|
dragOrigin?: number[] | null | undefined;
|
|
1994
2039
|
}[] | null | undefined;
|
|
1995
|
-
draggingColor?: string | null | undefined;
|
|
2040
|
+
draggingColor?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
|
|
1996
2041
|
};
|
|
1997
2042
|
}>;
|
|
1998
2043
|
//# sourceMappingURL=IInteractionParameterSettings.d.ts.map
|