Function Signature
Most users don’t need to use
defineProject directly. Instead, use the Tinybird class to create a typed client:Parameters
Project configuration object.
Return Type
Usage Examples
Basic Project Definition
With Connections
Organized Project Structure
Using the Tinybird Class (Recommended)
Instead ofdefineProject, most users should use the Tinybird class to create a typed client:
Configuration File
Projects are typically defined in a configuration file for the CLI:Type Extraction
Use helper types to extract datasources and pipes from a project:Project Utilities
Related Types and Functions
DatasourcesDefinition
PipesDefinition
ConnectionsDefinition
Related Functions
Tinybird Class
Create typed Tinybird clients
defineDatasource
Define datasources
defineEndpoint
Define API endpoints
Configuration
Project configuration guide