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
@@ -1,4 +1,4 @@
1
- # sb3-type
1
+ # sb3-types
2
2
  TypeScript definition for `project.json` of .sb3
3
3
 
4
4
 
@@ -1,2 +1,2 @@
1
- import { d as inputtype_d_exports, h as shadow_d_exports } from "../inputtype-C4E1yjxQ.mjs";
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 };
@@ -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
- DiffBlock: () => DiffBlock,
6
- No: () => No,
7
- SameBlock: () => SameBlock
5
+ DiffBlockShadow: () => DiffBlockShadow,
6
+ NoShadow: () => NoShadow,
7
+ SameBlockShadow: () => SameBlockShadow
8
8
  });
9
- const SameBlock = 1;
10
- const No = 2;
11
- const DiffBlock = 3;
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, DiffBlock, No, SameBlock };
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 SameBlock = 1;
10
- declare const SameBlock: SameBlock;
9
+ type SameBlockShadow = 1;
10
+ declare const SameBlockShadow: SameBlockShadow;
11
11
  /** no shadow */
12
- type No = 2;
13
- declare const No: No;
12
+ type NoShadow = 2;
13
+ declare const NoShadow: NoShadow;
14
14
  /** obscured shadow */
15
- type DiffBlock = 3;
16
- declare const DiffBlock: DiffBlock;
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 = SameBlock | No | DiffBlock;
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, DiffBlock as f, shadow_d_exports as h, Integer as i, String as l, SameBlock as m, Broadcast as n, Number as o, No as p, Color as r, PositiveInteger as s, Angle as t, Variable as u };
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 DiffBlock, i as Integer, l as String, m as SameBlock, n as Broadcast, o as Number, p as No, r as Color, s as PositiveInteger, t as Angle, u as Variable } from "./inputtype-C4E1yjxQ.mjs";
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 = [SameBlock | No, InputPrimitiveOrReference] | [DiffBlock, InputPrimitiveOrReference, InputPrimitiveOrReference];
461
+ type Input = [SameBlockShadow | NoShadow, InputPrimitiveOrReference] | [DiffBlockShadow, InputPrimitiveOrReference, InputPrimitiveOrReference];
462
462
  /**
463
463
  * look {@link Block.fields}
464
464
  */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "sb3-types",
3
3
  "module": "index.ts",
4
4
  "type": "module",
5
- "version": "0.1.15",
5
+ "version": "0.1.16",
6
6
  "files": [
7
7
  "dist",
8
8
  "LICENSE",