@json-layout/vocabulary 2.9.0 → 2.9.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@json-layout/vocabulary",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "Main JSON Layout vocabulary as JSON schemas and Typescript types. Also contains some small utility functions to validate and normalize annotations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
package/src/normalize.js
CHANGED
|
@@ -615,7 +615,7 @@ function getCompObject (key, layoutKeyword, schemaFragment, type, nullable, sche
|
|
|
615
615
|
}
|
|
616
616
|
} else if (options.useDescription.includes('hint')) {
|
|
617
617
|
hintParts.push(schemaFragment.description)
|
|
618
|
-
} else if (schemaChild
|
|
618
|
+
} else if (!schemaChild && options.useDescription.includes('help')) {
|
|
619
619
|
helpParts.push(schemaFragment.description)
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @typedef {import('./types.js').SwitchStruct} SwitchStruct
|
|
4
4
|
* @typedef {import('./types.js').BaseCompObject} BaseCompObject
|
|
5
5
|
* @typedef {import('./types.js').SelectItem} SelectItem
|
|
6
|
+
* @typedef {import('./types.js').SelectItemHeader} SelectItemHeader
|
|
6
7
|
* @typedef {import('./types.js').SelectItems} SelectItems
|
|
7
8
|
* @typedef {import('./types.js').GetItemsFetch} GetItemsFetch
|
|
8
9
|
* @typedef {import('./types.js').Child} Child
|
|
@@ -21,6 +21,7 @@ export type NormalizedLayout = import("./types.js").NormalizedLayout;
|
|
|
21
21
|
export type SwitchStruct = import("./types.js").SwitchStruct;
|
|
22
22
|
export type BaseCompObject = import("./types.js").BaseCompObject;
|
|
23
23
|
export type SelectItem = import("./types.js").SelectItem;
|
|
24
|
+
export type SelectItemHeader = import("./types.js").SelectItemHeader;
|
|
24
25
|
export type SelectItems = import("./types.js").SelectItems;
|
|
25
26
|
export type GetItemsFetch = import("./types.js").GetItemsFetch;
|
|
26
27
|
export type Child = import("./types.js").Child;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/normalized-layout/index.js"],"names":[],"mappings":"AAyBW,uCAAS,gBAAgB,GAAK,MAAM,IAAI,YAAY,CAAA;AAKpD,qCAAS,gBAAgB,GAAK,MAAM,IAAI,cAAc,CAAA;AAKtD,kDAAQ,KAAK,GAAK,KAAK,IAAI,KAAK,GAAG,mBAAmB,CAAA;AAKtD,6CAAQ,KAAK,GAAK,KAAK,IAAI,KAAK,GAAG,cAAc,CAAA;AAKjD,0CAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,mBAAmB,CAAA;AAK1H,qCAAS,cAAc,GAAK,MAAM,IAAI,OAAO,wBAAwB,EAAE,IAAI,CAAA;AAK3E,0CAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,mBAAmB,CAAA;AAK1H,sCAAS,cAAc,cAAc,MAAM,CAAC,MAAM,EAAE,OAAO,aAAa,EAAE,aAAa,CAAC,GAAK,MAAM,IAAI,oBAAoB,CAAA;AAK3H,+CAAW,QAAQ,GAAK,QAAQ,IAAI,UAAU,CAAA;AAK9C,0CAAW,QAAQ,GAAK,QAAQ,IAAI,aAAa,CAAA;AAKjD,iCAAO,IAAI,GAAK,IAAI,IAAI;IAAC,IAAI,EAAE,MAAM,CAAA;CAAC,CAAA;AAMtC,qCAAO,IAAI,GAAK,IAAI,IAAI;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAA;AAM1C,iCAAO,IAAI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