analyzeWorkspaceSource

Topics: Surfaces

Analyze Workspace XML and Lua without saving, executing handlers or querying business data. Requires Workspace authoring permission.

Returns

WorkspaceAuthoringAnalysis!

Arguments

Workspace XML source to analyze without saving it.

Server Lua source to type-check alongside the XML.

Exact field SDL
"""
Analyze Workspace XML and Lua without saving, executing handlers or querying business data. Requires Workspace authoring permission.
"""
analyzeWorkspaceSource(
  """Workspace XML source to analyze without saving it."""
  sourceXML: String!
  """Server Lua source to type-check alongside the XML."""
  serverLua: String!
): WorkspaceAuthoringAnalysis! @topic(names: ["surfaces"])

Declared on Query. Access is checked by the platform for each operation.