@keymanapp/common-types 17.0.203-alpha → 17.0.205-alpha

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,356 @@
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30317f0e-4945-5baf-8825-e80472b6f0f7")}catch(e){}}();
2
+ export default {
3
+ "$schema": "http://json-schema.org/schema#",
4
+ "$ref": "#/definitions/package",
5
+ "definitions": {
6
+ "package": {
7
+ "type": "object",
8
+ "properties": {
9
+ "system": {
10
+ "$ref": "#/definitions/system"
11
+ },
12
+ "options": {
13
+ "$ref": "#/definitions/options"
14
+ },
15
+ "startMenu": {
16
+ "$ref": "#/definitions/startMenu"
17
+ },
18
+ "strings": {
19
+ "$ref": "#/definitions/strings"
20
+ },
21
+ "files": {
22
+ "$ref": "#/definitions/files"
23
+ },
24
+ "keyboards": {
25
+ "$ref": "#/definitions/keyboards"
26
+ },
27
+ "lexicalModels": {
28
+ "$ref": "#/definitions/lexicalModels"
29
+ },
30
+ "info": {
31
+ "$ref": "#/definitions/info"
32
+ },
33
+ "relatedPackages": {
34
+ "type": "array",
35
+ "items": {
36
+ "$ref": "#/definitions/relatedPackage"
37
+ }
38
+ }
39
+ },
40
+ "additionalProperties": false,
41
+ "required": [
42
+ "options",
43
+ "system"
44
+ ]
45
+ },
46
+ "system": {
47
+ "type": "object",
48
+ "properties": {
49
+ "keymanDeveloperVersion": {
50
+ "type": "string"
51
+ },
52
+ "fileVersion": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "additionalProperties": false,
57
+ "required": [
58
+ "fileVersion"
59
+ ]
60
+ },
61
+ "options": {
62
+ "type": "object",
63
+ "properties": {
64
+ "readmeFile": {
65
+ "type": "string"
66
+ },
67
+ "graphicFile": {
68
+ "type": "string"
69
+ },
70
+ "licenseFile": {
71
+ "type": "string"
72
+ },
73
+ "welcomeFile": {
74
+ "type": "string"
75
+ },
76
+ "executeProgram": {
77
+ "type": "string"
78
+ },
79
+ "msiFilename": {
80
+ "type": "string"
81
+ },
82
+ "msiOptions": {
83
+ "type": "string"
84
+ }
85
+ },
86
+ "additionalProperties": false
87
+ },
88
+ "startMenu": {
89
+ "type": "object",
90
+ "properties": {
91
+ "folder": {
92
+ "type": "string"
93
+ },
94
+ "addUninstallEntry": {
95
+ "type": "boolean"
96
+ },
97
+ "items": {
98
+ "type": "array",
99
+ "items": {
100
+ "$ref": "#/definitions/startMenuItem"
101
+ }
102
+ }
103
+ },
104
+ "additionalProperties": false
105
+ },
106
+ "startMenuItem": {
107
+ "type": "object",
108
+ "properties": {
109
+ "name": {
110
+ "type": "string"
111
+ },
112
+ "filename": {
113
+ "type": "string"
114
+ },
115
+ "arguments": {
116
+ "type": "string"
117
+ },
118
+ "icon": {
119
+ "type": "string"
120
+ },
121
+ "location": {
122
+ "type": "number"
123
+ }
124
+ },
125
+ "additionalProperties": false,
126
+ "required": [
127
+ "name",
128
+ "filename"
129
+ ]
130
+ },
131
+ "strings": {
132
+ "type": "object",
133
+ "patternProperties": {
134
+ ".": {
135
+ "type": "string"
136
+ }
137
+ },
138
+ "additionalProperties": false
139
+ },
140
+ "files": {
141
+ "type": "array",
142
+ "items": {
143
+ "$ref": "#/definitions/file"
144
+ }
145
+ },
146
+ "file": {
147
+ "type": "object",
148
+ "properties": {
149
+ "name": {
150
+ "type": "string"
151
+ },
152
+ "description": {
153
+ "type": "string"
154
+ },
155
+ "copyLocation": {
156
+ "type": "number"
157
+ }
158
+ },
159
+ "additionalProperties": false,
160
+ "required": [
161
+ "name",
162
+ "description"
163
+ ]
164
+ },
165
+ "keyboards": {
166
+ "type": "array",
167
+ "items": {
168
+ "$ref": "#/definitions/keyboard"
169
+ }
170
+ },
171
+ "keyboard": {
172
+ "type": "object",
173
+ "properties": {
174
+ "name": {
175
+ "type": "string"
176
+ },
177
+ "id": {
178
+ "type": "string"
179
+ },
180
+ "version": {
181
+ "type": "string"
182
+ },
183
+ "oskFont": {
184
+ "type": "string"
185
+ },
186
+ "displayFont": {
187
+ "type": "string"
188
+ },
189
+ "rtl": {
190
+ "type": "boolean"
191
+ },
192
+ "languages": {
193
+ "type": "array",
194
+ "items": {
195
+ "$ref": "#/definitions/keyboardLanguage"
196
+ }
197
+ },
198
+ "examples": {
199
+ "type": "array",
200
+ "items": {
201
+ "$ref": "#/definitions/keyboardExample"
202
+ }
203
+ },
204
+ "webOskFonts": {
205
+ "type": "array",
206
+ "items": {
207
+ "type": "string"
208
+ }
209
+ },
210
+ "webDisplayFonts": {
211
+ "type": "array",
212
+ "items": {
213
+ "type": "string"
214
+ }
215
+ }
216
+ },
217
+ "additionalProperties": false,
218
+ "required": [
219
+ "name",
220
+ "id",
221
+ "version"
222
+ ]
223
+ },
224
+ "keyboardLanguage": {
225
+ "type": "object",
226
+ "properties": {
227
+ "name": {
228
+ "type": "string"
229
+ },
230
+ "id": {
231
+ "type": "string"
232
+ }
233
+ },
234
+ "additionalProperties": false,
235
+ "required": [
236
+ "id",
237
+ "name"
238
+ ]
239
+ },
240
+ "info": {
241
+ "type": "object",
242
+ "properties": {
243
+ "website": {
244
+ "$ref": "#/definitions/infoItem"
245
+ },
246
+ "version": {
247
+ "$ref": "#/definitions/infoItem"
248
+ },
249
+ "name": {
250
+ "$ref": "#/definitions/infoItem"
251
+ },
252
+ "copyright": {
253
+ "$ref": "#/definitions/infoItem"
254
+ },
255
+ "author": {
256
+ "$ref": "#/definitions/infoItem"
257
+ },
258
+ "description": {
259
+ "$ref": "#/definitions/infoItem"
260
+ }
261
+ },
262
+ "additionalProperties": false
263
+ },
264
+ "infoItem": {
265
+ "type": "object",
266
+ "properties": {
267
+ "description": {
268
+ "type": "string"
269
+ },
270
+ "url": {
271
+ "type": "string"
272
+ }
273
+ },
274
+ "additionalProperties": false,
275
+ "required": [
276
+ "description"
277
+ ]
278
+ },
279
+ "lexicalModels": {
280
+ "type": "array",
281
+ "items": {
282
+ "$ref": "#/definitions/lexicalModel"
283
+ }
284
+ },
285
+ "lexicalModel": {
286
+ "type": "object",
287
+ "properties": {
288
+ "name": {
289
+ "type": "string"
290
+ },
291
+ "id": {
292
+ "type": "string"
293
+ },
294
+ "version": {
295
+ "type": "string"
296
+ },
297
+ "rtl": {
298
+ "type": "boolean"
299
+ },
300
+ "languages": {
301
+ "type": "array",
302
+ "items": {
303
+ "$ref": "#/definitions/keyboardLanguage"
304
+ }
305
+ }
306
+ },
307
+ "additionalProperties": false,
308
+ "required": [
309
+ "name",
310
+ "id",
311
+ "languages"
312
+ ]
313
+ },
314
+ "keyboardExample": {
315
+ "type": "object",
316
+ "properties": {
317
+ "id": {
318
+ "type": "string"
319
+ },
320
+ "keys": {
321
+ "type": "string"
322
+ },
323
+ "text": {
324
+ "type": "string"
325
+ },
326
+ "note": {
327
+ "type": "string"
328
+ }
329
+ },
330
+ "additionalProperties": false,
331
+ "required": [
332
+ "id",
333
+ "keys"
334
+ ]
335
+ },
336
+ "relatedPackage": {
337
+ "type": "object",
338
+ "properties": {
339
+ "id": {
340
+ "type": "string"
341
+ },
342
+ "relationship": {
343
+ "type": "string",
344
+ "enum": ["deprecates", "related"]
345
+ }
346
+ },
347
+ "additionalProperties": false,
348
+ "required": [
349
+ "id",
350
+ "relationship"
351
+ ]
352
+ }
353
+ }
354
+ };
355
+ //# debugId=30317f0e-4945-5baf-8825-e80472b6f0f7
356
+ //# sourceMappingURL=kmp.schema.js.map
@@ -0,0 +1 @@
1
+ {"debug_id":"30317f0e-4945-5baf-8825-e80472b6f0f7","file":"kmp.schema.js","mappings":";AAAA,eACA;IACE,SAAS,EAAE,gCAAgC;IAC3C,MAAM,EAAE,uBAAuB;IAC/B,aAAa,EAAE;QACb,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE;gBACZ,QAAQ,EAAE;oBACR,MAAM,EAAE,sBAAsB;iBA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AQ;YAChB,YAAY,EAAE;gBACZ,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;iBACjB;gBACD,MAAM,EAAE;oBACN,MAAM,EAAE,QAAQ;iBACjB;gBACD,MAAM,EAAE;oBACN,MAAM,EAAE,QAAQ;iBACjB;gBACD,MAAM,EAAE;oBACN,MAAM,EAAE,QAAQ;iBACjB;aACF;YACD,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,IAAI;gBACJ,MAAM;aACP;SACF;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE;gBACZ,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;iBACjB;gBACD,cAAc,EAAE;oBACd,MAAM,EAAE,QAAQ;oBAChB,MAAM,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC;iBAClC;aACF;YACD,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,IAAI;gBACJ,cAAc;aACf;SACF;KACF;CACF,CAAA","names":[],"sourceRoot":"","sources":["../../../src/schemas/kmp.schema.ts"],"version":3}
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=kmp.schema.validator.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kmp.schema.validator.d.mts","sourceRoot":"","sources":["../../../src/schemas/kmp.schema.validator.mjs"],"names":[],"mappings":""}