hytopia 0.7.5 → 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 +169 -169
- 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/docs/server.telemetry.getprocessstats.md +1 -1
- package/docs/server.telemetry.md +1 -1
- package/node-server.mjs +167 -167
- package/package.json +1 -1
- package/server.api.json +76 -1
- package/server.d.ts +7 -1
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",
|
|
@@ -48921,7 +48996,7 @@
|
|
|
48921
48996
|
{
|
|
48922
48997
|
"kind": "Method",
|
|
48923
48998
|
"canonicalReference": "server!Telemetry.getProcessStats:member(1)",
|
|
48924
|
-
"docComment": "/**\n * Gets current
|
|
48999
|
+
"docComment": "/**\n * Gets current process memory and performance statistics.\n *\n * @param asMeasurement - Whether to return data in Sentry measurement format with units.\n *\n * @returns Process statistics including heap usage, RSS memory, and capacity metrics.\n */\n",
|
|
48925
49000
|
"excerptTokens": [
|
|
48926
49001
|
{
|
|
48927
49002
|
"kind": "Content",
|
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;
|
|
@@ -6161,7 +6167,7 @@ export declare const SUPPORTED_INPUT_KEYS: readonly ["w", "a", "s", "d", "sp", "
|
|
|
6161
6167
|
*/
|
|
6162
6168
|
export declare class Telemetry {
|
|
6163
6169
|
/**
|
|
6164
|
-
* Gets current
|
|
6170
|
+
* Gets current process memory and performance statistics.
|
|
6165
6171
|
*
|
|
6166
6172
|
* @param asMeasurement - Whether to return data in Sentry measurement format with units.
|
|
6167
6173
|
* @returns Process statistics including heap usage, RSS memory, and capacity metrics.
|