@ai-workflow-pack/interfaces
v1.0.0
Published
Shared TypeScript interfaces for AI Workflow services
Maintainers
Readme
@ai-workflow/interfaces
TypeScript interfaces and types shared across AI Workflow microservices.
Installation
npm install @ai-workflow/interfacesUsage
import {
User,
Tenant,
Workflow,
WorkflowStep,
Execution,
Integration
} from '@ai-workflow/interfaces';
// Use in your service
function createWorkflow(workflow: Workflow): void {
// Type-safe workflow creation
}Available Interfaces
Core Entities
User- User account informationTenant- Multi-tenant organization dataTenantPlan- Subscription plansTenantUsage- Usage tracking
Workflow
Workflow- Workflow definitionWorkflowStep- Individual workflow stepsWorkflowVersion- Version controlWorkflowTemplate- Reusable templates
Execution
Execution- Workflow execution instanceExecutionLog- Detailed execution logsExecutionContext- Runtime context
Integration
ApiIntegration- API integration configDatabaseConnection- Database connectionsOAuthToken- OAuth tokens
Notification
Notification- Notification definitionNotificationChannel- Delivery channels
Schema
OutputSchema- Data schema definitions
Webhook
WebhookEndpoint- Webhook configurationsWebhookExecution- Webhook execution logs
Queue
QueueMessage- Message queue structureQueueOptions- Queue configuration
License
MIT
