闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
359 B

  1. object false
  2. node(:meta) {
  3. {
  4. access_token: @token,
  5. locale: I18n.locale,
  6. me: current_account.id,
  7. }
  8. }
  9. node(:compose) {
  10. {
  11. me: current_account.id,
  12. private: current_account.locked?,
  13. }
  14. }
  15. node(:accounts) {
  16. {
  17. current_account.id => partial('api/v1/accounts/show', object: current_account),
  18. }
  19. }
  20. node(:settings) { @web_settings }