@dcl/schemas 18.8.0 → 19.0.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/dist/dapps/preview/emote-definition.d.ts +9 -3
- package/dist/dapps/preview/emote-definition.d.ts.map +1 -1
- package/dist/dapps/preview/emote-with-blobs.d.ts +11 -3
- package/dist/dapps/preview/emote-with-blobs.d.ts.map +1 -1
- package/dist/platform/item/emote/adr287/emote-data-adr287.d.ts +44 -0
- package/dist/platform/item/emote/adr287/emote-data-adr287.d.ts.map +1 -0
- package/dist/platform/item/emote/adr287/emote-data-adr287.js +92 -0
- package/dist/platform/item/emote/adr287/emote-data-adr287.js.map +1 -0
- package/dist/platform/item/emote/emote.d.ts +6 -2
- package/dist/platform/item/emote/emote.d.ts.map +1 -1
- package/dist/platform/item/emote/emote.js +41 -2
- package/dist/platform/item/emote/emote.js.map +1 -1
- package/dist/platform/item/emote/index.d.ts +2 -1
- package/dist/platform/item/emote/index.d.ts.map +1 -1
- package/dist/platform/item/emote/index.js +7 -1
- package/dist/platform/item/emote/index.js.map +1 -1
- package/dist/schemas.d.ts +80 -7
- package/package.json +2 -2
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import { Emote } from '../../platform';
|
|
1
|
+
import { Emote, EmoteADR74, EmoteADR287 } from '../../platform';
|
|
2
2
|
import { EmoteRepresentationDefinition } from './emote-representation-definition';
|
|
3
|
-
export type
|
|
4
|
-
emoteDataADR74: Omit<
|
|
3
|
+
export type EmoteDefinitionADR74 = Omit<Emote, 'emoteDataADR74'> & {
|
|
4
|
+
emoteDataADR74: Omit<EmoteADR74['emoteDataADR74'], 'representations'> & {
|
|
5
5
|
representations: EmoteRepresentationDefinition[];
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
export type EmoteDefinitionADR287 = Omit<Emote, 'emoteDataADR287'> & {
|
|
9
|
+
emoteDataADR287: Omit<EmoteADR287['emoteDataADR287'], 'representations'> & {
|
|
10
|
+
representations: EmoteRepresentationDefinition[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type EmoteDefinition = EmoteDefinitionADR74 | EmoteDefinitionADR287;
|
|
8
14
|
//# sourceMappingURL=emote-definition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emote-definition.d.ts","sourceRoot":"","sources":["../../../src/dapps/preview/emote-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"emote-definition.d.ts","sourceRoot":"","sources":["../../../src/dapps/preview/emote-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAA;AAEjF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,KAAK,EAAE,gBAAgB,CAAC,GAAG;IACjE,cAAc,EAAE,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,GAAG;QACtE,eAAe,EAAE,6BAA6B,EAAE,CAAA;KACjD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,GAAG;IACnE,eAAe,EAAE,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,GAAG;QACzE,eAAe,EAAE,6BAA6B,EAAE,CAAA;KACjD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG,qBAAqB,CAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import { EmoteDefinition } from './emote-definition';
|
|
1
|
+
import { EmoteDefinition, EmoteDefinitionADR74, EmoteDefinitionADR287 } from './emote-definition';
|
|
2
2
|
import { EmoteRepresentationWithBlobs } from './emote-representation-with-blobs';
|
|
3
3
|
/** @alpha */
|
|
4
|
-
export type
|
|
5
|
-
emoteDataADR74: Omit<
|
|
4
|
+
export type EmoteWithBlobsADR74 = Omit<EmoteDefinitionADR74, 'emoteDataADR74'> & {
|
|
5
|
+
emoteDataADR74: Omit<EmoteDefinitionADR74['emoteDataADR74'], 'representations'> & {
|
|
6
6
|
representations: EmoteRepresentationWithBlobs[];
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
/** @alpha */
|
|
10
|
+
export type EmoteWithBlobsADR287 = Omit<EmoteDefinition, 'emoteDataADR287'> & {
|
|
11
|
+
emoteDataADR287: Omit<EmoteDefinitionADR287['emoteDataADR287'], 'representations'> & {
|
|
12
|
+
representations: EmoteRepresentationWithBlobs[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/** @alpha */
|
|
16
|
+
export type EmoteWithBlobs = EmoteWithBlobsADR74 | EmoteWithBlobsADR287;
|
|
9
17
|
//# sourceMappingURL=emote-with-blobs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emote-with-blobs.d.ts","sourceRoot":"","sources":["../../../src/dapps/preview/emote-with-blobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"emote-with-blobs.d.ts","sourceRoot":"","sources":["../../../src/dapps/preview/emote-with-blobs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAA;AAEhF,aAAa;AACb,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,GAAG;IAC/E,cAAc,EAAE,IAAI,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,GAAG;QAChF,eAAe,EAAE,4BAA4B,EAAE,CAAA;KAChD,CAAA;CACF,CAAA;AAED,aAAa;AACb,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,iBAAiB,CAAC,GAAG;IAC5E,eAAe,EAAE,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC,GAAG;QACnF,eAAe,EAAE,4BAA4B,EAAE,CAAA;KAChD,CAAA;CACF,CAAA;AAED,aAAa;AACb,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { JSONSchema, ValidateFunction } from '../../../../validation';
|
|
2
|
+
import { EmoteDataADR74 } from '../adr74/emote-data-adr74';
|
|
3
|
+
export declare enum ArmatureId {
|
|
4
|
+
Armature = "Armature",
|
|
5
|
+
Armature_Prop = "Armature_Prop",
|
|
6
|
+
Armature_Other = "Armature_Other"
|
|
7
|
+
}
|
|
8
|
+
export declare namespace ArmatureId {
|
|
9
|
+
const schema: JSONSchema<ArmatureId>;
|
|
10
|
+
const validate: ValidateFunction<ArmatureId>;
|
|
11
|
+
}
|
|
12
|
+
export type EmoteClip = {
|
|
13
|
+
animation: string;
|
|
14
|
+
loop: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare namespace EmoteClip {
|
|
17
|
+
const schema: JSONSchema<EmoteClip>;
|
|
18
|
+
const validate: ValidateFunction<EmoteClip>;
|
|
19
|
+
}
|
|
20
|
+
export type StartAnimation = {
|
|
21
|
+
[ArmatureId.Armature]: EmoteClip;
|
|
22
|
+
[ArmatureId.Armature_Prop]?: EmoteClip;
|
|
23
|
+
};
|
|
24
|
+
export declare namespace StartAnimation {
|
|
25
|
+
const schema: JSONSchema<StartAnimation>;
|
|
26
|
+
}
|
|
27
|
+
export type OutcomeGroup = {
|
|
28
|
+
title: string;
|
|
29
|
+
clips: Partial<Record<ArmatureId, EmoteClip>>;
|
|
30
|
+
};
|
|
31
|
+
export declare namespace OutcomeGroup {
|
|
32
|
+
const schema: JSONSchema<OutcomeGroup>;
|
|
33
|
+
const validate: ValidateFunction<OutcomeGroup>;
|
|
34
|
+
}
|
|
35
|
+
export type EmoteDataADR287 = EmoteDataADR74 & {
|
|
36
|
+
startAnimation: StartAnimation;
|
|
37
|
+
randomizeOutcomes: boolean;
|
|
38
|
+
outcomes: OutcomeGroup[];
|
|
39
|
+
};
|
|
40
|
+
export declare namespace EmoteDataADR287 {
|
|
41
|
+
const schema: JSONSchema<EmoteDataADR287>;
|
|
42
|
+
const validate: ValidateFunction<EmoteDataADR287>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=emote-data-adr287.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emote-data-adr287.d.ts","sourceRoot":"","sources":["../../../../../src/platform/item/emote/adr287/emote-data-adr287.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,oBAAY,UAAU;IACpB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;CAClC;AAED,yBAAiB,UAAU,CAAC;IACnB,MAAM,MAAM,EAAE,UAAU,CAAC,UAAU,CAGzC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,UAAU,CAAiC,CAAA;CACpF;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,yBAAiB,SAAS,CAAC;IAClB,MAAM,MAAM,EAAE,UAAU,CAAC,SAAS,CAaxC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAAiC,CAAA;CACnF;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;IAChC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,EAAE,SAAS,CAAA;CACvC,CAAA;AAED,yBAAiB,cAAc,CAAC;IACvB,MAAM,MAAM,EAAE,UAAU,CAAC,cAAc,CAW7C,CAAA;CACF;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAA;CAC9C,CAAA;AAED,yBAAiB,YAAY,CAAC;IACrB,MAAM,MAAM,EAAE,UAAU,CAAC,YAAY,CAsB3C,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,YAAY,CAAiC,CAAA;CACtF;AAED,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG;IAC7C,cAAc,EAAE,cAAc,CAAA;IAC9B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAA;AAED,yBAAiB,eAAe,CAAC;IACxB,MAAM,MAAM,EAAE,UAAU,CAAC,eAAe,CAmB9C,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,eAAe,CAAiC,CAAA;CACzF"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmoteDataADR287 = exports.OutcomeGroup = exports.StartAnimation = exports.EmoteClip = exports.ArmatureId = void 0;
|
|
4
|
+
const validation_1 = require("../../../../validation");
|
|
5
|
+
const emote_data_adr74_1 = require("../adr74/emote-data-adr74");
|
|
6
|
+
var ArmatureId;
|
|
7
|
+
(function (ArmatureId) {
|
|
8
|
+
ArmatureId["Armature"] = "Armature";
|
|
9
|
+
ArmatureId["Armature_Prop"] = "Armature_Prop";
|
|
10
|
+
ArmatureId["Armature_Other"] = "Armature_Other";
|
|
11
|
+
})(ArmatureId = exports.ArmatureId || (exports.ArmatureId = {}));
|
|
12
|
+
(function (ArmatureId) {
|
|
13
|
+
ArmatureId.schema = {
|
|
14
|
+
type: 'string',
|
|
15
|
+
enum: Object.values(ArmatureId)
|
|
16
|
+
};
|
|
17
|
+
ArmatureId.validate = (0, validation_1.generateLazyValidator)(ArmatureId.schema);
|
|
18
|
+
})(ArmatureId = exports.ArmatureId || (exports.ArmatureId = {}));
|
|
19
|
+
var EmoteClip;
|
|
20
|
+
(function (EmoteClip) {
|
|
21
|
+
EmoteClip.schema = {
|
|
22
|
+
type: 'object',
|
|
23
|
+
properties: {
|
|
24
|
+
animation: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
minLength: 1
|
|
27
|
+
},
|
|
28
|
+
loop: {
|
|
29
|
+
type: 'boolean'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
required: ['animation', 'loop'],
|
|
33
|
+
additionalProperties: false
|
|
34
|
+
};
|
|
35
|
+
EmoteClip.validate = (0, validation_1.generateLazyValidator)(EmoteClip.schema);
|
|
36
|
+
})(EmoteClip = exports.EmoteClip || (exports.EmoteClip = {}));
|
|
37
|
+
var StartAnimation;
|
|
38
|
+
(function (StartAnimation) {
|
|
39
|
+
StartAnimation.schema = {
|
|
40
|
+
type: 'object',
|
|
41
|
+
properties: {
|
|
42
|
+
[ArmatureId.Armature]: EmoteClip.schema,
|
|
43
|
+
[ArmatureId.Armature_Prop]: Object.assign(Object.assign({}, EmoteClip.schema), { nullable: true })
|
|
44
|
+
},
|
|
45
|
+
required: [ArmatureId.Armature],
|
|
46
|
+
additionalProperties: true
|
|
47
|
+
};
|
|
48
|
+
})(StartAnimation = exports.StartAnimation || (exports.StartAnimation = {}));
|
|
49
|
+
var OutcomeGroup;
|
|
50
|
+
(function (OutcomeGroup) {
|
|
51
|
+
OutcomeGroup.schema = {
|
|
52
|
+
type: 'object',
|
|
53
|
+
properties: {
|
|
54
|
+
title: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
minLength: 1
|
|
57
|
+
},
|
|
58
|
+
clips: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
properties: Object.values(ArmatureId).reduce((properties, armature) => {
|
|
61
|
+
properties[armature] = Object.assign(Object.assign({}, EmoteClip.schema), { nullable: true });
|
|
62
|
+
return properties;
|
|
63
|
+
}, {}),
|
|
64
|
+
additionalProperties: true,
|
|
65
|
+
minProperties: 1
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
required: ['title', 'clips'],
|
|
69
|
+
additionalProperties: false
|
|
70
|
+
};
|
|
71
|
+
OutcomeGroup.validate = (0, validation_1.generateLazyValidator)(OutcomeGroup.schema);
|
|
72
|
+
})(OutcomeGroup = exports.OutcomeGroup || (exports.OutcomeGroup = {}));
|
|
73
|
+
var EmoteDataADR287;
|
|
74
|
+
(function (EmoteDataADR287) {
|
|
75
|
+
EmoteDataADR287.schema = {
|
|
76
|
+
type: 'object',
|
|
77
|
+
properties: Object.assign(Object.assign({}, emote_data_adr74_1.EmoteDataADR74.schema.properties), {
|
|
78
|
+
// Add ADR287-specific properties
|
|
79
|
+
startAnimation: StartAnimation.schema, randomizeOutcomes: {
|
|
80
|
+
type: 'boolean'
|
|
81
|
+
}, outcomes: {
|
|
82
|
+
type: 'array',
|
|
83
|
+
items: OutcomeGroup.schema,
|
|
84
|
+
minItems: 1,
|
|
85
|
+
maxItems: 3
|
|
86
|
+
} }),
|
|
87
|
+
required: [...emote_data_adr74_1.EmoteDataADR74.schema.required, 'startAnimation', 'randomizeOutcomes', 'outcomes'],
|
|
88
|
+
additionalProperties: true
|
|
89
|
+
};
|
|
90
|
+
EmoteDataADR287.validate = (0, validation_1.generateLazyValidator)(EmoteDataADR287.schema);
|
|
91
|
+
})(EmoteDataADR287 = exports.EmoteDataADR287 || (exports.EmoteDataADR287 = {}));
|
|
92
|
+
//# sourceMappingURL=emote-data-adr287.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emote-data-adr287.js","sourceRoot":"","sources":["../../../../../src/platform/item/emote/adr287/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,QAAQ,EAAE,CAAC;aACZ,GACF;QACD,QAAQ,EAAE,CAAC,GAAG,iCAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,UAAU,CAAC;QAChG,oBAAoB,EAAE,IAAI;KAC3B,CAAA;IAEY,wBAAQ,GAAsC,IAAA,kCAAqB,EAAC,gBAAA,MAAM,CAAC,CAAA;AAC1F,CAAC,EAvBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB/B"}
|
|
@@ -3,14 +3,18 @@ import { BaseItem } from '../base-item';
|
|
|
3
3
|
import { StandardProps } from '../standard-props';
|
|
4
4
|
import { ThirdPartyProps } from '../third-party-props';
|
|
5
5
|
import { EmoteDataADR74 } from './adr74/emote-data-adr74';
|
|
6
|
+
import { EmoteDataADR287 } from './adr287/emote-data-adr287';
|
|
6
7
|
export type EmoteADR74 = BaseItem & (StandardProps | ThirdPartyProps) & {
|
|
7
8
|
emoteDataADR74: EmoteDataADR74;
|
|
8
9
|
};
|
|
10
|
+
export type EmoteADR287 = BaseItem & (StandardProps | ThirdPartyProps) & {
|
|
11
|
+
emoteDataADR287: EmoteDataADR287;
|
|
12
|
+
};
|
|
9
13
|
/** @alpha */
|
|
10
|
-
export type Emote = EmoteADR74;
|
|
14
|
+
export type Emote = EmoteADR74 | EmoteADR287;
|
|
11
15
|
/** @alpha */
|
|
12
16
|
export declare namespace Emote {
|
|
13
17
|
const schema: JSONSchema<Emote>;
|
|
14
|
-
const validate: import("../../../validation").ValidateFunction<
|
|
18
|
+
const validate: import("../../../validation").ValidateFunction<Emote>;
|
|
15
19
|
}
|
|
16
20
|
//# sourceMappingURL=emote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emote.d.ts","sourceRoot":"","sources":["../../../../src/platform/item/emote/emote.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,QAAQ,EAA0D,MAAM,cAAc,CAAA;AAC/F,OAAO,EAAsB,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,EAAmC,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"emote.d.ts","sourceRoot":"","sources":["../../../../src/platform/item/emote/emote.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,QAAQ,EAA0D,MAAM,cAAc,CAAA;AAC/F,OAAO,EAAsB,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,EAAmC,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,CAAC,aAAa,GAAG,eAAe,CAAC,GAAG;IAAE,cAAc,EAAE,cAAc,CAAA;CAAE,CAAA;AAC1G,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,CAAC,aAAa,GAAG,eAAe,CAAC,GAAG;IAAE,eAAe,EAAE,eAAe,CAAA;CAAE,CAAA;AAE7G,aAAa;AACb,MAAM,MAAM,KAAK,GAAG,UAAU,GAAG,WAAW,CAAA;AAE5C,aAAa;AACb,yBAAiB,KAAK,CAAC;IACd,MAAM,MAAM,EAAE,UAAU,CAAC,KAAK,CA0FpC,CAAA;IAcM,MAAM,QAAQ,uDAKnB,CAAA;CACH"}
|
|
@@ -7,17 +7,19 @@ const base_item_1 = require("../base-item");
|
|
|
7
7
|
const standard_props_1 = require("../standard-props");
|
|
8
8
|
const third_party_props_1 = require("../third-party-props");
|
|
9
9
|
const emote_data_adr74_1 = require("./adr74/emote-data-adr74");
|
|
10
|
+
const emote_data_adr287_1 = require("./adr287/emote-data-adr287");
|
|
10
11
|
/** @alpha */
|
|
11
12
|
var Emote;
|
|
12
13
|
(function (Emote) {
|
|
13
14
|
Emote.schema = {
|
|
14
15
|
type: 'object',
|
|
15
|
-
properties: Object.assign(Object.assign(Object.assign(Object.assign({}, base_item_1.baseItemProperties), standard_props_1.standardProperties), third_party_props_1.schema.properties), { emoteDataADR74: emote_data_adr74_1.EmoteDataADR74.schema }),
|
|
16
|
+
properties: Object.assign(Object.assign(Object.assign(Object.assign({}, base_item_1.baseItemProperties), standard_props_1.standardProperties), third_party_props_1.schema.properties), { emoteDataADR74: emote_data_adr74_1.EmoteDataADR74.schema, emoteDataADR287: emote_data_adr287_1.EmoteDataADR287.schema }),
|
|
16
17
|
additionalProperties: true,
|
|
17
18
|
required: [...base_item_1.requiredBaseItemProps],
|
|
18
19
|
oneOf: [
|
|
19
20
|
{
|
|
20
21
|
required: ['emoteDataADR74'],
|
|
22
|
+
prohibited: ['emoteDataADR287'],
|
|
21
23
|
// Emotes of ADR74 must be standard XOR thirdparty
|
|
22
24
|
oneOf: [
|
|
23
25
|
{
|
|
@@ -51,10 +53,47 @@ var Emote;
|
|
|
51
53
|
errorMessage: {
|
|
52
54
|
oneOf: 'emote should have either standard or thirdparty properties'
|
|
53
55
|
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
required: ['emoteDataADR287'],
|
|
59
|
+
prohibited: ['emoteDataADR74'],
|
|
60
|
+
// Emotes of ADR287 must be standard XOR thirdparty
|
|
61
|
+
oneOf: [
|
|
62
|
+
{
|
|
63
|
+
required: ['id', 'i18n'],
|
|
64
|
+
prohibited: ['merkleProof', 'content', 'collectionAddress', 'rarity'],
|
|
65
|
+
_isBaseEmote: true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
required: ['collectionAddress', 'rarity'],
|
|
69
|
+
prohibited: ['merkleProof', 'content'],
|
|
70
|
+
errorMessage: 'standard properties conditions are not met'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
required: [
|
|
74
|
+
'merkleProof',
|
|
75
|
+
/* MerkleProof emote required Keys (might be redundant) */
|
|
76
|
+
'content',
|
|
77
|
+
'id',
|
|
78
|
+
'name',
|
|
79
|
+
'description',
|
|
80
|
+
'i18n',
|
|
81
|
+
'image',
|
|
82
|
+
'thumbnail',
|
|
83
|
+
'emoteDataADR287'
|
|
84
|
+
],
|
|
85
|
+
_isThirdParty: true,
|
|
86
|
+
prohibited: ['collectionAddress', 'rarity'],
|
|
87
|
+
errorMessage: 'thirdparty properties conditions are not met'
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
errorMessage: {
|
|
91
|
+
oneOf: 'emote should have either standard or thirdparty properties'
|
|
92
|
+
}
|
|
54
93
|
}
|
|
55
94
|
],
|
|
56
95
|
errorMessage: {
|
|
57
|
-
oneOf: 'emote should have "emoteDataADR74" and match its schema'
|
|
96
|
+
oneOf: 'emote should have either "emoteDataADR74" or "emoteDataADR287" (but not both) and match its schema'
|
|
58
97
|
}
|
|
59
98
|
};
|
|
60
99
|
const _isThirdPartyKeywordDef = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emote.js","sourceRoot":"","sources":["../../../../src/platform/item/emote/emote.ts"],"names":[],"mappings":";;;AAAA,0BAAyD;AACzD,oDAAuE;AACvE,4CAA+F;AAC/F,sDAAqE;AACrE,4DAAuF;AACvF,+DAAyD;
|
|
1
|
+
{"version":3,"file":"emote.js","sourceRoot":"","sources":["../../../../src/platform/item/emote/emote.ts"],"names":[],"mappings":";;;AAAA,0BAAyD;AACzD,oDAAuE;AACvE,4CAA+F;AAC/F,sDAAqE;AACrE,4DAAuF;AACvF,+DAAyD;AACzD,kEAA4D;AAQ5D,aAAa;AACb,IAAiB,KAAK,CA+GrB;AA/GD,WAAiB,KAAK;IACP,YAAM,GAAsB;QACvC,IAAI,EAAE,QAAQ;QACd,UAAU,8DACL,8BAAkB,GAClB,mCAAkB,GAClB,0BAAqB,CAAC,UAAU,KACnC,cAAc,EAAE,i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} from './emote';
|
|
2
2
|
export { EmoteRepresentationADR74 } from './adr74/representation-adr74';
|
|
3
3
|
export { EmoteDataADR74 } from './adr74/emote-data-adr74';
|
|
4
|
+
export { ArmatureId, EmoteClip, EmoteDataADR287, OutcomeGroup, StartAnimation } from './adr287/emote-data-adr287';
|
|
4
5
|
export { EmoteCategory } from './emote-category';
|
|
5
6
|
export { EmotePlayMode } from './emote-play-mode';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/platform/item/emote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/platform/item/emote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AACjH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EmotePlayMode = exports.EmoteCategory = exports.EmoteDataADR74 = exports.EmoteRepresentationADR74 = exports.Emote = void 0;
|
|
3
|
+
exports.EmotePlayMode = exports.EmoteCategory = exports.StartAnimation = exports.OutcomeGroup = exports.EmoteDataADR287 = exports.EmoteClip = exports.ArmatureId = exports.EmoteDataADR74 = exports.EmoteRepresentationADR74 = exports.Emote = void 0;
|
|
4
4
|
var emote_1 = require("./emote");
|
|
5
5
|
Object.defineProperty(exports, "Emote", { enumerable: true, get: function () { return emote_1.Emote; } });
|
|
6
6
|
var representation_adr74_1 = require("./adr74/representation-adr74");
|
|
7
7
|
Object.defineProperty(exports, "EmoteRepresentationADR74", { enumerable: true, get: function () { return representation_adr74_1.EmoteRepresentationADR74; } });
|
|
8
8
|
var emote_data_adr74_1 = require("./adr74/emote-data-adr74");
|
|
9
9
|
Object.defineProperty(exports, "EmoteDataADR74", { enumerable: true, get: function () { return emote_data_adr74_1.EmoteDataADR74; } });
|
|
10
|
+
var emote_data_adr287_1 = require("./adr287/emote-data-adr287");
|
|
11
|
+
Object.defineProperty(exports, "ArmatureId", { enumerable: true, get: function () { return emote_data_adr287_1.ArmatureId; } });
|
|
12
|
+
Object.defineProperty(exports, "EmoteClip", { enumerable: true, get: function () { return emote_data_adr287_1.EmoteClip; } });
|
|
13
|
+
Object.defineProperty(exports, "EmoteDataADR287", { enumerable: true, get: function () { return emote_data_adr287_1.EmoteDataADR287; } });
|
|
14
|
+
Object.defineProperty(exports, "OutcomeGroup", { enumerable: true, get: function () { return emote_data_adr287_1.OutcomeGroup; } });
|
|
15
|
+
Object.defineProperty(exports, "StartAnimation", { enumerable: true, get: function () { return emote_data_adr287_1.StartAnimation; } });
|
|
10
16
|
var emote_category_1 = require("./emote-category");
|
|
11
17
|
Object.defineProperty(exports, "EmoteCategory", { enumerable: true, get: function () { return emote_category_1.EmoteCategory; } });
|
|
12
18
|
var emote_play_mode_1 = require("./emote-play-mode");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/item/emote/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/item/emote/index.ts"],"names":[],"mappings":";;;AAAA,iCAAwD;AAA/C,8FAAA,KAAK,OAAA;AACd,qEAAuE;AAA9D,gIAAA,wBAAwB,OAAA;AACjC,6DAAyD;AAAhD,kHAAA,cAAc,OAAA;AACvB,gEAAiH;AAAxG,+GAAA,UAAU,OAAA;AAAE,8GAAA,SAAS,OAAA;AAAE,oHAAA,eAAe,OAAA;AAAE,iHAAA,YAAY,OAAA;AAAE,mHAAA,cAAc,OAAA;AAC7E,mDAAgD;AAAvC,+GAAA,aAAa,OAAA;AACtB,qDAAiD;AAAxC,gHAAA,aAAa,OAAA"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -97,6 +97,17 @@ export declare namespace AnyMapping {
|
|
|
97
97
|
const validate: ValidateFunction<Mapping>;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
export declare enum ArmatureId {
|
|
101
|
+
Armature = "Armature",
|
|
102
|
+
Armature_Prop = "Armature_Prop",
|
|
103
|
+
Armature_Other = "Armature_Other"
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare namespace ArmatureId {
|
|
107
|
+
const schema: JSONSchema<ArmatureId>;
|
|
108
|
+
const validate: ValidateFunction<ArmatureId>;
|
|
109
|
+
}
|
|
110
|
+
|
|
100
111
|
export declare type AssetBundleConversionFinishedEvent = BaseEvent & {
|
|
101
112
|
type: Events.Type.ASSET_BUNDLE;
|
|
102
113
|
subType: Events.SubType.AssetBundle.CONVERTED;
|
|
@@ -1081,15 +1092,19 @@ export declare namespace Email {
|
|
|
1081
1092
|
}
|
|
1082
1093
|
|
|
1083
1094
|
/** @alpha */
|
|
1084
|
-
export declare type Emote = EmoteADR74;
|
|
1095
|
+
export declare type Emote = EmoteADR74 | EmoteADR287;
|
|
1085
1096
|
|
|
1086
1097
|
/** @alpha */
|
|
1087
1098
|
export declare namespace Emote {
|
|
1088
1099
|
const schema: JSONSchema<Emote>;
|
|
1089
|
-
const validate: ValidateFunction<
|
|
1100
|
+
const validate: ValidateFunction<Emote>;
|
|
1090
1101
|
}
|
|
1091
1102
|
|
|
1092
|
-
declare type
|
|
1103
|
+
export declare type EmoteADR287 = BaseItem & (StandardProps | ThirdPartyProps) & {
|
|
1104
|
+
emoteDataADR287: EmoteDataADR287;
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
export declare type EmoteADR74 = BaseItem & (StandardProps | ThirdPartyProps) & {
|
|
1093
1108
|
emoteDataADR74: EmoteDataADR74;
|
|
1094
1109
|
};
|
|
1095
1110
|
|
|
@@ -1109,6 +1124,27 @@ export declare namespace EmoteCategory {
|
|
|
1109
1124
|
const validate: ValidateFunction<EmoteCategory>;
|
|
1110
1125
|
}
|
|
1111
1126
|
|
|
1127
|
+
export declare type EmoteClip = {
|
|
1128
|
+
animation: string;
|
|
1129
|
+
loop: boolean;
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
export declare namespace EmoteClip {
|
|
1133
|
+
const schema: JSONSchema<EmoteClip>;
|
|
1134
|
+
const validate: ValidateFunction<EmoteClip>;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export declare type EmoteDataADR287 = EmoteDataADR74 & {
|
|
1138
|
+
startAnimation: StartAnimation;
|
|
1139
|
+
randomizeOutcomes: boolean;
|
|
1140
|
+
outcomes: OutcomeGroup[];
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
export declare namespace EmoteDataADR287 {
|
|
1144
|
+
const schema: JSONSchema<EmoteDataADR287>;
|
|
1145
|
+
const validate: ValidateFunction<EmoteDataADR287>;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1112
1148
|
export declare type EmoteDataADR74 = {
|
|
1113
1149
|
category: EmoteCategory;
|
|
1114
1150
|
representations: EmoteRepresentationADR74[];
|
|
@@ -1121,8 +1157,16 @@ export declare namespace EmoteDataADR74 {
|
|
|
1121
1157
|
const validate: ValidateFunction<EmoteDataADR74>;
|
|
1122
1158
|
}
|
|
1123
1159
|
|
|
1124
|
-
export declare type EmoteDefinition =
|
|
1125
|
-
|
|
1160
|
+
export declare type EmoteDefinition = EmoteDefinitionADR74 | EmoteDefinitionADR287;
|
|
1161
|
+
|
|
1162
|
+
export declare type EmoteDefinitionADR287 = Omit<Emote, 'emoteDataADR287'> & {
|
|
1163
|
+
emoteDataADR287: Omit<EmoteADR287['emoteDataADR287'], 'representations'> & {
|
|
1164
|
+
representations: EmoteRepresentationDefinition[];
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
export declare type EmoteDefinitionADR74 = Omit<Emote, 'emoteDataADR74'> & {
|
|
1169
|
+
emoteDataADR74: Omit<EmoteADR74['emoteDataADR74'], 'representations'> & {
|
|
1126
1170
|
representations: EmoteRepresentationDefinition[];
|
|
1127
1171
|
};
|
|
1128
1172
|
};
|
|
@@ -1181,8 +1225,18 @@ export declare type EmoteRepresentationWithBlobs = Omit<EmoteRepresentationDefin
|
|
|
1181
1225
|
};
|
|
1182
1226
|
|
|
1183
1227
|
/** @alpha */
|
|
1184
|
-
export declare type EmoteWithBlobs =
|
|
1185
|
-
|
|
1228
|
+
export declare type EmoteWithBlobs = EmoteWithBlobsADR74 | EmoteWithBlobsADR287;
|
|
1229
|
+
|
|
1230
|
+
/** @alpha */
|
|
1231
|
+
export declare type EmoteWithBlobsADR287 = Omit<EmoteDefinition, 'emoteDataADR287'> & {
|
|
1232
|
+
emoteDataADR287: Omit<EmoteDefinitionADR287['emoteDataADR287'], 'representations'> & {
|
|
1233
|
+
representations: EmoteRepresentationWithBlobs[];
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
/** @alpha */
|
|
1238
|
+
export declare type EmoteWithBlobsADR74 = Omit<EmoteDefinitionADR74, 'emoteDataADR74'> & {
|
|
1239
|
+
emoteDataADR74: Omit<EmoteDefinitionADR74['emoteDataADR74'], 'representations'> & {
|
|
1186
1240
|
representations: EmoteRepresentationWithBlobs[];
|
|
1187
1241
|
};
|
|
1188
1242
|
};
|
|
@@ -2365,6 +2419,16 @@ export declare enum OrderSortBy {
|
|
|
2365
2419
|
OLDEST = "oldest"
|
|
2366
2420
|
}
|
|
2367
2421
|
|
|
2422
|
+
export declare type OutcomeGroup = {
|
|
2423
|
+
title: string;
|
|
2424
|
+
clips: Partial<Record<ArmatureId, EmoteClip>>;
|
|
2425
|
+
};
|
|
2426
|
+
|
|
2427
|
+
export declare namespace OutcomeGroup {
|
|
2428
|
+
const schema: JSONSchema<OutcomeGroup>;
|
|
2429
|
+
const validate: ValidateFunction<OutcomeGroup>;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2368
2432
|
/**
|
|
2369
2433
|
* @alpha
|
|
2370
2434
|
*/
|
|
@@ -3453,6 +3517,15 @@ export declare type StandardProps = {
|
|
|
3453
3517
|
rarity: Rarity;
|
|
3454
3518
|
};
|
|
3455
3519
|
|
|
3520
|
+
export declare type StartAnimation = {
|
|
3521
|
+
[ArmatureId.Armature]: EmoteClip;
|
|
3522
|
+
[ArmatureId.Armature_Prop]?: EmoteClip;
|
|
3523
|
+
};
|
|
3524
|
+
|
|
3525
|
+
export declare namespace StartAnimation {
|
|
3526
|
+
const schema: JSONSchema<StartAnimation>;
|
|
3527
|
+
}
|
|
3528
|
+
|
|
3456
3529
|
export declare type Store = {
|
|
3457
3530
|
id: string;
|
|
3458
3531
|
owner: string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "19.0.0",
|
|
3
3
|
"name": "@dcl/schemas",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "./dist/index.d.ts",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"files": [
|
|
46
46
|
"dist"
|
|
47
47
|
],
|
|
48
|
-
"commit": "
|
|
48
|
+
"commit": "08c4f0328bbceeab71fa6fd6ba8d50c444944313"
|
|
49
49
|
}
|