Cubes
Cubes are the core building blocks of CubeStack. Each cube represents a structured data table with typed columns and records.What is a Cube?
A cube is similar to a database table. It has:- Columns — Typed fields that define your data schema
- Records — Rows of data that follow the schema
- Settings — Configuration for access, visibility, and behavior
Column Types
CubeStack supports the following column types:| Type | Description |
|---|---|
text | Short text string |
number | Numeric value (integer or decimal) |
boolean | True/false toggle |
date | Date value |
datetime | Date and time value |
select | Single or multi-select from predefined options |
image | Image upload with CDN delivery |
richtext | Rich text content with formatting |
url | URL/link value |
email | Email address |
json | Raw JSON data |
Column Settings
Each column can be configured with:- Required — Whether the field must have a value
- Unique — Whether values must be unique across records
- Public — Whether the field is visible in public API responses
- Validation — Type-specific validation rules (min/max, regex, etc.)
Creating a Cube
- Navigate to your project
- Click New Cube
- Set a name and slug
- Add columns with their types and settings
- Save the cube