List Components
Fetch a paginated list of components with optional search.Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
search | String | - | Filter by name or title |
page | Int | 1 | Page number |
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 |
createdAt | DateTime! | Creation timestamp |
updatedAt | DateTime! | Last update timestamp |
