@bitbybit-dev/base 0.21.1 → 1.0.0-rc.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.
- package/lib/api/GlobalCDNProvider.js +1 -1
- package/lib/api/index.d.ts +2 -0
- package/lib/api/index.js +2 -0
- package/lib/api/inputs/base-inputs.d.ts +5 -0
- package/lib/api/inputs/base-inputs.js +7 -0
- package/lib/api/inputs/inputs.d.ts +1 -14
- package/lib/api/inputs/inputs.js +2 -14
- package/lib/api/inputs/vector-inputs.d.ts +1 -1
- package/lib/api/inputs/vector-inputs.js +1 -1
- package/package.json +1 -1
package/lib/api/index.d.ts
CHANGED
package/lib/api/index.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base namespace containing foundational types and enums used across all bitbybit packages.
|
|
3
|
+
* This is the single source of truth - other packages extend this via module augmentation.
|
|
4
|
+
*/
|
|
1
5
|
export declare namespace Base {
|
|
2
6
|
type Color = string;
|
|
3
7
|
type ColorRGB = {
|
|
@@ -20,6 +24,7 @@ export declare namespace Base {
|
|
|
20
24
|
};
|
|
21
25
|
type Segment2 = [Point2, Point2];
|
|
22
26
|
type Segment3 = [Point3, Point3];
|
|
27
|
+
/** Triangle plane is efficient definition described by a normal vector and d value (N dot X = d) */
|
|
23
28
|
type TrianglePlane3 = {
|
|
24
29
|
normal: Vector3;
|
|
25
30
|
d: number;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
2
|
+
/**
|
|
3
|
+
* Base namespace containing foundational types and enums used across all bitbybit packages.
|
|
4
|
+
* This is the single source of truth - other packages extend this via module augmentation.
|
|
5
|
+
*/
|
|
2
6
|
export var Base;
|
|
3
7
|
(function (Base) {
|
|
8
|
+
// ============================================================================
|
|
9
|
+
// Alignment Enums
|
|
10
|
+
// ============================================================================
|
|
4
11
|
let horizontalAlignEnum;
|
|
5
12
|
(function (horizontalAlignEnum) {
|
|
6
13
|
horizontalAlignEnum["left"] = "left";
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./lists-inputs";
|
|
3
|
-
export * from "./logic-inputs";
|
|
4
|
-
export * from "./math-inputs";
|
|
5
|
-
export * from "./point-inputs";
|
|
6
|
-
export * from "./text-inputs";
|
|
7
|
-
export * from "./text-inputs";
|
|
8
|
-
export * from "./vector-inputs";
|
|
9
|
-
export * from "./transforms-inputs";
|
|
10
|
-
export * from "./dates-inputs";
|
|
11
|
-
export * from "./line-inputs";
|
|
12
|
-
export * from "./polyline-inputs";
|
|
13
|
-
export * from "./mesh-inputs";
|
|
14
|
-
export * from "./io-inputs";
|
|
1
|
+
export * from "./index";
|
package/lib/api/inputs/inputs.js
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./logic-inputs";
|
|
4
|
-
export * from "./math-inputs";
|
|
5
|
-
export * from "./point-inputs";
|
|
6
|
-
export * from "./text-inputs";
|
|
7
|
-
export * from "./text-inputs";
|
|
8
|
-
export * from "./vector-inputs";
|
|
9
|
-
export * from "./transforms-inputs";
|
|
10
|
-
export * from "./dates-inputs";
|
|
11
|
-
export * from "./line-inputs";
|
|
12
|
-
export * from "./polyline-inputs";
|
|
13
|
-
export * from "./mesh-inputs";
|
|
14
|
-
export * from "./io-inputs";
|
|
1
|
+
// Re-export everything from index for backward compatibility
|
|
2
|
+
export * from "./index";
|