sb3-types 0.1.15 → 0.1.16
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
CHANGED
package/dist/enums/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as inputtype_d_exports, h as shadow_d_exports } from "../inputtype-
|
|
1
|
+
import { d as inputtype_d_exports, h as shadow_d_exports } from "../inputtype-CDi9JRHZ.mjs";
|
|
2
2
|
export { inputtype_d_exports as InputType, shadow_d_exports as Shadow };
|
package/dist/enums/index.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import { t as __exportAll } from "../chunk-DQk6qfdC.mjs";
|
|
|
2
2
|
|
|
3
3
|
//#region enums/shadow.ts
|
|
4
4
|
var shadow_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
DiffBlockShadow: () => DiffBlockShadow,
|
|
6
|
+
NoShadow: () => NoShadow,
|
|
7
|
+
SameBlockShadow: () => SameBlockShadow
|
|
8
8
|
});
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
9
|
+
const SameBlockShadow = 1;
|
|
10
|
+
const NoShadow = 2;
|
|
11
|
+
const DiffBlockShadow = 3;
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region enums/inputtype.ts
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
declare namespace shadow_d_exports {
|
|
2
|
-
export { All$1 as All,
|
|
2
|
+
export { All$1 as All, DiffBlockShadow, NoShadow, SameBlockShadow };
|
|
3
3
|
}
|
|
4
4
|
/**
|
|
5
5
|
* @module
|
|
6
6
|
* Shadow type indicating the appearance of the shadow.
|
|
7
7
|
*/
|
|
8
8
|
/** unobscured shadow */
|
|
9
|
-
type
|
|
10
|
-
declare const
|
|
9
|
+
type SameBlockShadow = 1;
|
|
10
|
+
declare const SameBlockShadow: SameBlockShadow;
|
|
11
11
|
/** no shadow */
|
|
12
|
-
type
|
|
13
|
-
declare const
|
|
12
|
+
type NoShadow = 2;
|
|
13
|
+
declare const NoShadow: NoShadow;
|
|
14
14
|
/** obscured shadow */
|
|
15
|
-
type
|
|
16
|
-
declare const
|
|
15
|
+
type DiffBlockShadow = 3;
|
|
16
|
+
declare const DiffBlockShadow: DiffBlockShadow;
|
|
17
17
|
/**
|
|
18
18
|
* Shadow type indicating the appearance of the shadow.
|
|
19
19
|
*/
|
|
20
|
-
type All$1 =
|
|
20
|
+
type All$1 = SameBlockShadow | NoShadow | DiffBlockShadow;
|
|
21
21
|
declare namespace inputtype_d_exports {
|
|
22
22
|
export { All, Angle, Broadcast, Color, Integer, List, Number, PositiveInteger, PositiveNumber, String, Variable };
|
|
23
23
|
}
|
|
@@ -67,4 +67,4 @@ declare const List: List;
|
|
|
67
67
|
/** Primitive type identifiers. */
|
|
68
68
|
type All = Number | PositiveNumber | PositiveInteger | Integer | Angle | Color | String | Broadcast | Variable | List;
|
|
69
69
|
//#endregion
|
|
70
|
-
export { List as a, PositiveNumber as c, inputtype_d_exports as d,
|
|
70
|
+
export { List as a, PositiveNumber as c, inputtype_d_exports as d, DiffBlockShadow as f, shadow_d_exports as h, Integer as i, String as l, SameBlockShadow as m, Broadcast as n, Number as o, NoShadow as p, Color as r, PositiveInteger as s, Angle as t, Variable as u };
|
package/dist/mod.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as List$1, c as PositiveNumber, f as
|
|
1
|
+
import { a as List$1, c as PositiveNumber, f as DiffBlockShadow, i as Integer, l as String, m as SameBlockShadow, n as Broadcast, o as Number, p as NoShadow, r as Color, s as PositiveInteger, t as Angle, u as Variable } from "./inputtype-CDi9JRHZ.mjs";
|
|
2
2
|
|
|
3
3
|
//#region primitive.d.ts
|
|
4
4
|
/**
|
|
@@ -458,7 +458,7 @@ type InputPrimitiveOrReference = InputPrimitive | /* blockId */string;
|
|
|
458
458
|
* The input value held by the block
|
|
459
459
|
* @related
|
|
460
460
|
*/
|
|
461
|
-
type Input = [
|
|
461
|
+
type Input = [SameBlockShadow | NoShadow, InputPrimitiveOrReference] | [DiffBlockShadow, InputPrimitiveOrReference, InputPrimitiveOrReference];
|
|
462
462
|
/**
|
|
463
463
|
* look {@link Block.fields}
|
|
464
464
|
*/
|