@dcl/schemas 2.2.2-20211124181718.commit-a8f6f19 → 2.2.3-20211130152647.commit-cbda2b3
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/dist/dapps/bid.js +15 -15
- package/dist/dapps/body-shape.js +1 -1
- package/dist/dapps/chain-id.js +1 -1
- package/dist/dapps/chain-name.js +1 -1
- package/dist/dapps/collection.js +12 -12
- package/dist/dapps/contract.js +4 -4
- package/dist/dapps/item.d.ts.map +1 -1
- package/dist/dapps/item.js +18 -18
- package/dist/dapps/item.js.map +1 -1
- package/dist/dapps/listing-status.js +1 -1
- package/dist/dapps/meta-transactions.d.ts.map +1 -1
- package/dist/dapps/meta-transactions.js +3 -3
- package/dist/dapps/meta-transactions.js.map +1 -1
- package/dist/dapps/mint.js +13 -13
- package/dist/dapps/network.js +1 -1
- package/dist/dapps/nft-category.js +1 -1
- package/dist/dapps/nft.js +43 -43
- package/dist/dapps/order.js +12 -12
- package/dist/dapps/rarity.js +4 -4
- package/dist/dapps/sale-type.js +1 -1
- package/dist/dapps/sale.js +12 -12
- package/dist/dapps/store.d.ts +20 -0
- package/dist/dapps/store.d.ts.map +1 -0
- package/dist/dapps/store.js +57 -0
- package/dist/dapps/store.js.map +1 -0
- package/dist/dapps/wearable-category.js +1 -1
- package/dist/dapps/wearable-gender.js +1 -1
- package/dist/dapps/world.d.ts +1 -1
- package/dist/dapps/world.d.ts.map +1 -1
- package/dist/dapps/world.js +22 -22
- package/dist/dapps/world.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/misc/index.d.ts +1 -1
- package/dist/misc/index.d.ts.map +1 -1
- package/dist/misc/index.js +1 -1
- package/dist/misc/index.js.map +1 -1
- package/dist/platform/profile/avatar.d.ts +2 -2
- package/dist/platform/profile/avatar.d.ts.map +1 -1
- package/dist/platform/profile/avatar.js +10 -3
- package/dist/platform/profile/avatar.js.map +1 -1
- package/dist/platform/profile/profile.d.ts +2 -2
- package/dist/platform/profile/profile.d.ts.map +1 -1
- package/dist/platform/profile/profile.js.map +1 -1
- package/dist/platform/scene/feature-toggles.d.ts +1 -1
- package/dist/platform/scene/feature-toggles.d.ts.map +1 -1
- package/dist/platform/scene/feature-toggles.js +2 -2
- package/dist/platform/scene/feature-toggles.js.map +1 -1
- package/dist/platform/scene/scene-parcels.d.ts +1 -1
- package/dist/platform/scene/scene-parcels.d.ts.map +1 -1
- package/dist/platform/scene/scene-parcels.js +11 -10
- package/dist/platform/scene/scene-parcels.js.map +1 -1
- package/dist/platform/scene/scene.d.ts +5 -5
- package/dist/platform/scene/scene.d.ts.map +1 -1
- package/dist/platform/scene/scene.js +39 -39
- package/dist/platform/scene/scene.js.map +1 -1
- package/dist/platform/scene/source.d.ts +2 -2
- package/dist/platform/scene/source.d.ts.map +1 -1
- package/dist/platform/scene/source.js +21 -21
- package/dist/platform/scene/source.js.map +1 -1
- package/dist/platform/scene/spawn-point.d.ts +1 -1
- package/dist/platform/scene/spawn-point.d.ts.map +1 -1
- package/dist/platform/scene/spawn-point.js +31 -34
- package/dist/platform/scene/spawn-point.js.map +1 -1
- package/dist/platform/wearables/i18n.d.ts.map +1 -1
- package/dist/platform/wearables/i18n.js +3 -3
- package/dist/platform/wearables/i18n.js.map +1 -1
- package/dist/platform/wearables/locale.d.ts.map +1 -1
- package/dist/platform/wearables/locale.js +1 -1
- package/dist/platform/wearables/locale.js.map +1 -1
- package/dist/platform/wearables/metrics.d.ts.map +1 -1
- package/dist/platform/wearables/metrics.js +15 -8
- package/dist/platform/wearables/metrics.js.map +1 -1
- package/dist/platform/wearables/representation.d.ts.map +1 -1
- package/dist/platform/wearables/representation.js +9 -3
- package/dist/platform/wearables/representation.js.map +1 -1
- package/dist/platform/wearables/wearable-body-shape.d.ts.map +1 -1
- package/dist/platform/wearables/wearable-body-shape.js +1 -1
- package/dist/platform/wearables/wearable-body-shape.js.map +1 -1
- package/dist/platform/wearables/wearable.d.ts.map +1 -1
- package/dist/platform/wearables/wearable.js +6 -6
- package/dist/platform/wearables/wearable.js.map +1 -1
- package/dist/schemas.d.ts +55 -4
- package/dist/sdk/project/asset-json.d.ts +22 -0
- package/dist/sdk/project/asset-json.d.ts.map +1 -0
- package/dist/sdk/project/asset-json.js +45 -0
- package/dist/sdk/project/asset-json.js.map +1 -0
- package/dist/sdk/project/asset-wearable-gender.d.ts +11 -0
- package/dist/sdk/project/asset-wearable-gender.d.ts.map +1 -0
- package/dist/sdk/project/asset-wearable-gender.js +18 -0
- package/dist/sdk/project/asset-wearable-gender.js.map +1 -0
- package/dist/sdk/project/index.d.ts +1 -0
- package/dist/sdk/project/index.d.ts.map +1 -1
- package/dist/sdk/project/index.js +1 -0
- package/dist/sdk/project/index.js.map +1 -1
- package/dist/sdk/project/type.d.ts +1 -1
- package/dist/sdk/project/type.d.ts.map +1 -1
- package/dist/sdk/project/type.js +2 -2
- package/dist/sdk/project/type.js.map +1 -1
- package/dist/sdk/ws/index.d.ts +4 -4
- package/dist/sdk/ws/index.d.ts.map +1 -1
- package/dist/sdk/ws/scene-update.d.ts +1 -1
- package/dist/sdk/ws/scene-update.d.ts.map +1 -1
- package/dist/sdk/ws/scene-update.js +10 -10
- package/dist/sdk/ws/scene-update.js.map +1 -1
- package/dist/sdk/ws/update.d.ts +1 -1
- package/dist/sdk/ws/update.d.ts.map +1 -1
- package/dist/sdk/ws/update.js +5 -5
- package/dist/sdk/ws/update.js.map +1 -1
- package/dist/validation.d.ts +2 -2
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js.map +1 -1
- package/package.json +7 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { JSONSchema, ValidateFunction } from
|
|
2
|
-
import { FeatureToggles } from
|
|
3
|
-
import { SceneParcels } from
|
|
4
|
-
import { Source } from
|
|
5
|
-
import { SpawnPoint } from
|
|
1
|
+
import { JSONSchema, ValidateFunction } from '../../validation';
|
|
2
|
+
import { FeatureToggles } from './feature-toggles';
|
|
3
|
+
import { SceneParcels } from './scene-parcels';
|
|
4
|
+
import { Source } from './source';
|
|
5
|
+
import { SpawnPoint } from './spawn-point';
|
|
6
6
|
/** @alpha */
|
|
7
7
|
export declare type Scene = {
|
|
8
8
|
main: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/scene.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/scene.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,aAAa;AACb,oBAAY,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,YAAY,CAAA;IACnB,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,eAAe,CAAC,EAAE,MAAM,CAAA;KACzB,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,GAAG,CAAC,EAAE,MAAM,CAAA;KACb,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC9B,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA;AAED,aAAa;AACb,yBAAiB,KAAK,CAAC;IACd,MAAM,MAAM,EAAE,UAAU,CAAC,KAAK,CAyFpC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,KAAK,CAA6B,CAAA;CAC3E"}
|
|
@@ -10,90 +10,90 @@ const spawn_point_1 = require("./spawn-point");
|
|
|
10
10
|
var Scene;
|
|
11
11
|
(function (Scene) {
|
|
12
12
|
Scene.schema = {
|
|
13
|
-
type:
|
|
13
|
+
type: 'object',
|
|
14
14
|
properties: {
|
|
15
15
|
main: {
|
|
16
16
|
description: "File that contains the entry point of the scene's code",
|
|
17
|
-
type:
|
|
18
|
-
minLength: 1
|
|
17
|
+
type: 'string',
|
|
18
|
+
minLength: 1
|
|
19
19
|
},
|
|
20
20
|
scene: scene_parcels_1.SceneParcels.schema,
|
|
21
21
|
display: {
|
|
22
|
-
description:
|
|
23
|
-
type:
|
|
22
|
+
description: 'Information related to how should this land be displayed apart from the normal rendering of the scene',
|
|
23
|
+
type: 'object',
|
|
24
24
|
properties: {
|
|
25
25
|
title: {
|
|
26
|
-
description:
|
|
27
|
-
type:
|
|
28
|
-
nullable: true
|
|
26
|
+
description: 'A name so other users can identify what the contents of this land should be',
|
|
27
|
+
type: 'string',
|
|
28
|
+
nullable: true
|
|
29
29
|
},
|
|
30
30
|
favicon: {
|
|
31
|
-
description:
|
|
32
|
-
type:
|
|
33
|
-
nullable: true
|
|
31
|
+
description: 'Allow the land owner to set up a favicon to this land',
|
|
32
|
+
type: 'string',
|
|
33
|
+
nullable: true
|
|
34
34
|
},
|
|
35
35
|
description: {
|
|
36
36
|
description: "A description that will be shown on client's nav map when the scene is selected",
|
|
37
|
-
type:
|
|
38
|
-
nullable: true
|
|
37
|
+
type: 'string',
|
|
38
|
+
nullable: true
|
|
39
39
|
},
|
|
40
40
|
navmapThumbnail: {
|
|
41
|
-
type:
|
|
42
|
-
nullable: true
|
|
43
|
-
}
|
|
41
|
+
type: 'string',
|
|
42
|
+
nullable: true
|
|
43
|
+
}
|
|
44
44
|
},
|
|
45
45
|
nullable: true,
|
|
46
46
|
additionalProperties: false,
|
|
47
|
-
required: []
|
|
47
|
+
required: []
|
|
48
48
|
},
|
|
49
49
|
owner: {
|
|
50
|
-
type:
|
|
51
|
-
nullable: true
|
|
50
|
+
type: 'string',
|
|
51
|
+
nullable: true
|
|
52
52
|
},
|
|
53
53
|
contact: {
|
|
54
|
-
description:
|
|
55
|
-
type:
|
|
54
|
+
description: 'Describe different ways of contacting the land owner',
|
|
55
|
+
type: 'object',
|
|
56
56
|
properties: {
|
|
57
|
-
name: { type:
|
|
58
|
-
email: { type:
|
|
59
|
-
im: { type:
|
|
60
|
-
url: { type:
|
|
57
|
+
name: { type: 'string', nullable: true },
|
|
58
|
+
email: { type: 'string', nullable: true },
|
|
59
|
+
im: { type: 'string', nullable: true },
|
|
60
|
+
url: { type: 'string', nullable: true }
|
|
61
61
|
},
|
|
62
62
|
nullable: true,
|
|
63
63
|
additionalProperties: false,
|
|
64
|
-
required: []
|
|
64
|
+
required: []
|
|
65
65
|
},
|
|
66
66
|
tags: {
|
|
67
|
-
type:
|
|
67
|
+
type: 'array',
|
|
68
68
|
items: {
|
|
69
|
-
type:
|
|
70
|
-
minLength: 1
|
|
69
|
+
type: 'string',
|
|
70
|
+
minLength: 1
|
|
71
71
|
},
|
|
72
|
-
nullable: true
|
|
72
|
+
nullable: true
|
|
73
73
|
},
|
|
74
74
|
source: {
|
|
75
75
|
...source_1.Source.schema,
|
|
76
|
-
nullable: true
|
|
76
|
+
nullable: true
|
|
77
77
|
},
|
|
78
78
|
spawnPoints: {
|
|
79
|
-
type:
|
|
79
|
+
type: 'array',
|
|
80
80
|
items: spawn_point_1.SpawnPoint.schema,
|
|
81
|
-
nullable: true
|
|
81
|
+
nullable: true
|
|
82
82
|
},
|
|
83
83
|
requiredPermissions: {
|
|
84
|
-
type:
|
|
84
|
+
type: 'array',
|
|
85
85
|
items: {
|
|
86
|
-
type:
|
|
86
|
+
type: 'string'
|
|
87
87
|
},
|
|
88
|
-
nullable: true
|
|
88
|
+
nullable: true
|
|
89
89
|
},
|
|
90
90
|
featureToggles: {
|
|
91
91
|
...feature_toggles_1.FeatureToggles.schema,
|
|
92
|
-
nullable: true
|
|
93
|
-
}
|
|
92
|
+
nullable: true
|
|
93
|
+
}
|
|
94
94
|
},
|
|
95
95
|
additionalProperties: false,
|
|
96
|
-
required: [
|
|
96
|
+
required: ['main', 'scene']
|
|
97
97
|
};
|
|
98
98
|
Scene.validate = (0, validation_1.generateValidator)(Scene.schema);
|
|
99
99
|
})(Scene = exports.Scene || (exports.Scene = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../../src/platform/scene/scene.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../../src/platform/scene/scene.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AACzB,uDAAkD;AAClD,mDAA8C;AAC9C,qCAAiC;AACjC,+CAA0C;AA0B1C,aAAa;AACb,IAAiB,KAAK,CA6FrB;AA7FD,WAAiB,KAAK;IACP,YAAM,GAAsB;QACvC,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,WAAW,EAAE,wDAAwD;gBACrE,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,CAAC;aACb;YACD,KAAK,EAAE,4BAAY,CAAC,MAAM;YAC1B,OAAO,EAAE;gBACP,WAAW,EACT,uGAAuG;gBACzG,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,KAAK,EAAE;wBACL,WAAW,EACT,6EAA6E;wBAC/E,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;qBACf;oBACD,OAAO,EAAE;wBACP,WAAW,EACT,uDAAuD;wBACzD,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;qBACf;oBACD,WAAW,EAAE;wBACX,WAAW,EACT,iFAAiF;wBACnF,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;qBACf;oBACD,eAAe,EAAE;wBACf,IAAI,EAAE,QAAQ;wBACd,QAAQ,EAAE,IAAI;qBACf;iBACF;gBACD,QAAQ,EAAE,IAAI;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,EAAE;aACb;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,OAAO,EAAE;gBACP,WAAW,EAAE,sDAAsD;gBACnE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;oBACxC,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;oBACzC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;oBACtC,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;iBACxC;gBACD,QAAQ,EAAE,IAAI;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,EAAE;aACb;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,GAAG,eAAM,CAAC,MAAM;gBAChB,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,wBAAU,CAAC,MAAM;gBACxB,QAAQ,EAAE,IAAI;aACf;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,QAAQ,EAAE,IAAI;aACf;YACD,cAAc,EAAE;gBACd,GAAG,gCAAc,CAAC,MAAM;gBACxB,QAAQ,EAAE,IAAI;aACf;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;KAC5B,CAAA;IAEY,cAAQ,GAA4B,IAAA,8BAAiB,EAAC,MAAA,MAAM,CAAC,CAAA;AAC5E,CAAC,EA7FgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA6FrB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONSchema, ValidateFunction } from
|
|
1
|
+
import { JSONSchema, ValidateFunction } from '../../validation';
|
|
2
2
|
/** @alpha */
|
|
3
3
|
export declare type Source = {
|
|
4
4
|
version?: number;
|
|
@@ -8,7 +8,7 @@ export declare type Source = {
|
|
|
8
8
|
x: number;
|
|
9
9
|
y: number;
|
|
10
10
|
};
|
|
11
|
-
rotation?:
|
|
11
|
+
rotation?: 'north' | 'east' | 'south' | 'west';
|
|
12
12
|
layout?: {
|
|
13
13
|
rows: number;
|
|
14
14
|
cols: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/source.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/source.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AAEzB,aAAa;AACb,oBAAY,MAAM,GAAG;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAC9C,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,aAAa;AACb,yBAAiB,MAAM,CAAC;IACf,MAAM,MAAM,EAAE,UAAU,CAAC,MAAM,CAiDrC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAA6B,CAAA;CAC5E"}
|
|
@@ -6,54 +6,54 @@ const validation_1 = require("../../validation");
|
|
|
6
6
|
var Source;
|
|
7
7
|
(function (Source) {
|
|
8
8
|
Source.schema = {
|
|
9
|
-
type:
|
|
9
|
+
type: 'object',
|
|
10
10
|
properties: {
|
|
11
11
|
version: {
|
|
12
|
-
type:
|
|
13
|
-
nullable: true
|
|
12
|
+
type: 'number',
|
|
13
|
+
nullable: true
|
|
14
14
|
},
|
|
15
15
|
origin: {
|
|
16
|
-
type:
|
|
16
|
+
type: 'string'
|
|
17
17
|
},
|
|
18
18
|
projectId: {
|
|
19
|
-
type:
|
|
19
|
+
type: 'string'
|
|
20
20
|
},
|
|
21
21
|
point: {
|
|
22
|
-
type:
|
|
22
|
+
type: 'object',
|
|
23
23
|
properties: {
|
|
24
|
-
x: { type:
|
|
25
|
-
y: { type:
|
|
24
|
+
x: { type: 'integer' },
|
|
25
|
+
y: { type: 'integer' }
|
|
26
26
|
},
|
|
27
27
|
additionalProperties: false,
|
|
28
28
|
nullable: true,
|
|
29
|
-
required: [
|
|
29
|
+
required: ['x', 'y']
|
|
30
30
|
},
|
|
31
31
|
rotation: {
|
|
32
|
-
type:
|
|
33
|
-
enum: [
|
|
34
|
-
nullable: true
|
|
32
|
+
type: 'string',
|
|
33
|
+
enum: ['north', 'east', 'south', 'west'],
|
|
34
|
+
nullable: true
|
|
35
35
|
},
|
|
36
36
|
layout: {
|
|
37
|
-
type:
|
|
37
|
+
type: 'object',
|
|
38
38
|
properties: {
|
|
39
39
|
rows: {
|
|
40
|
-
type:
|
|
40
|
+
type: 'integer'
|
|
41
41
|
},
|
|
42
42
|
cols: {
|
|
43
|
-
type:
|
|
44
|
-
}
|
|
43
|
+
type: 'integer'
|
|
44
|
+
}
|
|
45
45
|
},
|
|
46
46
|
nullable: true,
|
|
47
47
|
additionalProperties: false,
|
|
48
|
-
required: [
|
|
48
|
+
required: ['rows', 'cols']
|
|
49
49
|
},
|
|
50
50
|
isEmpty: {
|
|
51
|
-
type:
|
|
52
|
-
nullable: true
|
|
53
|
-
}
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
nullable: true
|
|
53
|
+
}
|
|
54
54
|
},
|
|
55
55
|
additionalProperties: false,
|
|
56
|
-
required: [
|
|
56
|
+
required: ['origin', 'projectId']
|
|
57
57
|
};
|
|
58
58
|
Source.validate = (0, validation_1.generateValidator)(Source.schema);
|
|
59
59
|
})(Source = exports.Source || (exports.Source = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/platform/scene/source.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"source.js","sourceRoot":"","sources":["../../../src/platform/scene/source.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AAazB,aAAa;AACb,IAAiB,MAAM,CAqDtB;AArDD,WAAiB,MAAM;IACR,aAAM,GAAuB;QACxC,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBACtB,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;iBACvB;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;aACrB;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;gBACxC,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,SAAS;qBAChB;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,QAAQ,EAAE,IAAI;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;aAC3B;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC;KAClC,CAAA;IAEY,eAAQ,GAA6B,IAAA,8BAAiB,EAAC,OAAA,MAAM,CAAC,CAAA;AAC7E,CAAC,EArDgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAqDtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spawn-point.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/spawn-point.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"spawn-point.d.ts","sourceRoot":"","sources":["../../../src/platform/scene/spawn-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AAEzB,aAAa;AACb,oBAAY,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,cAAc,GAAG,aAAa,CAAA;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAED,aAAK,cAAc,GAAG;IACpB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV,CAAA;AACD,aAAK,aAAa,GAAG;IACnB,CAAC,EAAE,MAAM,EAAE,CAAA;IACX,CAAC,EAAE,MAAM,EAAE,CAAA;IACX,CAAC,EAAE,MAAM,EAAE,CAAA;CACZ,CAAA;AAED,aAAa;AACb,yBAAiB,UAAU,CAAC;IACnB,MAAM,MAAM,EAAE,UAAU,CAAC,UAAU,CAsDzC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CACvB,CAAA;CAC5B"}
|
|
@@ -6,62 +6,59 @@ const validation_1 = require("../../validation");
|
|
|
6
6
|
var SpawnPoint;
|
|
7
7
|
(function (SpawnPoint) {
|
|
8
8
|
SpawnPoint.schema = {
|
|
9
|
-
type:
|
|
9
|
+
type: 'object',
|
|
10
10
|
properties: {
|
|
11
11
|
name: {
|
|
12
|
-
type:
|
|
13
|
-
nullable: true
|
|
12
|
+
type: 'string',
|
|
13
|
+
nullable: true
|
|
14
14
|
},
|
|
15
15
|
position: {
|
|
16
|
-
type:
|
|
17
|
-
oneOf: [
|
|
18
|
-
{ $ref: "#single-position" },
|
|
19
|
-
{ $ref: "#multi-position" }
|
|
20
|
-
],
|
|
16
|
+
type: 'object',
|
|
17
|
+
oneOf: [{ $ref: '#single-position' }, { $ref: '#multi-position' }],
|
|
21
18
|
required: ['x', 'y', 'z']
|
|
22
19
|
},
|
|
23
20
|
default: {
|
|
24
|
-
type:
|
|
25
|
-
nullable: true
|
|
21
|
+
type: 'boolean',
|
|
22
|
+
nullable: true
|
|
26
23
|
},
|
|
27
24
|
cameraTarget: {
|
|
28
|
-
type:
|
|
25
|
+
type: 'object',
|
|
29
26
|
properties: {
|
|
30
|
-
x: { type:
|
|
31
|
-
y: { type:
|
|
32
|
-
z: { type:
|
|
27
|
+
x: { type: 'number' },
|
|
28
|
+
y: { type: 'number' },
|
|
29
|
+
z: { type: 'number' }
|
|
33
30
|
},
|
|
34
31
|
additionalProperties: false,
|
|
35
|
-
required: [
|
|
36
|
-
nullable: true
|
|
37
|
-
}
|
|
32
|
+
required: ['x', 'y', 'z'],
|
|
33
|
+
nullable: true
|
|
34
|
+
}
|
|
38
35
|
},
|
|
39
36
|
additionalProperties: false,
|
|
40
|
-
required: [
|
|
37
|
+
required: ['position'],
|
|
41
38
|
definitions: {
|
|
42
|
-
|
|
43
|
-
$id:
|
|
44
|
-
type:
|
|
39
|
+
'single-position': {
|
|
40
|
+
$id: '#single-position',
|
|
41
|
+
type: 'object',
|
|
45
42
|
properties: {
|
|
46
|
-
x: { type:
|
|
47
|
-
y: { type:
|
|
48
|
-
z: { type:
|
|
43
|
+
x: { type: 'number' },
|
|
44
|
+
y: { type: 'number' },
|
|
45
|
+
z: { type: 'number' }
|
|
49
46
|
},
|
|
50
47
|
additionalProperties: false,
|
|
51
|
-
required: [
|
|
48
|
+
required: ['x', 'y', 'z']
|
|
52
49
|
},
|
|
53
|
-
|
|
54
|
-
$id:
|
|
55
|
-
type:
|
|
50
|
+
'multi-position': {
|
|
51
|
+
$id: '#multi-position',
|
|
52
|
+
type: 'object',
|
|
56
53
|
properties: {
|
|
57
|
-
x: { type:
|
|
58
|
-
y: { type:
|
|
59
|
-
z: { type:
|
|
54
|
+
x: { type: 'array', items: { type: 'number' }, minItems: 1 },
|
|
55
|
+
y: { type: 'array', items: { type: 'number' }, minItems: 1 },
|
|
56
|
+
z: { type: 'array', items: { type: 'number' }, minItems: 1 }
|
|
60
57
|
},
|
|
61
58
|
additionalProperties: false,
|
|
62
|
-
required: [
|
|
63
|
-
}
|
|
64
|
-
}
|
|
59
|
+
required: ['x', 'y', 'z']
|
|
60
|
+
}
|
|
61
|
+
}
|
|
65
62
|
};
|
|
66
63
|
SpawnPoint.validate = (0, validation_1.generateValidator)(SpawnPoint.schema);
|
|
67
64
|
})(SpawnPoint = exports.SpawnPoint || (exports.SpawnPoint = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spawn-point.js","sourceRoot":"","sources":["../../../src/platform/scene/spawn-point.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"spawn-point.js","sourceRoot":"","sources":["../../../src/platform/scene/spawn-point.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AAqBzB,aAAa;AACb,IAAiB,UAAU,CA2D1B;AA3DD,WAAiB,UAAU;IACZ,iBAAM,GAA2B;QAC5C,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;gBAClE,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;aAC1B;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,IAAI;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACtB;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;gBACzB,QAAQ,EAAE,IAAI;aACf;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,UAAU,CAAC;QACtB,WAAW,EAAE;YACX,iBAAiB,EAAE;gBACjB,GAAG,EAAE,kBAAkB;gBACvB,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACrB,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACtB;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;aAC1B;YACD,gBAAgB,EAAE;gBAChB,GAAG,EAAE,iBAAiB;gBACtB,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;oBAC5D,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;oBAC5D,CAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE;iBAC7D;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;aAC1B;SACF;KACF,CAAA;IAEY,mBAAQ,GACnB,IAAA,8BAAiB,EAAC,WAAA,MAAM,CAAC,CAAA;AAC7B,CAAC,EA3DgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA2D1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,aAAa;AACb,oBAAY,IAAI,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,aAAa;AACb,yBAAiB,IAAI,CAAC;IACb,MAAM,MAAM,EAAE,UAAU,CAAC,IAAI,CAUnC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,IAAI,CAA6B,CAAA;CAC1E"}
|
|
@@ -11,11 +11,11 @@ var I18N;
|
|
|
11
11
|
properties: {
|
|
12
12
|
code: locale_1.Locale.schema,
|
|
13
13
|
text: {
|
|
14
|
-
type: 'string'
|
|
15
|
-
}
|
|
14
|
+
type: 'string'
|
|
15
|
+
}
|
|
16
16
|
},
|
|
17
17
|
additionalProperties: false,
|
|
18
|
-
required: ['code', 'text']
|
|
18
|
+
required: ['code', 'text']
|
|
19
19
|
};
|
|
20
20
|
I18N.validate = (0, validation_1.generateValidator)(I18N.schema);
|
|
21
21
|
})(I18N = exports.I18N || (exports.I18N = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../src/platform/wearables/i18n.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../../src/platform/wearables/i18n.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AACzB,qCAAiC;AAQjC,aAAa;AACb,IAAiB,IAAI,CAcpB;AAdD,WAAiB,IAAI;IACN,WAAM,GAAqB;QACtC,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE,eAAM,CAAC,MAAM;YACnB,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;aACf;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;KAC3B,CAAA;IAEY,aAAQ,GAA2B,IAAA,8BAAiB,EAAC,KAAA,MAAM,CAAC,CAAA;AAC3E,CAAC,EAdgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAcpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/locale.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"locale.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/locale.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AAEzB,aAAa;AACb,oBAAY,MAAM;IAChB,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,aAAa;AACb,yBAAiB,MAAM,CAAC;IACf,MAAM,MAAM,EAAE,UAAU,CAAC,MAAM,CAGrC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAA6B,CAAA;CAC5E"}
|
|
@@ -12,7 +12,7 @@ var Locale;
|
|
|
12
12
|
(function (Locale) {
|
|
13
13
|
Locale.schema = {
|
|
14
14
|
type: 'string',
|
|
15
|
-
enum: Object.values(Locale)
|
|
15
|
+
enum: Object.values(Locale)
|
|
16
16
|
};
|
|
17
17
|
Locale.validate = (0, validation_1.generateValidator)(Locale.schema);
|
|
18
18
|
})(Locale = exports.Locale || (exports.Locale = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.js","sourceRoot":"","sources":["../../../src/platform/wearables/locale.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"locale.js","sourceRoot":"","sources":["../../../src/platform/wearables/locale.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AAEzB,aAAa;AACb,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,mBAAS,CAAA;IACT,mBAAS,CAAA;AACX,CAAC,EAHW,MAAM,GAAN,cAAM,KAAN,cAAM,QAGjB;AAED,aAAa;AACb,WAAiB,MAAM;IACR,aAAM,GAAuB;QACxC,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;KAC5B,CAAA;IAEY,eAAQ,GAA6B,IAAA,8BAAiB,EAAC,OAAA,MAAM,CAAC,CAAA;AAC7E,CAAC,EAPgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAOtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AAEzB,aAAa;AACb,oBAAY,OAAO,GAAG;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,aAAa;AACb,yBAAiB,OAAO,CAAC;IAChB,MAAM,MAAM,EAAE,UAAU,CAAC,OAAO,CA+BtC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,OAAO,CAA6B,CAAA;CAC7E"}
|
|
@@ -9,26 +9,33 @@ var Metrics;
|
|
|
9
9
|
type: 'object',
|
|
10
10
|
properties: {
|
|
11
11
|
triangles: {
|
|
12
|
-
type: 'number'
|
|
12
|
+
type: 'number'
|
|
13
13
|
},
|
|
14
14
|
materials: {
|
|
15
|
-
type: 'number'
|
|
15
|
+
type: 'number'
|
|
16
16
|
},
|
|
17
17
|
textures: {
|
|
18
|
-
type: 'number'
|
|
18
|
+
type: 'number'
|
|
19
19
|
},
|
|
20
20
|
meshes: {
|
|
21
|
-
type: 'number'
|
|
21
|
+
type: 'number'
|
|
22
22
|
},
|
|
23
23
|
bodies: {
|
|
24
|
-
type: 'number'
|
|
24
|
+
type: 'number'
|
|
25
25
|
},
|
|
26
26
|
entities: {
|
|
27
|
-
type: 'number'
|
|
28
|
-
}
|
|
27
|
+
type: 'number'
|
|
28
|
+
}
|
|
29
29
|
},
|
|
30
30
|
additionalProperties: false,
|
|
31
|
-
required: [
|
|
31
|
+
required: [
|
|
32
|
+
'triangles',
|
|
33
|
+
'materials',
|
|
34
|
+
'textures',
|
|
35
|
+
'meshes',
|
|
36
|
+
'bodies',
|
|
37
|
+
'entities'
|
|
38
|
+
]
|
|
32
39
|
};
|
|
33
40
|
Metrics.validate = (0, validation_1.generateValidator)(Metrics.schema);
|
|
34
41
|
})(Metrics = exports.Metrics || (exports.Metrics = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../src/platform/wearables/metrics.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"metrics.js","sourceRoot":"","sources":["../../../src/platform/wearables/metrics.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AAYzB,aAAa;AACb,IAAiB,OAAO,CAmCvB;AAnCD,WAAiB,OAAO;IACT,cAAM,GAAwB;QACzC,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE;YACR,WAAW;YACX,WAAW;YACX,UAAU;YACV,QAAQ;YACR,QAAQ;YACR,UAAU;SACX;KACF,CAAA;IAEY,gBAAQ,GAA8B,IAAA,8BAAiB,EAAC,QAAA,MAAM,CAAC,CAAA;AAC9E,CAAC,EAnCgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAmCvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"representation.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/representation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"representation.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/representation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,aAAa;AACb,oBAAY,sBAAsB,GAAG;IACnC,UAAU,EAAE,iBAAiB,EAAE,CAAA;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;CACrC,CAAA;AAED,aAAa;AACb,yBAAiB,sBAAsB,CAAC;IAC/B,MAAM,MAAM,EAAE,UAAU,CAAC,sBAAsB,CAsCrD,CAAA;IAIM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,sBAAsB,CAIH,CAAA;CAC5D"}
|
|
@@ -18,12 +18,12 @@ var WearableRepresentation;
|
|
|
18
18
|
},
|
|
19
19
|
mainFile: {
|
|
20
20
|
type: 'string',
|
|
21
|
-
minLength: 1
|
|
21
|
+
minLength: 1
|
|
22
22
|
},
|
|
23
23
|
contents: {
|
|
24
24
|
type: 'array',
|
|
25
25
|
items: {
|
|
26
|
-
type: 'string'
|
|
26
|
+
type: 'string'
|
|
27
27
|
},
|
|
28
28
|
minItems: 1,
|
|
29
29
|
uniqueItems: true
|
|
@@ -38,7 +38,13 @@ var WearableRepresentation;
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
additionalProperties: false,
|
|
41
|
-
required: [
|
|
41
|
+
required: [
|
|
42
|
+
'bodyShapes',
|
|
43
|
+
'mainFile',
|
|
44
|
+
'contents',
|
|
45
|
+
'overrideHides',
|
|
46
|
+
'overrideReplaces'
|
|
47
|
+
]
|
|
42
48
|
};
|
|
43
49
|
const schemaValidator = (0, validation_1.generateValidator)(WearableRepresentation.schema);
|
|
44
50
|
WearableRepresentation.validate = (representation) => schemaValidator(representation) &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"representation.js","sourceRoot":"","sources":["../../../src/platform/wearables/representation.ts"],"names":[],"mappings":";;;AAAA,qEAAgE;AAChE,
|
|
1
|
+
{"version":3,"file":"representation.js","sourceRoot":"","sources":["../../../src/platform/wearables/representation.ts"],"names":[],"mappings":";;;AAAA,qEAAgE;AAChE,iDAIyB;AACzB,+DAAyD;AAWzD,aAAa;AACb,IAAiB,sBAAsB,CAgDtC;AAhDD,WAAiB,sBAAsB;IACxB,6BAAM,GAAuC;QACxD,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,uCAAiB,CAAC,MAAM;gBAC/B,QAAQ,EAAE,CAAC;gBACX,WAAW,EAAE,IAAI;aAClB;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,CAAC;aACb;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;gBACD,QAAQ,EAAE,CAAC;gBACX,WAAW,EAAE,IAAI;aAClB;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,oCAAgB,CAAC,MAAM;aAC/B;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,oCAAgB,CAAC,MAAM;aAC/B;SACF;QACD,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE;YACR,YAAY;YACZ,UAAU;YACV,UAAU;YACV,eAAe;YACf,kBAAkB;SACnB;KACF,CAAA;IAED,MAAM,eAAe,GACnB,IAAA,8BAAiB,EAAC,uBAAA,MAAM,CAAC,CAAA;IACd,+BAAQ,GAA6C,CAChE,cAAmB,EACuB,EAAE,CAC5C,eAAe,CAAC,cAAc,CAAC;QAC/B,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAA;AAC7D,CAAC,EAhDgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAgDtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wearable-body-shape.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/wearable-body-shape.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"wearable-body-shape.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/wearable-body-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AAEzB,aAAa;AACb,oBAAY,iBAAiB;IAC3B,IAAI,qDAAqD;IACzD,MAAM,uDAAuD;CAC9D;AAED,aAAa;AACb,yBAAiB,iBAAiB,CAAC;IAC1B,MAAM,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAGhD,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,iBAAiB,CAC9B,CAAA;CAC5B"}
|
|
@@ -12,7 +12,7 @@ var WearableBodyShape;
|
|
|
12
12
|
(function (WearableBodyShape) {
|
|
13
13
|
WearableBodyShape.schema = {
|
|
14
14
|
type: 'string',
|
|
15
|
-
enum: Object.values(WearableBodyShape)
|
|
15
|
+
enum: Object.values(WearableBodyShape)
|
|
16
16
|
};
|
|
17
17
|
WearableBodyShape.validate = (0, validation_1.generateValidator)(WearableBodyShape.schema);
|
|
18
18
|
})(WearableBodyShape = exports.WearableBodyShape || (exports.WearableBodyShape = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wearable-body-shape.js","sourceRoot":"","sources":["../../../src/platform/wearables/wearable-body-shape.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"wearable-body-shape.js","sourceRoot":"","sources":["../../../src/platform/wearables/wearable-body-shape.ts"],"names":[],"mappings":";;;AAAA,iDAIyB;AAEzB,aAAa;AACb,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,8EAAyD,CAAA;IACzD,kFAA6D,CAAA;AAC/D,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,aAAa;AACb,WAAiB,iBAAiB;IACnB,wBAAM,GAAkC;QACnD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC;KACvC,CAAA;IAEY,0BAAQ,GACnB,IAAA,8BAAiB,EAAC,kBAAA,MAAM,CAAC,CAAA;AAC7B,CAAC,EARgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAQjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wearable.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/wearable.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"wearable.d.ts","sourceRoot":"","sources":["../../../src/platform/wearables/wearable.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,gBAAgB,EACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,aAAa;AACb,oBAAY,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,IAAI,EAAE,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,IAAI,EAAE;QACJ,QAAQ,EAAE,gBAAgB,EAAE,CAAA;QAC5B,KAAK,EAAE,gBAAgB,EAAE,CAAA;QACzB,IAAI,EAAE,MAAM,EAAE,CAAA;QACd,eAAe,EAAE,sBAAsB,EAAE,CAAA;QACzC,QAAQ,EAAE,gBAAgB,CAAA;KAC3B,CAAA;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,aAAa;AACb,yBAAiB,QAAQ,CAAC;IACjB,MAAM,MAAM,EAAE,UAAU,CAAC,QAAQ,CAsEvC,CAAA;IAGM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAKL,CAAA;CAQ5C"}
|