@3dsource/metabox-modular-configurator-api 0.0.1-dev.6 → 0.0.1-dev.8
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/README.md +1 -1
- package/index.d.ts +26 -16
- package/package.json +2 -2
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -150,35 +150,44 @@ interface ModularConfiguratorComponent {
|
|
|
150
150
|
/** Optional camera settings for the product. */
|
|
151
151
|
/** Connectors between connectors and virtual sockets. */
|
|
152
152
|
virtualSocketToConnectorsMap?: ModularConfiguratorVirtualSocketToConnector[];
|
|
153
|
+
/** GraphQL typename for the component. */
|
|
153
154
|
__typename: 'ModularConfiguratorComponent';
|
|
154
155
|
}
|
|
155
156
|
/**
|
|
156
157
|
* Represents a component type within the modular configurator.
|
|
157
158
|
*/
|
|
158
159
|
interface ModularConfiguratorComponentType {
|
|
159
|
-
/**
|
|
160
|
-
componentType: ModularConfiguratorComponentType;
|
|
161
|
-
/** Display the name for the product. */
|
|
160
|
+
/** Display the name for the component type. */
|
|
162
161
|
name: string;
|
|
163
|
-
/** Position index of the
|
|
162
|
+
/** Position index of the component type. */
|
|
164
163
|
position: number;
|
|
165
|
-
/**
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
|
|
169
|
-
virtualSocketToConnectorsMap?: ModularConfiguratorVirtualSocketToConnector[];
|
|
164
|
+
/** Is root current component type or not. */
|
|
165
|
+
isRoot: boolean;
|
|
166
|
+
/** Is required current component type or not. */
|
|
167
|
+
isRequired: boolean;
|
|
170
168
|
/** The id unique identifier. */
|
|
171
169
|
id: string;
|
|
170
|
+
/** GraphQL typename for the component type. */
|
|
172
171
|
__typename: 'ModularConfiguratorComponentType';
|
|
173
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* Represents a vur virtual map socket to connectors the modular configurator.
|
|
175
|
+
*/
|
|
174
176
|
interface ModularConfiguratorVirtualSocketToConnector {
|
|
175
177
|
virtualSocketId: string;
|
|
176
178
|
connectorId: string;
|
|
179
|
+
/** GraphQL typename for the virtual map socket. */
|
|
180
|
+
__typename: 'ModularConfiguratorVirtualSocketToConnector';
|
|
177
181
|
}
|
|
182
|
+
/**
|
|
183
|
+
* Represents a connector the modular configurator.
|
|
184
|
+
*/
|
|
178
185
|
interface ModularConfiguratorConnector {
|
|
179
186
|
id: string;
|
|
180
187
|
componentTypeId1: string;
|
|
181
188
|
componentTypeId2: string;
|
|
189
|
+
/** GraphQL typename for connector. */
|
|
190
|
+
__typename: 'ModularConfiguratorConnector';
|
|
182
191
|
}
|
|
183
192
|
/**
|
|
184
193
|
* Represents product details including visual assets and configuration.
|
|
@@ -284,25 +293,26 @@ interface Environment {
|
|
|
284
293
|
/** Flag indicating if UDS is enabled. */
|
|
285
294
|
/** The north yaw of the sun in the environment. */
|
|
286
295
|
/** The UDS hour setting for the environment. */
|
|
287
|
-
/** GraphQL typename for the environment. */
|
|
288
|
-
__typename: 'Environment';
|
|
289
296
|
/** List of thumbnails for the environment (optional). */
|
|
290
297
|
thumbnailList: Thumbnail[];
|
|
291
298
|
/** List of slots for the environment (optional). */
|
|
292
299
|
slots: Slot[];
|
|
300
|
+
/** The model associated with the environment. */
|
|
301
|
+
/** GraphQL typename for the environment. */
|
|
302
|
+
__typename: 'Environment';
|
|
293
303
|
}
|
|
294
304
|
/**
|
|
295
|
-
* Defines the structure for a
|
|
296
|
-
*/
|
|
297
|
-
type SelectedIds = Record<string, Record<string, string>>;
|
|
298
|
-
/**
|
|
299
|
-
* Defines the structure for a components tree.
|
|
305
|
+
* Defines the structure for a component tree where every component has id and parent.
|
|
300
306
|
*/
|
|
301
307
|
interface ComponentWithParent {
|
|
302
308
|
id: string;
|
|
303
309
|
componentTypeId: string;
|
|
304
310
|
parentId: string | null;
|
|
305
311
|
}
|
|
312
|
+
/**
|
|
313
|
+
* Defines the structure for a mapping of selected materials.
|
|
314
|
+
*/
|
|
315
|
+
type SelectedIds = Record<string, Record<string, string>>;
|
|
306
316
|
/**
|
|
307
317
|
* Defines the structure for an available showcase status for the current product on a scene.
|
|
308
318
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3dsource/metabox-modular-configurator-api",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.8",
|
|
4
4
|
"description": "API for Metabox MODULAR configurator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"metabox",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"tslib": "^2.8.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@3dsource/angular-unreal-module": ">=0.0.34"
|
|
22
|
+
"@3dsource/angular-unreal-module": ">=0.0.34-0"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20",
|