From cd3d154d1113cdb17b227156f2acff1bf1805e7c Mon Sep 17 00:00:00 2001 From: Songkeys Date: Mon, 15 May 2023 14:56:18 +0800 Subject: [PATCH] feat(indexer): add types for excludeCharacterId and characterId list --- src/indexer/subapis/note.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/indexer/subapis/note.ts b/src/indexer/subapis/note.ts index cfaa1ff3..3c837940 100644 --- a/src/indexer/subapis/note.ts +++ b/src/indexer/subapis/note.ts @@ -9,8 +9,10 @@ import { import { type BaseIndexer } from './base' export type NoteQueryOptions = { - /** The owner of this note */ - characterId?: Numberish + /** The owner(s) of notes */ + characterId?: Numberish | Numberish[] + /** Excluded owner(s) of notes. This has higher priority than `characterId` */ + excludeCharacterId?: Numberish | Numberish[] /** The link item type to filter by. e.g. 'Character' */ linkItemType?: LinkItemType /** The toCharacterId to filter by. */