@schemastore/specif-1.0 1.0.1 → 1.0.2
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/README.md +1 -1
- package/index.d.ts +3 -49
- package/package.json +1 -1
package/README.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -57,14 +57,6 @@ export type DataTypeDouble = 'xs:double';
|
|
|
57
57
|
* Optional use by dataType 'xs:double', indicates the number of decimals.
|
|
58
58
|
*/
|
|
59
59
|
export type NumberOfFractionDigitsOfADecimalNumber = number;
|
|
60
|
-
/**
|
|
61
|
-
* Optional use by dataTypes 'xs:integer' and 'xs:double'.
|
|
62
|
-
*/
|
|
63
|
-
export type MinimumValueOfANumber1 = number;
|
|
64
|
-
/**
|
|
65
|
-
* Optional use by dataTypes 'xs:integer' and 'xs:double'.
|
|
66
|
-
*/
|
|
67
|
-
export type MaximumValueOfANumber1 = number;
|
|
68
60
|
/**
|
|
69
61
|
* The corresponding definition in https://www.w3.org/TR/xmlschema-2/ resp. https://www.w3.org/TR/xhtml1/ applies.
|
|
70
62
|
*/
|
|
@@ -212,44 +204,6 @@ export type AlternativeIds = (
|
|
|
212
204
|
[k: string]: unknown | undefined;
|
|
213
205
|
}
|
|
214
206
|
)[];
|
|
215
|
-
/**
|
|
216
|
-
* The next hierarchy level.
|
|
217
|
-
*/
|
|
218
|
-
export type Nodes1 = {
|
|
219
|
-
id: Id;
|
|
220
|
-
/**
|
|
221
|
-
* The node's label; if missing, the title of the referenced resource is applied.
|
|
222
|
-
*/
|
|
223
|
-
title?:
|
|
224
|
-
| string
|
|
225
|
-
| {
|
|
226
|
-
/**
|
|
227
|
-
* A string containing some text.
|
|
228
|
-
*/
|
|
229
|
-
text: string;
|
|
230
|
-
/**
|
|
231
|
-
* An IETF language tag such as 'en', 'en-US, 'fr' or 'de'.
|
|
232
|
-
*/
|
|
233
|
-
language: string;
|
|
234
|
-
}[];
|
|
235
|
-
description?: Value;
|
|
236
|
-
/**
|
|
237
|
-
* The pointer to the resource to be displayed at this position.
|
|
238
|
-
*/
|
|
239
|
-
resource:
|
|
240
|
-
| string
|
|
241
|
-
| {
|
|
242
|
-
id: Id;
|
|
243
|
-
revision?: Revision;
|
|
244
|
-
[k: string]: unknown | undefined;
|
|
245
|
-
};
|
|
246
|
-
nodes?: Nodes1;
|
|
247
|
-
revision?: Revision;
|
|
248
|
-
replaces?: Replaces;
|
|
249
|
-
changedAt: DateTime;
|
|
250
|
-
changedBy?: string;
|
|
251
|
-
[k: string]: unknown | undefined;
|
|
252
|
-
}[];
|
|
253
207
|
/**
|
|
254
208
|
* A list of hierarchies with pointers to resources; may be nested to build a tree, i.e. a hierarchy of pointers.
|
|
255
209
|
*/
|
|
@@ -281,7 +235,7 @@ export type Nodes = {
|
|
|
281
235
|
revision?: Revision;
|
|
282
236
|
[k: string]: unknown | undefined;
|
|
283
237
|
};
|
|
284
|
-
nodes?:
|
|
238
|
+
nodes?: Nodes;
|
|
285
239
|
revision?: Revision;
|
|
286
240
|
replaces?: Replaces;
|
|
287
241
|
changedAt: DateTime;
|
|
@@ -366,8 +320,8 @@ export interface JSONSchemaForSpecIFV10 {
|
|
|
366
320
|
title: Value;
|
|
367
321
|
description?: Value;
|
|
368
322
|
fractionDigits?: NumberOfFractionDigitsOfADecimalNumber;
|
|
369
|
-
minInclusive?:
|
|
370
|
-
maxInclusive?:
|
|
323
|
+
minInclusive?: MinimumValueOfANumber;
|
|
324
|
+
maxInclusive?: MaximumValueOfANumber;
|
|
371
325
|
revision?: Revision;
|
|
372
326
|
replaces?: Replaces;
|
|
373
327
|
changedAt: DateTime;
|
package/package.json
CHANGED