Skip to main content

DeleteVoxelUpdatesInput

Which of an app's recorded voxel edits to remove. Give a box of chunks (lowChunk and highChunk), a time window (from, to), both, or everything: true for every edit of the app. A dry run by default.

input DeleteVoxelUpdatesInput {
appId: BigInt!
lowChunk: ChunkCoordinatesInput
highChunk: ChunkCoordinatesInput
from: DateTime
to: DateTime
everything: Boolean
dryRun: Boolean!
}

Fields​

DeleteVoxelUpdatesInput.appId ● BigInt! non-null scalar​

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

DeleteVoxelUpdatesInput.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.

DeleteVoxelUpdatesInput.highChunk ● ChunkCoordinatesInput input​

The opposite corner of the box, with lowChunk.

DeleteVoxelUpdatesInput.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.

DeleteVoxelUpdatesInput.to ● DateTime scalar​

Only edits whose createdAt is at or before this time.

DeleteVoxelUpdatesInput.everything ● Boolean scalar​

Set true to remove EVERY recorded edit of the app. Required when neither a box nor a time window is given, so that leaving the selection out by mistake removes nothing; refused together with a box or a window.

DeleteVoxelUpdatesInput.dryRun ● Boolean! non-null scalar​

When true (the DEFAULT), only counts what would be removed and removes nothing; set false to remove the edits (DESTRUCTIVE: they cannot be brought back).

Member Of​

deleteVoxelUpdates mutation