@dcl/sdk 7.0.0-2536021667.commit-17c845c → 7.0.0-2536579928.commit-004d2e1
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/ecs7/index.d.ts +168 -3
- package/dist/ecs7/index.js +699 -56
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/BoxShape.proto +2 -1
- package/dist/ecs7/proto-definitions/CylinderShape.proto +2 -1
- package/dist/ecs7/proto-definitions/NFTShape.proto +1 -0
- package/dist/ecs7/proto-definitions/PlaneShape.proto +3 -1
- package/dist/ecs7/proto-definitions/SphereShape.proto +1 -1
- package/dist/ecs7/proto-definitions/TextShape.proto +7 -5
- package/dist/ecs7/proto-definitions/UiTransform.proto +159 -0
- package/package.json +6 -6
- package/types/@decentraland/Identity/index.d.ts +2 -0
- package/types/@decentraland/Players/index.d.ts +2 -0
- package/types/ecs7/index.d.ts +168 -3
- package/types/tsconfig.ecs7.json +12 -2
@@ -3,9 +3,10 @@ syntax = "proto3";
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1013;
|
5
5
|
|
6
|
-
message PBBoxShape {
|
6
|
+
message PBBoxShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
10
11
|
repeated float uvs = 4;
|
11
12
|
}
|
@@ -3,9 +3,10 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1016;
|
5
5
|
|
6
|
-
message PBCylinderShape {
|
6
|
+
message PBCylinderShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
10
11
|
float radius_top = 4;
|
11
12
|
float radius_bottom = 5;
|
@@ -3,9 +3,11 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1014;
|
5
5
|
|
6
|
-
message PBPlaneShape {
|
6
|
+
message PBPlaneShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
+
// TODO: should visible be another component? that maybe affects all the entities
|
9
10
|
bool visible = 3;
|
11
|
+
// TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed
|
10
12
|
repeated float uvs = 4;
|
11
13
|
}
|
@@ -7,11 +7,13 @@ import "common/Color3.proto";
|
|
7
7
|
|
8
8
|
message PBTextShape {
|
9
9
|
string text = 1;
|
10
|
+
|
11
|
+
// this should be removed
|
10
12
|
bool visible = 2;
|
11
13
|
string font = 3;
|
12
14
|
float opacity = 4;
|
13
|
-
float
|
14
|
-
bool
|
15
|
+
float font_size = 5;
|
16
|
+
bool font_auto_size = 6;
|
15
17
|
string h_text_align = 7;
|
16
18
|
string v_text_align = 8;
|
17
19
|
float width = 9;
|
@@ -24,10 +26,10 @@ message PBTextShape {
|
|
24
26
|
int32 line_count = 16;
|
25
27
|
bool text_wrapping = 17;
|
26
28
|
float shadow_blur = 18;
|
27
|
-
float
|
28
|
-
float
|
29
|
+
float shadow_offset_x = 19;
|
30
|
+
float shadow_offset_y = 20;
|
29
31
|
float outline_width = 21;
|
30
32
|
Color3 shadow_color = 22;
|
31
33
|
Color3 outline_color = 23;
|
32
34
|
Color3 text_color = 24;
|
33
|
-
}
|
35
|
+
}
|
@@ -0,0 +1,159 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
import "common/id.proto";
|
4
|
+
option (ecs_component_id) = 1050;
|
5
|
+
|
6
|
+
enum YGPositionType {
|
7
|
+
YGPositionTypeStatic = 0;
|
8
|
+
YGPositionTypeRelative = 1;
|
9
|
+
YGPositionTypeAbsolute = 2;
|
10
|
+
}
|
11
|
+
|
12
|
+
enum YGAlign {
|
13
|
+
YGAlignAuto = 0;
|
14
|
+
YGAlignFlexStart = 1;
|
15
|
+
YGAlignCenter = 2;
|
16
|
+
YGAlignFlexEnd = 3;
|
17
|
+
YGAlignStretch = 4;
|
18
|
+
YGAlignBaseline = 5;
|
19
|
+
YGAlignSpaceBetween = 6;
|
20
|
+
YGAlignSpaceAround = 7;
|
21
|
+
}
|
22
|
+
|
23
|
+
enum YGUnit {
|
24
|
+
YGUnitUndefined = 0;
|
25
|
+
YGUnitPoint = 1;
|
26
|
+
YGUnitPercent = 2;
|
27
|
+
YGUnitAuto = 3;
|
28
|
+
}
|
29
|
+
|
30
|
+
enum YGDirection {
|
31
|
+
YGDirectionInherit = 0;
|
32
|
+
YGDirectionLTR = 1;
|
33
|
+
YGDirectionRTL = 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
enum YGFlexDirection {
|
37
|
+
YGFlexDirectionColumn = 0;
|
38
|
+
YGFlexDirectionColumnReverse = 1;
|
39
|
+
YGFlexDirectionRow = 2;
|
40
|
+
YGFlexDirectionRowReverse = 3;
|
41
|
+
}
|
42
|
+
|
43
|
+
enum YGWrap {
|
44
|
+
YGWrapNoWrap = 0;
|
45
|
+
YGWrapWrap = 1;
|
46
|
+
YGWrapWrapReverse = 2;
|
47
|
+
}
|
48
|
+
|
49
|
+
enum YGJustify {
|
50
|
+
YGJustifyFlexStart = 0;
|
51
|
+
YGJustifyCenter = 1;
|
52
|
+
YGJustifyFlexEnd = 2;
|
53
|
+
YGJustifySpaceBetween = 3;
|
54
|
+
YGJustifySpaceAround = 4;
|
55
|
+
YGJustifySpaceEvenly = 5;
|
56
|
+
}
|
57
|
+
|
58
|
+
enum YGOverflow {
|
59
|
+
YGOverflowVisible = 0;
|
60
|
+
YGOverflowHidden = 1;
|
61
|
+
YGOverflowScroll = 2;
|
62
|
+
}
|
63
|
+
|
64
|
+
enum YGDisplay {
|
65
|
+
YGDisplayFlex = 0;
|
66
|
+
YGDisplayNone = 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
enum YGEdge {
|
70
|
+
YGEdgeLeft = 0;
|
71
|
+
YGEdgeTop = 1;
|
72
|
+
YGEdgeRight = 2;
|
73
|
+
YGEdgeBottom = 3;
|
74
|
+
YGEdgeStart = 4;
|
75
|
+
YGEdgeEnd = 5;
|
76
|
+
YGEdgeHorizontal = 6;
|
77
|
+
YGEdgeVertical = 7;
|
78
|
+
YGEdgeAll = 8;
|
79
|
+
}
|
80
|
+
|
81
|
+
message PBUiTransform {
|
82
|
+
YGPositionType position_type = 1;
|
83
|
+
|
84
|
+
YGAlign align_content = 2;
|
85
|
+
YGAlign align_items = 3;
|
86
|
+
YGAlign align_self = 4;
|
87
|
+
YGFlexDirection flex_direction = 5;
|
88
|
+
YGWrap flex_wrap = 6;
|
89
|
+
YGJustify justify_content = 7;
|
90
|
+
|
91
|
+
YGOverflow overflow = 8;
|
92
|
+
YGDisplay display = 9;
|
93
|
+
YGDirection direction = 10;
|
94
|
+
|
95
|
+
float flex = 11;
|
96
|
+
|
97
|
+
YGUnit flex_basis_unit = 13;
|
98
|
+
float flex_basis = 14;
|
99
|
+
|
100
|
+
float flex_grow = 15;
|
101
|
+
float flex_shrink = 16;
|
102
|
+
|
103
|
+
YGUnit width_unit = 17;
|
104
|
+
float width = 18;
|
105
|
+
YGUnit height_unit = 19;
|
106
|
+
float height = 20;
|
107
|
+
|
108
|
+
YGUnit min_width_unit = 21;
|
109
|
+
float min_width = 22;
|
110
|
+
YGUnit min_height_unit = 23;
|
111
|
+
float min_height = 24;
|
112
|
+
|
113
|
+
YGUnit max_width_unit = 31;
|
114
|
+
float max_width = 32;
|
115
|
+
YGUnit max_height_unit = 33;
|
116
|
+
float max_height = 34;
|
117
|
+
|
118
|
+
// non-standard
|
119
|
+
reserved 40; // float aspect_ratio = 40;
|
120
|
+
|
121
|
+
YGUnit position_left_unit = 41;
|
122
|
+
float position_left = 42;
|
123
|
+
YGUnit position_top_unit = 43;
|
124
|
+
float position_top = 44;
|
125
|
+
YGUnit position_right_unit = 45;
|
126
|
+
float position_right = 46;
|
127
|
+
YGUnit position_bottom_unit = 47;
|
128
|
+
float position_bottom = 48;
|
129
|
+
|
130
|
+
// margin
|
131
|
+
YGUnit margin_left_unit = 51;
|
132
|
+
float margin_left = 52;
|
133
|
+
YGUnit margin_top_unit = 53;
|
134
|
+
float margin_top = 54;
|
135
|
+
YGUnit margin_right_unit = 55;
|
136
|
+
float margin_right = 56;
|
137
|
+
YGUnit margin_bottom_unit = 57;
|
138
|
+
float margin_bottom = 58;
|
139
|
+
|
140
|
+
YGUnit padding_left_unit = 61;
|
141
|
+
float padding_left = 62;
|
142
|
+
YGUnit padding_top_unit = 63;
|
143
|
+
float padding_top = 64;
|
144
|
+
YGUnit padding_right_unit = 65;
|
145
|
+
float padding_right = 66;
|
146
|
+
YGUnit padding_bottom_unit = 67;
|
147
|
+
float padding_bottom = 68;
|
148
|
+
|
149
|
+
reserved 71; // YGUnit border_left_unit = 71;
|
150
|
+
float border_left = 72;
|
151
|
+
reserved 73; // YGUnit border_top_unit = 73;
|
152
|
+
float border_top = 74;
|
153
|
+
reserved 75; // YGUnit border_right_unit = 75;
|
154
|
+
float border_right = 76;
|
155
|
+
reserved 77; // YGUnit border_bottom_unit = 77;
|
156
|
+
float border_bottom = 78;
|
157
|
+
}
|
158
|
+
|
159
|
+
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-2536579928.commit-004d2e1",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,16 +27,16 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.2-
|
31
|
-
"@dcl/build-ecs": "6.11.2-
|
32
|
-
"@dcl/kernel": "^1.0.0-
|
30
|
+
"@dcl/amd": "6.11.2-2536579928.commit-004d2e1",
|
31
|
+
"@dcl/build-ecs": "6.11.2-2536579928.commit-004d2e1",
|
32
|
+
"@dcl/kernel": "^1.0.0-2529763428.commit-f5a0321",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
35
|
-
"@dcl/unity-renderer": "^1.0.
|
35
|
+
"@dcl/unity-renderer": "^1.0.40531-20220621125654.commit-472137e",
|
36
36
|
"glob": "^7.1.7",
|
37
37
|
"http-proxy-middleware": "^2.0.3",
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "004d2e1a1ad94bef0fcd3ade1190188002d6caa6"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -22,9 +22,9 @@ declare type ComponentDefinition<T extends EcsType = EcsType<any>> = {
|
|
22
22
|
has(entity: Entity): boolean;
|
23
23
|
getFrom(entity: Entity): DeepReadonly<ComponentType<T>>;
|
24
24
|
getOrNull(entity: Entity): DeepReadonly<ComponentType<T>> | null;
|
25
|
-
create(entity: Entity, val
|
25
|
+
create(entity: Entity, val?: ComponentType<T>): ComponentType<T>;
|
26
26
|
mutable(entity: Entity): ComponentType<T>;
|
27
|
-
createOrReplace(entity: Entity, val
|
27
|
+
createOrReplace(entity: Entity, val?: ComponentType<T>): ComponentType<T>;
|
28
28
|
deleteFrom(entity: Entity): ComponentType<T> | null;
|
29
29
|
upsertFromBinary(entity: Entity, data: ByteBuffer): ComponentType<T> | null;
|
30
30
|
updateFromBinary(entity: Entity, data: ByteBuffer): ComponentType<T> | null;
|
@@ -193,6 +193,7 @@ declare function defineSdkComponents(engine: Pick<IEngine, 'defineComponent'>):
|
|
193
193
|
PlaneShape: ComponentDefinition<EcsType<PBPlaneShape>>;
|
194
194
|
SphereShape: ComponentDefinition<EcsType<PBSphereShape>>;
|
195
195
|
TextShape: ComponentDefinition<EcsType<PBTextShape>>;
|
196
|
+
UiTransform: ComponentDefinition<EcsType<PBUiTransform>>;
|
196
197
|
Transform: ComponentDefinition<EcsType<Transform>>;
|
197
198
|
};
|
198
199
|
|
@@ -226,12 +227,21 @@ declare const EcsString: EcsType<string>;
|
|
226
227
|
declare type EcsType<T = any> = {
|
227
228
|
serialize(value: T, builder: ByteBuffer): void;
|
228
229
|
deserialize(reader: ByteBuffer): T;
|
230
|
+
create(): T;
|
229
231
|
};
|
230
232
|
|
231
233
|
/**
|
232
234
|
* @public
|
233
235
|
*/
|
234
|
-
declare function Engine(
|
236
|
+
declare function Engine({ transports }?: {
|
237
|
+
transports?: Transport[];
|
238
|
+
}): IEngine;
|
239
|
+
|
240
|
+
/**
|
241
|
+
* @alpha * This file initialization is an alpha one. This is based on the old-ecs
|
242
|
+
* init and it'll be changing.
|
243
|
+
*/
|
244
|
+
declare const engine: IEngine;
|
235
245
|
|
236
246
|
/**
|
237
247
|
* @public
|
@@ -1106,6 +1116,7 @@ declare interface PBAudioStream {
|
|
1106
1116
|
declare interface PBBoxShape {
|
1107
1117
|
withCollisions: boolean;
|
1108
1118
|
isPointerBlocker: boolean;
|
1119
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1109
1120
|
visible: boolean;
|
1110
1121
|
uvs: number[];
|
1111
1122
|
}
|
@@ -1113,6 +1124,7 @@ declare interface PBBoxShape {
|
|
1113
1124
|
declare interface PBCylinderShape {
|
1114
1125
|
withCollisions: boolean;
|
1115
1126
|
isPointerBlocker: boolean;
|
1127
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1116
1128
|
visible: boolean;
|
1117
1129
|
radiusTop: number;
|
1118
1130
|
radiusBottom: number;
|
@@ -1121,6 +1133,7 @@ declare interface PBCylinderShape {
|
|
1121
1133
|
declare interface PBNFTShape {
|
1122
1134
|
withCollisions: boolean;
|
1123
1135
|
isPointerBlocker: boolean;
|
1136
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1124
1137
|
visible: boolean;
|
1125
1138
|
src: string;
|
1126
1139
|
assetId: string;
|
@@ -1131,7 +1144,9 @@ declare interface PBNFTShape {
|
|
1131
1144
|
declare interface PBPlaneShape {
|
1132
1145
|
withCollisions: boolean;
|
1133
1146
|
isPointerBlocker: boolean;
|
1147
|
+
/** TODO: should visible be another component? that maybe affects all the entities */
|
1134
1148
|
visible: boolean;
|
1149
|
+
/** TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed */
|
1135
1150
|
uvs: number[];
|
1136
1151
|
}
|
1137
1152
|
|
@@ -1143,6 +1158,7 @@ declare interface PBSphereShape {
|
|
1143
1158
|
|
1144
1159
|
declare interface PBTextShape {
|
1145
1160
|
text: string;
|
1161
|
+
/** this should be removed */
|
1146
1162
|
visible: boolean;
|
1147
1163
|
font: string;
|
1148
1164
|
opacity: number;
|
@@ -1168,6 +1184,65 @@ declare interface PBTextShape {
|
|
1168
1184
|
textColor: Color3 | undefined;
|
1169
1185
|
}
|
1170
1186
|
|
1187
|
+
declare interface PBUiTransform {
|
1188
|
+
positionType: YGPositionType;
|
1189
|
+
alignContent: YGAlign;
|
1190
|
+
alignItems: YGAlign;
|
1191
|
+
alignSelf: YGAlign;
|
1192
|
+
flexDirection: YGFlexDirection;
|
1193
|
+
flexWrap: YGWrap;
|
1194
|
+
justifyContent: YGJustify;
|
1195
|
+
overflow: YGOverflow;
|
1196
|
+
display: YGDisplay;
|
1197
|
+
direction: YGDirection;
|
1198
|
+
flex: number;
|
1199
|
+
flexBasisUnit: YGUnit;
|
1200
|
+
flexBasis: number;
|
1201
|
+
flexGrow: number;
|
1202
|
+
flexShrink: number;
|
1203
|
+
widthUnit: YGUnit;
|
1204
|
+
width: number;
|
1205
|
+
heightUnit: YGUnit;
|
1206
|
+
height: number;
|
1207
|
+
minWidthUnit: YGUnit;
|
1208
|
+
minWidth: number;
|
1209
|
+
minHeightUnit: YGUnit;
|
1210
|
+
minHeight: number;
|
1211
|
+
maxWidthUnit: YGUnit;
|
1212
|
+
maxWidth: number;
|
1213
|
+
maxHeightUnit: YGUnit;
|
1214
|
+
maxHeight: number;
|
1215
|
+
positionLeftUnit: YGUnit;
|
1216
|
+
positionLeft: number;
|
1217
|
+
positionTopUnit: YGUnit;
|
1218
|
+
positionTop: number;
|
1219
|
+
positionRightUnit: YGUnit;
|
1220
|
+
positionRight: number;
|
1221
|
+
positionBottomUnit: YGUnit;
|
1222
|
+
positionBottom: number;
|
1223
|
+
/** margin */
|
1224
|
+
marginLeftUnit: YGUnit;
|
1225
|
+
marginLeft: number;
|
1226
|
+
marginTopUnit: YGUnit;
|
1227
|
+
marginTop: number;
|
1228
|
+
marginRightUnit: YGUnit;
|
1229
|
+
marginRight: number;
|
1230
|
+
marginBottomUnit: YGUnit;
|
1231
|
+
marginBottom: number;
|
1232
|
+
paddingLeftUnit: YGUnit;
|
1233
|
+
paddingLeft: number;
|
1234
|
+
paddingTopUnit: YGUnit;
|
1235
|
+
paddingTop: number;
|
1236
|
+
paddingRightUnit: YGUnit;
|
1237
|
+
paddingRight: number;
|
1238
|
+
paddingBottomUnit: YGUnit;
|
1239
|
+
paddingBottom: number;
|
1240
|
+
borderLeft: number;
|
1241
|
+
borderTop: number;
|
1242
|
+
borderRight: number;
|
1243
|
+
borderBottom: number;
|
1244
|
+
}
|
1245
|
+
|
1171
1246
|
/**
|
1172
1247
|
* Represens a plane by the equation ax + by + cz + d = 0
|
1173
1248
|
* @public
|
@@ -1447,6 +1522,15 @@ declare namespace Quaternion {
|
|
1447
1522
|
*/
|
1448
1523
|
declare const RAD2DEG: number;
|
1449
1524
|
|
1525
|
+
declare type ReceiveMessage = {
|
1526
|
+
entity: Entity;
|
1527
|
+
componentId: number;
|
1528
|
+
timestamp: number;
|
1529
|
+
transportType?: string;
|
1530
|
+
data: Uint8Array;
|
1531
|
+
messageBuffer: Uint8Array;
|
1532
|
+
};
|
1533
|
+
|
1450
1534
|
/**
|
1451
1535
|
* @public
|
1452
1536
|
*/
|
@@ -1505,6 +1589,15 @@ declare type Transform = {
|
|
1505
1589
|
|
1506
1590
|
declare const Transform: EcsType<Transform>;
|
1507
1591
|
|
1592
|
+
declare type Transport = {
|
1593
|
+
type: string;
|
1594
|
+
send(message: Uint8Array): void;
|
1595
|
+
onmessage?(message: Uint8Array): void;
|
1596
|
+
filter(message: TransportMessage): boolean;
|
1597
|
+
};
|
1598
|
+
|
1599
|
+
declare type TransportMessage = Omit<ReceiveMessage, 'data'>;
|
1600
|
+
|
1508
1601
|
/**
|
1509
1602
|
* @public
|
1510
1603
|
*/
|
@@ -1718,4 +1811,76 @@ declare namespace Vector3 {
|
|
1718
1811
|
export function Left(): MutableVector3;
|
1719
1812
|
}
|
1720
1813
|
|
1814
|
+
declare enum YGAlign {
|
1815
|
+
YGAlignAuto = 0,
|
1816
|
+
YGAlignFlexStart = 1,
|
1817
|
+
YGAlignCenter = 2,
|
1818
|
+
YGAlignFlexEnd = 3,
|
1819
|
+
YGAlignStretch = 4,
|
1820
|
+
YGAlignBaseline = 5,
|
1821
|
+
YGAlignSpaceBetween = 6,
|
1822
|
+
YGAlignSpaceAround = 7,
|
1823
|
+
UNRECOGNIZED = -1
|
1824
|
+
}
|
1825
|
+
|
1826
|
+
declare enum YGDirection {
|
1827
|
+
YGDirectionInherit = 0,
|
1828
|
+
YGDirectionLTR = 1,
|
1829
|
+
YGDirectionRTL = 2,
|
1830
|
+
UNRECOGNIZED = -1
|
1831
|
+
}
|
1832
|
+
|
1833
|
+
declare enum YGDisplay {
|
1834
|
+
YGDisplayFlex = 0,
|
1835
|
+
YGDisplayNone = 1,
|
1836
|
+
UNRECOGNIZED = -1
|
1837
|
+
}
|
1838
|
+
|
1839
|
+
declare enum YGFlexDirection {
|
1840
|
+
YGFlexDirectionColumn = 0,
|
1841
|
+
YGFlexDirectionColumnReverse = 1,
|
1842
|
+
YGFlexDirectionRow = 2,
|
1843
|
+
YGFlexDirectionRowReverse = 3,
|
1844
|
+
UNRECOGNIZED = -1
|
1845
|
+
}
|
1846
|
+
|
1847
|
+
declare enum YGJustify {
|
1848
|
+
YGJustifyFlexStart = 0,
|
1849
|
+
YGJustifyCenter = 1,
|
1850
|
+
YGJustifyFlexEnd = 2,
|
1851
|
+
YGJustifySpaceBetween = 3,
|
1852
|
+
YGJustifySpaceAround = 4,
|
1853
|
+
YGJustifySpaceEvenly = 5,
|
1854
|
+
UNRECOGNIZED = -1
|
1855
|
+
}
|
1856
|
+
|
1857
|
+
declare enum YGOverflow {
|
1858
|
+
YGOverflowVisible = 0,
|
1859
|
+
YGOverflowHidden = 1,
|
1860
|
+
YGOverflowScroll = 2,
|
1861
|
+
UNRECOGNIZED = -1
|
1862
|
+
}
|
1863
|
+
|
1864
|
+
declare enum YGPositionType {
|
1865
|
+
YGPositionTypeStatic = 0,
|
1866
|
+
YGPositionTypeRelative = 1,
|
1867
|
+
YGPositionTypeAbsolute = 2,
|
1868
|
+
UNRECOGNIZED = -1
|
1869
|
+
}
|
1870
|
+
|
1871
|
+
declare enum YGUnit {
|
1872
|
+
YGUnitUndefined = 0,
|
1873
|
+
YGUnitPoint = 1,
|
1874
|
+
YGUnitPercent = 2,
|
1875
|
+
YGUnitAuto = 3,
|
1876
|
+
UNRECOGNIZED = -1
|
1877
|
+
}
|
1878
|
+
|
1879
|
+
declare enum YGWrap {
|
1880
|
+
YGWrapNoWrap = 0,
|
1881
|
+
YGWrapWrap = 1,
|
1882
|
+
YGWrapWrapReverse = 2,
|
1883
|
+
UNRECOGNIZED = -1
|
1884
|
+
}
|
1885
|
+
|
1721
1886
|
|
package/types/tsconfig.ecs7.json
CHANGED
@@ -18,10 +18,20 @@
|
|
18
18
|
"types": [
|
19
19
|
"env",
|
20
20
|
"ecs7-env",
|
21
|
-
"ecs7"
|
21
|
+
"ecs7",
|
22
|
+
"@decentraland/EthereumController",
|
23
|
+
"@decentraland/SocialController",
|
24
|
+
"@decentraland/Identity",
|
25
|
+
"@decentraland/web3-provider",
|
26
|
+
"@decentraland/EnvironmentAPI",
|
27
|
+
"@decentraland/ParcelIdentity",
|
28
|
+
"@decentraland/PortableExperiences",
|
29
|
+
"@decentraland/RestrictedActions",
|
30
|
+
"@decentraland/SignedFetch",
|
31
|
+
"@decentraland/Players"
|
22
32
|
],
|
23
33
|
"typeRoots": [
|
24
34
|
"."
|
25
35
|
]
|
26
36
|
}
|
27
|
-
}
|
37
|
+
}
|