teal-src: update module.d.tl with new access control methods

This commit is contained in:
Matthew Wild 2022-06-15 14:22:26 +01:00
parent d73714b4f4
commit 57ed2e28a0

View file

@ -126,6 +126,11 @@ global record moduleapi
path : string
resource_path : string
-- access control
may : function (moduleapi, string, table|string)
default_permission : function (string, string)
default_permissions : function (string, { string })
-- methods the module can add
load : function ()
add_host : function (moduleapi)