/main.aeria Secret
Created
September 17, 2024 07:08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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