@dcl/schemas 5.21.1 → 5.22.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.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { JSONSchema, ValidateFunction } from '../validation';
|
|
2
|
+
import { AuthChain } from './auth-chain';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare type DeploymentToSqs = {
|
|
7
|
+
entity: {
|
|
8
|
+
entityId: string;
|
|
9
|
+
authChain: AuthChain;
|
|
10
|
+
};
|
|
11
|
+
contentServerUrls?: string[];
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export declare namespace DeploymentToSqs {
|
|
17
|
+
const schema: JSONSchema<DeploymentToSqs>;
|
|
18
|
+
const validate: ValidateFunction<DeploymentToSqs>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=deployments-to-sqs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployments-to-sqs.d.ts","sourceRoot":"","sources":["../../src/misc/deployments-to-sqs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAEV,gBAAgB,EACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC;;GAEG;AACH,oBAAY,eAAe,GAAG;IAC5B,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAA;QAChB,SAAS,EAAE,SAAS,CAAA;KACrB,CAAA;IACD,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC7B,CAAA;AAED;;GAEG;AACH,yBAAiB,eAAe,CAAC;IACxB,MAAM,MAAM,EAAE,UAAU,CAAC,eAAe,CAoB9C,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,eAAe,CACxB,CAAA;CAChC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeploymentToSqs = void 0;
|
|
4
|
+
const validation_1 = require("../validation");
|
|
5
|
+
const auth_chain_1 = require("./auth-chain");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
var DeploymentToSqs;
|
|
10
|
+
(function (DeploymentToSqs) {
|
|
11
|
+
DeploymentToSqs.schema = {
|
|
12
|
+
type: 'object',
|
|
13
|
+
required: ['entity'],
|
|
14
|
+
properties: {
|
|
15
|
+
entity: {
|
|
16
|
+
type: 'object',
|
|
17
|
+
required: ['entityId', 'authChain'],
|
|
18
|
+
properties: {
|
|
19
|
+
entityId: { type: 'string' },
|
|
20
|
+
authChain: auth_chain_1.AuthChain.schema
|
|
21
|
+
},
|
|
22
|
+
additionalProperties: true
|
|
23
|
+
},
|
|
24
|
+
contentServerUrls: {
|
|
25
|
+
type: 'array',
|
|
26
|
+
items: { type: 'string' },
|
|
27
|
+
nullable: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
additionalProperties: true
|
|
31
|
+
};
|
|
32
|
+
DeploymentToSqs.validate = (0, validation_1.generateLazyValidator)(DeploymentToSqs.schema);
|
|
33
|
+
})(DeploymentToSqs = exports.DeploymentToSqs || (exports.DeploymentToSqs = {}));
|
|
34
|
+
//# sourceMappingURL=deployments-to-sqs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployments-to-sqs.js","sourceRoot":"","sources":["../../src/misc/deployments-to-sqs.ts"],"names":[],"mappings":";;;AAAA,8CAIsB;AACtB,6CAAwC;AAaxC;;GAEG;AACH,IAAiB,eAAe,CAyB/B;AAzBD,WAAiB,eAAe;IACjB,sBAAM,GAAgC;QACjD,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;gBACnC,UAAU,EAAE;oBACV,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC5B,SAAS,EAAE,sBAAS,CAAC,MAAM;iBAC5B;gBACD,oBAAoB,EAAE,IAAI;aAC3B;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,QAAQ,EAAE,IAAI;aACf;SACF;QACD,oBAAoB,EAAE,IAAI;KAC3B,CAAA;IAEY,wBAAQ,GACnB,IAAA,kCAAqB,EAAC,gBAAA,MAAM,CAAC,CAAA;AACjC,CAAC,EAzBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAyB/B"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
2
|
+
"version": "5.22.0",
|
|
3
3
|
"name": "@dcl/schemas",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "./dist/index.d.ts",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
-
"commit": "
|
|
35
|
+
"commit": "0633e20c4d237f3c41f909c4909c45f5fe1783b4"
|
|
36
36
|
}
|