amf-client-js 5.2.4 → 5.2.5-0
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/amf.js +11431 -11427
- package/package.json +2 -2
- package/typings/amf-client-js.d.ts +14 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amf-client-js",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.5-0",
|
|
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.6.
|
|
19
|
+
"@aml-org/amf-antlr-parsers": "0.6.22",
|
|
20
20
|
"ajv": "6.12.6"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -828,9 +828,6 @@ declare module "amf-client-js" {
|
|
|
828
828
|
export interface Annotable {
|
|
829
829
|
annotations(): Annotations;
|
|
830
830
|
}
|
|
831
|
-
export interface JsonLDElement extends Annotable {
|
|
832
|
-
annotations(): Annotations;
|
|
833
|
-
}
|
|
834
831
|
export class AnnotationMapping implements DomainElement {
|
|
835
832
|
customDomainProperties: Array<DomainExtension>;
|
|
836
833
|
extendsNode: Array<DomainElement>;
|
|
@@ -2641,7 +2638,7 @@ declare module "amf-client-js" {
|
|
|
2641
2638
|
|
|
2642
2639
|
withSelfEncoded(selfEncoded: boolean): DocumentsModel;
|
|
2643
2640
|
}
|
|
2644
|
-
export interface DomainElement extends CustomizableElement {
|
|
2641
|
+
export interface DomainElement extends AmfObjectWrapper, CustomizableElement {
|
|
2645
2642
|
customDomainProperties: Array<DomainExtension>;
|
|
2646
2643
|
extendsNode: Array<DomainElement>;
|
|
2647
2644
|
id: string;
|
|
@@ -3199,6 +3196,9 @@ declare module "amf-client-js" {
|
|
|
3199
3196
|
export class GraphQLFederationConfiguration {
|
|
3200
3197
|
static GraphQLFederation(): AMFConfiguration;
|
|
3201
3198
|
}
|
|
3199
|
+
export class GRPCConfiguration {
|
|
3200
|
+
static GRPC(): AMFConfiguration;
|
|
3201
|
+
}
|
|
3202
3202
|
export class HighPriority extends PluginPriority {}
|
|
3203
3203
|
export class HttpApiKeySettings extends Settings {
|
|
3204
3204
|
in: StrField;
|
|
@@ -3416,13 +3416,19 @@ declare module "amf-client-js" {
|
|
|
3416
3416
|
configuration: AMFGraphConfiguration
|
|
3417
3417
|
): BaseUnit;
|
|
3418
3418
|
}
|
|
3419
|
-
export class JsonLDArray {
|
|
3419
|
+
export class JsonLDArray implements JsonLDElement {
|
|
3420
3420
|
jsonLDElements: Array<JsonLDElement>;
|
|
3421
3421
|
|
|
3422
3422
|
constructor();
|
|
3423
|
+
annotations(): Annotations;
|
|
3423
3424
|
}
|
|
3424
|
-
export
|
|
3425
|
+
export interface JsonLDElement extends Annotable {
|
|
3426
|
+
annotations(): Annotations;
|
|
3427
|
+
}
|
|
3428
|
+
export class JsonLDError implements JsonLDElement {
|
|
3425
3429
|
constructor();
|
|
3430
|
+
|
|
3431
|
+
annotations(): Annotations;
|
|
3426
3432
|
}
|
|
3427
3433
|
export class JsonLDInstanceDocument implements BaseUnit {
|
|
3428
3434
|
encodes: Array<JsonLDElement>;
|
|
@@ -3475,7 +3481,7 @@ declare module "amf-client-js" {
|
|
|
3475
3481
|
export class JsonLDInstanceResult extends AMFParseResult {
|
|
3476
3482
|
readonly instance: JsonLDInstanceDocument;
|
|
3477
3483
|
}
|
|
3478
|
-
export class JsonLDObject implements DomainElement {
|
|
3484
|
+
export class JsonLDObject implements DomainElement, JsonLDElement {
|
|
3479
3485
|
componentId: string;
|
|
3480
3486
|
customDomainProperties: Array<DomainExtension>;
|
|
3481
3487
|
extendsNode: Array<DomainElement>;
|
|
@@ -3530,7 +3536,7 @@ declare module "amf-client-js" {
|
|
|
3530
3536
|
values: Array<string>
|
|
3531
3537
|
): JsonLDObject;
|
|
3532
3538
|
}
|
|
3533
|
-
export class JsonLDScalar {
|
|
3539
|
+
export class JsonLDScalar implements JsonLDElement {
|
|
3534
3540
|
readonly dataType: string;
|
|
3535
3541
|
readonly value: any;
|
|
3536
3542
|
|