cubing 0.54.3 → 0.54.4

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.
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "definitions": {
4
+ "numbers": {
5
+ "type": "array",
6
+ "items": {
7
+ "type": "number"
8
+ }
9
+ },
10
+ "AlgString": {
11
+ "type": "string"
12
+ },
13
+ "KPatternOrbitData": {
14
+ "type": "object",
15
+ "required": ["pieces", "orientation"],
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "pieces": {
19
+ "$ref": "#/definitions/numbers"
20
+ },
21
+ "orientation": {
22
+ "$ref": "#/definitions/numbers"
23
+ },
24
+ "orientationMod": {
25
+ "$ref": "#/definitions/numbers"
26
+ }
27
+ }
28
+ },
29
+ "KPatternData": {
30
+ "type": "object",
31
+ "additionalProperties": {
32
+ "$ref": "#/definitions/KPatternOrbitData"
33
+ },
34
+ "properties": {
35
+ "$schema": {
36
+ "type": "string"
37
+ }
38
+ }
39
+ }
40
+ },
41
+ "$ref": "#/definitions/KPatternData"
42
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "definitions": {
4
+ "numbers": {
5
+ "type": "array",
6
+ "items": {
7
+ "type": "number"
8
+ }
9
+ },
10
+ "AlgString": {
11
+ "type": "string"
12
+ },
13
+ "KPatternOrbitData": {
14
+ "type": "object",
15
+ "required": ["pieces", "orientation"],
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "pieces": {
19
+ "$ref": "#/definitions/numbers"
20
+ },
21
+ "orientation": {
22
+ "$ref": "#/definitions/numbers"
23
+ },
24
+ "orientationMod": {
25
+ "$ref": "#/definitions/numbers"
26
+ }
27
+ }
28
+ },
29
+ "KPatternData": {
30
+ "type": "object",
31
+ "additionalProperties": {
32
+ "$ref": "#/definitions/KPatternOrbitData"
33
+ },
34
+ "properties": {
35
+ "$schema": {
36
+ "type": "string"
37
+ }
38
+ }
39
+ },
40
+ "KTransformationOrbitData": {
41
+ "type": "object",
42
+ "required": ["permutation", "orientationDelta"],
43
+ "additionalProperties": false,
44
+ "properties": {
45
+ "permutation": {
46
+ "$ref": "#/definitions/numbers"
47
+ },
48
+ "orientationDelta": {
49
+ "$ref": "#/definitions/numbers"
50
+ }
51
+ }
52
+ },
53
+ "KTransformationData": {
54
+ "type": "object",
55
+ "additionalProperties": {
56
+ "$ref": "#/definitions/KTransformationOrbitData"
57
+ }
58
+ },
59
+ "KPuzzleOrbitDefinition": {
60
+ "type": "object",
61
+ "required": ["orbitName", "numPieces", "numOrientations"],
62
+ "additionalProperties": false,
63
+ "properties": {
64
+ "orbitName": {
65
+ "type": "string"
66
+ },
67
+ "numPieces": {
68
+ "type": "number"
69
+ },
70
+ "numOrientations": {
71
+ "type": "number"
72
+ }
73
+ }
74
+ },
75
+ "KPuzzleDefinition": {
76
+ "type": "object",
77
+ "required": ["name", "orbits", "defaultPattern", "moves"],
78
+ "additionalProperties": false,
79
+ "properties": {
80
+ "$schema": {
81
+ "type": "string"
82
+ },
83
+ "name": {
84
+ "type": "string"
85
+ },
86
+ "orbits": {
87
+ "type": "array",
88
+ "items": {
89
+ "$ref": "#/definitions/KPuzzleOrbitDefinition"
90
+ }
91
+ },
92
+ "defaultPattern": {
93
+ "$ref": "#/definitions/KPatternData"
94
+ },
95
+ "moves": {
96
+ "type": "object",
97
+ "additionalProperties": {
98
+ "$ref": "#/definitions/KTransformationData"
99
+ }
100
+ },
101
+ "derivedMoves": {
102
+ "type": "object",
103
+ "additionalProperties": {
104
+ "$ref": "#/definitions/AlgString"
105
+ }
106
+ },
107
+ "experimentalPuzzleDescription": {
108
+ "type": "object"
109
+ }
110
+ }
111
+ }
112
+ },
113
+ "$ref": "#/definitions/KPuzzleDefinition"
114
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "definitions": {
4
+ "numbers": {
5
+ "type": "array",
6
+ "items": {
7
+ "type": "number"
8
+ }
9
+ },
10
+ "KTransformationOrbitData": {
11
+ "type": "object",
12
+ "required": ["permutation", "orientationDelta"],
13
+ "additionalProperties": false,
14
+ "properties": {
15
+ "permutation": {
16
+ "$ref": "#/definitions/numbers"
17
+ },
18
+ "orientationDelta": {
19
+ "$ref": "#/definitions/numbers"
20
+ }
21
+ }
22
+ },
23
+ "KTransformationData": {
24
+ "type": "object",
25
+ "properties": {
26
+ "$schema": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "additionalProperties": {
31
+ "$ref": "#/definitions/KTransformationOrbitData"
32
+ }
33
+ }
34
+ },
35
+ "$ref": "#/definitions/KTransformationData"
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cubing",
3
- "version": "0.54.3",
3
+ "version": "0.54.4",
4
4
  "description": "A collection of JavaScript cubing libraries.",
5
5
  "author": "The js.cubing.net team",
6
6
  "type": "module",
@@ -92,6 +92,7 @@
92
92
  "files": [
93
93
  "./dist/bin/",
94
94
  "./dist/lib/",
95
+ "./experimental-json-schema",
95
96
  "*/index.d.ts"
96
97
  ],
97
98
  "scripts": {