Initial Dever 0.0.1

This commit is contained in:
Codex committed 2026-11-03 03:32:07 +00:00
commit 81233d098c
1479 files changed
+163782

No files matched your search

@@ -0,0 +1,13 @@
type Identity {
id: Text
user_id: model.id?
tenant_id: model.id?
}
verify(claims: dever.auth.Claims) (identity: Identity) {
identity = Identity {
id = claims.subject
user_id = null
tenant_id = null
}
}
@@ -0,0 +1,3 @@
global type Auth {
label: Text(1, 64)
}
@@ -0,0 +1,3 @@
public post echo = app.echo
public post raw = app.raw
@@ -0,0 +1,19 @@
type Row {
id: Int
text: Text
weight: Float
note: Text?
}
type Payload {
rows: List<Row>
raw: Json
}
echo(payload: Payload) (value: Payload) {
value = payload
}
raw(source: Json) (value: Json) {
value = source
}