Skip to main content

UpsertComputeModuleInput

Create or update a WASM compute module (metadata only; source is uploaded with computeDeployVersion). Upsert key is (app, name).

input UpsertComputeModuleInput {
appId: BigInt!
name: String!
description: String
alwaysOn: Boolean
}

Fields

UpsertComputeModuleInput.appId ● BigInt! non-null scalar

The app (tenant) that owns the module.

UpsertComputeModuleInput.name ● String! non-null scalar

Module name (unique per app, lowercase crate-style: [a-z][a-z0-9_-]*). The upsert key.

UpsertComputeModuleInput.description ● String scalar

Optional description.

UpsertComputeModuleInput.alwaysOn ● Boolean scalar

Run without active players (world simulation). Policy-gated; defaults to false.

Member Of

computeUpsertModule mutation