Make id mandatory and title optional
Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user