View Types
The Types module provides TypeScript type definitions for view components, ensuring type safety and consistency across the view system.Overview
The Types module is responsible for:- Defining TypeScript interfaces for view schemas
- Providing type definitions for different view types
- Ensuring type safety for view operations
- Supporting TypeScript’s static type checking
Core Types
ViewSchema
The coreViewSchema interface defines the structure of all view schemas:
ViewType
TheViewType type defines the supported view types:
FieldDefinition
TheFieldDefinition interface defines the structure of field definitions:
View-Specific Types
FormViewSchema
TheFormViewSchema interface defines the structure of form views:
TableViewSchema
TheTableViewSchema interface defines the structure of table views:
DetailViewSchema
TheDetailViewSchema interface defines the structure of detail views:
Layout Types
LayoutConfiguration
TheLayoutConfiguration interface defines the structure of layout configurations:
Section
TheSection interface defines the structure of layout sections:
Utility Types
ViewRenderOptions
TheViewRenderOptions interface defines options for rendering views:
ValidationRules
TheValidationRules interface defines validation rules for fields: