amf-client-js 5.8.1 → 5.8.2-INTERNAL-AGENTS-SNAPSHOT.1

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.
Files changed (3) hide show
  1. package/amf.js +11639 -11594
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +61 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.8.1",
3
+ "version": "5.8.2-INTERNAL-AGENTS-SNAPSHOT.1",
4
4
  "description": "AMF Library",
5
5
  "main": "amf.js",
6
6
  "author": "amf team",
@@ -16,7 +16,7 @@
16
16
  "types": "./typings/amf-client-js.d.ts",
17
17
  "typings": "./typings/amf-client-js.d.ts",
18
18
  "dependencies": {
19
- "@aml-org/amf-antlr-parsers": "0.8.29",
19
+ "@aml-org/amf-antlr-parsers": "0.8.30",
20
20
  "ajv": "6.12.6",
21
21
  "avro-js": "1.11.3"
22
22
  }
@@ -7093,6 +7093,63 @@ declare module "amf-client-js" {
7093
7093
 
7094
7094
  withXone(subShapes: Array<Shape>): this;
7095
7095
  }
7096
+ export class Reserved implements DomainElement {
7097
+ customDomainProperties: Array<DomainExtension>;
7098
+ extendsNode: Array<DomainElement>;
7099
+ id: string;
7100
+ isExternalLink: BoolField;
7101
+ position: Range;
7102
+ number: number;
7103
+ fieldName: string;
7104
+ range: ReservedRange;
7105
+
7106
+ constructor();
7107
+
7108
+ annotations(): Annotations;
7109
+
7110
+ graph(): Graph;
7111
+
7112
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7113
+
7114
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7115
+
7116
+ withId(id: string): this;
7117
+
7118
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7119
+
7120
+ withNumber(number: number): this;
7121
+
7122
+ withFieldName(fieldName: string): this;
7123
+
7124
+ withRange(range: ReservedRange): this;
7125
+ }
7126
+ export class ReservedRange implements DomainElement {
7127
+ customDomainProperties: Array<DomainExtension>;
7128
+ extendsNode: Array<DomainElement>;
7129
+ id: string;
7130
+ isExternalLink: BoolField;
7131
+ position: Range;
7132
+ from: number;
7133
+ to: number;
7134
+
7135
+ constructor();
7136
+
7137
+ annotations(): Annotations;
7138
+
7139
+ graph(): Graph;
7140
+
7141
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7142
+
7143
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7144
+
7145
+ withId(id: string): this;
7146
+
7147
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7148
+
7149
+ withFrom(from: number): this;
7150
+
7151
+ withTo(to: number): this;
7152
+ }
7096
7153
  export class PropertyShapePath implements DomainElement {
7097
7154
  customDomainProperties: Array<DomainExtension>;
7098
7155
  extendsNode: Array<DomainElement>;
@@ -9666,6 +9723,10 @@ declare module "amf-client-js" {
9666
9723
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9667
9724
  }
9668
9725
 
9726
+ export class ConfigurationAdapter {
9727
+ static adapt(baseConfiguration: AMFGraphConfiguration): AMFConfiguration;
9728
+ }
9729
+
9669
9730
  namespace org {
9670
9731
  namespace mulesoft {
9671
9732
  namespace common {