EdgeAppSourceView
Write-authorized EdgeApp source view; kept separate from the redacted read model
Fields
EdgeApp version owning this source
Exact author-owned XML; null for legacy structured imports
Opaque revision of the persisted authoring snapshot
Identity declared in the source
Draft or immutable published version status
Possible values (3)
DRAFTMutable working copy. At most one DRAFT per (tenant, handle).
PUBLISHEDFrozen, latest. At most one PUBLISHED per (tenant, handle); publishing a draft auto-deprecates the prior PUBLISHED.
DEPRECATEDFrozen, older. Kept for installations pinning the version; doesn't show up in the default app catalogue.
Version number within the handle
Exact immutable source to publish; omitted for a draft
Referenced by (2)
Exact type SDL
"""
Write-authorized EdgeApp source view; kept separate from the redacted read model
"""
type EdgeAppSourceView @iac_resource(name: "edge_app") @iac_precondition(field: "revision", input: "expectedRevision") @iac_ops(create: "saveEdgeAppSource", read: "getEdgeAppSource", update: "saveEdgeAppSource", delete: "deleteEdgeApp") {
"""EdgeApp version owning this source"""
id: EdgeAppID! @iac_identity(assignedBy: SERVER) @iac_computed
"""Exact author-owned XML; null for legacy structured imports"""
sourceXML: String @iac_artifact(language: XML, validators: ["edge-app-source"], models: ["edge_app_document"], description: "Edge app document, including its handlers and connections.")
"""Opaque revision of the persisted authoring snapshot"""
revision: String! @iac_computed
"""Identity declared in the source"""
handle: String! @iac_computed
"""Draft or immutable published version status"""
status: EdgeAppStatus! @iac_computed
"""Version number within the handle"""
version: Int! @iac_computed
"""Exact immutable source to publish; omitted for a draft"""
publishedSource: String @iac_writtenBy(operation: "publishEdgeAppSource", argument: "sourceXML") @iac_artifact(language: XML, validators: ["edge-app-source"], models: ["edge_app_document"], description: "Edge app document, including its handlers and connections.")
}