misskey/packages/backend/src/core
Kisaragi 83d0f819be
refactor(backend): validateNoteの引数の型を強くし、anyを除去 (#10325)
* refactor(backend): validateNoteの引数の型を推論する

* fix(backend): アサーションの内容から推論してエラーの内容を期待されるであろう式へと変更する

* refactor

Co-authored-by: Acid-Chicken <root@acid-chicken.com>

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Acid-Chicken <root@acid-chicken.com>
2023-04-14 16:27:55 +09:00
..
activitypub refactor(backend): validateNoteの引数の型を強くし、anyを除去 (#10325) 2023-04-14 16:27:55 +09:00
chart tweak postgresql entities 2023-03-10 14:53:56 +09:00
entities fix types 2023-04-14 13:50:05 +09:00
AccountMoveService.ts chore: use for instead of forEach 2023-04-08 14:18:28 +09:00
AccountUpdateService.ts feat: account migration (#10507) 2023-04-08 14:16:26 +09:00
AchievementService.ts refactor(backend): integrate CreateNotificationService to NotificationService 2023-03-16 14:24:11 +09:00
AiService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
AntennaService.ts fix types 2023-04-14 13:50:05 +09:00
AppLockService.ts fix types 2023-04-14 13:50:05 +09:00
CacheService.ts fix types 2023-04-14 13:50:05 +09:00
CaptchaService.ts fix(server): turnstile-failed: missing-input-secret 2023-01-26 11:31:43 +09:00
CoreModule.ts feat: account migration (#10507) 2023-04-08 14:16:26 +09:00
CreateSystemUserService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
CustomEmojiService.ts fix types 2023-04-14 13:50:05 +09:00
DeleteAccountService.ts enhance(backend): improve cache 2023-04-05 10:21:10 +09:00
DownloadService.ts enhance(server): downloadUrlでContent-Dispositionからファイル名を取得 (#10150) 2023-03-04 16:51:07 +09:00
DriveService.ts fix(server): Force the extention of exported file (#10630) 2023-04-14 14:35:38 +09:00
EmailService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
FederatedInstanceService.ts fix types 2023-04-14 13:50:05 +09:00
FetchInstanceMetadataService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
FileInfoService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
GlobalEventService.ts fix types 2023-04-14 13:50:05 +09:00
HashtagService.ts drop hashtag chart 2023-02-03 14:10:14 +09:00
HttpRequestService.ts fix(server): HttpRequestService.sendでは常にUser-Agentを含むように 2023-02-14 04:08:56 +00:00
IdService.ts fix(server): IdService.parseを全てのidタイプに対応させるように (#10533) 2023-04-09 04:41:06 +09:00
ImageProcessingService.ts enhance(server): 画像圧縮周り(主にサムネイルの仕様)の変更 (#10287) 2023-03-11 14:11:40 +09:00
InstanceActorService.ts perf(backend): cache local custom emojis 2023-04-06 11:14:43 +09:00
InternalStorageService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
LoggerService.ts drop syslog 2023-02-03 15:08:36 +09:00
MetaService.ts fix types 2023-04-14 13:50:05 +09:00
MfmService.ts MFMのDOM ParserをJSDOMからhappy-domに変更する (#10016) 2023-02-22 17:32:45 +09:00
ModerationLogService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
NoteCreateService.ts fix types 2023-04-14 13:50:05 +09:00
NoteDeleteService.ts enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加 2023-03-24 19:08:08 +09:00
NotePiningService.ts refactor: fix types 2023-02-12 18:47:30 +09:00
NoteReadService.ts enhance(backend): チャンネルの既読管理を削除 2023-04-05 07:52:49 +09:00
NotificationService.ts fix types 2023-04-14 13:50:05 +09:00
PollService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
ProxyAccountService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
PushNotificationService.ts fix types 2023-04-14 13:50:05 +09:00
QueryService.ts feat: Per-user renote mute (#10249) 2023-03-08 08:56:09 +09:00
QueueModule.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
QueueService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
ReactionService.ts perf(backend): cache local custom emojis 2023-04-06 11:14:43 +09:00
RelayService.ts perf(backend): cache local custom emojis 2023-04-06 11:14:43 +09:00
RemoteLoggerService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
RemoteUserResolveService.ts refactor 2023-02-13 15:50:22 +09:00
RoleService.ts fix types 2023-04-14 13:50:05 +09:00
S3Service.ts regionが空文字列のときはundefinedとする (#10410) 2023-03-25 18:45:14 +09:00
SignupService.ts refactor(backend): 必要ないas anyを消去 (#10293) 2023-03-11 08:51:37 +09:00
TwoFactorAuthenticationService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
UserBlockingService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
UserFollowingService.ts Use unique identifier for each follow request (#10600) 2023-04-12 20:22:50 +09:00
UserKeypairService.ts fix types 2023-04-14 13:50:05 +09:00
UserListService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
UserMutingService.ts fix 2023-04-05 13:50:05 +09:00
UserSuspendService.ts Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) (#10317) 2023-03-14 19:11:31 +09:00
UtilityService.ts enhance: Judge instance block by endsWith (#9263) 2023-01-13 18:21:07 +09:00
VideoProcessingService.ts enhance(server): 動画サムネイルの縦の長さを最大422pxにする 2023-04-02 15:49:07 +00:00
WebfingerService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
WebhookService.ts fix types 2023-04-14 13:50:05 +09:00