Skip to main content

CreateGridInput

Defines a new grid by its app and two opposite corner chunks. The corners are normalized server-side into a low/high chunk box, so corner order is irrelevant and a single chunk (corner1 == corner2) is allowed.

input CreateGridInput {
appId: BigInt!
corner1: ChunkCoordinatesInput!
corner2: ChunkCoordinatesInput!
}

Fields

CreateGridInput.appId ● BigInt! non-null scalar

The app (tenant) the grid belongs to.

CreateGridInput.corner1 ● ChunkCoordinatesInput! non-null input

One corner of the grid box, in chunk coordinates.

CreateGridInput.corner2 ● ChunkCoordinatesInput! non-null input

The opposite corner of the grid box, in chunk coordinates. May equal corner1 for a single-chunk grid.

Member Of

createGrid mutation