Skip to main content

UpsertPropertyDefInput

Create or update a typed property on a container type.

input UpsertPropertyDefInput {
appId: BigInt!
containerTypeName: String!
key: String!
valueType: String!
defaultValueJson: String
visibility: String
writable: String
description: String
}

Fields

UpsertPropertyDefInput.appId ● BigInt! non-null scalar

The app (tenant) that owns the type.

UpsertPropertyDefInput.containerTypeName ● String! non-null scalar

The container type to define the property on.

UpsertPropertyDefInput.key ● String! non-null scalar

Property key (unique within the type). Part of the upsert key.

UpsertPropertyDefInput.valueType ● String! non-null scalar

int | float | string | bool | array | object | container_ref

UpsertPropertyDefInput.defaultValueJson ● String scalar

JSON-encoded default value.

UpsertPropertyDefInput.visibility ● String scalar

public | owner | hidden

UpsertPropertyDefInput.writable ● String scalar

function | owner | admin

UpsertPropertyDefInput.description ● String scalar

Optional description of the property.

Member Of

gameModelUpsertPropertyDef mutation