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.
Inbox showing pending approval requests for current user
Goal
Managing personal workload of approval requests
Context
Personal task management
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 ApprovalInboxPresentation = definePresentation({
meta: {
key: 'workflow.approval.inbox',
version: '1.0.0',
title: 'Approval Inbox',
description: 'Inbox showing pending approval requests for current user',
domain: 'workflow-system',
owners: ['@workflow-team'],
tags: ['workflow', 'approval', 'inbox'],
stability: StabilityEnum.Experimental,
goal: 'Managing personal workload of approval requests',
context: 'Personal task management',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'ApprovalInbox',
props: ApprovalRequestModel,
},
targets: ['react', 'markdown'],
policy: {
flags: ['workflow.approvals.enabled'],
},
});