PlayerWasmModule
A grid-bound player compute module. Runtime identity is never stored here; it resolves from the grid current owner at activation.
type PlayerWasmModule {
moduleId: String!
appId: BigInt!
gridId: BigInt!
name: String!
description: String
authorUserId: BigInt
authorOrgId: BigInt
enabled: Boolean!
currentVersionId: String
draft: Boolean!
circuitState: String!
lastError: String
createdAt: DateTime!
updatedAt: DateTime!
}
Fields
PlayerWasmModule.moduleId ● String! non-null scalar
Module UUID.
PlayerWasmModule.appId ● BigInt! non-null scalar
Owning app id.
PlayerWasmModule.gridId ● BigInt! non-null scalar
Confining grid id.
PlayerWasmModule.name ● String! non-null scalar
Module name within the grid.
PlayerWasmModule.description ● String scalar
Module description.
PlayerWasmModule.authorUserId ● BigInt scalar
Personal author user id; null for org-owned code.
PlayerWasmModule.authorOrgId ● BigInt scalar
Authoring org id; null for personally-authored code.
PlayerWasmModule.enabled ● Boolean! non-null scalar
Requested activation state. Actual execution also requires grid ownership, run permission, admission, and a successful version.
PlayerWasmModule.currentVersionId ● String scalar
Currently deployed immutable version UUID.
PlayerWasmModule.draft ● Boolean! non-null scalar
Draft mode: the module runs for its author but its spatial egress is suppressed server-side (live-coding iteration).
PlayerWasmModule.circuitState ● String! non-null scalar
closed, open, or half_open.
PlayerWasmModule.lastError ● String scalar
Last runtime/transfer error.
PlayerWasmModule.createdAt ● DateTime! non-null scalar
Creation time.
PlayerWasmModule.updatedAt ● DateTime! non-null scalar
Last update time.
Returned By
playerComputeMyModules query ● playerComputeSetEnabled mutation