type
Axon
@Js
@Serializable
facet class Axon : Obj, Facet
Facet applied to methods which should be exposed as Axon functions.
fields
admin |
Marks a function as admin-only. |
---|---|
meta |
Meta data for the function encoded as a Trio string |
su |
Mark a function as superuser only. |
Slot Details
admin
const Bool admin := false
Marks a function as admin-only. Any functions that modify the database or perform ad hoc I/O should set this field to true. Functions with side effects should clearly document what side effects are.
meta
const Obj? meta
Meta data for the function encoded as a Trio string
su
const Bool su := false
Mark a function as superuser only.