Skip to main content

PlayerCodeListingVersion

An immutable published version of a code listing: artifact hashes (never source) plus the DERIVED capability summary installers consent to.

type PlayerCodeListingVersion {
versionId: String!
listingId: String!
versionNo: Int!
serverArtifactHashes: [String!]!
clientArtifactHashes: [String!]!
capabilitySummaryJson: String!
capabilityHash: String!
openSource: Boolean!
licenseText: String
createdAt: DateTime
}

Fields

PlayerCodeListingVersion.versionId ● String! non-null scalar

UUID of this published version.

PlayerCodeListingVersion.listingId ● String! non-null scalar

UUID of the listing.

PlayerCodeListingVersion.versionNo ● Int! non-null scalar

Monotonic version number within the listing.

PlayerCodeListingVersion.serverArtifactHashes ● [String!]! non-null scalar

Server-target artifact hashes (empty for client-only listings).

PlayerCodeListingVersion.clientArtifactHashes ● [String!]! non-null scalar

Client-target artifact hashes (empty for server-only listings).

PlayerCodeListingVersion.capabilitySummaryJson ● String! non-null scalar

JSON capability summary DERIVED from the artifacts (host functions, capability groups, presentation hooks, triggers, egress budgets). Never self-declared; shown at acquire and install consent.

PlayerCodeListingVersion.capabilityHash ● String! non-null scalar

sha256 of the canonical capability summary. installPlayerCode and consentGridClientMod must echo this hash as the consent acknowledgement.

PlayerCodeListingVersion.openSource ● Boolean! non-null scalar

Whether this version’s source is open (irreversible per version).

PlayerCodeListingVersion.licenseText ● String scalar

Author license terms shown at acquisition.

PlayerCodeListingVersion.createdAt ● DateTime scalar

When the version was published.

Returned By

playerCodeListingVersions query ● publishPlayerCodeVersion mutation