iceshrimp/packages/backend/src/server/api/common
Johann150 e161c0abe4 chore: synchronize visibility checks (#8687)
* reuse single meId parameter

* unify code style

Use template string to avoid having to use escaped quote marks.

* fix: follower only notes are visible to mentioned users

This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts

* add comment
2022-06-11 16:14:44 +09:00
..
generate-block-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-channel-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-muted-instance-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-muted-note-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-muted-note-thread-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-muted-user-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-native-user-token.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-replies-query.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
generate-visibility-query.ts chore: synchronize visibility checks (#8687) 2022-06-11 16:14:44 +09:00
getters.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
inject-featured.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
inject-promo.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
is-native-token.ts refactoring 2021-11-12 02:02:25 +09:00
make-pagination-query.ts refactoring 2021-11-12 02:02:25 +09:00
read-messaging-message.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
read-notification.ts feat: Improve Push Notification (#7667) 2022-04-30 21:52:07 +09:00
signin.ts fix ogp rendering and refactor 2022-04-17 21:18:18 +09:00
signup.ts refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00