Skip to main content

SeedGameModelInput

Bulk-create game-model definitions and optional instances in one transaction (model init/import).

input SeedGameModelInput {
appId: BigInt!
sessionId: String
containerTypes: [SeedContainerTypeInput!]
propertyDefinitions: [SeedPropertyDefInput!]
functions: [SeedFunctionInput!]
containers: [SeedContainerInput!]
edges: [SeedEdgeInput!]
}

Fields

SeedGameModelInput.appId ● BigInt! non-null scalar

The app (tenant) to seed into.

SeedGameModelInput.sessionId ● String scalar

Optional session to seed instances into (NULL = app-global).

SeedGameModelInput.containerTypes ● [SeedContainerTypeInput!] list input

Container types to create.

SeedGameModelInput.propertyDefinitions ● [SeedPropertyDefInput!] list input

Property definitions to create.

SeedGameModelInput.functions ● [SeedFunctionInput!] list input

Functions to create.

SeedGameModelInput.containers ● [SeedContainerInput!] list input

Containers (instances) to create.

SeedGameModelInput.edges ● [SeedEdgeInput!] list input

Edges to create between seeded containers.

Member Of

gameModelSeed mutation