Make id mandatory and title optional

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
This commit is contained in:
Severin Wischmann
2024-11-06 16:14:06 +01:00
parent 42022d6778
commit 38682faf86
14 changed files with 232 additions and 39 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export type AutocompleteHandler = ({
resource: string;
token: string;
context: Record<string, string>;
}) => Promise<{ results: { title: string; id?: string }[] }>;
}) => Promise<{ results: { title?: string; id: string }[] }>;
/**
* Extension point for adding autocomplete handler providers