okayurisotto
|
5190ef954c
|
cleanup(`ApPersonService.ts`): `import`
|
2023-07-03 06:46:29 +09:00 |
okayurisotto
|
451a0e3b48
|
refactor(`ApNoteService.ts`): 添付ファイル
|
2023-07-03 06:14:48 +09:00 |
okayurisotto
|
3bd784eac2
|
cleanup(`ApNoteService.ts`): `any`に対するnon-null assertion
|
2023-07-03 06:13:39 +09:00 |
okayurisotto
|
7a825752f5
|
cleanup(`ApNoteService.ts`)
|
2023-07-03 06:12:40 +09:00 |
okayurisotto
|
42b90cd2f1
|
cleanup(`ApNoteService.ts`)
|
2023-07-03 06:12:33 +09:00 |
okayurisotto
|
bfc22e9518
|
cleanup(`ApNoteService.ts`)
|
2023-07-03 06:12:26 +09:00 |
okayurisotto
|
d8f0d76973
|
cleanup(`ApNoteService.ts`): `import`
|
2023-07-03 06:12:03 +09:00 |
okayurisotto
|
b651fb55dc
|
refactor(`ApImageService.ts`): `JSON.stringify()`でのindentationを追加
|
2023-07-03 06:10:35 +09:00 |
okayurisotto
|
244f6720c1
|
cleanup(`ApMentionService.ts`): `import`
|
2023-07-03 05:46:42 +09:00 |
okayurisotto
|
67f9d9db4c
|
refactor(`ApImageService.ts`): 冗長だった部分を短く
|
2023-07-03 05:41:51 +09:00 |
okayurisotto
|
1454d04c37
|
cleanup(`ApImageService.ts`): `import`
|
2023-07-03 05:40:12 +09:00 |
okayurisotto
|
41fe1b6b1f
|
Revert "WIP(`ApImageService.ts`): `image.url`を`getApHrefNullable()`に通すかどうか悩んでいる"
This reverts commit aeefb843a8 .
|
2023-07-03 05:39:07 +09:00 |
okayurisotto
|
785a5f6f68
|
WIP(`ApPersonService.ts`): `analyzeAttachments`
- Field型を事前に定義しておくように
- `attachments`が`IObject`だった場合、返り値が`{ fields: [] }`になるようだが構わないのか?
- `toArray()`を通すべきでは?
|
2023-07-02 19:15:45 +09:00 |
okayurisotto
|
d276dabf26
|
refactor(`ApPersonService.ts`): type guardによるnon-null assertionの削除
|
2023-07-02 19:11:00 +09:00 |
okayurisotto
|
a40ea8163e
|
refactor(`ApPersonService.ts`): function return type
|
2023-07-02 19:08:41 +09:00 |
okayurisotto
|
4535728625
|
refactor(`ApPersonService.ts`): `eslint-disable-next-line`
|
2023-07-02 19:08:06 +09:00 |
okayurisotto
|
be415a96f9
|
refactor(`ApPersonService.ts`): `eslint-disable-next-line`
|
2023-07-02 19:07:15 +09:00 |
okayurisotto
|
8ee31e8002
|
refactor(`ApNoteService.ts`): non-null assertion -> optional chaining
|
2023-07-02 19:06:24 +09:00 |
okayurisotto
|
71ca66e24e
|
WIP(`ApNoteService.ts`): non-null assertion
non-nullアサーションを減らすために事前に存在確認をするようにした。
エラーをスローするようにしたのでメッセージを考えなければならない。
|
2023-07-02 19:05:23 +09:00 |
okayurisotto
|
b1ecaecf40
|
WIP(`ApPersonService.ts`): `as any`をなくした
エラーをスローするようにせざるを得なかったのでエラーメッセージを考える必要がある。
|
2023-07-02 18:34:52 +09:00 |
okayurisotto
|
44a1b6d5c0
|
refactor(`ApPersonService.ts`): `eslint-disable-next-line`
|
2023-07-02 18:20:44 +09:00 |
okayurisotto
|
39ad3da62d
|
WIP(`ApPersonService.ts`): `as`を調整
`null`でないか確認する処理が続いていたので型アサーションは`null`とのunionにした。
より本質的な改善の余地があるように感じるのでひとまずWIPとしてコミット。
|
2023-07-02 18:20:18 +09:00 |
okayurisotto
|
50955427f6
|
cleanup(`ApPersonService.ts`): deadcode
|
2023-07-02 18:09:29 +09:00 |
okayurisotto
|
c7fd197efc
|
cleanup(`ApPersonService.ts`): deadcode
|
2023-07-02 18:08:47 +09:00 |
okayurisotto
|
d3e23d9875
|
refactor(`ApPersonService.ts`): function return type
|
2023-07-02 18:08:23 +09:00 |
okayurisotto
|
58abc86def
|
cleanup(`ApPersonService.ts`): deadcode
|
2023-07-02 18:07:56 +09:00 |
okayurisotto
|
3c17a9b07d
|
cleanup(`ApPersonService.ts`): `no-unused-vars`
|
2023-07-02 18:07:27 +09:00 |
okayurisotto
|
8b3641eabe
|
cleanup(`ApNoteService.ts`): 不要な`as`を削除
|
2023-07-02 14:11:51 +09:00 |
okayurisotto
|
f688d7a933
|
WIP(`ApNoteService.ts`): `as`をなくす
エラーメッセージを考える
|
2023-07-02 14:11:27 +09:00 |
okayurisotto
|
a24e709a06
|
refactor(`ApNoteService.ts`): 不要な条件を削除
|
2023-07-02 14:09:53 +09:00 |
okayurisotto
|
ad92cb607a
|
cleanup(`ApNoteService.ts`): unneeded non-null assertion
|
2023-07-02 14:08:45 +09:00 |
okayurisotto
|
c788cbb195
|
cleanup(`ApNoteService.ts`): deadcode
|
2023-07-02 14:07:47 +09:00 |
okayurisotto
|
394678e444
|
refactor(`ApNoteService.ts`): `eslint-disable-next-line`
|
2023-07-02 14:07:32 +09:00 |
okayurisotto
|
c2b184b085
|
cleanup(`ApNoteService.ts`): 重要でない`as`を削除
|
2023-07-02 14:01:36 +09:00 |
okayurisotto
|
688ad27d08
|
cleanup(`ApNoteService.ts`)
|
2023-07-02 13:59:53 +09:00 |
okayurisotto
|
ad7b4e2527
|
refactor(`ApNoteService.ts`): 不要な条件を削除
|
2023-07-02 13:59:53 +09:00 |
okayurisotto
|
c234f3afe1
|
refactor(`ApNoteService.ts`): よりよい型定義
`res`が`null`でないことは確認されているようだったので`null`とのunionはなくした
|
2023-07-02 13:59:53 +09:00 |
okayurisotto
|
1af9392914
|
cleanup(`ApNoteService.ts`)
|
2023-07-02 13:50:06 +09:00 |
okayurisotto
|
dc291c593f
|
refactor(`ApNoteService.ts`): note.attachment
- `toArray()`を使うように
- よくわからない条件式を整理
- `as`をなくすために`promiseLimit()`でジェネリクスを使うように
|
2023-07-02 13:43:32 +09:00 |
okayurisotto
|
370c1fb12a
|
cleanup(`ApNoteService.ts`): unneeded await
|
2023-07-02 13:41:54 +09:00 |
okayurisotto
|
47a07d37f3
|
refactor(`ApNoteService.ts`): non-null assertion
これまでは`getApId()`の方でエラーがスローされていた。
|
2023-07-02 13:39:13 +09:00 |
okayurisotto
|
acce210f7d
|
refactor(`ApNoteService.ts`): `eslint-disable-next-line`
|
2023-07-02 13:38:29 +09:00 |
okayurisotto
|
b203dab852
|
cleanup(`ApNoteService.ts`): deadcode
|
2023-07-02 13:36:23 +09:00 |
okayurisotto
|
1246382de4
|
refactor(`ApNoteService.ts`): function return type
|
2023-07-02 13:35:55 +09:00 |
okayurisotto
|
aeefb843a8
|
WIP(`ApImageService.ts`): `image.url`を`getApHrefNullable()`に通すかどうか悩んでいる
|
2023-07-02 13:32:43 +09:00 |
okayurisotto
|
9dc2e98ef8
|
cleanup(`ApNoteService.ts`)
|
2023-07-02 13:32:39 +09:00 |
okayurisotto
|
fb459dee56
|
cleanup(`ApNoteService.ts`): unneeded `eslint-disable-next-line`
|
2023-07-02 13:32:26 +09:00 |
okayurisotto
|
9889ad6eb9
|
refactor(`ApMentionService.ts`)
|
2023-07-02 13:32:22 +09:00 |
okayurisotto
|
c9adcfa6fa
|
cleanup(`ApMentionService.ts`)
|
2023-07-02 13:32:17 +09:00 |
okayurisotto
|
16ffe727cc
|
cleanup(`check-https.ts`)
|
2023-07-02 13:32:13 +09:00 |