generate_typescript_interfaces
Generate TypeScript interfaces from PocketBase collections to enable type-safe database interactions in your applications.
Instructions
Generate TypeScript interfaces from PocketBase collections
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collections | No | Collection names to generate interfaces for (empty for all) | |
options | No | Generation options |
Input Schema (JSON Schema)
{
"properties": {
"collections": {
"description": "Collection names to generate interfaces for (empty for all)",
"items": {
"type": "string"
},
"type": "array"
},
"options": {
"description": "Generation options",
"properties": {
"includeRelations": {
"description": "Whether to include relation types",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}