@buerli.io/headless 0.9.0-beta.1 → 0.9.0

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.
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.GraphicType = exports.SVGModusType = exports.ExtrusionType = exports.OrientationType = exports.ViewType = exports.WorkPointType = exports.WorkPlaneType = exports.WorkCoordSystemType = exports.WorkAxisType = exports.ReorientedType = exports.FlipType = exports.DataType = exports.ChamferType = exports.BooleanOperationType = exports.createPolyline = exports.history = exports.solid = void 0;
29
+ exports.PointTypes = exports.EntityTypes = exports.CurveTypes = exports.EdgeTypes = exports.MeshTypes = exports.ContainerType = exports.GraphicType = exports.SVGModusType = exports.ExtrusionType = exports.OrientationType = exports.ViewType = exports.WorkPointType = exports.WorkPlaneType = exports.WorkCoordSystemType = exports.WorkAxisType = exports.ReorientedType = exports.FlipType = exports.DataType = exports.ChamferType = exports.BooleanOperationType = exports.createPolyline = exports.history = exports.solid = void 0;
30
30
  const history_1 = __importDefault(require("./history"));
31
31
  exports.history = history_1.default;
32
32
  const solid_1 = __importStar(require("./solid"));
@@ -50,4 +50,10 @@ Object.defineProperty(exports, "SVGModusType", { enumerable: true, get: function
50
50
  // Re-export types form @buerli.io/core for easier usage
51
51
  var core_1 = require("@buerli.io/core");
52
52
  Object.defineProperty(exports, "GraphicType", { enumerable: true, get: function () { return core_1.GraphicType; } });
53
+ Object.defineProperty(exports, "ContainerType", { enumerable: true, get: function () { return core_1.ContainerType; } });
54
+ Object.defineProperty(exports, "MeshTypes", { enumerable: true, get: function () { return core_1.MeshTypes; } });
55
+ Object.defineProperty(exports, "EdgeTypes", { enumerable: true, get: function () { return core_1.EdgeTypes; } });
56
+ Object.defineProperty(exports, "CurveTypes", { enumerable: true, get: function () { return core_1.CurveTypes; } });
57
+ Object.defineProperty(exports, "EntityTypes", { enumerable: true, get: function () { return core_1.EntityTypes; } });
58
+ Object.defineProperty(exports, "PointTypes", { enumerable: true, get: function () { return core_1.PointTypes; } });
53
59
  //#endregion Re-export type definitions
@@ -4,5 +4,5 @@ export { solid, history, createPolyline };
4
4
  // Re-export types form @buerli.io/classcad for easier usage
5
5
  export { BooleanOperationType, ChamferType, DataType, FlipType, ReorientedType, WorkAxisType, WorkCoordSystemType, WorkPlaneType, WorkPointType, ViewType, OrientationType, ExtrusionType, SVGModusType, } from '@buerli.io/classcad';
6
6
  // Re-export types form @buerli.io/core for easier usage
7
- export { GraphicType } from '@buerli.io/core';
7
+ export { GraphicType, ContainerType, MeshTypes, EdgeTypes, CurveTypes, EntityTypes, PointTypes } from '@buerli.io/core';
8
8
  //#endregion Re-export type definitions
@@ -1,5 +1,5 @@
1
1
  import { BooleanOperationType, ChamferType, FlipType, ReorientedType, WorkAxisType, WorkCoordSystemType, WorkPlaneType, WorkPointType, ViewType, OrientationType, ExtrusionType, WorkGeomType, SVGModusType, LimitsParam, LimitedValue } from '@buerli.io/classcad';
2
- import { DrawingID, ObjectIdent, ObjectID, PointMemValue, GraphicType, InteractionInfo, AnyGeometryElement } from '@buerli.io/core';
2
+ import { DrawingID, ObjectIdent, ObjectID, PointMemValue, GraphicType, InteractionInfo, GeometryElement } from '@buerli.io/core';
3
3
  import { BufferGeometry, Material, Object3D, Scene } from 'three';
4
4
  /**
5
5
  * History based modeling is similar to solid modeling, but it is non-destructive and
@@ -961,7 +961,7 @@ export declare type ApiHistory = {
961
961
  * @param count optional number of selections to make (count must be >= 1). Default = 1.
962
962
  * @return array of objects containing information about selected geometries
963
963
  */
964
- selectGeometry: <T = AnyGeometryElement>(types: GrT[], count?: number) => Promise<InteractionInfo<T>[]>;
964
+ selectGeometry: <T = GeometryElement>(types: GrT[], count?: number) => Promise<InteractionInfo<T>[]>;
965
965
  /**
966
966
  * Find geometries of given type on solids in the given part at the given global positions.
967
967
  * @param partId Id of the part where geometries tried to be found.
@@ -2,7 +2,7 @@ import history from './history';
2
2
  import solid, { createPolyline } from './solid';
3
3
  export { solid, history, createPolyline };
4
4
  export { BooleanOperationType, ChamferType, DataType, FlipType, ReorientedType, WorkAxisType, WorkCoordSystemType, WorkPlaneType, WorkPointType, ViewType, OrientationType, ExtrusionType, SVGModusType, } from '@buerli.io/classcad';
5
- export { GraphicType } from '@buerli.io/core';
5
+ export { GraphicType, ContainerType, MeshTypes, EdgeTypes, CurveTypes, EntityTypes, PointTypes } from '@buerli.io/core';
6
6
  /**
7
7
  * Because babel typescript tools can not handle the type definitions
8
8
  * in an other way, they have to be re-exported as you can see in this code region.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerli.io/headless",
3
- "version": "0.9.0-beta.1",
3
+ "version": "0.9.0",
4
4
  "description": "A non-manifold CAD workflow for the web",
5
5
  "author": "AWV Informatik AG <info@awv-informatik.ch>",
6
6
  "license": "ISC",
@@ -32,7 +32,7 @@
32
32
  "three-stdlib": ">=2.11.0"
33
33
  },
34
34
  "dependencies": {
35
- "@buerli.io/classcad": "0.9.0-beta.1",
35
+ "@buerli.io/classcad": "0.9.0",
36
36
  "flat-promise": "^1.0.3"
37
37
  }
38
38
  }