@idle-screens/schema 2.3.0 → 2.4.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/FORMAT.md +24 -9
- package/dist/index.d.ts +43 -9
- package/dist/index.js +77 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/saver-spec.schema.json +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idle-screens/schema",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Declarative, agent-authorable saver format for idle-screens: validate a data spec, then compile it into a runnable, seeded, flash-safe SaverPlugin.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Shawn Partridge",
|
package/saver-spec.schema.json
CHANGED
|
@@ -147,7 +147,13 @@
|
|
|
147
147
|
},
|
|
148
148
|
"description": "Sinusoidal opacity breathing. Per-entity seeded phase — a layer can never strobe in unison."
|
|
149
149
|
},
|
|
150
|
-
"spin": {
|
|
150
|
+
"spin": {
|
|
151
|
+
"description": "Per-entity rotation speed in degrees/sec (positive = clockwise). A scalar applies one speed to all entities; a [min,max] range gives each entity a seeded speed. Each entity gets a seeded starting angle.",
|
|
152
|
+
"oneOf": [
|
|
153
|
+
{ "type": "number", "minimum": -360, "maximum": 360 },
|
|
154
|
+
{ "type": "array", "items": { "type": "number", "minimum": -360, "maximum": 360 }, "minItems": 2, "maxItems": 2 }
|
|
155
|
+
]
|
|
156
|
+
},
|
|
151
157
|
"grow": {
|
|
152
158
|
"type": "object",
|
|
153
159
|
"required": ["amp", "period"],
|