@geode/opengeodeweb-viewer 0.1.0-rc.1 → 0.1.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/generate_schemas.js +0 -1
- package/package.json +1 -1
- package/schemas.json +28 -9
package/generate_schemas.js
CHANGED
|
@@ -2,7 +2,6 @@ const fs = require("fs");
|
|
|
2
2
|
const path = require("path");
|
|
3
3
|
const glob = require("glob");
|
|
4
4
|
const process = require("process");
|
|
5
|
-
const { log } = require("console");
|
|
6
5
|
|
|
7
6
|
const findDirectoryPath = (targetDirectoryName) => {
|
|
8
7
|
const pathToCheck = path.join(process.cwd(), targetDirectoryName);
|
package/package.json
CHANGED
package/schemas.json
CHANGED
|
@@ -95,13 +95,19 @@
|
|
|
95
95
|
"type": "string"
|
|
96
96
|
},
|
|
97
97
|
"red": {
|
|
98
|
-
"type": "
|
|
98
|
+
"type": "integer",
|
|
99
|
+
"minimum": 0,
|
|
100
|
+
"maximum": 255
|
|
99
101
|
},
|
|
100
102
|
"green": {
|
|
101
|
-
"type": "
|
|
103
|
+
"type": "integer",
|
|
104
|
+
"minimum": 0,
|
|
105
|
+
"maximum": 255
|
|
102
106
|
},
|
|
103
107
|
"blue": {
|
|
104
|
-
"type": "
|
|
108
|
+
"type": "integer",
|
|
109
|
+
"minimum": 0,
|
|
110
|
+
"maximum": 255
|
|
105
111
|
}
|
|
106
112
|
},
|
|
107
113
|
"required": [
|
|
@@ -137,7 +143,7 @@
|
|
|
137
143
|
"type": "string"
|
|
138
144
|
},
|
|
139
145
|
"size": {
|
|
140
|
-
"type": "
|
|
146
|
+
"type": "number"
|
|
141
147
|
}
|
|
142
148
|
},
|
|
143
149
|
"required": [
|
|
@@ -152,10 +158,10 @@
|
|
|
152
158
|
"type": "object",
|
|
153
159
|
"properties": {
|
|
154
160
|
"x": {
|
|
155
|
-
"type": "
|
|
161
|
+
"type": "integer"
|
|
156
162
|
},
|
|
157
163
|
"y": {
|
|
158
|
-
"type": "
|
|
164
|
+
"type": "integer"
|
|
159
165
|
}
|
|
160
166
|
},
|
|
161
167
|
"required": [
|
|
@@ -205,8 +211,8 @@
|
|
|
205
211
|
"additionalProperties": false
|
|
206
212
|
},
|
|
207
213
|
"apply_textures": {
|
|
208
|
-
"$id": "opengeodeweb_viewer.
|
|
209
|
-
"rpc": "
|
|
214
|
+
"$id": "opengeodeweb_viewer.apply_textures",
|
|
215
|
+
"rpc": "apply_textures",
|
|
210
216
|
"type": "object",
|
|
211
217
|
"properties": {
|
|
212
218
|
"id": {
|
|
@@ -215,7 +221,20 @@
|
|
|
215
221
|
"textures": {
|
|
216
222
|
"type": "array",
|
|
217
223
|
"elements": {
|
|
218
|
-
"type": "
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"texture_name": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"texture_file_name": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"texture_name",
|
|
235
|
+
"texture_file_name"
|
|
236
|
+
],
|
|
237
|
+
"additionalProperties": false
|
|
219
238
|
},
|
|
220
239
|
"minItems": 1
|
|
221
240
|
}
|