Record types & records
Record types are your structured data models: typed fields, validation, optional backoffice visibility, and public REST endpoints consumed by generated React code.
Why record types
Instead of hard-coding static content only, apps load and save entities (leads, products, bookings) through Prowpt APIs. The AI can create types and sample rows while generating UI.
record-types-fields
Fields and validation
Each field has a type (text, long text, number, boolean, date, email, select, multi-select, file, etc.) and optional constraints. Labels drive both backoffice forms and helper text in generated apps.
- Select options can be curated lists ideal for statuses and categories.
- File fields store uploads served from your project asset space (ZIP backups include binaries).
- Mark a type as the user-profile shape to align with app user management features.
Draft vs published schemas
Schema edits start as draft field definitions. Publishing activates the schema for live traffic while letting you stage breaking changes safely.
Records API shape
List endpoints return paginated payloads with items, total, limit, and offset. Use these from generated fetch helpers or custom hooks the assistant adds for you.