Skip to main content

VoxelUpdateSelectionInput

Which of an app's recorded voxel edits (the voxel_updates log) to count: every edit of the app, or only those in a box of chunks (lowChunk and highChunk), those made in a time window (from, to), or both together.

input VoxelUpdateSelectionInput {
appId: BigInt!
lowChunk: ChunkCoordinatesInput
highChunk: ChunkCoordinatesInput
from: DateTime
to: DateTime
}

Fields​

VoxelUpdateSelectionInput.appId ● BigInt! non-null scalar​

Id of the app whose recorded edits these are (decimal string).

VoxelUpdateSelectionInput.lowChunk ● ChunkCoordinatesInput input​

One corner of a box of chunks, with highChunk. Corners are normalized per axis and both are inclusive. Unlike a read, the box may be any size. Leave both out for every chunk.

VoxelUpdateSelectionInput.highChunk ● ChunkCoordinatesInput input​

The opposite corner of the box, with lowChunk.

VoxelUpdateSelectionInput.from ● DateTime scalar​

Only edits whose createdAt is at or after this time. An edit carries the time of its last write: a position edited twice has the later time, and a reverted edit (rollbackVoxelUpdates) the time of the rollback.

VoxelUpdateSelectionInput.to ● DateTime scalar​

Only edits whose createdAt is at or before this time.

Member Of​

voxelUpdateCount query