cedar-model-typescript-library 1.0.9 → 1.0.10
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/index.esm.js +1 -1
- package/index.esm.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.umd.js +1 -1
- package/index.umd.js.map +1 -1
- package/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.d.ts +13 -0
- package/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11,5 +11,18 @@ export declare abstract class YamlContainerArtifactReader extends YamlAbstractAr
|
|
|
11
11
|
protected constructor(behavior: YamlReaderBehavior, isCompact?: boolean);
|
|
12
12
|
protected abstract getElementReader(): YamlTemplateElementReader;
|
|
13
13
|
protected readAndValidateChildrenInfo(container: AbstractContainerArtifact, elementSourceObject: JsonNode, _parsingResult: YamlArtifactParsingResult, path: JsonPath): void;
|
|
14
|
+
/**
|
|
15
|
+
* What the container says about a child, given what the document states and what the child says
|
|
16
|
+
* about itself.
|
|
17
|
+
*
|
|
18
|
+
* A container carries a label and a description for each of its children, and YAML writes one
|
|
19
|
+
* only where it differs from the child's own, since an `overrideLabel` repeating the child's name
|
|
20
|
+
* would state that name twice. Reading the absence as though the container had said nothing loses
|
|
21
|
+
* the entry rather than the repetition, and a template written as YAML and read back came out as
|
|
22
|
+
* JSON with a thinner `_ui` than the JSON it was made from. So the child's own value stands in
|
|
23
|
+
* wherever the document overrides nothing, which is what the Java library's YAML reader does, and
|
|
24
|
+
* what makes the two return the same model from the same document.
|
|
25
|
+
*/
|
|
26
|
+
private static entryFor;
|
|
14
27
|
}
|
|
15
28
|
//# sourceMappingURL=YamlContainerArtifactReader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YamlContainerArtifactReader.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAKnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAKxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAK3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;
|
|
1
|
+
{"version":3,"file":"YamlContainerArtifactReader.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAKnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAKxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAK3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AAGxG,8BAAsB,2BAA4B,SAAQ,0BAA0B;IAClF,SAAS,CAAC,WAAW,EAAE,uBAAuB,CAAC;IAE/C,SAAS,aAAa,QAAQ,EAAE,kBAAkB,EAAE,SAAS,GAAE,OAAe;IAO9E,SAAS,CAAC,QAAQ,CAAC,gBAAgB,IAAI,yBAAyB;IAEhE,SAAS,CAAC,2BAA2B,CACnC,SAAS,EAAE,yBAAyB,EACpC,mBAAmB,EAAE,QAAQ,EAC7B,cAAc,EAAE,yBAAyB,EACzC,IAAI,EAAE,QAAQ;IAoHhB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ;CAGxB"}
|
package/package.json
CHANGED