@buerli.io/headless 1.0.1-beta.2 → 1.0.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.
@@ -1,14 +1,14 @@
1
- import { ContainerGeometryT, MeshGeometry } from '@buerli.io/core';
2
- import { Color } from 'three';
3
- declare type ColorMeshMap = Record<string, {
4
- meshes: MeshGeometry[];
5
- color: Color | undefined;
6
- opacity: number;
7
- }>;
8
- /**
9
- * Get all meshes in a map, sorted by their color / opacity
10
- * @param entity entity to look for the meshes
11
- * @returns map (key = color/opacity as string, value = object containing the meshes, color and opacity)
12
- */
13
- export declare const getDifferentColoredMeshesFromEntity: (entity: ContainerGeometryT) => ColorMeshMap;
14
- export {};
1
+ import { ContainerGeometryT, MeshGeometry } from '@buerli.io/core';
2
+ import { Color } from 'three';
3
+ declare type ColorMeshMap = Record<string, {
4
+ meshes: MeshGeometry[];
5
+ color: Color | undefined;
6
+ opacity: number;
7
+ }>;
8
+ /**
9
+ * Get all meshes in a map, sorted by their color / opacity
10
+ * @param entity entity to look for the meshes
11
+ * @returns map (key = color/opacity as string, value = object containing the meshes, color and opacity)
12
+ */
13
+ export declare const getDifferentColoredMeshesFromEntity: (entity: ContainerGeometryT) => ColorMeshMap;
14
+ export {};
@@ -1,4 +1,4 @@
1
- import { SelectedItem } from '@buerli.io/core';
2
- declare type CustomSelect<T> = (resolve: (result: T) => Promise<T>, newItems: SelectedItem[], diff: SelectedItem[]) => void;
3
- export declare function waitForSelect<T>(length: number, filter: any, onChange: CustomSelect<T>): Promise<SelectedItem<any>[]>;
4
- export {};
1
+ import { SelectedItem } from '@buerli.io/core';
2
+ declare type CustomSelect<T> = (resolve: (result: T) => Promise<T>, newItems: SelectedItem[], diff: SelectedItem[]) => void;
3
+ export declare function waitForSelect<T>(length: number, filter: any, onChange: CustomSelect<T>): Promise<SelectedItem<any>[]>;
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerli.io/headless",
3
- "version": "1.0.1-beta.2",
3
+ "version": "1.0.1",
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": "1.0.1-beta.2",
35
+ "@buerli.io/classcad": "1.0.1",
36
36
  "flat-promise": "^1.0.3"
37
37
  }
38
38
  }