2
0

api.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 .. "/storage/store-modules.lua")
  12. modpol.load_modules(localdir .. "/modules")
  13. -- dofile (localdir .. "/modules/add_child_org_consent.lua")
  14. -- dofile (localdir .. "/modules/add_child_org.lua")
  15. -- dofile (localdir .. "/modules/change_modules.lua")
  16. -- dofile (localdir .. "/modules/change_policy.lua")
  17. -- dofile (localdir .. "/modules/consent.lua")
  18. -- dofile (localdir .. "/modules/create_token.lua")
  19. -- dofile (localdir .. "/modules/defer_consent.lua")
  20. -- dofile (localdir .. "/modules/display_policies.lua")
  21. -- dofile (localdir .. "/modules/display_processes.lua")
  22. -- dofile (localdir .. "/modules/join_org_consent.lua")
  23. -- dofile (localdir .. "/modules/leave_org.lua")
  24. -- dofile (localdir .. "/modules/message_org.lua")
  25. -- dofile (localdir .. "/modules/randomizer.lua")
  26. -- dofile (localdir .. "/modules/remove_child_consent.lua")
  27. -- dofile (localdir .. "/modules/remove_member_consent.lua")
  28. -- dofile (localdir .. "/modules/remove_org_consent.lua")
  29. -- dofile (localdir .. "/modules/remove_org.lua")
  30. -- dofile (localdir .. "/modules/remove_process.lua")
  31. -- dofile (localdir .. "/modules/rename_org_consent.lua")
  32. -- dofile (localdir .. "/modules/send_token.lua")
  33. -- dofile (localdir .. "/modules/tokenomics.lua")