Project
Represents a complete interactive widget that can be embedded on a website. A Project contains Artboards, Objects, Popups, Data Sources, Variables, Actions, and settings. It is the top-level container in MarkerKit.
Schema
| Name | Type | Description | Default |
|---|---|---|---|
| id | string | A unique identifier for the project. | — |
| user_id | string | ID of the user who owns the project. | — |
| name | string | A human-readable name for the project. | Untitled Project |
| thumb | string | Thumbnail image URL representing the project. | — |
| artboards | Artboard [] | List of artboards belonging to the project. | Artboard[] |
| popups | Popup [] | List of popups belonging to the project. | Popup[] |
| data_sources | DataSource [] | List of data sources available to the project. | DataSource[] |
| variables | Variable [] | List of variables used in the project. | Variable[] |
| actions | Action [] | List of actions that execute when the widget loads. | Action[] |
| settings | ProjectSettings | Configuration settings for UI, analytics, fullscreen, zoom, etc. | ProjectSettings |
| created | number | Timestamp (ms since epoch) when the project was created. | Date.now() |