The everything demo.
Everything Dillo does, in one place. Backend, API discovery, schema — the full feature set. If you want to see what the platform can do without reading docs, start here.
The permissions are the app. This is the whole data model — schema.ts, the first of the app's three files (its import line, not shown, brings these names in from "create-dillo/schema"):
// The schema the live backend serves today (span2/live-schemas filing, re-verified at deploy).
export default schema({
Memo: table({
text: string().min(1).max(500),
}).permissions({ view: owner, edit: owner }),
Note: table({
text: string().min(1).max(280),
}).permissions({ view: anyone, edit: owner }),
Snapshot: table({
caption: string().min(1).max(140),
image: file().accept('image/*').maxBytes(10485760),
}).permissions({ view: anyone, edit: owner }),
Song: table({
artist: string().min(1).max(120),
requestedBy: string().min(1).max(80),
title: string().min(1).max(120),
}).permissions({ view: anyone, edit: owner }),
Vote: table({
song: relation('Song'),
}).permissions({ view: anyone, edit: owner }),
});