Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/prompts/data-protocol.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export type Main = z.infer<typeof MainSchema>;
## Interaction Commands

When user says:
- **"Create Field Protocol"** → Implement complete `field.zod.ts` with all 23+ field types
- **"Create Field Protocol"** → Implement complete `field.zod.ts` with all 35 field types
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prompt references “all 35 field types”, but the current FieldType enum has 34 values. Please update the count to match packages/spec/src/data/field.zod.ts.

Suggested change
- **"Create Field Protocol"** → Implement complete `field.zod.ts` with all 35 field types
- **"Create Field Protocol"** → Implement complete `field.zod.ts` with all 34 field types

Copilot uses AI. Check for mistakes.
- **"Create Object Protocol"** → Implement `object.zod.ts` with fields, capabilities, indexes
- **"Create Validation Rules"** → Implement `validation.zod.ts` with rule engine
- **"Create Permission System"** → Implement `permission.zod.ts` with CRUD + field-level security
Expand Down
2 changes: 1 addition & 1 deletion .github/prompts/documentation-writer.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ a single property or column in an Object (table).

## Field Types

ObjectStack supports 23+ field types, organized into categories:
ObjectStack supports 35 field types, organized into categories:
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prompt says ObjectStack supports 35 field types, but FieldType in packages/spec/src/data/field.zod.ts currently enumerates 34 values. Please update the number so the prompt stays consistent with the schema.

Suggested change
ObjectStack supports 35 field types, organized into categories:
ObjectStack supports 34 field types, organized into categories:

Copilot uses AI. Check for mistakes.

### Text Fields
- **text**: Single-line text (max 255 characters)
Expand Down
33 changes: 20 additions & 13 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@
│ ├── workflow.zod.ts → State machine, transitions
│ ├── flow.zod.ts → Visual flow automation
│ ├── query.zod.ts → AST for queries (filter, sort, join)
│ ├── filter.zod.ts → Query filter conditions
│ ├── dataset.zod.ts → Virtual datasets
│ ├── mapping.zod.ts → ETL transformations
│ └── trigger.zod.ts → [MISSING] Trigger context
│ └── trigger.zod.ts → Trigger context
├── UI Protocol (ObjectUI)
│ ├── app.zod.ts → App structure, navigation tree
Expand All @@ -80,8 +81,8 @@
│ ├── report.zod.ts → Report types, grouping
│ ├── action.zod.ts → Button actions, navigation
│ ├── page.zod.ts → FlexiPage regions, components
│ ├── theme.zod.ts → [MISSING] Color, typography, spacing
│ └── widget.zod.ts → [MISSING] Custom field components
│ ├── theme.zod.ts → Color, typography, spacing
│ └── widget.zod.ts → Custom field components
├── System Protocol (ObjectOS)
│ ├── manifest.zod.ts → Package definition (objectstack.config.ts)
Expand All @@ -95,18 +96,24 @@
│ ├── webhook.zod.ts → HTTP callbacks
│ ├── translation.zod.ts → i18n definitions
│ ├── discovery.zod.ts → Metadata introspection
│ ├── plugin.zod.ts → [MISSING] Plugin lifecycle
│ ├── driver.zod.ts → [MISSING] Database driver interface
│ ├── marketplace.zod.ts → [PLANNED] App store metadata
│ ├── tenant.zod.ts → [PLANNED] Multi-tenancy
│ ├── events.zod.ts → [PLANNED] Event bus
│ └── realtime.zod.ts → [PLANNED] WebSocket sync
│ ├── plugin.zod.ts → Plugin lifecycle
│ ├── driver.zod.ts → Database driver interface
│ ├── tenant.zod.ts → Multi-tenancy
│ ├── events.zod.ts → Event bus
│ ├── realtime.zod.ts → WebSocket sync
│ ├── organization.zod.ts → Organization management
│ ├── audit.zod.ts → Audit logging
│ └── job.zod.ts → Background jobs
├── AI Protocol
│ ├── agent.zod.ts → AI agent configuration
│ ├── model.zod.ts → [PLANNED] LLM registry
│ ├── rag.zod.ts → [PLANNED] RAG pipeline
│ └── nlq.zod.ts → [PLANNED] Natural language query
│ ├── agent.zod.ts → AI agent configuration
│ ├── model-registry.zod.ts → LLM registry
│ ├── rag-pipeline.zod.ts → RAG pipeline
│ ├── nlq.zod.ts → Natural language query
│ ├── conversation.zod.ts → Conversation management
│ ├── cost.zod.ts → AI cost tracking
│ ├── predictive.zod.ts → Predictive analytics
│ └── workflow-automation.zod.ts → AI workflow automation
└── API Protocol
└── contract.zod.ts → Request/response envelopes
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The ObjectStack Protocol (`@objectstack/spec`) is divided into five core modules

### 1. Data Protocol (ObjectQL)
Defines the "Shape of Data" and business logic.
- **Schema:** Objects, Fields (23+ types including text, number, select, lookup, formula, autonumber, etc.)
- **Schema:** Objects, Fields (35 types including text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

README says there are 35 field types, but packages/spec/src/data/field.zod.ts currently defines 34 FieldType values. Please update this count to match the schema (or update the schema if 35 is intended).

Suggested change
- **Schema:** Objects, Fields (35 types including text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)
- **Schema:** Objects, Fields (34 types including text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)

Copilot uses AI. Check for mistakes.
- **Logic:** Workflows, Triggers, Validation Rules, Formulas
- **Security:** Permissions, Sharing Rules
- **Query:** Abstract Syntax Tree (AST) for unified data access across drivers
Expand All @@ -73,22 +73,28 @@ Defines the "Shape of Interaction" for rendering interfaces.
- **Analytics:** Reports (Tabular, Summary, Matrix), Dashboards with widgets
- **Actions:** Script, URL, Modal, Flow-triggered actions
- **Theming:** Color palettes, typography, breakpoints, animations
- **Widgets:** Custom field components

### 3. System Protocol (ObjectOS)
Defines the "Runtime Environment" and platform capabilities.
- **Manifest:** Application packaging (`objectstack.config.ts`)
- **Identity:** Authentication, Roles, Territories, Licenses
- **Identity:** Authentication, Roles, Territories, Licenses, Organizations
- **Integration:** Webhooks, API contracts, ETL Mappings
- **Datasource:** Driver definitions for SQL, NoSQL, SaaS connectors
- **Discovery:** Plugin discovery and loading mechanisms
- **I18n:** Translation and internationalization support
- **Platform:** Events, Real-time sync, Audit logging, Background jobs, Multi-tenancy

### 4. AI Protocol
Defines AI agent integration capabilities.
- **Agent:** AI agent definitions and configurations
- **Tools:** AI tool integrations
- **Knowledge:** Knowledge base structures
- **Models:** AI model configurations
- **Model Registry:** LLM registry and selection
- **RAG Pipeline:** Retrieval-augmented generation
- **NLQ:** Natural language query processing
- **Conversation:** Conversation management and memory
- **Cost Tracking:** AI cost tracking and budget management
- **Predictive:** Predictive analytics models
- **Workflow Automation:** AI-powered workflow automation

### 5. API Protocol
Defines standardized API contracts.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This is the first public release of the ObjectStack ecosystem, providing:

### Core Capabilities
- **Data Protocol (ObjectQL)**: Complete schema definitions for Objects and Fields
- 23+ field types (text, number, select, lookup, formula, autonumber, etc.)
- 35 field types (text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release notes now state 35 field types, but the current FieldType enum contains 34 values. Please update the count so the release notes don’t diverge from the schema.

Suggested change
- 35 field types (text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)
- 34 field types (text, number, select, lookup, formula, autonumber, slider, qrcode, etc.)

Copilot uses AI. Check for mistakes.
- Validation rules, workflows, and triggers
- Permission system and sharing rules
- Abstract query language for unified data access
Expand Down
2 changes: 1 addition & 1 deletion content/docs/guides/field-types.cn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: ObjectStack 所有字段类型的完整指南,包含示例和配

# 字段类型参考

ObjectStack 支持 **30+ 种字段类型**,涵盖文本、数字、日期、选择、关联、媒体、计算和增强类型。本指南为每种类型提供实用示例。
ObjectStack 支持 **35 种字段类型**,涵盖文本、数字、日期、选择、关联、媒体、计算和增强类型。本指南为每种类型提供实用示例。
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的说明改成了 35 种字段类型,但 FieldType 枚举目前只有 34 个值。请把数量改为与 schema 一致。

Suggested change
ObjectStack 支持 **35 种字段类型**,涵盖文本、数字、日期、选择、关联、媒体、计算和增强类型。本指南为每种类型提供实用示例。
ObjectStack 支持 **34 种字段类型**,涵盖文本、数字、日期、选择、关联、媒体、计算和增强类型。本指南为每种类型提供实用示例。

Copilot uses AI. Check for mistakes.

## 核心文本字段

Expand Down
64 changes: 63 additions & 1 deletion content/docs/guides/field-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Complete guide to all ObjectStack field types with examples and con

# Field Types Reference

ObjectStack supports **30+ field types** covering text, numbers, dates, selections, relationships, media, calculations, and enhanced types. This guide provides practical examples for each type.
ObjectStack supports **35 field types** covering text, numbers, dates, selections, relationships, media, calculations, and enhanced types. This guide provides practical examples for each type.
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This page says ObjectStack supports 35 field types, but FieldType currently contains 34 values in packages/spec/src/data/field.zod.ts. Please update the count to match the schema.

Suggested change
ObjectStack supports **35 field types** covering text, numbers, dates, selections, relationships, media, calculations, and enhanced types. This guide provides practical examples for each type.
ObjectStack supports **34 field types** covering text, numbers, dates, selections, relationships, media, calculations, and enhanced types. This guide provides practical examples for each type.

Copilot uses AI. Check for mistakes.

## Core Text Fields

Expand Down Expand Up @@ -524,6 +524,8 @@ coordinates: Field.location({
})
```

> **Note:** `geolocation` is an alternative name for the `location` field type. Both refer to the same GPS coordinate field.
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note says geolocation is an alternative name for location and “both refer to the same field type”, but in the spec they are two distinct FieldType string values ('location' and 'geolocation'). Consider rephrasing to clarify they are separate enum values that represent the same underlying coordinate concept (and explain when to use each).

Suggested change
> **Note:** `geolocation` is an alternative name for the `location` field type. Both refer to the same GPS coordinate field.
> **Note:** `location` and `geolocation` are separate `FieldType` enum values that both represent GPS coordinates with the same underlying data shape. Use `location` for new fields; `geolocation` is provided for compatibility with existing schemas and integrations that already use that enum value.

Copilot uses AI. Check for mistakes.

**Data Structure:**
```typescript
{
Expand Down Expand Up @@ -638,6 +640,66 @@ customer_signature: Field.signature({

---

### Slider
Numeric slider for visual value selection.

```typescript
volume: Field.slider({
label: 'Volume Level',
min: 0,
max: 100,
step: 1,
defaultValue: 50,
})

price_range: Field.slider({
label: 'Price Range',
min: 0,
max: 10000,
step: 100,
marks: { 0: '$0', 5000: '$5K', 10000: '$10K' },
})
```

**Configuration:**
- `min` - Minimum value
- `max` - Maximum value
- `step` - Increment step size
- `marks` - Optional labeled markers on the slider

---

### QR Code
QR code / Barcode field for scanning and generation.

```typescript
product_barcode: Field.qrcode({
label: 'Product Barcode',
format: 'qr', // 'qr', 'barcode', 'ean13', 'code128'
readonly: false,
})

ticket_code: Field.qrcode({
label: 'Event Ticket',
format: 'qr',
autoGenerate: true, // Generate on record creation
})
```

**Supported Formats:**
- `qr` - QR Code (2D matrix barcode, best for URLs, text, and complex data)
- `barcode` - Standard 1D barcode (linear format for simple numeric/text data)
- `ean13` - EAN-13 barcode (13-digit product identifier, commonly used in retail)
- `code128` - Code 128 barcode (high-density 1D format supporting full ASCII character set)
Comment on lines +675 to +693
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The QR code examples/config don’t match the current schema. FieldSchema uses barcodeFormat (enum: qr, ean13, ean8, code128, code39, upca, upce) plus qrErrorCorrection, displayValue, and allowScanning; there is no autoGenerate, and format: 'barcode' isn’t a supported value. Please align the docs with the actual field properties and supported formats in packages/spec/src/data/field.zod.ts.

Copilot uses AI. Check for mistakes.

**Use Cases:**
- Product SKUs and inventory management (ean13, code128)
- Event tickets and access control (qr)
- Document tracking and verification (qr)
- Shipping labels and logistics (code128)

---

## Field Configuration Reference

### Common Properties
Expand Down
2 changes: 1 addition & 1 deletion content/docs/guides/getting-started.cn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ views: {
现在你有了有效的元数据,你可以:

1. **探索示例**:查看 [CRM 示例](https://github.com/objectstack-ai/spec/tree/main/examples/crm) 了解完整功能实现
2. **学习字段类型**:参见 [字段类型指南](/docs/guides/field-types) 了解所有 30+ 种字段类型
2. **学习字段类型**:参见 [字段类型指南](/docs/guides/field-types) 了解所有 35 种字段类型
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里写的是 35 种字段类型,但 FieldType 枚举目前只有 34 个值。请把数量改为与 schema 一致。

Suggested change
2. **学习字段类型**:参见 [字段类型指南](/docs/guides/field-types) 了解所有 35 种字段类型
2. **学习字段类型**:参见 [字段类型指南](/docs/guides/field-types) 了解所有 34 种字段类型

Copilot uses AI. Check for mistakes.
3. **构建 UI**:使用 ObjectStack 运行时的元数据来生成界面
4. **部署**:推送到 ObjectStack 内核用于生产环境

Expand Down
2 changes: 1 addition & 1 deletion content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ views: {
Now that you have valid metadata, you can:

1. **Explore Examples**: Check out the [CRM Example](https://github.com/objectstack-ai/spec/tree/main/examples/crm) for a full-featured implementation
2. **Learn Field Types**: See the [Field Types Guide](/docs/guides/field-types) for all 30+ field types
2. **Learn Field Types**: See the [Field Types Guide](/docs/guides/field-types) for all 35 field types
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guide references 35 field types, but the FieldType enum in packages/spec/src/data/field.zod.ts currently has 34 values. Please update this count to match the schema.

Suggested change
2. **Learn Field Types**: See the [Field Types Guide](/docs/guides/field-types) for all 35 field types
2. **Learn Field Types**: See the [Field Types Guide](/docs/guides/field-types) for all 34 field types

Copilot uses AI. Check for mistakes.
3. **Build UI**: Use the metadata with ObjectStack runtime to generate interfaces
4. **Deploy**: Push to an ObjectStack kernel for production use

Expand Down
2 changes: 1 addition & 1 deletion content/docs/index.cn.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { Book, Compass, FileText, Layers } from 'lucide-react';
## 快速链接

### 基础指南
- **[字段类型](/docs/guides/field-types)** - 30+ 种字段类型及示例(文本、数字、选择、查找、公式等)
- **[字段类型](/docs/guides/field-types)** - 35 种字段类型及示例(文本、数字、选择、查找、公式等)
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里写的是 35 种字段类型,但 packages/spec/src/data/field.zod.ts 里的 FieldType 枚举目前只有 34 个值。请把数量改为与 schema 一致(或如果确实应为 35,则更新 schema)。

Suggested change
- **[字段类型](/docs/guides/field-types)** - 35 种字段类型及示例(文本、数字、选择、查找、公式等)
- **[字段类型](/docs/guides/field-types)** - 34 种字段类型及示例(文本、数字、选择、查找、公式等)

Copilot uses AI. Check for mistakes.
- **[视图配置](/docs/guides/view-configuration)** - 网格、看板、日历、甘特图和表单布局
- **[工作流与验证](/docs/guides/workflows-validation)** - 业务规则和自动化
- **[项目结构](/docs/guides/project-structure)** - 组织代码的最佳实践
Expand Down
2 changes: 1 addition & 1 deletion content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This documentation is the authoritative reference for the ObjectStack Protocol.
## Quick Links

### Essential Guides
- **[Field Types](/docs/guides/field-types)** - 30+ field types with examples (text, number, select, lookup, formula, etc.)
- **[Field Types](/docs/guides/field-types)** - 35 field types with examples (text, number, select, lookup, formula, etc.)
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link description states there are 35 field types, but the FieldType enum currently contains 34 values. Please update the count to match the schema.

Suggested change
- **[Field Types](/docs/guides/field-types)** - 35 field types with examples (text, number, select, lookup, formula, etc.)
- **[Field Types](/docs/guides/field-types)** - 34 field types with examples (text, number, select, lookup, formula, etc.)

Copilot uses AI. Check for mistakes.
- **[View Configuration](/docs/guides/view-configuration)** - Grid, Kanban, Calendar, Gantt, and Form layouts
- **[Workflows & Validation](/docs/guides/workflows-validation)** - Business rules and automation
- **[Project Structure](/docs/guides/project-structure)** - Best practices for organizing your code
Expand Down
4 changes: 2 additions & 2 deletions content/docs/quick-start/backend-developers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const Task = ObjectSchema.create({

## Field Types You Know and Love

ObjectStack provides **23+ field types** with automatic validation:
ObjectStack provides **35 field types** with automatic validation:
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This quick-start says ObjectStack provides 35 field types, but FieldType currently has 34 values. Please update the number to match the schema to avoid misleading readers.

Suggested change
ObjectStack provides **35 field types** with automatic validation:
ObjectStack provides **34 field types** with automatic validation:

Copilot uses AI. Check for mistakes.

| ObjectStack Type | Similar To | Features |
| :--- | :--- | :--- |
Expand Down Expand Up @@ -367,7 +367,7 @@ describe('Task Object', () => {
<Card
title="Field Types Reference"
href="/docs/guides/field-types"
description="Complete guide to all 23+ field types"
description="Complete guide to all 35 field types"
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This card description says there are 35 field types, but FieldType currently enumerates 34 values. Please adjust the number to keep the docs consistent with the schema.

Suggested change
description="Complete guide to all 35 field types"
description="Complete guide to all 34 field types"

Copilot uses AI. Check for mistakes.
/>
<Card
title="Query AST Structure"
Expand Down
9 changes: 5 additions & 4 deletions content/docs/specifications/architecture/data-layer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ const CustomerAccount = {
```

#### Field Schema
Defines data properties with 25+ types:
Defines data properties with 35 types:
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section says there are 35 field types, but FieldType in packages/spec/src/data/field.zod.ts currently enumerates 34 values. Please update the count (or the enum) to keep this spec accurate.

Suggested change
Defines data properties with 35 types:
Defines data properties across multiple field types:

Copilot uses AI. Check for mistakes.

- **Basic**: text, textarea, number, boolean, date, datetime
- **Advanced**: lookup, formula, rollup, autonumber
- **Rich**: email, phone, url, currency, percent
- **Complex**: address, geolocation, file, image
- **Advanced**: lookup, master_detail, formula, summary, autonumber
- **Rich**: email, phone, url, currency, percent, markdown, html, richtext
- **Complex**: address, location (aka geolocation), file, image, avatar
- **Enhanced**: code, color, rating, slider, signature, qrcode

### 2. Query Protocol (`src/data/query/`)

Expand Down
2 changes: 1 addition & 1 deletion content/docs/specifications/architecture/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The ObjectStack Protocol is built on three core layers that work together to pro

### [Data Layer (ObjectQL)](/docs/specifications/architecture/data-layer)
The Data Layer defines the "Shape of Data" and business logic. It includes:
- **Schema**: Objects and Fields with 23+ field types
- **Schema**: Objects and Fields with 35 field types
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The architecture overview claims 35 field types, but the FieldType enum currently contains 34 values. Please update the number to avoid drifting from the schema.

Suggested change
- **Schema**: Objects and Fields with 35 field types
- **Schema**: Objects and Fields with 34 field types

Copilot uses AI. Check for mistakes.
- **Logic**: Workflows, Triggers, Validation Rules, Formulas
- **Security**: Permissions and Sharing Rules
- **Query**: Abstract Syntax Tree (AST) for unified data access
Expand Down
2 changes: 1 addition & 1 deletion content/docs/tutorials.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Learn ObjectStack through practical, hands-on tutorials. Each tutorial is design
<Card
title="Master Field Types"
href="/docs/guides/field-types"
description="Deep dive into all 23+ field types with examples"
description="Deep dive into all 35 field types with examples"
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This card description says there are 35 field types, but FieldType currently has 34 values in packages/spec/src/data/field.zod.ts. Please adjust the number to match the schema (or update the schema if 35 is intended).

Suggested change
description="Deep dive into all 35 field types with examples"
description="Deep dive into all 34 field types with examples"

Copilot uses AI. Check for mistakes.
/>
<Card
title="Formula Fields & Calculations"
Expand Down
2 changes: 1 addition & 1 deletion internal/planning/DEVELOPMENT_ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This roadmap outlines the complete development plan for the ObjectStack Protocol

#### Data Protocol (ObjectQL)
- ✅ **Field Schema** (`src/data/field.zod.ts`)
- 25+ field types (text, number, lookup, formula, etc.)
- 35 field types (text, number, lookup, formula, slider, qrcode, etc.)
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs state there are 35 field types, but the current FieldType enum in packages/spec/src/data/field.zod.ts contains 34 values. Please update this count (or adjust the enum if 35 is intended) so the roadmap matches the source of truth.

Suggested change
- 35 field types (text, number, lookup, formula, slider, qrcode, etc.)
- 34 field types (text, number, lookup, formula, slider, qrcode, etc.)

Copilot uses AI. Check for mistakes.
- Comprehensive constraints (required, unique, min/max, etc.)
- Relationship configuration (lookup, master-detail)
- Formula and summary operations
Expand Down
Loading