wisp-schema 0.14.4 → 0.15.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.
- checksums.yaml +4 -4
- data/lib/wisp-schema.rb +1 -1
- data/nouns.json +36 -12
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 977b8fbf0af2cbd4cdce4de8c42c0471084c9641716b624af5b5ce986c1ed4ac
|
|
4
|
+
data.tar.gz: a6b561710fad1baf38ba235a359ba30623cd8851e5a9d21ddb3fd1f654cb1473
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c08c38b4f8d9f79a08b2e967f536f44c554772d40c08c65e072cd6982375297625c195bba54008093113ac49dd30d5e8aee6f08ff07758da6ceb5cd73bd955e
|
|
7
|
+
data.tar.gz: 0e31cc4970c190fecf282016c14bddc4942b86dad62d84544afc88d1338be31169f4203de83a6fd77ffb63dfeca54e5dd50d408f7e4336d39fed1056f8fe1a5d
|
data/lib/wisp-schema.rb
CHANGED
data/nouns.json
CHANGED
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"type": {
|
|
10
10
|
"enum": ["button"]
|
|
11
11
|
},
|
|
12
|
-
"label": {"title": "Label", "type": "string"}
|
|
12
|
+
"label": {"title": "Label", "type": "string"},
|
|
13
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
14
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
13
15
|
},
|
|
14
16
|
"additionalProperties": false,
|
|
15
17
|
"required": ["type", "label"]
|
|
@@ -22,7 +24,9 @@
|
|
|
22
24
|
"type": {
|
|
23
25
|
"enum": ["text_field"]
|
|
24
26
|
},
|
|
25
|
-
"label": {"title": "Label", "type": "string"}
|
|
27
|
+
"label": {"title": "Label", "type": "string"},
|
|
28
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
29
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
26
30
|
},
|
|
27
31
|
"additionalProperties": false,
|
|
28
32
|
"required": ["type", "label"]
|
|
@@ -35,7 +39,9 @@
|
|
|
35
39
|
"type": {
|
|
36
40
|
"enum": ["dropdown"]
|
|
37
41
|
},
|
|
38
|
-
"label": {"title": "Label", "type": "string"}
|
|
42
|
+
"label": {"title": "Label", "type": "string"},
|
|
43
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
44
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
39
45
|
},
|
|
40
46
|
"additionalProperties": false,
|
|
41
47
|
"required": ["type", "label"]
|
|
@@ -48,7 +54,9 @@
|
|
|
48
54
|
"type": {
|
|
49
55
|
"enum": ["dropdown_option"]
|
|
50
56
|
},
|
|
51
|
-
"label": {"title": "Label", "type": "string"}
|
|
57
|
+
"label": {"title": "Label", "type": "string"},
|
|
58
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
59
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
52
60
|
},
|
|
53
61
|
"additionalProperties": false,
|
|
54
62
|
"required": ["type", "label"]
|
|
@@ -61,7 +69,9 @@
|
|
|
61
69
|
"type": {
|
|
62
70
|
"enum": ["link"]
|
|
63
71
|
},
|
|
64
|
-
"text": {"title": "Text", "type": "string"}
|
|
72
|
+
"text": {"title": "Text", "type": "string"},
|
|
73
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
74
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
65
75
|
},
|
|
66
76
|
"additionalProperties": false,
|
|
67
77
|
"required": ["type", "text"]
|
|
@@ -74,7 +84,9 @@
|
|
|
74
84
|
"type": {
|
|
75
85
|
"enum": ["icon"]
|
|
76
86
|
},
|
|
77
|
-
"description": {"title": "Description", "type": "string"}
|
|
87
|
+
"description": {"title": "Description", "type": "string"},
|
|
88
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
89
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
78
90
|
},
|
|
79
91
|
"additionalProperties": false,
|
|
80
92
|
"required": ["type", "description"]
|
|
@@ -87,7 +99,9 @@
|
|
|
87
99
|
"type": {
|
|
88
100
|
"enum": ["checkbox"]
|
|
89
101
|
},
|
|
90
|
-
"label": {"title": "Label", "type": "string"}
|
|
102
|
+
"label": {"title": "Label", "type": "string"},
|
|
103
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
104
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
91
105
|
},
|
|
92
106
|
"additionalProperties": false,
|
|
93
107
|
"required": ["type", "label"]
|
|
@@ -100,7 +114,9 @@
|
|
|
100
114
|
"type": {
|
|
101
115
|
"enum": ["header"]
|
|
102
116
|
},
|
|
103
|
-
"text": {"title": "Text", "type": "string"}
|
|
117
|
+
"text": {"title": "Text", "type": "string"},
|
|
118
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
119
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
104
120
|
},
|
|
105
121
|
"additionalProperties": false,
|
|
106
122
|
"required": ["type", "text"]
|
|
@@ -113,7 +129,9 @@
|
|
|
113
129
|
"type": {
|
|
114
130
|
"enum": ["window"]
|
|
115
131
|
},
|
|
116
|
-
"description": {"title": "Description", "type": "string"}
|
|
132
|
+
"description": {"title": "Description", "type": "string"},
|
|
133
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
134
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
117
135
|
},
|
|
118
136
|
"additionalProperties": false,
|
|
119
137
|
"required": ["type", "description"]
|
|
@@ -126,7 +144,9 @@
|
|
|
126
144
|
"type": {
|
|
127
145
|
"enum": ["modal"]
|
|
128
146
|
},
|
|
129
|
-
"description": {"title": "Description", "type": "string"}
|
|
147
|
+
"description": {"title": "Description", "type": "string"},
|
|
148
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
149
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
130
150
|
},
|
|
131
151
|
"additionalProperties": false,
|
|
132
152
|
"required": ["type", "description"]
|
|
@@ -139,7 +159,9 @@
|
|
|
139
159
|
"type": {
|
|
140
160
|
"enum": ["text"]
|
|
141
161
|
},
|
|
142
|
-
"text": {"title": "Text", "type": "string"}
|
|
162
|
+
"text": {"title": "Text", "type": "string"},
|
|
163
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
164
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
143
165
|
},
|
|
144
166
|
"additionalProperties": false,
|
|
145
167
|
"required": ["type", "text"]
|
|
@@ -152,7 +174,9 @@
|
|
|
152
174
|
"type": {
|
|
153
175
|
"enum": ["ui_element"]
|
|
154
176
|
},
|
|
155
|
-
"element": {"title": "Element", "type": "string"}
|
|
177
|
+
"element": {"title": "Element", "type": "string"},
|
|
178
|
+
"focus_x": {"title": "Focus offset for x-axis from top left corner", "type": "integer", "options": {"hidden": true}},
|
|
179
|
+
"focus_y": {"title": "Focus offset for y-axis from top left corner", "type": "integer", "options": {"hidden": true}}
|
|
156
180
|
},
|
|
157
181
|
"additionalProperties": false,
|
|
158
182
|
"required": ["type", "element"]
|