FoundKey/packages/backend/src
Francis Dinh 9bcc247421
backend: Fix appendChildren TypeError
In #134, the mention `MfmNode` handler was made async to allow the
mentionedUsers query to be used there. This however changed the return
type of that handler to be a `Promise`, causing a `TypeError` in
`appendChildren`.

This fixes the `TypeError` by making every handler and the `appendChildren`
function also async and awaiting on the processed children.

This also attempts to fix the types issue with handlers by casting to
the newly defined `HandlerFunc` type instead of to `any`.
2022-09-11 14:29:37 -04:00
..
@types use http-signature module that supports hs2019 (#8635) 2022-05-26 09:12:17 +09:00
boot backend: fix types in boot/{master, worker}.ts 2022-09-08 17:28:15 -04:00
config Remove signToActivityPubGet option 2022-08-21 12:38:43 -04:00
daemons fix lints "import/order" and "import/no-duplicate" 2022-08-03 14:05:50 +02:00
db Remove promo entities and endpoints 2022-08-11 23:13:09 +02:00
mfm backend: Fix appendChildren TypeError 2022-09-11 14:29:37 -04:00
misc fix some lints 2022-08-11 00:09:29 +02:00
models refactor(backend): use foundkey-js constants 2022-09-08 22:27:27 +02:00
prelude fix some lints 2022-08-11 00:09:29 +02:00
queue remove empty import statements 2022-08-14 12:26:18 +02:00
remote refactor: remove note.mentionedRemoteUsers column 2022-09-07 14:43:04 +02:00
server refactor(backend): remove types.ts in favour of foundkey-js 2022-09-08 23:27:25 +02:00
services refactor: remove note.mentionedRemoteUsers column 2022-09-07 14:43:04 +02:00
const.ts fix: use correct variable names 2022-07-17 23:44:13 +02:00
env.ts refactoring 2021-11-12 02:02:25 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
index.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00