22 lines
418 B
Markdown
22 lines
418 B
Markdown
# @the-order/workflows
|
|
|
|
Temporal/Step Functions workflow definitions for The Order.
|
|
|
|
## Usage
|
|
|
|
```typescript
|
|
import { intakeWorkflow, reviewWorkflow } from '@the-order/workflows';
|
|
|
|
const result = await intakeWorkflow({
|
|
documentId: 'doc-123',
|
|
fileUrl: 'https://...',
|
|
userId: 'user-123',
|
|
});
|
|
```
|
|
|
|
## Workflows
|
|
|
|
- `intakeWorkflow` - Document intake and processing
|
|
- `reviewWorkflow` - Document review and approval
|
|
|