api.lua 577 B

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