Skip to main content

PlayerWasmModuleVersion

An immutable player-code source version. sourceFilesJson is returned only to its personal author (org-owned source requires the future org-authoring path) or when openSource is true.

type PlayerWasmModuleVersion {
versionId: String!
moduleId: String!
versionNo: Int!
target: PlayerComputeTarget!
sourceFilesJson: String
openSource: Boolean!
compileStatus: String!
compileLog: String
compiledSizeBytes: BigInt
createdAt: DateTime!
}

Fields

PlayerWasmModuleVersion.versionId ● String! non-null scalar

Version UUID.

PlayerWasmModuleVersion.moduleId ● String! non-null scalar

Parent module UUID.

PlayerWasmModuleVersion.versionNo ● Int! non-null scalar

Monotonic version number.

PlayerWasmModuleVersion.target ● PlayerComputeTarget! non-null enum

Compile target.

PlayerWasmModuleVersion.sourceFilesJson ● String scalar

JSON source map. Null for non-authors of closed-source code; P1 exposes no moderation override.

PlayerWasmModuleVersion.openSource ● Boolean! non-null scalar

Whether anyone may read this immutable version source.

PlayerWasmModuleVersion.compileStatus ● String! non-null scalar

pending, compiling, succeeded, or failed.

PlayerWasmModuleVersion.compileLog ● String scalar

Compiler log; visible to the author.

PlayerWasmModuleVersion.compiledSizeBytes ● BigInt scalar

Final instrumented/optimized artifact size.

PlayerWasmModuleVersion.createdAt ● DateTime! non-null scalar

Version creation time.

Returned By

playerComputeDeploy mutation ● playerComputeVersions query