Skip to content

workflow / Exports / UniversalWorkflowStructure

Interface: UniversalWorkflowStructure

Universal Workflow Structure Complete workflow representation with metadata and configuration

Table of contents

Properties

Properties

id

id: string

Workflow identification

Defined in

types/universal-types.ts:262


name

Optional name: string

Defined in

types/universal-types.ts:263


description

Optional description: string

Defined in

types/universal-types.ts:264


version

Optional version: string

Defined in

types/universal-types.ts:265


nodes

nodes: UniversalWorkflowNode[]

Core workflow data

Defined in

types/universal-types.ts:268


edges

edges: UniversalWorkflowEdge[]

Defined in

types/universal-types.ts:269


layout

layout: UniversalLayoutConfig

Layout and presentation

Defined in

types/universal-types.ts:272


viewport

Optional viewport: Object

Type declaration

NameType
xnumber
ynumber
zoomnumber

Defined in

types/universal-types.ts:273


metadata

metadata: Object

Workflow metadata

Index signature

▪ [key: string]: unknown

Additional metadata

Type declaration

NameTypeDescription
createdAtDateCreation and modification timestamps
updatedAtDate-
executionId?stringExecution context
sessionId?string-
userId?string-
metrics?{ totalNodes: number ; totalEdges: number ; executionTime?: number ; renderTime?: number }Performance metrics
metrics.totalNodesnumber-
metrics.totalEdgesnumber-
metrics.executionTime?number-
metrics.renderTime?number-
tags?string[]Workflow classification
category?string-

Defined in

types/universal-types.ts:280


validation

Optional validation: Object

Validation state

Type declaration

NameType
isValidboolean
errorsstring[]
warningsstring[]
lastValidatedDate

Defined in

types/universal-types.ts:307


platforms

Optional platforms: Object

Platform-agnostic configurations

Index signature

▪ [platformName: string]: UniversalPlatformConfig

Defined in

types/universal-types.ts:315

Released under the MIT License.