@3dsource/metabox-front-api 1.2.7-dev.0 → 1.2.7-dev.1

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.
Files changed (2) hide show
  1. package/index.d.ts +25 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -250,7 +250,7 @@ interface Rotation {
250
250
  */
251
251
  interface Restrictions {
252
252
  /** Maximum zoom level (if applicable). */
253
- maxZoom?: null;
253
+ maxZoom?: number;
254
254
  /** Minimum zoom level allowed. */
255
255
  minZoom: number;
256
256
  /** Minimum pitch allowed. */
@@ -258,16 +258,36 @@ interface Restrictions {
258
258
  /** Maximum pitch allowed. */
259
259
  maxPitch: number;
260
260
  /** Maximum yaw allowed (if applicable). */
261
- maxYaw?: null;
261
+ maxYaw?: number;
262
262
  /** Minimum yaw allowed (if applicable). */
263
- minYaw?: null;
263
+ minYaw?: number;
264
264
  /** Radius for pan boundaries (if applicable). */
265
- panBoundariesRadius?: null;
265
+ panBoundariesRadius?: number;
266
266
  /** Box boundaries for pan (if applicable). */
267
- panBoundariesBox?: null;
267
+ panBoundariesBox?: BoundariesBox;
268
268
  /** GraphQL typename for the restrictions. */
269
269
  __typename: 'Restrictions';
270
270
  }
271
+ interface BoundariesBox {
272
+ end: {
273
+ /** X-coordinate value. */
274
+ x: number;
275
+ /** Y-coordinate value. */
276
+ y: number;
277
+ /** Z-coordinate value. */
278
+ z: number;
279
+ };
280
+ start: {
281
+ /** X-coordinate value. */
282
+ x: number;
283
+ /** Y-coordinate value. */
284
+ y: number;
285
+ /** Z-coordinate value. */
286
+ z: number;
287
+ };
288
+ /** GraphQL typename for the BoundariesBox. */
289
+ __typename: 'BoundariesBox';
290
+ }
271
291
  /**
272
292
  * Represents a product within the universal configurator.
273
293
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/metabox-front-api",
3
- "version": "1.2.7-dev.0",
3
+ "version": "1.2.7-dev.1",
4
4
  "description": "API for Metabox BASIC configurator",
5
5
  "keywords": [
6
6
  "metabox",