cedar-model-typescript-library 1.0.17 → 1.0.19

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.
@@ -1 +1 @@
1
- {"version":3,"file":"YamlContainerArtifactReader.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.ts"],"names":[],"mappings":"AACA,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;AAM3F,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;IAgIhB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ;CAGxB"}
1
+ {"version":3,"file":"YamlContainerArtifactReader.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/io/reader/yaml/YamlContainerArtifactReader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EA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O,GAAG,QAAQ,EAAE;IAqClG,OAAO,CAAC,iBAAiB;CA2F1B"}
1
+ {"version":3,"file":"YamlAbstractContainerArtifactWriter.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/io/writer/yaml/YamlAbstractContainerArtifactWriter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAG3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ1E,8BAAsB,mCAAoC,SAAQ,0BAA0B;IAC1F,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,yBAAyB,EAAE,SAAS,EAAE,OAAO,GAAG,QAAQ,EAAE;IAqClG,OAAO,CAAC,iBAAiB;CAyF1B"}
@@ -3,15 +3,15 @@ import { UiInputType } from '../types/wrapped-types/UiInputType';
3
3
  import { NullableString } from '../types/basic-types/NullableString';
4
4
  export declare abstract class AbstractChildDeploymentInfo {
5
5
  /**
6
- * What a multi-instance child takes when it states no lower bound of its own: one instance.
6
+ * The lower bound a repeated child takes when it states none of its own: zero, which is what an
7
+ * absent `minItems` means in JSON Schema.
7
8
  *
8
- * A rule of the model rather than of a serialization, so a reader that fills it in and a writer
9
- * that leaves it out agree on it. Zero would say the array may be empty, which is a different
10
- * contract and one the meta-schema takes literally, and it is not what the system stores: every
11
- * such child in production carries one. An attribute-value child is the exception, and answers
12
- * for itself.
9
+ * A rule of the model rather than of a serialization, so the JSON and YAML forms mean the same
10
+ * thing by an absent bound. Both writers state the bound of every repeated child, so only a
11
+ * document written by hand relies on it. An authoring tool that wants a repeated child to start
12
+ * with an occurrence states that bound itself.
13
13
  */
14
- static readonly defaultMinItems = 1;
14
+ static readonly defaultMinItems = 0;
15
15
  protected readonly _name: string;
16
16
  protected _atType: CedarArtifactType;
17
17
  protected _uiInputType: UiInputType;
@@ -19,11 +19,11 @@ export declare class ChildDeploymentInfoAlwaysMultiple extends AbstractFieldChil
19
19
  * with either, and choosing nothing from one is a state a reader can mean. An occupant there
20
20
  * would stand for a selection nobody made, and reaches a host as a null entry in the value
21
21
  * array. An attribute-value field starts with none for its own reason: requiring one would mean
22
- * requiring an attribute nobody has named yet.
22
+ * requiring an attribute nobody has named yet, so its builder refuses a minimum above 0.
23
23
  *
24
- * A child someone marked multiple is the other case, and takes
25
- * `AbstractChildDeploymentInfo.defaultMinItems`. Most templates leave the bounds out and the
26
- * default is all there is — but a template may state them, and then the statement stands.
24
+ * A child someone marked multiple starts with none as well when it states no bound, since
25
+ * `AbstractChildDeploymentInfo.defaultMinItems` is zero for every repeated child. A template may
26
+ * state a bound for either, and then the statement stands.
27
27
  *
28
28
  * The JSON writer reads these same accessors — see `WriterUtil.getMultiMinMax`
29
29
  * — so a reader of the parsed model and a writer of the JSON cannot drift
@@ -1 +1 @@
1
- {"version":3,"file":"ChildDeploymentInfoAlwaysMultiple.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/model/cedar/deployment/ChildDeploymentInfoAlwaysMultiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAEtF,qBAAa,iCAAkC,SAAQ,gCAAgC;IACrF,OAAO,CAAC,iBAAiB,CAAwB;IACjD,OAAO,CAAC,iBAAiB,CAAwB;WAEnC,KAAK,IAAI,iCAAiC;gBAI5C,IAAI,EAAE,MAAM;IAIxB,eAAe,IAAI,OAAO;IAI1B,IAAI,gBAAgB,IAAI,cAAc,CAErC;IAED,IAAI,gBAAgB,IAAI,cAAc,CAErC;IAED,IAAI,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAEzC;IAED,IAAI,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAEzC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAa,QAAQ,IAAI,cAAc,CAKtC;IAED,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,IAAa,QAAQ,IAAI,cAAc,CAEtC;CACF"}
1
+ {"version":3,"file":"ChildDeploymentInfoAlwaysMultiple.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/model/cedar/deployment/ChildDeploymentInfoAlwaysMultiple.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAEtF,qBAAa,iCAAkC,SAAQ,gCAAgC;IACrF,OAAO,CAAC,iBAAiB,CAAwB;IACjD,OAAO,CAAC,iBAAiB,CAAwB;WAEnC,KAAK,IAAI,iCAAiC;gBAI5C,IAAI,EAAE,MAAM;IAIxB,eAAe,IAAI,OAAO;IAI1B,IAAI,gBAAgB,IAAI,cAAc,CAErC;IAED,IAAI,gBAAgB,IAAI,cAAc,CAErC;IAED,IAAI,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAEzC;IAED,IAAI,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAEzC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAa,QAAQ,IAAI,cAAc,CAKtC;IAED,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,IAAa,QAAQ,IAAI,cAAc,CAEtC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChildDeploymentInfoAlwaysMultipleBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/model/cedar/deployment/ChildDeploymentInfoAlwaysMultipleBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAEpG,qBAAa,wCAAyC,SAAQ,uCAAuC;IACnG,OAAO,CAAC,gBAAgB,CAAwB;IAChD,OAAO,CAAC,gBAAgB,CAAwB;gBAEpC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM;IAI9C;;;;;OAKG;IACI,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAK5C,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAK5C,KAAK,IAAI,iCAAiC;CAQlD"}
1
+ {"version":3,"file":"ChildDeploymentInfoAlwaysMultipleBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/org/metadatacenter/model/cedar/deployment/ChildDeploymentInfoAlwaysMultipleBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAIpG,qBAAa,wCAAyC,SAAQ,uCAAuC;IACnG,OAAO,CAAC,gBAAgB,CAAwB;IAChD,OAAO,CAAC,gBAAgB,CAAwB;gBAEpC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM;IAI9C;;;;;OAKG;IACI,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAK5C,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAK5C,KAAK,IAAI,iCAAiC;CAclD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cedar-model-typescript-library",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "TypeScript models, builders, readers, writers, and validators for CEDAR metadata artifacts",
5
5
  "main": "index.js",
6
6
  "module": "index.esm.js",