lemmy/api_tests
biosfood 384e55f0e4
update moderator view (#3820)
* update api tests for new moderator view

* chage moderator view to be a listing type in get posts

Note: Internally, the listing type is called ListingType.ModeratorView,
but it's called "Moderator View" in the api endpoint

* fix formatting

* add support for moderator view to list comments

* add api test for moderator view when listing comments

* fix api test formatting

* retry tests

* don't filter out blocked users and communities when using moderator view

* fix cargo tests failing

* fix formatting

* fix previous merge

* Adding ModeratorView to listing_type_enums

* Fixing fmt.

* Adding a default to ListingType.

* Upgrading to use new lemmy-js-client.

---------

Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-08-31 13:07:45 +02:00
..
src update moderator view (#3820) 2023-08-31 13:07:45 +02:00
.eslintrc.json Prettier check (#2855) 2023-05-13 16:50:58 -04:00
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 2023-01-04 10:59:26 -05:00
jest.config.js Prettier check (#2855) 2023-05-13 16:50:58 -04:00
package.json update moderator view (#3820) 2023-08-31 13:07:45 +02:00
prepare-drone-federation-test.sh Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 2023-08-02 12:52:41 -04:00
run-federation-test.sh Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 2023-08-02 12:52:41 -04:00
tsconfig.json update moderator view (#3820) 2023-08-31 13:07:45 +02:00
yarn.lock update moderator view (#3820) 2023-08-31 13:07:45 +02:00