api.lua 580 B

123456789101112131415161718192021
  1. --call all files in this directory
  2. local localdir = modpol.topdir
  3. --Users
  4. dofile (localdir .. "/users/users.lua")
  5. --orgs
  6. dofile (localdir .. "/orgs/base.lua")
  7. dofile (localdir .. "/orgs/process.lua")
  8. --interactions
  9. dofile (localdir .. "/interactions/interactions.lua")
  10. --modules
  11. --TODO make this automatic and directory-based
  12. dofile (localdir .. "/modules/add_child_org.lua")
  13. dofile (localdir .. "/modules/consent.lua")
  14. dofile (localdir .. "/modules/join_org_consent.lua")
  15. dofile (localdir .. "/modules/remove_org_consent.lua")
  16. dofile (localdir .. "/modules/remove_org.lua")