@shapediver/viewer.shared.types 3.12.1 → 3.12.3
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.
|
@@ -31,12 +31,12 @@ export interface IInteractionParameterSettings {
|
|
|
31
31
|
}
|
|
32
32
|
export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
33
33
|
type: z.ZodLiteral<"selection">;
|
|
34
|
-
props: z.ZodObject<{
|
|
34
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
35
35
|
maximumSelection: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
minimumSelection: z.ZodOptional<z.ZodNumber>;
|
|
37
37
|
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
38
38
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}
|
|
39
|
+
}, {
|
|
40
40
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
41
41
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
42
42
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -52,30 +52,30 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
52
52
|
activeTitle?: string | undefined;
|
|
53
53
|
activeText?: string | undefined;
|
|
54
54
|
}>>;
|
|
55
|
-
}
|
|
55
|
+
}>, "strip", z.ZodTypeAny, {
|
|
56
56
|
prompt?: {
|
|
57
57
|
inactiveTitle?: string | undefined;
|
|
58
58
|
activeTitle?: string | undefined;
|
|
59
59
|
activeText?: string | undefined;
|
|
60
60
|
} | undefined;
|
|
61
|
+
hover?: boolean | undefined;
|
|
62
|
+
hoverColor?: string | undefined;
|
|
61
63
|
maximumSelection?: number | undefined;
|
|
62
64
|
minimumSelection?: number | undefined;
|
|
63
65
|
nameFilter?: string[] | undefined;
|
|
64
66
|
selectionColor?: string | undefined;
|
|
65
|
-
hover?: boolean | undefined;
|
|
66
|
-
hoverColor?: string | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
prompt?: {
|
|
69
69
|
inactiveTitle?: string | undefined;
|
|
70
70
|
activeTitle?: string | undefined;
|
|
71
71
|
activeText?: string | undefined;
|
|
72
72
|
} | undefined;
|
|
73
|
+
hover?: unknown;
|
|
74
|
+
hoverColor?: string | undefined;
|
|
73
75
|
maximumSelection?: number | undefined;
|
|
74
76
|
minimumSelection?: number | undefined;
|
|
75
77
|
nameFilter?: string[] | undefined;
|
|
76
78
|
selectionColor?: string | undefined;
|
|
77
|
-
hover?: unknown;
|
|
78
|
-
hoverColor?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
type: "selection";
|
|
@@ -85,12 +85,12 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
85
85
|
activeTitle?: string | undefined;
|
|
86
86
|
activeText?: string | undefined;
|
|
87
87
|
} | undefined;
|
|
88
|
+
hover?: boolean | undefined;
|
|
89
|
+
hoverColor?: string | undefined;
|
|
88
90
|
maximumSelection?: number | undefined;
|
|
89
91
|
minimumSelection?: number | undefined;
|
|
90
92
|
nameFilter?: string[] | undefined;
|
|
91
93
|
selectionColor?: string | undefined;
|
|
92
|
-
hover?: boolean | undefined;
|
|
93
|
-
hoverColor?: string | undefined;
|
|
94
94
|
};
|
|
95
95
|
}, {
|
|
96
96
|
type: "selection";
|
|
@@ -100,17 +100,17 @@ export declare const ISelectionParameterJsonSchema: z.ZodObject<{
|
|
|
100
100
|
activeTitle?: string | undefined;
|
|
101
101
|
activeText?: string | undefined;
|
|
102
102
|
} | undefined;
|
|
103
|
+
hover?: unknown;
|
|
104
|
+
hoverColor?: string | undefined;
|
|
103
105
|
maximumSelection?: number | undefined;
|
|
104
106
|
minimumSelection?: number | undefined;
|
|
105
107
|
nameFilter?: string[] | undefined;
|
|
106
108
|
selectionColor?: string | undefined;
|
|
107
|
-
hover?: unknown;
|
|
108
|
-
hoverColor?: string | 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
115
|
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
116
116
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -157,7 +157,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
157
157
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>;
|
|
159
159
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
160
|
-
}
|
|
160
|
+
}, {
|
|
161
161
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
162
162
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
163
163
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -173,16 +173,16 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
173
173
|
activeTitle?: string | undefined;
|
|
174
174
|
activeText?: string | undefined;
|
|
175
175
|
}>>;
|
|
176
|
-
}
|
|
176
|
+
}>, "strip", z.ZodTypeAny, {
|
|
177
177
|
prompt?: {
|
|
178
178
|
inactiveTitle?: string | undefined;
|
|
179
179
|
activeTitle?: string | undefined;
|
|
180
180
|
activeText?: string | undefined;
|
|
181
181
|
} | undefined;
|
|
182
|
-
nameFilter?: string[] | undefined;
|
|
183
|
-
selectionColor?: string | undefined;
|
|
184
182
|
hover?: boolean | undefined;
|
|
185
183
|
hoverColor?: string | undefined;
|
|
184
|
+
nameFilter?: string[] | undefined;
|
|
185
|
+
selectionColor?: string | undefined;
|
|
186
186
|
enableRotation?: boolean | undefined;
|
|
187
187
|
enableRotationAxes?: {
|
|
188
188
|
x?: boolean | undefined;
|
|
@@ -209,10 +209,10 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
209
209
|
activeTitle?: string | undefined;
|
|
210
210
|
activeText?: string | undefined;
|
|
211
211
|
} | undefined;
|
|
212
|
-
nameFilter?: string[] | undefined;
|
|
213
|
-
selectionColor?: string | undefined;
|
|
214
212
|
hover?: unknown;
|
|
215
213
|
hoverColor?: string | undefined;
|
|
214
|
+
nameFilter?: string[] | undefined;
|
|
215
|
+
selectionColor?: string | undefined;
|
|
216
216
|
enableRotation?: unknown;
|
|
217
217
|
enableRotationAxes?: {
|
|
218
218
|
x?: unknown;
|
|
@@ -242,10 +242,10 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
242
242
|
activeTitle?: string | undefined;
|
|
243
243
|
activeText?: string | undefined;
|
|
244
244
|
} | undefined;
|
|
245
|
-
nameFilter?: string[] | undefined;
|
|
246
|
-
selectionColor?: string | undefined;
|
|
247
245
|
hover?: boolean | undefined;
|
|
248
246
|
hoverColor?: string | undefined;
|
|
247
|
+
nameFilter?: string[] | undefined;
|
|
248
|
+
selectionColor?: string | undefined;
|
|
249
249
|
enableRotation?: boolean | undefined;
|
|
250
250
|
enableRotationAxes?: {
|
|
251
251
|
x?: boolean | undefined;
|
|
@@ -275,10 +275,10 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
275
275
|
activeTitle?: string | undefined;
|
|
276
276
|
activeText?: string | undefined;
|
|
277
277
|
} | undefined;
|
|
278
|
-
nameFilter?: string[] | undefined;
|
|
279
|
-
selectionColor?: string | undefined;
|
|
280
278
|
hover?: unknown;
|
|
281
279
|
hoverColor?: string | undefined;
|
|
280
|
+
nameFilter?: string[] | undefined;
|
|
281
|
+
selectionColor?: string | undefined;
|
|
282
282
|
enableRotation?: unknown;
|
|
283
283
|
enableRotationAxes?: {
|
|
284
284
|
x?: unknown;
|
|
@@ -303,7 +303,7 @@ export declare const IGumballParameterJsonSchema: z.ZodObject<{
|
|
|
303
303
|
}>;
|
|
304
304
|
export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
305
305
|
type: z.ZodLiteral<"dragging">;
|
|
306
|
-
props: z.ZodObject<{
|
|
306
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
307
307
|
draggingColor: z.ZodOptional<z.ZodString>;
|
|
308
308
|
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
309
309
|
nameFilter: z.ZodString;
|
|
@@ -402,7 +402,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
402
402
|
angle: number;
|
|
403
403
|
}>>;
|
|
404
404
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
405
|
-
}
|
|
405
|
+
}, {
|
|
406
406
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
407
407
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
408
408
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -418,7 +418,7 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
418
418
|
activeTitle?: string | undefined;
|
|
419
419
|
activeText?: string | undefined;
|
|
420
420
|
}>>;
|
|
421
|
-
}
|
|
421
|
+
}>, "strip", z.ZodTypeAny, {
|
|
422
422
|
restrictions?: z.objectOutputType<{
|
|
423
423
|
id: z.ZodString;
|
|
424
424
|
type: z.ZodString;
|
|
@@ -572,12 +572,12 @@ export declare const IDraggingParameterJsonSchema: z.ZodObject<{
|
|
|
572
572
|
}>;
|
|
573
573
|
export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
574
574
|
type: z.ZodLiteral<"selection">;
|
|
575
|
-
props: z.ZodObject<{
|
|
575
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
576
576
|
maximumSelection: z.ZodOptional<z.ZodNumber>;
|
|
577
577
|
minimumSelection: z.ZodOptional<z.ZodNumber>;
|
|
578
578
|
nameFilter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
579
579
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
580
|
-
}
|
|
580
|
+
}, {
|
|
581
581
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
582
582
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
583
583
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -593,30 +593,30 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
593
593
|
activeTitle?: string | undefined;
|
|
594
594
|
activeText?: string | undefined;
|
|
595
595
|
}>>;
|
|
596
|
-
}
|
|
596
|
+
}>, "strip", z.ZodTypeAny, {
|
|
597
597
|
prompt?: {
|
|
598
598
|
inactiveTitle?: string | undefined;
|
|
599
599
|
activeTitle?: string | undefined;
|
|
600
600
|
activeText?: string | undefined;
|
|
601
601
|
} | undefined;
|
|
602
|
+
hover?: boolean | undefined;
|
|
603
|
+
hoverColor?: string | undefined;
|
|
602
604
|
maximumSelection?: number | undefined;
|
|
603
605
|
minimumSelection?: number | undefined;
|
|
604
606
|
nameFilter?: string[] | undefined;
|
|
605
607
|
selectionColor?: string | undefined;
|
|
606
|
-
hover?: boolean | undefined;
|
|
607
|
-
hoverColor?: string | undefined;
|
|
608
608
|
}, {
|
|
609
609
|
prompt?: {
|
|
610
610
|
inactiveTitle?: string | undefined;
|
|
611
611
|
activeTitle?: string | undefined;
|
|
612
612
|
activeText?: string | undefined;
|
|
613
613
|
} | undefined;
|
|
614
|
+
hover?: unknown;
|
|
615
|
+
hoverColor?: string | undefined;
|
|
614
616
|
maximumSelection?: number | undefined;
|
|
615
617
|
minimumSelection?: number | undefined;
|
|
616
618
|
nameFilter?: string[] | undefined;
|
|
617
619
|
selectionColor?: string | undefined;
|
|
618
|
-
hover?: unknown;
|
|
619
|
-
hoverColor?: string | undefined;
|
|
620
620
|
}>;
|
|
621
621
|
}, "strip", z.ZodTypeAny, {
|
|
622
622
|
type: "selection";
|
|
@@ -626,12 +626,12 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
626
626
|
activeTitle?: string | undefined;
|
|
627
627
|
activeText?: string | undefined;
|
|
628
628
|
} | undefined;
|
|
629
|
+
hover?: boolean | undefined;
|
|
630
|
+
hoverColor?: string | undefined;
|
|
629
631
|
maximumSelection?: number | undefined;
|
|
630
632
|
minimumSelection?: number | undefined;
|
|
631
633
|
nameFilter?: string[] | undefined;
|
|
632
634
|
selectionColor?: string | undefined;
|
|
633
|
-
hover?: boolean | undefined;
|
|
634
|
-
hoverColor?: string | undefined;
|
|
635
635
|
};
|
|
636
636
|
}, {
|
|
637
637
|
type: "selection";
|
|
@@ -641,16 +641,16 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
641
641
|
activeTitle?: string | undefined;
|
|
642
642
|
activeText?: string | undefined;
|
|
643
643
|
} | undefined;
|
|
644
|
+
hover?: unknown;
|
|
645
|
+
hoverColor?: string | undefined;
|
|
644
646
|
maximumSelection?: number | undefined;
|
|
645
647
|
minimumSelection?: number | undefined;
|
|
646
648
|
nameFilter?: string[] | undefined;
|
|
647
649
|
selectionColor?: string | undefined;
|
|
648
|
-
hover?: unknown;
|
|
649
|
-
hoverColor?: string | 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
655
|
enableRotationAxes: z.ZodOptional<z.ZodObject<{
|
|
656
656
|
x: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
@@ -697,7 +697,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
697
697
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
698
698
|
space: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"local">, z.ZodLiteral<"world">]>>;
|
|
699
699
|
selectionColor: z.ZodOptional<z.ZodString>;
|
|
700
|
-
}
|
|
700
|
+
}, {
|
|
701
701
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
702
702
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
703
703
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -713,16 +713,16 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
713
713
|
activeTitle?: string | undefined;
|
|
714
714
|
activeText?: string | undefined;
|
|
715
715
|
}>>;
|
|
716
|
-
}
|
|
716
|
+
}>, "strip", z.ZodTypeAny, {
|
|
717
717
|
prompt?: {
|
|
718
718
|
inactiveTitle?: string | undefined;
|
|
719
719
|
activeTitle?: string | undefined;
|
|
720
720
|
activeText?: string | undefined;
|
|
721
721
|
} | undefined;
|
|
722
|
-
nameFilter?: string[] | undefined;
|
|
723
|
-
selectionColor?: string | undefined;
|
|
724
722
|
hover?: boolean | undefined;
|
|
725
723
|
hoverColor?: string | undefined;
|
|
724
|
+
nameFilter?: string[] | undefined;
|
|
725
|
+
selectionColor?: string | undefined;
|
|
726
726
|
enableRotation?: boolean | undefined;
|
|
727
727
|
enableRotationAxes?: {
|
|
728
728
|
x?: boolean | undefined;
|
|
@@ -749,10 +749,10 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
749
749
|
activeTitle?: string | undefined;
|
|
750
750
|
activeText?: string | undefined;
|
|
751
751
|
} | undefined;
|
|
752
|
-
nameFilter?: string[] | undefined;
|
|
753
|
-
selectionColor?: string | undefined;
|
|
754
752
|
hover?: unknown;
|
|
755
753
|
hoverColor?: string | undefined;
|
|
754
|
+
nameFilter?: string[] | undefined;
|
|
755
|
+
selectionColor?: string | undefined;
|
|
756
756
|
enableRotation?: unknown;
|
|
757
757
|
enableRotationAxes?: {
|
|
758
758
|
x?: unknown;
|
|
@@ -782,10 +782,10 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
782
782
|
activeTitle?: string | undefined;
|
|
783
783
|
activeText?: string | undefined;
|
|
784
784
|
} | undefined;
|
|
785
|
-
nameFilter?: string[] | undefined;
|
|
786
|
-
selectionColor?: string | undefined;
|
|
787
785
|
hover?: boolean | undefined;
|
|
788
786
|
hoverColor?: string | undefined;
|
|
787
|
+
nameFilter?: string[] | undefined;
|
|
788
|
+
selectionColor?: string | undefined;
|
|
789
789
|
enableRotation?: boolean | undefined;
|
|
790
790
|
enableRotationAxes?: {
|
|
791
791
|
x?: boolean | undefined;
|
|
@@ -815,10 +815,10 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
815
815
|
activeTitle?: string | undefined;
|
|
816
816
|
activeText?: string | undefined;
|
|
817
817
|
} | undefined;
|
|
818
|
-
nameFilter?: string[] | undefined;
|
|
819
|
-
selectionColor?: string | undefined;
|
|
820
818
|
hover?: unknown;
|
|
821
819
|
hoverColor?: string | undefined;
|
|
820
|
+
nameFilter?: string[] | undefined;
|
|
821
|
+
selectionColor?: string | undefined;
|
|
822
822
|
enableRotation?: unknown;
|
|
823
823
|
enableRotationAxes?: {
|
|
824
824
|
x?: unknown;
|
|
@@ -842,7 +842,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
842
842
|
};
|
|
843
843
|
}>]>, z.ZodObject<{
|
|
844
844
|
type: z.ZodLiteral<"dragging">;
|
|
845
|
-
props: z.ZodObject<{
|
|
845
|
+
props: z.ZodObject<z.objectUtil.extendShape<{
|
|
846
846
|
draggingColor: z.ZodOptional<z.ZodString>;
|
|
847
847
|
objects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
848
848
|
nameFilter: z.ZodString;
|
|
@@ -941,7 +941,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
941
941
|
angle: number;
|
|
942
942
|
}>>;
|
|
943
943
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
944
|
-
}
|
|
944
|
+
}, {
|
|
945
945
|
hover: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
|
946
946
|
hoverColor: z.ZodOptional<z.ZodString>;
|
|
947
947
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -957,7 +957,7 @@ export declare const IInteractionParameterJsonSchema: z.ZodUnion<[z.ZodUnion<[z.
|
|
|
957
957
|
activeTitle?: string | undefined;
|
|
958
958
|
activeText?: string | undefined;
|
|
959
959
|
}>>;
|
|
960
|
-
}
|
|
960
|
+
}>, "strip", z.ZodTypeAny, {
|
|
961
961
|
restrictions?: z.objectOutputType<{
|
|
962
962
|
id: z.ZodString;
|
|
963
963
|
type: z.ZodString;
|
|
@@ -1117,12 +1117,12 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1117
1117
|
activeTitle?: string | undefined;
|
|
1118
1118
|
activeText?: string | undefined;
|
|
1119
1119
|
} | undefined;
|
|
1120
|
+
hover?: unknown;
|
|
1121
|
+
hoverColor?: string | undefined;
|
|
1120
1122
|
maximumSelection?: number | undefined;
|
|
1121
1123
|
minimumSelection?: number | undefined;
|
|
1122
1124
|
nameFilter?: string[] | undefined;
|
|
1123
1125
|
selectionColor?: string | undefined;
|
|
1124
|
-
hover?: unknown;
|
|
1125
|
-
hoverColor?: string | undefined;
|
|
1126
1126
|
};
|
|
1127
1127
|
} | {
|
|
1128
1128
|
type: "gumball";
|
|
@@ -1132,10 +1132,10 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1132
1132
|
activeTitle?: string | undefined;
|
|
1133
1133
|
activeText?: string | undefined;
|
|
1134
1134
|
} | undefined;
|
|
1135
|
-
nameFilter?: string[] | undefined;
|
|
1136
|
-
selectionColor?: string | undefined;
|
|
1137
1135
|
hover?: unknown;
|
|
1138
1136
|
hoverColor?: string | undefined;
|
|
1137
|
+
nameFilter?: string[] | undefined;
|
|
1138
|
+
selectionColor?: string | undefined;
|
|
1139
1139
|
enableRotation?: unknown;
|
|
1140
1140
|
enableRotationAxes?: {
|
|
1141
1141
|
x?: unknown;
|
|
@@ -1204,12 +1204,12 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1204
1204
|
activeTitle?: string | undefined;
|
|
1205
1205
|
activeText?: string | undefined;
|
|
1206
1206
|
} | undefined;
|
|
1207
|
+
hover?: boolean | undefined;
|
|
1208
|
+
hoverColor?: string | undefined;
|
|
1207
1209
|
maximumSelection?: number | undefined;
|
|
1208
1210
|
minimumSelection?: number | undefined;
|
|
1209
1211
|
nameFilter?: string[] | undefined;
|
|
1210
1212
|
selectionColor?: string | undefined;
|
|
1211
|
-
hover?: boolean | undefined;
|
|
1212
|
-
hoverColor?: string | undefined;
|
|
1213
1213
|
};
|
|
1214
1214
|
} | {
|
|
1215
1215
|
type: "gumball";
|
|
@@ -1219,10 +1219,10 @@ export declare const validateInteractionParameterSettings: (param: unknown) => z
|
|
|
1219
1219
|
activeTitle?: string | undefined;
|
|
1220
1220
|
activeText?: string | undefined;
|
|
1221
1221
|
} | undefined;
|
|
1222
|
-
nameFilter?: string[] | undefined;
|
|
1223
|
-
selectionColor?: string | undefined;
|
|
1224
1222
|
hover?: boolean | undefined;
|
|
1225
1223
|
hoverColor?: string | undefined;
|
|
1224
|
+
nameFilter?: string[] | undefined;
|
|
1225
|
+
selectionColor?: string | undefined;
|
|
1226
1226
|
enableRotation?: boolean | undefined;
|
|
1227
1227
|
enableRotationAxes?: {
|
|
1228
1228
|
x?: boolean | undefined;
|
|
@@ -1292,12 +1292,12 @@ export declare const validateSelectionParameterSettings: (param: unknown) => z.S
|
|
|
1292
1292
|
activeTitle?: string | undefined;
|
|
1293
1293
|
activeText?: string | undefined;
|
|
1294
1294
|
} | undefined;
|
|
1295
|
+
hover?: unknown;
|
|
1296
|
+
hoverColor?: string | undefined;
|
|
1295
1297
|
maximumSelection?: number | undefined;
|
|
1296
1298
|
minimumSelection?: number | undefined;
|
|
1297
1299
|
nameFilter?: string[] | undefined;
|
|
1298
1300
|
selectionColor?: string | undefined;
|
|
1299
|
-
hover?: unknown;
|
|
1300
|
-
hoverColor?: string | undefined;
|
|
1301
1301
|
};
|
|
1302
1302
|
}, {
|
|
1303
1303
|
type: "selection";
|
|
@@ -1307,12 +1307,12 @@ export declare const validateSelectionParameterSettings: (param: unknown) => z.S
|
|
|
1307
1307
|
activeTitle?: string | undefined;
|
|
1308
1308
|
activeText?: string | undefined;
|
|
1309
1309
|
} | undefined;
|
|
1310
|
+
hover?: boolean | undefined;
|
|
1311
|
+
hoverColor?: string | undefined;
|
|
1310
1312
|
maximumSelection?: number | undefined;
|
|
1311
1313
|
minimumSelection?: number | undefined;
|
|
1312
1314
|
nameFilter?: string[] | undefined;
|
|
1313
1315
|
selectionColor?: string | undefined;
|
|
1314
|
-
hover?: boolean | undefined;
|
|
1315
|
-
hoverColor?: string | undefined;
|
|
1316
1316
|
};
|
|
1317
1317
|
}>;
|
|
1318
1318
|
export declare const validateGumballParameterSettings: (param: unknown) => z.SafeParseReturnType<{
|
|
@@ -1323,10 +1323,10 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1323
1323
|
activeTitle?: string | undefined;
|
|
1324
1324
|
activeText?: string | undefined;
|
|
1325
1325
|
} | undefined;
|
|
1326
|
-
nameFilter?: string[] | undefined;
|
|
1327
|
-
selectionColor?: string | undefined;
|
|
1328
1326
|
hover?: unknown;
|
|
1329
1327
|
hoverColor?: string | undefined;
|
|
1328
|
+
nameFilter?: string[] | undefined;
|
|
1329
|
+
selectionColor?: string | undefined;
|
|
1330
1330
|
enableRotation?: unknown;
|
|
1331
1331
|
enableRotationAxes?: {
|
|
1332
1332
|
x?: unknown;
|
|
@@ -1356,10 +1356,10 @@ export declare const validateGumballParameterSettings: (param: unknown) => z.Saf
|
|
|
1356
1356
|
activeTitle?: string | undefined;
|
|
1357
1357
|
activeText?: string | undefined;
|
|
1358
1358
|
} | undefined;
|
|
1359
|
-
nameFilter?: string[] | undefined;
|
|
1360
|
-
selectionColor?: string | undefined;
|
|
1361
1359
|
hover?: boolean | undefined;
|
|
1362
1360
|
hoverColor?: string | undefined;
|
|
1361
|
+
nameFilter?: string[] | undefined;
|
|
1362
|
+
selectionColor?: string | undefined;
|
|
1363
1363
|
enableRotation?: boolean | undefined;
|
|
1364
1364
|
enableRotationAxes?: {
|
|
1365
1365
|
x?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shapediver/viewer.shared.types",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Michael Oppitz <michael@shapediver.com>",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"testEnvironment": "node"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@shapediver/sdk.geometry-api-sdk-v2": "2.
|
|
41
|
+
"@shapediver/sdk.geometry-api-sdk-v2": "2.8.0",
|
|
42
42
|
"@shapediver/sdk.sdtf-v1": "1.6.0",
|
|
43
|
-
"@shapediver/viewer.shared.math": "3.12.
|
|
44
|
-
"@shapediver/viewer.shared.node-tree": "3.12.
|
|
45
|
-
"@shapediver/viewer.shared.services": "3.12.
|
|
43
|
+
"@shapediver/viewer.shared.math": "3.12.3",
|
|
44
|
+
"@shapediver/viewer.shared.node-tree": "3.12.3",
|
|
45
|
+
"@shapediver/viewer.shared.services": "3.12.3",
|
|
46
46
|
"gl-matrix": "3.3.0",
|
|
47
|
-
"zod": "
|
|
47
|
+
"zod": "3.23.8"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "373ad0be54457aeab5a5abe2d38d2337074008f2"
|
|
50
50
|
}
|