amf-client-js 5.8.0-SNAPSHOT.36 → 5.8.0-SNAPSHOT.38
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 +2 -2
- package/package.json +1 -1
- package/typings/amf-client-js.d.ts +6 -0
package/amf.js
CHANGED
|
@@ -699,10 +699,10 @@ function xJa(a,b,c,e,f){var g=a.A();if(e.fZ.S(g)){e=r(a.q(),a.ld()).p;e.a()||e.b
|
|
|
699
699
|
g);else if(a instanceof nq)g=a.z(),g=new nq(new F,g);else if(a instanceof $x)g=a.z(),g=new $x(new F,g);else if(a instanceof ay)g=a.z(),g=new ay(new F,g);else if(a instanceof by)g=a.z(),g=new by(new F,g);else if(a instanceof wq)g=a.z(),g=new wq(new F,g);else if(a instanceof dq)g=a.z(),g=new dq(new F,g);else if(a instanceof cy)g=a.z(),g=new cy(new F,g);else if(a instanceof dy)g=a.ec,h=a.f$,k=a.Ija,g=new dy(new F,g,h,k,J(),!0);else{if(!(a instanceof tm))throw new v(a);g=a.z();g=sm(new tm,new F,g)}g.ma=
|
|
700
700
|
a.A();h=yJa;k=g;var m=a.A();e.gUb.Iw(m);e.fZ=e.fZ.Ki(m);h(a,b,k,c,e);g instanceof dq&&Tf(g,new ey);f&&vJa(g,a);return g}return a}function Ux(a,b){return nd(a,zJa().u_b,Yd(new Zd,b,(E(),N(new O,(E(),u())))))}function fy(a){return r(a.q(),zJa().u_b)}function gy(a,b){this.AU=b}gy.prototype=new n;gy.prototype.constructor=gy;function AJa(a){return new bc(new hc(sc()),Xb(Yb(),a.AU),new K(fc().ej,"","",u()),!0,!1,J())}
|
|
701
701
|
function BJa(a){return new bc(new hc(nc()),Xb(Yb(),a.AU),new K(fc().ej,"","",u()),!0,!1,J())}function CJa(a){return new bc(new hc(qc()),Xb(Yb(),a.AU),new K(fc().ej,"","",u()),!0,!1,J())}function DJa(a){return new bc(new hc(mc()),Xb(Yb(),a.AU),new K(fc().ej,"","",u()),!0,!1,J())}p(gy,"amf.shapes.client.scala.model.domain.jsonldinstance.JsonLDObject$FieldBuilder",{GJe:1});
|
|
702
|
-
function EJa(a){0===(1&a.g$)<<24>>24&&(a.l_b=JSON.parse('{"schemaId":"auto", "unknownFormats": "ignore", "allErrors": true, "validateSchema": false, "multipleOfPrecision": 6}'),a.g$=(1|a.g$)<<24>>24);return a.l_b}
|
|
702
|
+
function EJa(a){0===(1&a.g$)<<24>>24&&(a.l_b=JSON.parse('{"schemaId":"auto", "unknownFormats": "ignore", "allErrors": true, "validateSchema": false, "multipleOfPrecision": 6, "logger": false}'),a.g$=(1|a.g$)<<24>>24);return a.l_b}
|
|
703
703
|
function FJa(a){return a.addFormat("RFC2616","^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (0[1-9]|[12][0-9]|3[01]) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ([0-9]{4}) ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60) (GMT)$").addFormat("rfc2616","^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (0[1-9]|[12][0-9]|3[01]) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ([0-9]{4}) ([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60) (GMT)$").addFormat("date-time-only","^(?:\\d{4}-(?:(?:(?:(?:0[13578]|1[02])-(?:0[1-9]|[1-2][0-9]|3[01]))|(?:(?:0[469]|11)-(?:0[1-9]|[1-2][0-9]|30))|(?:02-(?:0[1-9]|1[0-9]|2[0-8]))))|(?:(?:\\d{2}(?:0[48]|[2468][048]|[13579][26]))|(?:(?:[02468][048])|[13579][26])00)-02-29)[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\\.[0-9]+)?$").addFormat("date",
|
|
704
704
|
"^(?:\\d{4}-(?:(?:(?:(?:0[13578]|1[02])-(?:0[1-9]|[1-2][0-9]|3[01]))|(?:(?:0[469]|11)-(?:0[1-9]|[1-2][0-9]|30))|(?:02-(?:0[1-9]|1[0-9]|2[0-8]))))|(?:(?:\\d{2}(?:0[48]|[2468][048]|[13579][26]))|(?:(?:[02468][048])|[13579][26])00)-02-29)$").addFormat("date-time","^(?:\\d{4}-(?:(?:(?:(?:0[13578]|1[02])-(?:0[1-9]|[1-2][0-9]|3[01]))|(?:(?:0[469]|11)-(?:0[1-9]|[1-2][0-9]|30))|(?:02-(?:0[1-9]|1[0-9]|2[0-8]))))|(?:(?:\\d{2}(?:0[48]|[2468][048]|[13579][26]))|(?:(?:[02468][048])|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,9})?(?:Z|[+-][01]\\d:[0-5]\\d)$").addFormat("uri",
|
|
705
|
-
"^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$|^$")}function GJa(){this.q3c=this.l_b=null;this.g$=0}GJa.prototype=new n;GJa.prototype.constructor=GJa;GJa.prototype.qac=function(){var a=yaa(baa);0===(2&this.g$)<<24>>24&&0===(2&this.g$)<<24>>24&&(this.q3c=JSON.parse('{"schemaId":"auto", "unknownFormats": "ignore", "allErrors": false, "validateSchema": false, "multipleOfPrecision": 6}'),this.g$=(2|this.g$)<<24>>24);return FJa((new a(this.q3c)).addMetaSchema(HJa()))};
|
|
705
|
+
"^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$|^$")}function GJa(){this.q3c=this.l_b=null;this.g$=0}GJa.prototype=new n;GJa.prototype.constructor=GJa;GJa.prototype.qac=function(){var a=yaa(baa);0===(2&this.g$)<<24>>24&&0===(2&this.g$)<<24>>24&&(this.q3c=JSON.parse('{"schemaId":"auto", "unknownFormats": "ignore", "allErrors": false, "validateSchema": false, "multipleOfPrecision": 6, "logger": false}'),this.g$=(2|this.g$)<<24>>24);return FJa((new a(this.q3c)).addMetaSchema(HJa()))};
|
|
706
706
|
p(GJa,"amf.shapes.internal.document.apicontract.validation.remote.AjvValidator$",{qLe:1});var IJa;function JJa(){IJa||(IJa=new GJa);return IJa}function KJa(){}KJa.prototype=new n;KJa.prototype.constructor=KJa;p(KJa,"amf.shapes.internal.document.apicontract.validation.remote.AvroJsValidator$",{rLe:1});var LJa;function MJa(){LJa||(LJa=new KJa)}function NJa(){this.r3c=null;this.m_b=!1}NJa.prototype=new n;NJa.prototype.constructor=NJa;
|
|
707
707
|
function HJa(){OJa||(OJa=new NJa);var a=OJa;a.m_b||a.m_b||(a.r3c=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string","format":"uri"},"$schema":{"type":"string","format":"uri"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}'),a.m_b=
|
|
708
708
|
!0);return a.r3c}p(NJa,"amf.shapes.internal.document.apicontract.validation.remote.Draft4MetaSchema$",{sLe:1});var OJa;function PJa(){this.v3c=this.u3c=null;this.h$=0}PJa.prototype=new n;PJa.prototype.constructor=PJa;PJa.prototype.qac=function(){0===(2&this.h$)<<24>>24&&0===(2&this.h$)<<24>>24&&(this.v3c=JJa().qac(),this.h$=(2|this.h$)<<24>>24);return this.v3c};p(PJa,"amf.shapes.internal.document.apicontract.validation.remote.LazyAjv$",{zLe:1});var QJa;
|
package/package.json
CHANGED
|
@@ -5305,6 +5305,7 @@ declare module "amf-client-js" {
|
|
|
5305
5305
|
name: StrField;
|
|
5306
5306
|
position: Range;
|
|
5307
5307
|
url: StrField;
|
|
5308
|
+
identifier: StrField;
|
|
5308
5309
|
|
|
5309
5310
|
constructor();
|
|
5310
5311
|
|
|
@@ -5323,6 +5324,8 @@ declare module "amf-client-js" {
|
|
|
5323
5324
|
withName(name: string): this;
|
|
5324
5325
|
|
|
5325
5326
|
withUrl(url: string): this;
|
|
5327
|
+
|
|
5328
|
+
withIdentifier(identifier: string): this;
|
|
5326
5329
|
}
|
|
5327
5330
|
export class LinkNode implements DataNode {
|
|
5328
5331
|
alias: StrField;
|
|
@@ -9354,6 +9357,7 @@ declare module "amf-client-js" {
|
|
|
9354
9357
|
termsOfService: StrField;
|
|
9355
9358
|
version: StrField;
|
|
9356
9359
|
defaultSchema: StrField;
|
|
9360
|
+
summary: StrField;
|
|
9357
9361
|
|
|
9358
9362
|
constructor();
|
|
9359
9363
|
|
|
@@ -9412,6 +9416,8 @@ declare module "amf-client-js" {
|
|
|
9412
9416
|
withVersion(version: string): this;
|
|
9413
9417
|
|
|
9414
9418
|
withDefaultSchema(schema: string): this;
|
|
9419
|
+
|
|
9420
|
+
withSummary(summary: string): this;
|
|
9415
9421
|
}
|
|
9416
9422
|
export class WebSocketsChannelBinding implements ChannelBinding {
|
|
9417
9423
|
customDomainProperties: Array<DomainExtension>;
|