List Components
Fetch a paginated list of components with optional search.Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
search | String | - | Filter by name or title |
cursor | String | null | Cursor for pagination |
limit | Int | 20 | Items per page |
Example
Get Single Component
Fetch a specific component by ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | ID! | Yes | Component ID |
Example
Component Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier |
name | String! | Component name (used in code) |
title | String! | Display title |
description | String! | Component description |
content | String! | Source code |
compiled | String! | Compiled JavaScript |
schema | String! | JSON Schema for props |
status | String! | Component status |
createdAt | DateTime! | Creation timestamp |
updatedAt | DateTime! | Last update timestamp |