hytopia 0.7.6 → 0.7.7
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/bun-server.mjs +4 -4
- package/docs/server.chunklatticeevent.md +14 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.add_chunk_.md +16 -0
- package/docs/server.chunklatticeeventpayloads.md +19 -0
- package/node-server.mjs +3 -3
- package/package.json +1 -1
- package/server.api.json +75 -0
- package/server.d.ts +6 -0
package/package.json
CHANGED
package/server.api.json
CHANGED
|
@@ -7722,6 +7722,27 @@
|
|
|
7722
7722
|
"name": "ChunkLatticeEvent",
|
|
7723
7723
|
"preserveMemberOrder": false,
|
|
7724
7724
|
"members": [
|
|
7725
|
+
{
|
|
7726
|
+
"kind": "EnumMember",
|
|
7727
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member",
|
|
7728
|
+
"docComment": "",
|
|
7729
|
+
"excerptTokens": [
|
|
7730
|
+
{
|
|
7731
|
+
"kind": "Content",
|
|
7732
|
+
"text": "ADD_CHUNK = "
|
|
7733
|
+
},
|
|
7734
|
+
{
|
|
7735
|
+
"kind": "Content",
|
|
7736
|
+
"text": "\"CHUNK_LATTICE.ADD_CHUNK\""
|
|
7737
|
+
}
|
|
7738
|
+
],
|
|
7739
|
+
"initializerTokenRange": {
|
|
7740
|
+
"startIndex": 1,
|
|
7741
|
+
"endIndex": 2
|
|
7742
|
+
},
|
|
7743
|
+
"releaseTag": "Public",
|
|
7744
|
+
"name": "ADD_CHUNK"
|
|
7745
|
+
},
|
|
7725
7746
|
{
|
|
7726
7747
|
"kind": "EnumMember",
|
|
7727
7748
|
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
|
|
@@ -7781,6 +7802,60 @@
|
|
|
7781
7802
|
"name": "ChunkLatticeEventPayloads",
|
|
7782
7803
|
"preserveMemberOrder": false,
|
|
7783
7804
|
"members": [
|
|
7805
|
+
{
|
|
7806
|
+
"kind": "PropertySignature",
|
|
7807
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.ADD_CHUNK\":member",
|
|
7808
|
+
"docComment": "/**\n * Emitted when a chunk is added to the lattice.\n */\n",
|
|
7809
|
+
"excerptTokens": [
|
|
7810
|
+
{
|
|
7811
|
+
"kind": "Content",
|
|
7812
|
+
"text": "["
|
|
7813
|
+
},
|
|
7814
|
+
{
|
|
7815
|
+
"kind": "Reference",
|
|
7816
|
+
"text": "ChunkLatticeEvent.ADD_CHUNK",
|
|
7817
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member"
|
|
7818
|
+
},
|
|
7819
|
+
{
|
|
7820
|
+
"kind": "Content",
|
|
7821
|
+
"text": "]: "
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"kind": "Content",
|
|
7825
|
+
"text": "{\n chunkLattice: "
|
|
7826
|
+
},
|
|
7827
|
+
{
|
|
7828
|
+
"kind": "Reference",
|
|
7829
|
+
"text": "ChunkLattice",
|
|
7830
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
7831
|
+
},
|
|
7832
|
+
{
|
|
7833
|
+
"kind": "Content",
|
|
7834
|
+
"text": ";\n chunk: "
|
|
7835
|
+
},
|
|
7836
|
+
{
|
|
7837
|
+
"kind": "Reference",
|
|
7838
|
+
"text": "Chunk",
|
|
7839
|
+
"canonicalReference": "server!Chunk:class"
|
|
7840
|
+
},
|
|
7841
|
+
{
|
|
7842
|
+
"kind": "Content",
|
|
7843
|
+
"text": ";\n }"
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"kind": "Content",
|
|
7847
|
+
"text": ";"
|
|
7848
|
+
}
|
|
7849
|
+
],
|
|
7850
|
+
"isReadonly": false,
|
|
7851
|
+
"isOptional": false,
|
|
7852
|
+
"releaseTag": "Public",
|
|
7853
|
+
"name": "\"CHUNK_LATTICE.ADD_CHUNK\"",
|
|
7854
|
+
"propertyTypeTokenRange": {
|
|
7855
|
+
"startIndex": 3,
|
|
7856
|
+
"endIndex": 8
|
|
7857
|
+
}
|
|
7858
|
+
},
|
|
7784
7859
|
{
|
|
7785
7860
|
"kind": "PropertySignature",
|
|
7786
7861
|
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
|
package/server.d.ts
CHANGED
|
@@ -1027,12 +1027,18 @@ export declare class ChunkLattice extends EventRouter {
|
|
|
1027
1027
|
|
|
1028
1028
|
/** Event types a ChunkLattice instance can emit. See {@link ChunkLatticeEventPayloads} for the payloads. @public */
|
|
1029
1029
|
export declare enum ChunkLatticeEvent {
|
|
1030
|
+
ADD_CHUNK = "CHUNK_LATTICE.ADD_CHUNK",
|
|
1030
1031
|
REMOVE_CHUNK = "CHUNK_LATTICE.REMOVE_CHUNK",
|
|
1031
1032
|
SET_BLOCK = "CHUNK_LATTICE.SET_BLOCK"
|
|
1032
1033
|
}
|
|
1033
1034
|
|
|
1034
1035
|
/** Event payloads for ChunkLattice emitted events. @public */
|
|
1035
1036
|
export declare interface ChunkLatticeEventPayloads {
|
|
1037
|
+
/** Emitted when a chunk is added to the lattice. */
|
|
1038
|
+
[ChunkLatticeEvent.ADD_CHUNK]: {
|
|
1039
|
+
chunkLattice: ChunkLattice;
|
|
1040
|
+
chunk: Chunk;
|
|
1041
|
+
};
|
|
1036
1042
|
/** Emitted when a chunk is removed from the lattice. */
|
|
1037
1043
|
[ChunkLatticeEvent.REMOVE_CHUNK]: {
|
|
1038
1044
|
chunkLattice: ChunkLattice;
|