api.lua 854 B

123456789101112131415161718192021222324
  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_consent.lua")
  11. dofile (localdir .. "/modules/change_modules.lua")
  12. dofile (localdir .. "/modules/consent.lua")
  13. dofile (localdir .. "/modules/join_org_consent.lua")
  14. dofile (localdir .. "/modules/leave_org.lua")
  15. dofile (localdir .. "/modules/message_org.lua")
  16. dofile (localdir .. "/modules/remove_child_consent.lua")
  17. dofile (localdir .. "/modules/remove_member_consent.lua")
  18. dofile (localdir .. "/modules/remove_org_consent.lua")
  19. dofile (localdir .. "/modules/remove_org.lua")
  20. dofile (localdir .. "/modules/rename_org_consent.lua")