From 364bc0b57eced491420c451d1f49968e5d66fd0a Mon Sep 17 00:00:00 2001 From: Songkeys Date: Tue, 16 May 2023 00:50:32 +0800 Subject: [PATCH] feat(indexer): add types for excludeCharacterId and characterId list (#39) --- 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. */