FoundKey/packages/backend
Norm 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
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets feat: Add Badge Image to Push Notification (#8012) 2022-07-09 05:52:01 -04:00
migration refactor: remove note.mentionedRemoteUsers column 2022-09-07 14:43:04 +02:00
src backend: Fix appendChildren TypeError 2022-09-11 14:29:37 -04:00
test fix some deps 2022-08-26 18:04:53 -04:00
.eslintignore migrate to Yarn 3.2.3 2022-08-26 15:24:29 -04:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.mocharc.json fix broken mocha tests v2 2022-07-13 12:49:58 +02:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
package.json build: update typescript and related packages 2022-09-08 23:00:36 -04:00
tsconfig.json revert tsconfig declaration to false 2022-09-03 17:50:33 -04:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00