api.lua 1.1 KB

123456789101112131415161718192021222324252627282930
  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. dofile (localdir .. "/orgs/users.lua")
  7. --interactions
  8. dofile (localdir .. "/interactions/interactions.lua")
  9. --modules
  10. --TODO make this automatic and directory-based
  11. dofile (localdir .. "/modules/add_child_org_consent.lua")
  12. dofile (localdir .. "/modules/change_modules.lua")
  13. dofile (localdir .. "/modules/consent.lua")
  14. dofile (localdir .. "/modules/create_token.lua")
  15. dofile (localdir .. "/modules/defer_consent.lua")
  16. dofile (localdir .. "/modules/join_org_consent.lua")
  17. dofile (localdir .. "/modules/leave_org.lua")
  18. dofile (localdir .. "/modules/message_org.lua")
  19. dofile (localdir .. "/modules/randomizer.lua")
  20. dofile (localdir .. "/modules/remove_child_consent.lua")
  21. dofile (localdir .. "/modules/remove_member_consent.lua")
  22. dofile (localdir .. "/modules/remove_org_consent.lua")
  23. dofile (localdir .. "/modules/remove_org.lua")
  24. dofile (localdir .. "/modules/rename_org_consent.lua")
  25. dofile (localdir .. "/modules/send_token.lua")
  26. dofile (localdir .. "/modules/tokenomics.lua")