@crowdedkingdoms/crowdyjs 18.30.0 → 18.31.1-dev.1
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/MIGRATION.md +39 -0
- package/README.md +21 -15
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/generated/graphql-schema.d.ts +2 -0
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql.d.ts +1 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/stores/chunks.d.ts +101 -47
- package/dist/stores/chunks.d.ts.map +1 -1
- package/dist/stores/chunks.js +490 -200
- package/package.json +1 -1
|
@@ -110,7 +110,7 @@ export const SetChannelPolicyDocument = { "kind": "Document", "definitions": [{
|
|
|
110
110
|
export const UnbanChannelMemberDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UnbanChannelMember" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "unbanChannelMember" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "groupId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "groupId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "userId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "userId" } } }] }] } }] };
|
|
111
111
|
export const UpdateChannelDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateChannel" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateChannelInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateChannel" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "membershipPolicy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
112
112
|
export const UpdateChannelRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "UpdateChannelRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpdateGroupRoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "updateChannelRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "groupRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "groupId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rank" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
|
|
113
|
-
export const GetChunkDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetChunk" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GetChunkInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getChunk" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "chunkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelStates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "voxelCoord" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelStatesTruncated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "owner" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cdnUploadedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lods" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "level" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }] } }] } }] } }] };
|
|
113
|
+
export const GetChunkDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetChunk" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GetChunkInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getChunk" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "chunkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelStates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "voxelCoord" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelStatesTruncated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "owner" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cdnUploadedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lods" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "level" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }] } }] } }] } }] };
|
|
114
114
|
export const GetChunkLodsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetChunkLods" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GetChunkLodsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getChunkLods" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "chunkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "lods" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "level" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] } }] };
|
|
115
115
|
export const GetChunksByDistanceDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetChunksByDistance" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GetChunksByDistanceInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getChunksByDistance" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "limit" } }, { "kind": "Field", "name": { "kind": "Name", "value": "skip" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunks" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "chunkId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxels" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelStatesTruncated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "owner" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cdnUploadedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lods" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "level" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" } }] } }] } }] } }] } }] };
|
|
116
116
|
export const GetVoxelListDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetVoxelList" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GetVoxelListInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getVoxelList" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxels" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "voxelUpdateId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "coordinates" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "location" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "x" } }, { "kind": "Field", "name": { "kind": "Name", "value": "y" } }, { "kind": "Field", "name": { "kind": "Name", "value": "z" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] } }] };
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
* never an untrusted browser.
|
|
47
47
|
*/
|
|
48
48
|
/** The published package version. Mirrors `package.json`. */
|
|
49
|
-
export declare const VERSION = "18.
|
|
49
|
+
export declare const VERSION = "18.31.1-dev.1";
|
|
50
50
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
51
51
|
export { CrowdyClient, createCrowdyClient, type CrowdyClientConfig, } from './crowdy-client.js';
|
|
52
52
|
export { CROWDY_DEFAULT_TIER, CROWDY_DEFAULT_HOST, CROWDY_DEFAULT_HTTP_ORIGIN, CROWDY_DEFAULT_WS_ORIGIN, } from './default-origin.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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usted browser.
|
|
47
47
|
*/
|
|
48
48
|
/** The published package version. Mirrors `package.json`. */
|
|
49
|
-
export const VERSION = '18.
|
|
49
|
+
export const VERSION = '18.31.1-dev.1';
|
|
50
50
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
51
51
|
export { CrowdyClient, createCrowdyClient, } from './crowdy-client.js';
|
|
52
52
|
// The tier this build defaults to, exported so a consumer can PRINT what it is
|
package/dist/stores/chunks.d.ts
CHANGED
|
@@ -93,8 +93,9 @@ export interface VoxelEditRefusal<TVoxelState = string> {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly reason: string;
|
|
95
95
|
/**
|
|
96
|
-
* Whether the
|
|
97
|
-
*
|
|
96
|
+
* Whether the voxel stopped showing this edit: it shows this client's next unanswered edit of the
|
|
97
|
+
* voxel, or the value the server confirmed there (another client's edit that arrived meanwhile
|
|
98
|
+
* included). False when a newer edit of the voxel is what it shows, or the edit was sent with
|
|
98
99
|
* `optimistic: false`.
|
|
99
100
|
*/
|
|
100
101
|
readonly restored: boolean;
|
|
@@ -196,9 +197,9 @@ export interface ChunkStoreConfig<TVoxelState = string, TChunkState = string> {
|
|
|
196
197
|
*/
|
|
197
198
|
reloadReplacedChunks?: boolean;
|
|
198
199
|
/**
|
|
199
|
-
* When the realtime connection comes back, read what changed in
|
|
200
|
-
*
|
|
201
|
-
*
|
|
200
|
+
* When the realtime connection comes back, read what changed while it was down in every chunk
|
|
201
|
+
* the store tracks (see {@link ChunkStore.catchUp}). Needs the client's `realtime` (a
|
|
202
|
+
* `CrowdyClient` has it). Defaults to true.
|
|
202
203
|
*/
|
|
203
204
|
catchUpOnReconnect?: boolean;
|
|
204
205
|
/** Clock override for tests. Defaults to `Date.now`. */
|
|
@@ -235,17 +236,24 @@ export interface SetVoxelInput<TVoxelState> {
|
|
|
235
236
|
* edit with a type outside 0-255 or a position outside 0-15 goes to the
|
|
236
237
|
* chunk's `overlay` instead). A `chunkChanged` (a hub's or mod's
|
|
237
238
|
* `world.set_chunk`) reads the chunk again.
|
|
239
|
+
* - Merging (18.31.0): each voxel holds the last value the server confirmed and
|
|
240
|
+
* the server's time for it (a stored row's write, an entry's `updatedAt`, a
|
|
241
|
+
* notification's `epochMillis`, a recorded edit's `createdAt`). A change older
|
|
242
|
+
* than the value held is dropped, whatever order changes arrive in, and a
|
|
243
|
+
* stored copy that arrives after a newer realtime change keeps that change;
|
|
244
|
+
* a change to a chunk still being read is kept the same way.
|
|
238
245
|
* - `setVoxel` applies locally (optimistic) and replicates via the UDP path,
|
|
239
246
|
* paced: at most 128 edits unanswered and 250 a second by default. The
|
|
240
|
-
* server delivers every accepted edit back to its sender: that echo
|
|
241
|
-
*
|
|
242
|
-
* local edit fires one change event
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
+
* server delivers every accepted edit back to its sender: that echo (sender
|
|
248
|
+
* uuid + sequence number + voxel + type + state) confirms the edit and is not
|
|
249
|
+
* applied again, so a local edit fires one change event. This client's
|
|
250
|
+
* unanswered edits show over the confirmed value; another client's edit that
|
|
251
|
+
* arrives meanwhile becomes the confirmed value. An edit the server refuses,
|
|
252
|
+
* or whose echo does not come back in time, is reported
|
|
253
|
+
* ({@link onEditRefused}) and the voxel shows the next unanswered edit, or
|
|
254
|
+
* the confirmed value.
|
|
247
255
|
* - After the realtime connection drops and comes back, it reads what changed
|
|
248
|
-
* in
|
|
256
|
+
* meanwhile in every chunk it tracks ({@link catchUp}).
|
|
249
257
|
* - `seed`/`flush` implement deterministic-worldgen write-back through
|
|
250
258
|
* `chunks.update`, one throttled chunk at a time. Only seeded chunks are
|
|
251
259
|
* written back: realtime edits are recorded by the server.
|
|
@@ -281,8 +289,14 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
281
289
|
private readonly editTimeoutMs;
|
|
282
290
|
private revisionValue;
|
|
283
291
|
private sequence;
|
|
284
|
-
/**
|
|
285
|
-
private readonly
|
|
292
|
+
/** Voxels with this client's unanswered edits, per `chunkKey|voxelKey`. */
|
|
293
|
+
private readonly pendingCells;
|
|
294
|
+
/** Per chunk key: the server's time for each voxel whose value is newer than the stored row. */
|
|
295
|
+
private readonly cellTimes;
|
|
296
|
+
/** Per chunk key: the voxels merged since the stored copy. */
|
|
297
|
+
private readonly arrivals;
|
|
298
|
+
/** Confirmed values merged so far: without server times, what was merged after a read was asked for is newer. */
|
|
299
|
+
private mergeSeq;
|
|
286
300
|
/** Edits waiting to be sent, in order. */
|
|
287
301
|
private readonly sendQueue;
|
|
288
302
|
/** Sent edits not yet answered, by sequence number. */
|
|
@@ -291,8 +305,6 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
291
305
|
private tokensAt;
|
|
292
306
|
/** Chunks being read again; a key mapped to true is read once more when that read ends. */
|
|
293
307
|
private readonly reloading;
|
|
294
|
-
/** The area the last {@link ensureAround} covered, for a catch-up. */
|
|
295
|
-
private lastArea;
|
|
296
308
|
/** When the realtime connection was last lost (while the store had loaded an area). */
|
|
297
309
|
private disconnectedAt;
|
|
298
310
|
private wasConnected;
|
|
@@ -311,6 +323,12 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
311
323
|
voxelTypeAt(coord: ChunkCoord, x: number, y: number, z: number): number;
|
|
312
324
|
/** The typed per-voxel state at a within-chunk coordinate (the overlay's first), if any. */
|
|
313
325
|
voxelStateAt(coord: ChunkCoord, x: number, y: number, z: number): TVoxelState | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* When the server confirmed the value the store holds for a voxel (epoch ms): the last change it
|
|
328
|
+
* merged there, or the stored row's write. Null when unknown. An unanswered local edit shows over
|
|
329
|
+
* that value and does not change it.
|
|
330
|
+
*/
|
|
331
|
+
confirmedAt(coord: ChunkCoord, x: number, y: number, z: number): number | null;
|
|
314
332
|
/** Subscribe to per-chunk changes (loads, merges, edits). @returns off. */
|
|
315
333
|
onChunkChanged(listener: (chunk: CachedChunk<TVoxelState, TChunkState>) => void): () => void;
|
|
316
334
|
/**
|
|
@@ -367,20 +385,28 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
367
385
|
*/
|
|
368
386
|
private readBox;
|
|
369
387
|
/**
|
|
370
|
-
* Hydrate one chunk's sparse voxel states (and chunk state) via a
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
*
|
|
381
|
-
*
|
|
382
|
-
|
|
383
|
-
|
|
388
|
+
* Hydrate one chunk's sparse voxel states (and chunk state) via a single-chunk fetch — bulk loads
|
|
389
|
+
* omit them — merged as a load is: a value merged since the read was asked for that is newer than
|
|
390
|
+
* the copy stays, and this client's unanswered edits show over it. Resolves once that read has
|
|
391
|
+
* ended: true when its copy was applied (or a newer one was already held), false when the chunk
|
|
392
|
+
* was never stored or was evicted while the read was out.
|
|
393
|
+
*/
|
|
394
|
+
hydrate(coord: ChunkCoord): Promise<boolean>;
|
|
395
|
+
/**
|
|
396
|
+
* Read what changed since `since` in every chunk the store tracks (18.31.0; the last area
|
|
397
|
+
* {@link ensureAround} loaded before), or in `boxes`: the recorded edits
|
|
398
|
+
* (`voxels.listByDistance`, when the client has `voxels`) merge into the chunks the store tracks
|
|
399
|
+
* by their `createdAt`, the never-stored (`missing`) ones included, and a chunk whose stored row
|
|
400
|
+
* was written since then (`chunks.byDistance` with `since`: `updateChunk`, `world.set_chunk`) is
|
|
401
|
+
* read again. The area is read in boxes of at most 17³ chunks; a box larger than that is cut, and
|
|
402
|
+
* more than 64 such boxes is refused (resolves false). The store calls it when the realtime
|
|
403
|
+
* connection comes back ({@link ChunkStoreConfig.catchUpOnReconnect}), from 30 s before the
|
|
404
|
+
* connection dropped. Needs ck-api v2.67.0. Resolves whether anything was read.
|
|
405
|
+
*/
|
|
406
|
+
catchUp(since: Date, boxes?: ReadonlyArray<{
|
|
407
|
+
low: ChunkCoord;
|
|
408
|
+
high: ChunkCoord;
|
|
409
|
+
}>): Promise<boolean>;
|
|
384
410
|
/**
|
|
385
411
|
* Edit one voxel: applies to the cache immediately (optimistic) and
|
|
386
412
|
* replicates via the realtime voxel path. Sends are paced
|
|
@@ -408,8 +434,19 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
408
434
|
* {@link onWriteBackFailed}); it does not reject for them.
|
|
409
435
|
*/
|
|
410
436
|
flush(): Promise<Array<ChunkWriteBackFailure<TVoxelState, TChunkState>>>;
|
|
411
|
-
/** Drop tracked chunks farther than `radius` from `center` (dirty ones kept). */
|
|
412
|
-
pruneBeyond(center: ChunkCoord, radius: number):
|
|
437
|
+
/** Drop tracked chunks farther than `radius` from `center` (dirty ones kept). Returns how many. */
|
|
438
|
+
pruneBeyond(center: ChunkCoord, radius: number): number;
|
|
439
|
+
/**
|
|
440
|
+
* Drop one tracked chunk (18.31.0), as {@link pruneBeyond} does. Returns whether it was dropped:
|
|
441
|
+
* false when the store does not track it, or it is queued for write-back. A read of it that is
|
|
442
|
+
* out is not applied.
|
|
443
|
+
*/
|
|
444
|
+
evict(coord: ChunkCoord): boolean;
|
|
445
|
+
/**
|
|
446
|
+
* Drop every tracked chunk `drop` returns true for (18.31.0), for a view that is not a cube (a
|
|
447
|
+
* sphere, a column, several players); chunks queued for write-back stay. Returns how many.
|
|
448
|
+
*/
|
|
449
|
+
pruneIf(drop: (chunk: CachedChunk<TVoxelState, TChunkState>) => boolean): number;
|
|
413
450
|
/**
|
|
414
451
|
* Write back the first queued chunk that is due (the head of the queue when `now`).
|
|
415
452
|
* @returns the failure when the store gave up on it.
|
|
@@ -426,32 +463,49 @@ export declare class ChunkStore<TVoxelState = string, TChunkState = string> {
|
|
|
426
463
|
private reload;
|
|
427
464
|
private applyServerChunk;
|
|
428
465
|
/**
|
|
429
|
-
*
|
|
430
|
-
*
|
|
466
|
+
* Apply a stored copy (`entries` undefined: a bulk read, which has no `voxelStates`) under what
|
|
467
|
+
* the store merged since the read was asked for: a value newer than the copy's for its voxel
|
|
468
|
+
* stays (by the server's times; without them, a value merged after `requestedSeq`). This
|
|
469
|
+
* client's unanswered edits show over the copy, which becomes their confirmed value unless the
|
|
470
|
+
* one held is newer.
|
|
431
471
|
*/
|
|
432
|
-
private
|
|
472
|
+
private adoptCopy;
|
|
433
473
|
/** Send queued edits while the pace and the in-flight limit allow. */
|
|
434
474
|
private pump;
|
|
435
475
|
private transmit;
|
|
436
476
|
/** Undo and report the sent edits whose echo did not come back in time. */
|
|
437
477
|
private expireEdits;
|
|
438
478
|
/**
|
|
439
|
-
*
|
|
440
|
-
*
|
|
479
|
+
* End an edit: echoed (`reason` null; at `echoTimeMs` it becomes the voxel's confirmed value,
|
|
480
|
+
* unless the one held is newer), or one the server will not apply (reported). The voxel then
|
|
481
|
+
* shows its next unanswered edit, or its confirmed value. Lets the next queued edit go.
|
|
441
482
|
*/
|
|
442
|
-
private
|
|
483
|
+
private finishEdit;
|
|
443
484
|
private markMissing;
|
|
444
|
-
private rememberEdit;
|
|
445
|
-
/** The pending edits for one voxel, oldest first, after undoing the ones that timed out. */
|
|
446
|
-
private livePendingEdits;
|
|
447
485
|
/**
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
* applied optimistically is not applied again (no second change event), and an echo is never
|
|
451
|
-
* applied over a newer local edit of the same voxel. Another client's edit is applied, and
|
|
452
|
-
* marks the pending local edits of that voxel stale so their echoes restore them.
|
|
486
|
+
* Whether a realtime voxel edit is the echo of one of this client's unanswered edits (sender uuid,
|
|
487
|
+
* sequence number, voxel, type and state); one is ended as echoed at the notification's time.
|
|
453
488
|
*/
|
|
454
489
|
private takeEcho;
|
|
490
|
+
/**
|
|
491
|
+
* Merge a confirmed value at the server's time for it. Without one (0), it is new unless it came
|
|
492
|
+
* from a read asked for at `readSeq` and the voxel changed after that. Under this client's
|
|
493
|
+
* unanswered edits it becomes their confirmed value, and the voxel keeps showing the newest edit.
|
|
494
|
+
*/
|
|
495
|
+
private confirm;
|
|
496
|
+
/** Show a value at a voxel; a change event only when it differs from what the voxel shows. */
|
|
497
|
+
private show;
|
|
498
|
+
/** A server time, no further past this machine's clock than {@link MAX_FUTURE_SKEW_MS}; 0 when unknown. */
|
|
499
|
+
private clampTime;
|
|
500
|
+
/** The server's time for a voxel's value: its own, or the stored row's (0 when unknown). */
|
|
501
|
+
private timeOf;
|
|
502
|
+
/** The merge a voxel's value arrived in (0: the stored copy). */
|
|
503
|
+
private arrivalOf;
|
|
504
|
+
/** Record a voxel's server time and the merge it arrived in (0: the stored copy). */
|
|
505
|
+
private setTime;
|
|
506
|
+
private mapOf;
|
|
507
|
+
/** Stop tracking a chunk. A read of it that is out is not applied. */
|
|
508
|
+
private forget;
|
|
455
509
|
private applyVoxel;
|
|
456
510
|
/** Set one voxel's type and state, in the dense grid or the overlay, without a change event. */
|
|
457
511
|
private writeVoxel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chunks.d.ts","sourceRoot":"","sources":["../../src/stores/chunks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAUL,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"chunks.d.ts","sourceRoot":"","sources":["../../src/stores/chunks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAUL,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAgTxD;;;GAGG;AACH,MAAM,WAAW,iBAAiB,CAAC,WAAW,GAAG,MAAM;IACrD,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACn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