api.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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.lua")
  12. dofile (localdir .. "/modules/change_modules.lua")
  13. dofile (localdir .. "/modules/change_policy.lua")
  14. dofile (localdir .. "/modules/consent.lua")
  15. dofile (localdir .. "/modules/create_token.lua")
  16. dofile (localdir .. "/modules/defer.lua")
  17. dofile (localdir .. "/modules/display_policies.lua")
  18. dofile (localdir .. "/modules/display_processes.lua")
  19. dofile (localdir .. "/modules/join_org.lua")
  20. dofile (localdir .. "/modules/leave_org.lua")
  21. dofile (localdir .. "/modules/message_org.lua")
  22. dofile (localdir .. "/modules/randomizer.lua")
  23. dofile (localdir .. "/modules/remove_child_org.lua")
  24. dofile (localdir .. "/modules/remove_member.lua")
  25. dofile (localdir .. "/modules/remove_org.lua")
  26. dofile (localdir .. "/modules/remove_process.lua")
  27. dofile (localdir .. "/modules/rename_org.lua")
  28. dofile (localdir .. "/modules/send_token.lua")
  29. dofile (localdir .. "/modules/tokenomics.lua")