- description
- The domain model of d2pro: the things it keeps, their fields, states and links
- tags
- #spec #domain
d2pro: domain¶✎ edit
The things d2pro keeps, as classes: their fields, their states and how they link. Pages, apps and rules read and write them through d2's object API; who may see or change each is set on its class. Your AI keeps this page as it builds, from your words; you can edit it too.
A class is one line (or a ```diesel fence), for example:
$class Note (@key id: Key, @label title: String, body: String?, done: Boolean = false)
Nothing is declared yet.