For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Model base class
The Model base class provides change tracking, hydration, serialization, and CRUD operations for synced entities.
Every synced entity extends Model. Decorators register it with the ModelRegistry and wire it into the sync lifecycle.
Creating a model
import { Model, ClientModel, Property, Reference } from "@stratasync/core";
@ClientModel("Task")
class Task extends Model {
@Property()
title = "";
@Property()
Published with Edda