amf-client-js 5.9.0-SNAPSHOT.2 → 5.9.0-SNAPSHOT.21

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 +11776 -11619
  2. package/package.json +2 -2
  3. package/typings/amf-client-js.d.ts +162 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amf-client-js",
3
- "version": "5.9.0-SNAPSHOT.2",
3
+ "version": "5.9.0-SNAPSHOT.21",
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
  }
@@ -1300,6 +1300,8 @@ declare module "amf-client-js" {
1300
1300
  lexical(): Range;
1301
1301
 
1302
1302
  location(): undefined | string;
1303
+
1304
+ resolvedReferenceLike(): undefined | string;
1303
1305
  }
1304
1306
  export class AnyField implements ValueField<any> {
1305
1307
  isNull: boolean;
@@ -7093,6 +7095,63 @@ declare module "amf-client-js" {
7093
7095
 
7094
7096
  withXone(subShapes: Array<Shape>): this;
7095
7097
  }
7098
+ export class Reserved implements DomainElement {
7099
+ customDomainProperties: Array<DomainExtension>;
7100
+ extendsNode: Array<DomainElement>;
7101
+ id: string;
7102
+ isExternalLink: BoolField;
7103
+ position: Range;
7104
+ number: number;
7105
+ fieldName: string;
7106
+ range: ReservedRange;
7107
+
7108
+ constructor();
7109
+
7110
+ annotations(): Annotations;
7111
+
7112
+ graph(): Graph;
7113
+
7114
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7115
+
7116
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7117
+
7118
+ withId(id: string): this;
7119
+
7120
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7121
+
7122
+ withNumber(number: number): this;
7123
+
7124
+ withFieldName(fieldName: string): this;
7125
+
7126
+ withRange(range: ReservedRange): this;
7127
+ }
7128
+ export class ReservedRange implements DomainElement {
7129
+ customDomainProperties: Array<DomainExtension>;
7130
+ extendsNode: Array<DomainElement>;
7131
+ id: string;
7132
+ isExternalLink: BoolField;
7133
+ position: Range;
7134
+ from: number;
7135
+ to: number;
7136
+
7137
+ constructor();
7138
+
7139
+ annotations(): Annotations;
7140
+
7141
+ graph(): Graph;
7142
+
7143
+ withCustomDomainProperties(extensions: Array<DomainExtension>): this;
7144
+
7145
+ withExtendsNode(extension: Array<ParametrizedDeclaration>): this;
7146
+
7147
+ withId(id: string): this;
7148
+
7149
+ withIsExternalLink(isExternalLink: boolean): DomainElement;
7150
+
7151
+ withFrom(from: number): this;
7152
+
7153
+ withTo(to: number): this;
7154
+ }
7096
7155
  export class PropertyShapePath implements DomainElement {
7097
7156
  customDomainProperties: Array<DomainExtension>;
7098
7157
  extendsNode: Array<DomainElement>;
@@ -9633,6 +9692,105 @@ declare module "amf-client-js" {
9633
9692
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9634
9693
  }
9635
9694
 
9695
+ export class OtherCardConfiguration extends BaseOtherCardConfiguration {
9696
+ static OtherCard(): OtherCardConfiguration;
9697
+
9698
+ baseUnitClient(): OtherCardBaseUnitClient;
9699
+ }
9700
+
9701
+ export class BaseOtherCardConfiguration extends BaseShapesConfiguration {
9702
+ withDialect(dialect: Dialect): BaseOtherCardConfiguration;
9703
+
9704
+ withErrorHandlerProvider(
9705
+ provider: ErrorHandlerProvider
9706
+ ): BaseOtherCardConfiguration;
9707
+
9708
+ withEventListener(listener: AMFEventListener): BaseOtherCardConfiguration;
9709
+
9710
+ withParsingOptions(parsingOptions: ParsingOptions): BaseOtherCardConfiguration;
9711
+
9712
+ withRenderOptions(renderOptions: RenderOptions): BaseOtherCardConfiguration;
9713
+
9714
+ withResourceLoader(rl: ResourceLoader): BaseOtherCardConfiguration;
9715
+
9716
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseOtherCardConfiguration;
9717
+
9718
+ withTransformationPipeline(
9719
+ pipeline: TransformationPipeline
9720
+ ): BaseOtherCardConfiguration;
9721
+
9722
+ withUnitCache(cache: UnitCache): BaseOtherCardConfiguration;
9723
+ }
9724
+ export class OtherCardBaseUnitClient extends AMLBaseUnitClient {
9725
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9726
+ }
9727
+
9728
+ export class AgentMetadataConfiguration extends BaseAgentMetadataConfiguration {
9729
+ static AgentMetadata(): AgentMetadataConfiguration;
9730
+
9731
+ baseUnitClient(): AgentMetadataBaseUnitClient;
9732
+ }
9733
+
9734
+ export class BaseAgentMetadataConfiguration extends BaseShapesConfiguration {
9735
+ withDialect(dialect: Dialect): BaseAgentMetadataConfiguration;
9736
+
9737
+ withErrorHandlerProvider(
9738
+ provider: ErrorHandlerProvider
9739
+ ): BaseAgentMetadataConfiguration;
9740
+
9741
+ withEventListener(listener: AMFEventListener): BaseAgentMetadataConfiguration;
9742
+
9743
+ withParsingOptions(parsingOptions: ParsingOptions): BaseAgentMetadataConfiguration;
9744
+
9745
+ withRenderOptions(renderOptions: RenderOptions): BaseAgentMetadataConfiguration;
9746
+
9747
+ withResourceLoader(rl: ResourceLoader): BaseAgentMetadataConfiguration;
9748
+
9749
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseAgentMetadataConfiguration;
9750
+
9751
+ withTransformationPipeline(
9752
+ pipeline: TransformationPipeline
9753
+ ): BaseAgentMetadataConfiguration;
9754
+
9755
+ withUnitCache(cache: UnitCache): BaseAgentMetadataConfiguration;
9756
+ }
9757
+ export class AgentMetadataBaseUnitClient extends AMLBaseUnitClient {
9758
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9759
+ }
9760
+
9761
+ export class LLMMetadataConfiguration extends BaseLLMMetadataConfiguration {
9762
+ static LLMMetadata(): LLMMetadataConfiguration;
9763
+
9764
+ baseUnitClient(): LLMMetadataBaseUnitClient;
9765
+ }
9766
+
9767
+ export class BaseLLMMetadataConfiguration extends BaseShapesConfiguration {
9768
+ withDialect(dialect: Dialect): BaseLLMMetadataConfiguration;
9769
+
9770
+ withErrorHandlerProvider(
9771
+ provider: ErrorHandlerProvider
9772
+ ): BaseLLMMetadataConfiguration;
9773
+
9774
+ withEventListener(listener: AMFEventListener): BaseLLMMetadataConfiguration;
9775
+
9776
+ withParsingOptions(parsingOptions: ParsingOptions): BaseLLMMetadataConfiguration;
9777
+
9778
+ withRenderOptions(renderOptions: RenderOptions): BaseLLMMetadataConfiguration;
9779
+
9780
+ withResourceLoader(rl: ResourceLoader): BaseLLMMetadataConfiguration;
9781
+
9782
+ withResourceLoaders(rl: Array<ResourceLoader>): BaseLLMMetadataConfiguration;
9783
+
9784
+ withTransformationPipeline(
9785
+ pipeline: TransformationPipeline
9786
+ ): BaseLLMMetadataConfiguration;
9787
+
9788
+ withUnitCache(cache: UnitCache): BaseLLMMetadataConfiguration;
9789
+ }
9790
+ export class LLMMetadataBaseUnitClient extends AMLBaseUnitClient {
9791
+ syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9792
+ }
9793
+
9636
9794
  export class BrokerGroupConfiguration extends BaseBrokerGroupConfiguration {
9637
9795
  static BrokerGroup(): BrokerGroupConfiguration;
9638
9796
 
@@ -9666,6 +9824,10 @@ declare module "amf-client-js" {
9666
9824
  syncValidate(baseUnit: BaseUnit): AMFValidationReport;
9667
9825
  }
9668
9826
 
9827
+ export class ConfigurationAdapter {
9828
+ static adapt(baseConfiguration: AMFGraphConfiguration): AMFConfiguration;
9829
+ }
9830
+
9669
9831
  namespace org {
9670
9832
  namespace mulesoft {
9671
9833
  namespace common {