hytopia 0.4.2 → 0.4.3
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/docs/server.worldmap.entities.md +5 -1
- package/docs/server.worldmap.md +1 -1
- package/package.json +1 -1
- package/server.api.json +38 -2
- package/server.d.ts +5 -1
@@ -10,6 +10,10 @@ The entities in the map.
|
|
10
10
|
|
11
11
|
```typescript
|
12
12
|
entities?: {
|
13
|
-
[position: string]: EntityOptions
|
13
|
+
[position: string]: Omit<EntityOptions, 'rigidBodyOptions'> & {
|
14
|
+
rigidBodyOptions?: Omit<NonNullable<EntityOptions['rigidBodyOptions']>, 'type'> & {
|
15
|
+
type?: any;
|
16
|
+
};
|
17
|
+
};
|
14
18
|
};
|
15
19
|
```
|
package/docs/server.worldmap.md
CHANGED
@@ -83,7 +83,7 @@ _(Optional)_ The block types in the map.
|
|
83
83
|
|
84
84
|
</td><td>
|
85
85
|
|
86
|
-
{ \[position: string\]: [EntityOptions](./server.entityoptions.md)<!--
|
86
|
+
{ \[position: string\]: Omit<[EntityOptions](./server.entityoptions.md)<!-- -->, 'rigidBodyOptions'> & { rigidBodyOptions?: Omit<NonNullable<[EntityOptions](./server.entityoptions.md)<!-- -->\['rigidBodyOptions'\]>, 'type'> & { type?: any; }; }; }
|
87
87
|
|
88
88
|
|
89
89
|
</td><td>
|
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -44426,6 +44426,15 @@
|
|
44426
44426
|
"kind": "Content",
|
44427
44427
|
"text": "{\n [position: string]: "
|
44428
44428
|
},
|
44429
|
+
{
|
44430
|
+
"kind": "Reference",
|
44431
|
+
"text": "Omit",
|
44432
|
+
"canonicalReference": "!Omit:type"
|
44433
|
+
},
|
44434
|
+
{
|
44435
|
+
"kind": "Content",
|
44436
|
+
"text": "<"
|
44437
|
+
},
|
44429
44438
|
{
|
44430
44439
|
"kind": "Reference",
|
44431
44440
|
"text": "EntityOptions",
|
@@ -44433,7 +44442,34 @@
|
|
44433
44442
|
},
|
44434
44443
|
{
|
44435
44444
|
"kind": "Content",
|
44436
|
-
"text": "
|
44445
|
+
"text": ", 'rigidBodyOptions'> & {\n rigidBodyOptions?: "
|
44446
|
+
},
|
44447
|
+
{
|
44448
|
+
"kind": "Reference",
|
44449
|
+
"text": "Omit",
|
44450
|
+
"canonicalReference": "!Omit:type"
|
44451
|
+
},
|
44452
|
+
{
|
44453
|
+
"kind": "Content",
|
44454
|
+
"text": "<"
|
44455
|
+
},
|
44456
|
+
{
|
44457
|
+
"kind": "Reference",
|
44458
|
+
"text": "NonNullable",
|
44459
|
+
"canonicalReference": "!NonNullable:type"
|
44460
|
+
},
|
44461
|
+
{
|
44462
|
+
"kind": "Content",
|
44463
|
+
"text": "<"
|
44464
|
+
},
|
44465
|
+
{
|
44466
|
+
"kind": "Reference",
|
44467
|
+
"text": "EntityOptions",
|
44468
|
+
"canonicalReference": "server!EntityOptions:type"
|
44469
|
+
},
|
44470
|
+
{
|
44471
|
+
"kind": "Content",
|
44472
|
+
"text": "['rigidBodyOptions']>, 'type'> & {\n type?: any;\n };\n };\n }"
|
44437
44473
|
},
|
44438
44474
|
{
|
44439
44475
|
"kind": "Content",
|
@@ -44446,7 +44482,7 @@
|
|
44446
44482
|
"name": "entities",
|
44447
44483
|
"propertyTypeTokenRange": {
|
44448
44484
|
"startIndex": 1,
|
44449
|
-
"endIndex":
|
44485
|
+
"endIndex": 12
|
44450
44486
|
}
|
44451
44487
|
}
|
44452
44488
|
],
|
package/server.d.ts
CHANGED
@@ -5783,7 +5783,11 @@ export declare interface WorldMap {
|
|
5783
5783
|
/** The entities in the map. */
|
5784
5784
|
entities?: {
|
5785
5785
|
/** The position to entity as entity options mapping. */
|
5786
|
-
[position: string]: EntityOptions
|
5786
|
+
[position: string]: Omit<EntityOptions, 'rigidBodyOptions'> & {
|
5787
|
+
rigidBodyOptions?: Omit<NonNullable<EntityOptions['rigidBodyOptions']>, 'type'> & {
|
5788
|
+
type?: any;
|
5789
|
+
};
|
5790
|
+
};
|
5787
5791
|
};
|
5788
5792
|
}
|
5789
5793
|
|