Data Models
This section contains documentation for all TypeScript models from the lyda-shared repository. The documentation is automatically generated from the TypeScript source files.
You can find the public data models for Lyda in the following places:
Structure
- Enums - Enumerated types and constants
- Models - Interface definitions and data structures
- Database Models - Database entity models
- Finance - Financial and billing related models
- Lyda - Core application models
- Other Models - Utility and helper models
- Database Models - Database entity models
Generating Documentation
The documentation is generated using a custom script that parses TypeScript files and extracts interface definitions, enums, and TSDoc comments.
To regenerate the documentation:
npm run generate-model-docs
This will:
- Scan all TypeScript files in the
lyda-shared/srcdirectory - Extract type definitions, interfaces, and enums
- Parse any TSDoc comments for additional documentation
- Generate markdown files in the appropriate directory structure