Skip to content

Instantly share code, notes, and snippets.

@minenwerfer
Created September 17, 2024 07:08
// the framework packs some useful builtins
collection File extends aeria.file {}
collection Pet {
properties {
name str
pictures []{
properties {
file File @accept(["image/*"])
description str
}
}
}
functions {
get @expose
getAll @expose
insert @expose
remove @expose
upload @expose
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment