SeedContainerTypeInput
A container type to create as part of a seed.
input SeedContainerTypeInput {
typeName: String!
displayName: String!
description: String
instantiableBy: String
defaultPropertyVisibility: String
metadataJson: String
bindPolicyJson: String
}
Fields
SeedContainerTypeInput.typeName ● String! non-null scalar
Stable type name (unique per app).
SeedContainerTypeInput.displayName ● String! non-null scalar
Human-friendly display name.
SeedContainerTypeInput.description ● String scalar
Optional description of the type.
SeedContainerTypeInput.instantiableBy ● String scalar
admin | member | owner (who may instantiate this type).
SeedContainerTypeInput.defaultPropertyVisibility ● String scalar
public | owner | hidden default for this type's properties.
SeedContainerTypeInput.metadataJson ● String scalar
JSON object of metadata.
SeedContainerTypeInput.bindPolicyJson ● String scalar
Who may CREATE a container of this type under a client-supplied bindingKey (gameModelEnsureContainer). Same JSON shape as a function invokePolicyJson — an AuthorityRule tree — except that owner_of_self, is_current_turn and condition are refused, because a bind creates the container and there is no acting container to resolve them against. Omit it (the default) and binding is governed by the type's instantiableBy alone, which is the behaviour before this field existed. Resolving an EXISTING key is unaffected: it is a read. For a shared world object, {"type":"is_host"} or instantiableBy: admin stops one player from squatting the key and becoming its owner.
Member Of
SeedGameModelInput input