OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

workflow.approval.detail

Detailed approval request view with context and actions

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @workflow-team
  • Tags: workflow, approval, detail
  • File: packages/examples/workflow-system/src/presentations/index.ts
  • field.key.label
    workflow.approval.detail
    field.version.label
    1.0.0
    field.type.label
    presentation (presentation)
    field.title.label
    workflow.approval.detail
    field.description.label

    Detailed approval request view with context and actions

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @workflow-team
  • Tags: workflow, approval, detail
  • File: packages/examples/workflow-system/src/presentations/index.ts
  • field.tags.label
    workflow,approval,detail
    field.owners.label
    @workflow-team
    field.stability.label

    Detailed approval request view with context and actions

    Goal

    Decision support for an approval request

    Context

    Specific approval action

    Source Definition

    import {
    	definePresentation,
    	StabilityEnum,
    } from '@lssm-tech/lib.contracts-spec';
    import { ApprovalRequestModel } from '../approval/approval.schema';
    import { WorkflowInstanceModel } from '../instance/instance.schema';
    import { WorkflowDefinitionModel } from '../workflow/workflow.schema';
    
    export const ApprovalDetailPresentation = definePresentation({
    	meta: {
    		key: 'workflow.approval.detail',
    		version: '1.0.0',
    		title: 'Approval Details',
    		description: 'Detailed approval request view with context and actions',
    		domain: 'workflow-system',
    		owners: ['@workflow-team'],
    		tags: ['workflow', 'approval', 'detail'],
    		stability: StabilityEnum.Experimental,
    		goal: 'Decision support for an approval request',
    		context: 'Specific approval action',
    	},
    	source: {
    		type: 'component',
    		framework: 'react',
    		componentKey: 'ApprovalRequestDetail',
    		props: ApprovalRequestModel,
    	},
    	targets: ['react', 'markdown'],
    	policy: {
    		flags: ['workflow.approvals.enabled'],
    	},
    });