Skip to main content

DeployPlayerComputeInput

No description

input DeployPlayerComputeInput {
appId: BigInt!
gridId: BigInt!
name: String!
description: String
target: PlayerComputeTarget!
sourceFilesJson: String!
sdkVersion: String
abiVersion: Int
tickHz: Float
draft: Boolean
}

Fields

DeployPlayerComputeInput.appId ● BigInt! non-null scalar

App containing the owned grid.

DeployPlayerComputeInput.gridId ● BigInt! non-null scalar

Owned grid that confines server execution.

DeployPlayerComputeInput.name ● String! non-null scalar

Lowercase crate-style module name, unique within the grid.

DeployPlayerComputeInput.description ● String scalar

Optional player-facing module description.

DeployPlayerComputeInput.target ● PlayerComputeTarget! non-null enum

SERVER or CLIENT compile target.

DeployPlayerComputeInput.sourceFilesJson ● String! non-null scalar

JSON object mapping Cargo.toml and src/*.rs relative paths to source. P1 player caps: at most 8 files, 64 KiB/file, 256 KiB total.

DeployPlayerComputeInput.sdkVersion ● String scalar

Pinned crowdy-compute-sdk version. Defaults to 0.1.5.

DeployPlayerComputeInput.abiVersion ● Int scalar

Guest ABI version. P1 supports ABI 0.

DeployPlayerComputeInput.tickHz ● Float scalar

Optional server tick rate in Hz. Omit for invoke/event-only modules or CLIENT artifacts. Clamped by the effective player/app policy.

DeployPlayerComputeInput.draft ● Boolean scalar

Deploy in draft mode (live-coding iteration): the module runs for its author but its spatial egress is suppressed server-side, so no other session in the grid observes its world effects. Omit or false for a normal deploy.

Member Of

playerComputeDeploy mutation