quicktype 23.0.73 → 23.0.74
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/dist/index.js +9 -6
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -279,7 +279,7 @@ function makeOptionDefinitions(targetLanguages) {
|
|
|
279
279
|
name: "lang",
|
|
280
280
|
alias: "l",
|
|
281
281
|
type: String,
|
|
282
|
-
typeLabel:
|
|
282
|
+
typeLabel: "LANG",
|
|
283
283
|
description: "The target language."
|
|
284
284
|
}
|
|
285
285
|
];
|
|
@@ -289,7 +289,7 @@ function makeOptionDefinitions(targetLanguages) {
|
|
|
289
289
|
alias: "s",
|
|
290
290
|
type: String,
|
|
291
291
|
defaultValue: undefined,
|
|
292
|
-
typeLabel: "
|
|
292
|
+
typeLabel: "SRC_LANG",
|
|
293
293
|
description: "The source language (default is json)."
|
|
294
294
|
},
|
|
295
295
|
{
|
|
@@ -405,10 +405,11 @@ const tableOptionsForOptions = {
|
|
|
405
405
|
columns: [
|
|
406
406
|
{
|
|
407
407
|
name: "option",
|
|
408
|
-
width:
|
|
408
|
+
width: 60
|
|
409
409
|
},
|
|
410
410
|
{
|
|
411
|
-
name: "description"
|
|
411
|
+
name: "description",
|
|
412
|
+
width: 60
|
|
412
413
|
}
|
|
413
414
|
]
|
|
414
415
|
};
|
|
@@ -418,9 +419,11 @@ function makeSectionsBeforeRenderers(targetLanguages) {
|
|
|
418
419
|
{
|
|
419
420
|
header: "Synopsis",
|
|
420
421
|
content: [
|
|
421
|
-
`$ quicktype [${chalk_1.default.bold("--lang")} LANG] [${chalk_1.default.bold("--out")} FILE] FILE|URL ...`,
|
|
422
|
+
`$ quicktype [${chalk_1.default.bold("--lang")} LANG] [${chalk_1.default.bold("--src-lang")} SRC_LANG] [${chalk_1.default.bold("--out")} FILE] FILE|URL ...`,
|
|
422
423
|
"",
|
|
423
|
-
` LANG ... ${makeLangTypeLabel(targetLanguages)}
|
|
424
|
+
` LANG ... ${makeLangTypeLabel(targetLanguages)}`,
|
|
425
|
+
"",
|
|
426
|
+
"SRC_LANG ... json|schema|graphql|postman|typescript"
|
|
424
427
|
]
|
|
425
428
|
},
|
|
426
429
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quicktype",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.74",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"graphql": "^0.11.7",
|
|
32
32
|
"lodash": "^4.17.21",
|
|
33
33
|
"moment": "^2.29.4",
|
|
34
|
-
"quicktype-core": "23.0.
|
|
35
|
-
"quicktype-graphql-input": "23.0.
|
|
36
|
-
"quicktype-typescript-input": "23.0.
|
|
34
|
+
"quicktype-core": "23.0.74",
|
|
35
|
+
"quicktype-graphql-input": "23.0.74",
|
|
36
|
+
"quicktype-typescript-input": "23.0.74",
|
|
37
37
|
"readable-stream": "^4.4.2",
|
|
38
38
|
"stream-json": "1.8.0",
|
|
39
39
|
"string-to-stream": "^3.0.1",
|