← API reference
CANONICAL TYPE REFERENCE

CreateWorkspaceVersionInput

Input for creating a new draft version of an existing workspace.

TypeID of the workspace to add a version to (prefix wks).

sourceString!

Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.

View exact SDL
"""Input for creating a new draft version of an existing workspace."""
input CreateWorkspaceVersionInput {
  """TypeID of the workspace to add a version to (prefix `wks`)."""
  workspaceId: WorkspaceID!
  """
  Author-owned cococo-workspace-source/1 JSON envelope containing sourceXML and serverLua. Compilation and AST are server-owned; read back source for IaC comparison.
  """
  source: String!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.