Update use-note-capture.ts
This commit is contained in:
parent
afdd14bce1
commit
becdb48b97
|
@ -13,10 +13,10 @@ import { store } from '@/store.js';
|
||||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||||
|
|
||||||
export const noteEvents = new EventEmitter<{
|
export const noteEvents = new EventEmitter<{
|
||||||
[`reacted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; reaction: string; emoji?: { name: string; url: string; }; }) => void;
|
[ev: `reacted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; reaction: string; emoji?: { name: string; url: string; }; }) => void;
|
||||||
[`unreacted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; reaction: string; emoji?: { name: string; url: string; }; }) => void;
|
[ev: `unreacted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; reaction: string; emoji?: { name: string; url: string; }; }) => void;
|
||||||
[`pollVoted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; choice: string; }) => void;
|
[ev: `pollVoted:${string}`]: (ctx: { userId: Misskey.entities.User['id']; choice: string; }) => void;
|
||||||
[`deleted:${string}`]: () => void;
|
[ev: `deleted:${string}`]: () => void;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const fetchEvent = new EventEmitter<{
|
const fetchEvent = new EventEmitter<{
|
||||||
|
|
Loading…
Reference in New Issue