shinkansen-transmission 2.4.0 → 2.4.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/package.json +4 -4
- package/src/transmission/common/index.d.mts +2 -2
- package/src/transmission/common/index.mjs +97 -100
- package/src/transmission/from-document-to-hash/boolean/index.mjs +4 -1
- package/src/transmission/from-document-to-hash/index.mjs +15 -8
- package/src/transmission/from-document-to-hash/null/index.mjs +4 -1
- package/src/transmission/from-document-to-hash/number/index.mjs +4 -1
- package/src/transmission/from-document-to-hash/string/index.mjs +2 -5
- package/src/transmission/from-hash-to-document/boolean/index.mjs +5 -5
- package/src/transmission/from-hash-to-document/index.mjs +13 -13
- package/src/transmission/from-hash-to-document/null/index.mjs +5 -5
- package/src/transmission/from-hash-to-document/number/index.mjs +5 -5
- package/src/transmission/from-hash-to-document/string/index.mjs +5 -5
- package/src/transmission/to-zashiki/params/index.mjs +8 -8
- package/src/transmission/to-zashiki/render/array/index.mjs +20 -20
- package/src/transmission/to-zashiki/render/boolean/index.mjs +25 -25
- package/src/transmission/to-zashiki/render/null/index.mjs +25 -25
- package/src/transmission/to-zashiki/render/number/index.mjs +25 -25
- package/src/transmission/to-zashiki/render/object/index.mjs +20 -20
- package/src/transmission/to-zashiki/render/string/index.mjs +25 -25
- package/src/transmission/to-zashiki/render-params/schema/index.mjs +15 -15
- package/src/transmission/to-zashiki/transform-root-schema.mjs +6 -2
- package/src/transmission/to-zashiki/transform-schema.mjs +147 -129
@@ -23,7 +23,7 @@ const log = debug('shinkansen-transmission/from-document-to-hash/string')
|
|
23
23
|
log('`shinkansen` is awake')
|
24
24
|
|
25
25
|
/**
|
26
|
-
* Document can be
|
26
|
+
* Document can be undefined
|
27
27
|
*
|
28
28
|
* @param {DocumentType} [document]
|
29
29
|
* @param {SchemaType} [schema]
|
@@ -37,14 +37,11 @@ export default function transformStringSchema (document, schema = {}, hash = {},
|
|
37
37
|
|
38
38
|
if (hasEnum(schema)) {
|
39
39
|
/**
|
40
|
-
* https://json-schema.org/draft/2019-09/json-schema-validation#rfc.section.6.1.2
|
40
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-validation#rfc.section.6.1.2
|
41
41
|
*/
|
42
42
|
const array = getEnum(schema)
|
43
43
|
const value = transformIndexToValueByFindValue(array, document)
|
44
44
|
|
45
|
-
/**
|
46
|
-
* `document` is the string representation of an value to an item in the `enum`
|
47
|
-
*/
|
48
45
|
hash[uri] = value
|
49
46
|
|
50
47
|
return hash
|
@@ -51,8 +51,8 @@ export function transformBoolean (hash, schema, parentUri, uri) {
|
|
51
51
|
* log('transformBoolean')
|
52
52
|
*/
|
53
53
|
|
54
|
-
if (uri in hash) {
|
55
|
-
const document = hash[uri]
|
54
|
+
if (uri in hash) {
|
55
|
+
const document = hash[uri]
|
56
56
|
|
57
57
|
if (hasEnum(schema)) {
|
58
58
|
const array = getEnum(schema)
|
@@ -101,8 +101,6 @@ export function transformBoolean (hash, schema, parentUri, uri) {
|
|
101
101
|
}
|
102
102
|
|
103
103
|
/**
|
104
|
-
* Hash can be `undefined`
|
105
|
-
*
|
106
104
|
* @param {HashType} [hash]
|
107
105
|
* @param {SchemaType} [schema]
|
108
106
|
* @param {ParamsType} [params]
|
@@ -115,7 +113,9 @@ export default function transformBooleanSchema (hash = {}, schema = {}, params =
|
|
115
113
|
type
|
116
114
|
} = schema
|
117
115
|
|
118
|
-
|
116
|
+
/**
|
117
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
118
|
+
*/
|
119
119
|
if (type === 'boolean') {
|
120
120
|
const {
|
121
121
|
uri: parentUri = '#'
|
@@ -130,8 +130,8 @@ function transformItemsArrayFor (hash, itemSchemas = [], parentUri = '#', uri =
|
|
130
130
|
* log('transformItemsArrayFor')
|
131
131
|
*/
|
132
132
|
|
133
|
-
if (uri in hash) {
|
134
|
-
const document = hash[uri]
|
133
|
+
if (uri in hash) {
|
134
|
+
const document = hash[uri]
|
135
135
|
|
136
136
|
if (isArray(document)) {
|
137
137
|
return itemSchemas.map((itemSchema, i) => fromHashToDocument(hash, itemSchema, uri, getUri(uri, i)))
|
@@ -158,8 +158,8 @@ function transformItemsObjectFor (hash, itemSchema = {}, parentUri = '#', uri =
|
|
158
158
|
* log('transformItemsObjectFor')
|
159
159
|
*/
|
160
160
|
|
161
|
-
if (uri in hash) {
|
162
|
-
const document = hash[uri]
|
161
|
+
if (uri in hash) {
|
162
|
+
const document = hash[uri]
|
163
163
|
|
164
164
|
if (isArray(document)) {
|
165
165
|
return fromHashToDocument(hash, itemSchema, uri, uri)
|
@@ -243,8 +243,6 @@ export function transformArray (hash, schema, parentUri, uri) {
|
|
243
243
|
}
|
244
244
|
|
245
245
|
/**
|
246
|
-
* Hash can be `undefined`
|
247
|
-
*
|
248
246
|
* @param {HashType} [hash]
|
249
247
|
* @param {SchemaType} [schema]
|
250
248
|
* @param {ParamsType} [params]
|
@@ -257,7 +255,9 @@ export function transformArraySchema (hash = {}, schema = {}, params = {}) {
|
|
257
255
|
type
|
258
256
|
} = schema
|
259
257
|
|
260
|
-
|
258
|
+
/**
|
259
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
260
|
+
*/
|
261
261
|
if (type === 'array') {
|
262
262
|
const {
|
263
263
|
uri: parentUri = '#',
|
@@ -358,8 +358,6 @@ export function transformObject (hash, schema, parentUri, uri) {
|
|
358
358
|
}
|
359
359
|
|
360
360
|
/**
|
361
|
-
* Hash can be `undefined`
|
362
|
-
*
|
363
361
|
* @param {HashType} [hash]
|
364
362
|
* @param {SchemaType} [schema]
|
365
363
|
* @param {ParamsType} [params]
|
@@ -372,7 +370,9 @@ export function transformObjectSchema (hash = {}, schema = {}, params = {}) {
|
|
372
370
|
type
|
373
371
|
} = schema
|
374
372
|
|
375
|
-
|
373
|
+
/**
|
374
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
375
|
+
*/
|
376
376
|
if (type === 'object') {
|
377
377
|
const {
|
378
378
|
uri: parentUri = '#',
|
@@ -386,8 +386,6 @@ export function transformObjectSchema (hash = {}, schema = {}, params = {}) {
|
|
386
386
|
}
|
387
387
|
|
388
388
|
/**
|
389
|
-
* Hash can be `undefined`
|
390
|
-
*
|
391
389
|
* @param {HashType} [hash]
|
392
390
|
* @param {SchemaType} [schema]
|
393
391
|
* @param {string} [parentUri]
|
@@ -401,7 +399,9 @@ export default function fromHashToDocument (hash = {}, schema = {}, parentUri =
|
|
401
399
|
type
|
402
400
|
} = schema
|
403
401
|
|
404
|
-
|
402
|
+
/**
|
403
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
404
|
+
*/
|
405
405
|
switch (type) {
|
406
406
|
case 'string':
|
407
407
|
return transformString(hash, schema, parentUri, uri)
|
@@ -51,8 +51,8 @@ export function transformNull (hash, schema, parentUri, uri) {
|
|
51
51
|
* log('transformNull')
|
52
52
|
*/
|
53
53
|
|
54
|
-
if (uri in hash) {
|
55
|
-
const document = hash[uri]
|
54
|
+
if (uri in hash) {
|
55
|
+
const document = hash[uri]
|
56
56
|
|
57
57
|
if (hasEnum(schema)) {
|
58
58
|
const array = getEnum(schema)
|
@@ -101,8 +101,6 @@ export function transformNull (hash, schema, parentUri, uri) {
|
|
101
101
|
}
|
102
102
|
|
103
103
|
/**
|
104
|
-
* Hash can be `undefined`
|
105
|
-
*
|
106
104
|
* @param {HashType} [hash]
|
107
105
|
* @param {SchemaType} [schema]
|
108
106
|
* @param {ParamsType} [params]
|
@@ -115,7 +113,9 @@ export default function transformNullSchema (hash = {}, schema = {}, params = {}
|
|
115
113
|
type
|
116
114
|
} = schema
|
117
115
|
|
118
|
-
|
116
|
+
/**
|
117
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
118
|
+
*/
|
119
119
|
if (type === 'null') {
|
120
120
|
const {
|
121
121
|
uri: parentUri = '#'
|
@@ -51,8 +51,8 @@ export function transformNumber (hash, schema, parentUri, uri) {
|
|
51
51
|
* log('transformNumber')
|
52
52
|
*/
|
53
53
|
|
54
|
-
if (uri in hash) {
|
55
|
-
const document = hash[uri]
|
54
|
+
if (uri in hash) {
|
55
|
+
const document = hash[uri]
|
56
56
|
|
57
57
|
if (hasEnum(schema)) {
|
58
58
|
const array = getEnum(schema)
|
@@ -101,8 +101,6 @@ export function transformNumber (hash, schema, parentUri, uri) {
|
|
101
101
|
}
|
102
102
|
|
103
103
|
/**
|
104
|
-
* Hash can be `undefined`
|
105
|
-
*
|
106
104
|
* @param {HashType} [hash]
|
107
105
|
* @param {SchemaType} [schema]
|
108
106
|
* @param {ParamsType} [params]
|
@@ -115,7 +113,9 @@ export default function transformNumberSchema (hash = {}, schema = {}, params =
|
|
115
113
|
type
|
116
114
|
} = schema
|
117
115
|
|
118
|
-
|
116
|
+
/**
|
117
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
118
|
+
*/
|
119
119
|
if (type === 'number') {
|
120
120
|
const {
|
121
121
|
uri: parentUri = '#'
|
@@ -56,8 +56,8 @@ export function transformString (hash, schema, parentUri, uri) {
|
|
56
56
|
* log('transformString')
|
57
57
|
*/
|
58
58
|
|
59
|
-
if (uri in hash) {
|
60
|
-
const document = hash[uri]
|
59
|
+
if (uri in hash) {
|
60
|
+
const document = hash[uri]
|
61
61
|
|
62
62
|
if (hasEnum(schema)) {
|
63
63
|
const array = getEnum(schema)
|
@@ -106,8 +106,6 @@ export function transformString (hash, schema, parentUri, uri) {
|
|
106
106
|
}
|
107
107
|
|
108
108
|
/**
|
109
|
-
* Hash can be `undefined`
|
110
|
-
*
|
111
109
|
* @param {HashType} [hash]
|
112
110
|
* @param {SchemaType} [schema]
|
113
111
|
* @param {ParamsType} [params]
|
@@ -120,7 +118,9 @@ export default function transformStringSchema (hash = {}, schema = {}, params =
|
|
120
118
|
type
|
121
119
|
} = schema
|
122
120
|
|
123
|
-
|
121
|
+
/**
|
122
|
+
* @link https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
|
123
|
+
*/
|
124
124
|
if (type === 'string') {
|
125
125
|
const {
|
126
126
|
uri: parentUri = '#'
|
@@ -30,7 +30,7 @@ log('`shinkansen` is awake')
|
|
30
30
|
* @returns {ParamsType}
|
31
31
|
*/
|
32
32
|
export function getParamsByKeyForEnum (schema, rootSchema, values, params) {
|
33
|
-
|
33
|
+
/*
|
34
34
|
* log('getParamsByKeyForAnyOf')
|
35
35
|
*/
|
36
36
|
|
@@ -82,7 +82,7 @@ export function getParamsByKeyForEnum (schema, rootSchema, values, params) {
|
|
82
82
|
* @returns {ParamsType}
|
83
83
|
*/
|
84
84
|
export function getParamsByKeyForAnyOf (schema, rootSchema, values, params) {
|
85
|
-
|
85
|
+
/*
|
86
86
|
* log('getParamsByKeyForAnyOf')
|
87
87
|
*/
|
88
88
|
|
@@ -134,7 +134,7 @@ export function getParamsByKeyForAnyOf (schema, rootSchema, values, params) {
|
|
134
134
|
* @returns {ParamsType}
|
135
135
|
*/
|
136
136
|
export function getParamsByKeyForOneOf (schema, rootSchema, values, params) {
|
137
|
-
|
137
|
+
/*
|
138
138
|
* log('getParamsByKeyForOneOf')
|
139
139
|
*/
|
140
140
|
|
@@ -186,7 +186,7 @@ export function getParamsByKeyForOneOf (schema, rootSchema, values, params) {
|
|
186
186
|
* @returns {ParamsType}
|
187
187
|
*/
|
188
188
|
export function getParamsByKey (schema, rootSchema, values, params) {
|
189
|
-
|
189
|
+
/*
|
190
190
|
* log('getParamsByKey')
|
191
191
|
*/
|
192
192
|
|
@@ -232,7 +232,7 @@ export function getParamsByKey (schema, rootSchema, values, params) {
|
|
232
232
|
* @returns {ParamsType}
|
233
233
|
*/
|
234
234
|
export function getParamsByIndexForEnum (schema, rootSchema, values, params) {
|
235
|
-
|
235
|
+
/*
|
236
236
|
* log('getParamsByIndexForEnum')
|
237
237
|
*/
|
238
238
|
|
@@ -280,7 +280,7 @@ export function getParamsByIndexForEnum (schema, rootSchema, values, params) {
|
|
280
280
|
* @returns {ParamsType}
|
281
281
|
*/
|
282
282
|
export function getParamsByIndexForAnyOf (schema, rootSchema, values, params) {
|
283
|
-
|
283
|
+
/*
|
284
284
|
* log('getParamsByIndexForAnyOf')
|
285
285
|
*/
|
286
286
|
|
@@ -328,7 +328,7 @@ export function getParamsByIndexForAnyOf (schema, rootSchema, values, params) {
|
|
328
328
|
* @returns {ParamsType}
|
329
329
|
*/
|
330
330
|
export function getParamsByIndexForOneOf (schema, rootSchema, values, params) {
|
331
|
-
|
331
|
+
/*
|
332
332
|
* log('getParamsByIndexForOneOf')
|
333
333
|
*/
|
334
334
|
|
@@ -376,7 +376,7 @@ export function getParamsByIndexForOneOf (schema, rootSchema, values, params) {
|
|
376
376
|
* @returns {ParamsType}
|
377
377
|
*/
|
378
378
|
export function getParamsByIndex (schema, rootSchema, values, params) {
|
379
|
-
|
379
|
+
/*
|
380
380
|
* log('getParamsByIndex')
|
381
381
|
*/
|
382
382
|
|
@@ -49,7 +49,7 @@ log('`shinkansen` is awake')
|
|
49
49
|
* @returns {ZashikiArrayMetaType}
|
50
50
|
*/
|
51
51
|
export function renderArrayMetaForEnum (params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
52
|
-
|
52
|
+
/*
|
53
53
|
* log('renderArrayMetaForEnum')
|
54
54
|
*/
|
55
55
|
|
@@ -89,7 +89,7 @@ export function renderArrayMetaForEnum (params, uri, minItems, maxItems, hasUniq
|
|
89
89
|
* @returns {ZashikiArrayMetaType}
|
90
90
|
*/
|
91
91
|
export function renderArrayMetaForAnyOf (params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
92
|
-
|
92
|
+
/*
|
93
93
|
* log('renderArrayMetaForAnyOf')
|
94
94
|
*/
|
95
95
|
|
@@ -129,7 +129,7 @@ export function renderArrayMetaForAnyOf (params, uri, minItems, maxItems, hasUni
|
|
129
129
|
* @returns {ZashikiArrayMetaType}
|
130
130
|
*/
|
131
131
|
export function renderArrayMetaForOneOf (params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
132
|
-
|
132
|
+
/*
|
133
133
|
* log('renderArrayMetaForOneOf')
|
134
134
|
*/
|
135
135
|
|
@@ -169,7 +169,7 @@ export function renderArrayMetaForOneOf (params, uri, minItems, maxItems, hasUni
|
|
169
169
|
* @returns {ZashikiArrayMetaType}
|
170
170
|
*/
|
171
171
|
export function renderArrayMetaForAllOf (params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
172
|
-
|
172
|
+
/*
|
173
173
|
* log('renderArrayMetaForAllOf')
|
174
174
|
*/
|
175
175
|
|
@@ -209,7 +209,7 @@ export function renderArrayMetaForAllOf (params, uri, minItems, maxItems, hasUni
|
|
209
209
|
* @returns {ZashikiArrayMetaType}
|
210
210
|
*/
|
211
211
|
export function renderArrayMeta (params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
212
|
-
|
212
|
+
/*
|
213
213
|
* log('renderArrayMeta')
|
214
214
|
*/
|
215
215
|
|
@@ -250,7 +250,7 @@ export function renderArrayMeta (params, uri, minItems, maxItems, hasUniqueItems
|
|
250
250
|
* @returns {EnumType}
|
251
251
|
*/
|
252
252
|
export function renderArrayElementsFieldForEnum (field, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
253
|
-
|
253
|
+
/*
|
254
254
|
* log('renderArrayElementsFieldForEnum')
|
255
255
|
*/
|
256
256
|
|
@@ -284,7 +284,7 @@ export function renderArrayElementsFieldForEnum (field, params, uri, minItems, m
|
|
284
284
|
* @returns {AnyOfType}
|
285
285
|
*/
|
286
286
|
export function renderArrayElementsFieldForAnyOf (field, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
287
|
-
|
287
|
+
/*
|
288
288
|
* log('renderArrayElementsFieldForAnyOf')
|
289
289
|
*/
|
290
290
|
|
@@ -318,7 +318,7 @@ export function renderArrayElementsFieldForAnyOf (field, params, uri, minItems,
|
|
318
318
|
* @returns {OneOfType}
|
319
319
|
*/
|
320
320
|
export function renderArrayElementsFieldForOneOf (field, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
321
|
-
|
321
|
+
/*
|
322
322
|
* log('renderArrayElementsFieldForOneOf')
|
323
323
|
*/
|
324
324
|
|
@@ -352,7 +352,7 @@ export function renderArrayElementsFieldForOneOf (field, params, uri, minItems,
|
|
352
352
|
* @returns {FieldType}
|
353
353
|
*/
|
354
354
|
export function renderArrayElementsFieldForAllOf (field, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
355
|
-
|
355
|
+
/*
|
356
356
|
* log('renderArrayElementsFieldForAllOf')
|
357
357
|
*/
|
358
358
|
|
@@ -380,7 +380,7 @@ export function renderArrayElementsFieldForAllOf (field, params, uri, minItems,
|
|
380
380
|
* @returns {ObjectLiteralType | ObjectType}
|
381
381
|
*/
|
382
382
|
export function getArrayElements (elements, schema) {
|
383
|
-
|
383
|
+
/*
|
384
384
|
* log('getArrayElements')
|
385
385
|
*/
|
386
386
|
|
@@ -405,7 +405,7 @@ export function getArrayElements (elements, schema) {
|
|
405
405
|
* @returns {ZashikiArrayElementsType}
|
406
406
|
*/
|
407
407
|
export function renderArrayElementsForEnum (schema, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
408
|
-
|
408
|
+
/*
|
409
409
|
* log('renderArrayElementsForEnum')
|
410
410
|
*/
|
411
411
|
|
@@ -441,7 +441,7 @@ export function renderArrayElementsForEnum (schema, params, uri, minItems, maxIt
|
|
441
441
|
* @returns {ZashikiArrayElementsType}
|
442
442
|
*/
|
443
443
|
export function renderArrayElementsForAnyOf (schema, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
444
|
-
|
444
|
+
/*
|
445
445
|
* log('renderArrayElementsForAnyOf')
|
446
446
|
*/
|
447
447
|
|
@@ -477,7 +477,7 @@ export function renderArrayElementsForAnyOf (schema, params, uri, minItems, maxI
|
|
477
477
|
* @returns {ZashikiArrayElementsType}
|
478
478
|
*/
|
479
479
|
export function renderArrayElementsForOneOf (schema, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
480
|
-
|
480
|
+
/*
|
481
481
|
* log('renderArrayElementsForOneOf')
|
482
482
|
*/
|
483
483
|
|
@@ -513,7 +513,7 @@ export function renderArrayElementsForOneOf (schema, params, uri, minItems, maxI
|
|
513
513
|
* @returns {ZashikiArrayElementsType}
|
514
514
|
*/
|
515
515
|
export function renderArrayElementsForAllOf (schema, params, uri, minItems, maxItems, hasUniqueItems, minContains, maxContains) {
|
516
|
-
|
516
|
+
/*
|
517
517
|
* log('renderArrayElementsForAllOf')
|
518
518
|
*/
|
519
519
|
|
@@ -543,7 +543,7 @@ export function renderArrayElementsForAllOf (schema, params, uri, minItems, maxI
|
|
543
543
|
* @returns {ZashikiArrayElementsType}
|
544
544
|
*/
|
545
545
|
export function renderArrayElements (schema, params) {
|
546
|
-
|
546
|
+
/*
|
547
547
|
* log('renderArrayElements')
|
548
548
|
*/
|
549
549
|
|
@@ -575,7 +575,7 @@ export function renderArrayElements (schema, params) {
|
|
575
575
|
* @returns {ZashikiArrayType}
|
576
576
|
*/
|
577
577
|
export function renderArrayForEnum (schema, values, params) {
|
578
|
-
|
578
|
+
/*
|
579
579
|
* log('renderArrayForEnum')
|
580
580
|
*/
|
581
581
|
|
@@ -607,7 +607,7 @@ export function renderArrayForEnum (schema, values, params) {
|
|
607
607
|
* @returns {ZashikiArrayType}
|
608
608
|
*/
|
609
609
|
export function renderArrayForAnyOf (schema, values, params) {
|
610
|
-
|
610
|
+
/*
|
611
611
|
* log('renderArrayForAnyOf')
|
612
612
|
*/
|
613
613
|
|
@@ -639,7 +639,7 @@ export function renderArrayForAnyOf (schema, values, params) {
|
|
639
639
|
* @returns {ZashikiArrayType}
|
640
640
|
*/
|
641
641
|
export function renderArrayForOneOf (schema, values, params) {
|
642
|
-
|
642
|
+
/*
|
643
643
|
* log('renderArrayForOneOf')
|
644
644
|
*/
|
645
645
|
|
@@ -671,7 +671,7 @@ export function renderArrayForOneOf (schema, values, params) {
|
|
671
671
|
* @returns {ZashikiArrayType}
|
672
672
|
*/
|
673
673
|
export function renderArrayForAllOf (schema, values, params) {
|
674
|
-
|
674
|
+
/*
|
675
675
|
* log('renderArrayForAllOf')
|
676
676
|
*/
|
677
677
|
|
@@ -701,7 +701,7 @@ export function renderArrayForAllOf (schema, values, params) {
|
|
701
701
|
* @returns {ZashikiArrayType}
|
702
702
|
*/
|
703
703
|
export function renderArray (schema, values, params) {
|
704
|
-
|
704
|
+
/*
|
705
705
|
* log('renderArray')
|
706
706
|
*/
|
707
707
|
|
@@ -43,7 +43,7 @@ log('`shinkansen` is awake')
|
|
43
43
|
* @returns {ZashikiBooleanMetaType}
|
44
44
|
*/
|
45
45
|
export function renderBooleanMetaForEnum (params, uri) {
|
46
|
-
|
46
|
+
/*
|
47
47
|
* log('renderBooleanMetaForEnum')
|
48
48
|
*/
|
49
49
|
|
@@ -73,7 +73,7 @@ export function renderBooleanMetaForEnum (params, uri) {
|
|
73
73
|
* @returns {ZashikiBooleanMetaType}
|
74
74
|
*/
|
75
75
|
export function renderBooleanMetaForAnyOf (params, uri) {
|
76
|
-
|
76
|
+
/*
|
77
77
|
* log('renderBooleanMetaForAnyOf')
|
78
78
|
*/
|
79
79
|
|
@@ -103,7 +103,7 @@ export function renderBooleanMetaForAnyOf (params, uri) {
|
|
103
103
|
* @returns {ZashikiBooleanMetaType}
|
104
104
|
*/
|
105
105
|
export function renderBooleanMetaForOneOf (params, uri) {
|
106
|
-
|
106
|
+
/*
|
107
107
|
* log('renderBooleanMetaForOneOf')
|
108
108
|
*/
|
109
109
|
|
@@ -135,7 +135,7 @@ export function renderBooleanMetaForOneOf (params, uri) {
|
|
135
135
|
* @returns {ZashikiBooleanMetaType}
|
136
136
|
*/
|
137
137
|
export function getBooleanMetaForAllOf (schema, values, params, uri) {
|
138
|
-
|
138
|
+
/*
|
139
139
|
* log('renderBooleanMetaForAllOf')
|
140
140
|
*/
|
141
141
|
|
@@ -172,7 +172,7 @@ export function getBooleanMetaForAllOf (schema, values, params, uri) {
|
|
172
172
|
* @returns {ZashikiBooleanMetaType}
|
173
173
|
*/
|
174
174
|
export function renderBooleanMetaForAllOf (schema, values, params, uri) {
|
175
|
-
|
175
|
+
/*
|
176
176
|
* log('renderBooleanMetaForAllOf')
|
177
177
|
*/
|
178
178
|
|
@@ -209,7 +209,7 @@ export function renderBooleanMetaForAllOf (schema, values, params, uri) {
|
|
209
209
|
* @returns {ZashikiBooleanMetaType}
|
210
210
|
*/
|
211
211
|
export function getBooleanMeta (schema, values, params, uri) {
|
212
|
-
|
212
|
+
/*
|
213
213
|
* log('getBooleanMeta')
|
214
214
|
*/
|
215
215
|
|
@@ -246,7 +246,7 @@ export function getBooleanMeta (schema, values, params, uri) {
|
|
246
246
|
* @returns {ZashikiBooleanMetaType}
|
247
247
|
*/
|
248
248
|
export function renderBooleanMeta (schema, values, params, uri) {
|
249
|
-
|
249
|
+
/*
|
250
250
|
* log('renderBooleanMeta')
|
251
251
|
*/
|
252
252
|
|
@@ -282,7 +282,7 @@ export function renderBooleanMeta (schema, values, params, uri) {
|
|
282
282
|
* @returns {EnumType}
|
283
283
|
*/
|
284
284
|
export function renderBooleanElementsFieldForEnum (field, params, uri) {
|
285
|
-
|
285
|
+
/*
|
286
286
|
* log('renderBooleanElementsFieldForEnum')
|
287
287
|
*/
|
288
288
|
|
@@ -304,7 +304,7 @@ export function renderBooleanElementsFieldForEnum (field, params, uri) {
|
|
304
304
|
* @returns {AnyOfType}
|
305
305
|
*/
|
306
306
|
export function renderBooleanElementsFieldForAnyOf (field, params, uri) {
|
307
|
-
|
307
|
+
/*
|
308
308
|
* log('renderBooleanElementsFieldForAnyOf')
|
309
309
|
*/
|
310
310
|
|
@@ -326,7 +326,7 @@ export function renderBooleanElementsFieldForAnyOf (field, params, uri) {
|
|
326
326
|
* @returns {OneOfType}
|
327
327
|
*/
|
328
328
|
export function renderBooleanElementsFieldForOneOf (field, params, uri) {
|
329
|
-
|
329
|
+
/*
|
330
330
|
* log('renderBooleanElementsFieldForOneOf')
|
331
331
|
*/
|
332
332
|
|
@@ -350,7 +350,7 @@ export function renderBooleanElementsFieldForOneOf (field, params, uri) {
|
|
350
350
|
* @returns {ObjectLiteralType | ObjectType}
|
351
351
|
*/
|
352
352
|
export function getBooleanElementsFieldForAllOf (field, schema, values, params, uri) {
|
353
|
-
|
353
|
+
/*
|
354
354
|
* log('getBooleanElementsFieldForAllOf')
|
355
355
|
*/
|
356
356
|
|
@@ -375,7 +375,7 @@ export function getBooleanElementsFieldForAllOf (field, schema, values, params,
|
|
375
375
|
* @returns {FieldType}
|
376
376
|
*/
|
377
377
|
export function renderBooleanElementsFieldForAllOf (field, schema, values, params, uri) {
|
378
|
-
|
378
|
+
/*
|
379
379
|
* log('renderBooleanElementsFieldForAllOf')
|
380
380
|
*/
|
381
381
|
|
@@ -418,7 +418,7 @@ export function renderBooleanElementsFieldForAllOf (field, schema, values, param
|
|
418
418
|
* @returns {ObjectLiteralType | ObjectType}
|
419
419
|
*/
|
420
420
|
export function getBooleanElementsField (field, schema, values, params, uri) {
|
421
|
-
|
421
|
+
/*
|
422
422
|
* log('getBooleanElementsField')
|
423
423
|
*/
|
424
424
|
|
@@ -443,7 +443,7 @@ export function getBooleanElementsField (field, schema, values, params, uri) {
|
|
443
443
|
* @returns {FieldType}
|
444
444
|
*/
|
445
445
|
export function renderBooleanElementsField (field, schema, values, params, uri) {
|
446
|
-
|
446
|
+
/*
|
447
447
|
* log('renderBooleanElementsField')
|
448
448
|
*/
|
449
449
|
|
@@ -483,7 +483,7 @@ export function renderBooleanElementsField (field, schema, values, params, uri)
|
|
483
483
|
* @returns {ObjectLiteralType | ObjectType}
|
484
484
|
*/
|
485
485
|
export function getBooleanElements (elements, schema) {
|
486
|
-
|
486
|
+
/*
|
487
487
|
* log('getBooleanElements')
|
488
488
|
*/
|
489
489
|
|
@@ -503,7 +503,7 @@ export function getBooleanElements (elements, schema) {
|
|
503
503
|
* @returns {ZashikiBooleanElementsType}
|
504
504
|
*/
|
505
505
|
export function renderBooleanElementsForEnum (schema, params, uri) {
|
506
|
-
|
506
|
+
/*
|
507
507
|
* log('renderBooleanElementsForEnum')
|
508
508
|
*/
|
509
509
|
|
@@ -534,7 +534,7 @@ export function renderBooleanElementsForEnum (schema, params, uri) {
|
|
534
534
|
* @returns {ZashikiBooleanElementsType}
|
535
535
|
*/
|
536
536
|
export function renderBooleanElementsForAnyOf (schema, params, uri) {
|
537
|
-
|
537
|
+
/*
|
538
538
|
* log('renderBooleanElementsForAnyOf')
|
539
539
|
*/
|
540
540
|
|
@@ -565,7 +565,7 @@ export function renderBooleanElementsForAnyOf (schema, params, uri) {
|
|
565
565
|
* @returns {ZashikiBooleanElementsType}
|
566
566
|
*/
|
567
567
|
export function renderBooleanElementsForOneOf (schema, params, uri) {
|
568
|
-
|
568
|
+
/*
|
569
569
|
* log('renderBooleanElementsForOneOf')
|
570
570
|
*/
|
571
571
|
|
@@ -597,7 +597,7 @@ export function renderBooleanElementsForOneOf (schema, params, uri) {
|
|
597
597
|
* @returns {ZashikiBooleanElementsType}
|
598
598
|
*/
|
599
599
|
export function renderBooleanElementsForAllOf (schema, values, params, uri) {
|
600
|
-
|
600
|
+
/*
|
601
601
|
* log('renderBooleanElementsForAllOf')
|
602
602
|
*/
|
603
603
|
|
@@ -629,7 +629,7 @@ export function renderBooleanElementsForAllOf (schema, values, params, uri) {
|
|
629
629
|
* @returns {ZashikiBooleanElementsType}
|
630
630
|
*/
|
631
631
|
export function renderBooleanElements (schema, values, params, uri) {
|
632
|
-
|
632
|
+
/*
|
633
633
|
* log('renderBooleanElements')
|
634
634
|
*/
|
635
635
|
|
@@ -662,7 +662,7 @@ export function renderBooleanElements (schema, values, params, uri) {
|
|
662
662
|
* @returns {ZashikiBooleanType}
|
663
663
|
*/
|
664
664
|
export function renderBooleanForEnum (schema, values, params) {
|
665
|
-
|
665
|
+
/*
|
666
666
|
* log('renderBooleanForEnum')
|
667
667
|
*/
|
668
668
|
|
@@ -688,7 +688,7 @@ export function renderBooleanForEnum (schema, values, params) {
|
|
688
688
|
* @returns {ZashikiBooleanType}
|
689
689
|
*/
|
690
690
|
export function renderBooleanForAnyOf (schema, values, params) {
|
691
|
-
|
691
|
+
/*
|
692
692
|
* log('renderBooleanForAnyOf')
|
693
693
|
*/
|
694
694
|
|
@@ -714,7 +714,7 @@ export function renderBooleanForAnyOf (schema, values, params) {
|
|
714
714
|
* @returns {ZashikiBooleanType}
|
715
715
|
*/
|
716
716
|
export function renderBooleanForOneOf (schema, values, params) {
|
717
|
-
|
717
|
+
/*
|
718
718
|
* log('renderBooleanForAnyOf')
|
719
719
|
*/
|
720
720
|
|
@@ -740,7 +740,7 @@ export function renderBooleanForOneOf (schema, values, params) {
|
|
740
740
|
* @returns {ZashikiBooleanType}
|
741
741
|
*/
|
742
742
|
export function renderBooleanForAllOf (schema, values, params) {
|
743
|
-
|
743
|
+
/*
|
744
744
|
* log('renderBooleanForAllOf')
|
745
745
|
*/
|
746
746
|
|
@@ -764,7 +764,7 @@ export function renderBooleanForAllOf (schema, values, params) {
|
|
764
764
|
* @returns {ZashikiBooleanType}
|
765
765
|
*/
|
766
766
|
export function renderBoolean (schema, values, params) {
|
767
|
-
|
767
|
+
/*
|
768
768
|
* log('renderBoolean')
|
769
769
|
*/
|
770
770
|
|