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.form

Form for submitting approval decisions

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

    Form for submitting approval decisions

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

    Form for submitting approval decisions

    Goal

    Submitting a decision on an approval request

    Context

    Approval decision dialog

    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 ApprovalFormPresentation = definePresentation({
    	meta: {
    		key: 'workflow.approval.form',
    		version: '1.0.0',
    		title: 'Approval Form',
    		description: 'Form for submitting approval decisions',
    		domain: 'workflow-system',
    		owners: ['@workflow-team'],
    		tags: ['workflow', 'approval', 'form'],
    		stability: StabilityEnum.Experimental,
    		goal: 'Submitting a decision on an approval request',
    		context: 'Approval decision dialog',
    	},
    	source: {
    		type: 'component',
    		framework: 'react',
    		componentKey: 'ApprovalDecisionForm',
    	},
    	targets: ['react'],
    	policy: {
    		flags: ['workflow.approvals.enabled'],
    	},
    });