mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 14:59:35 +00:00
33 lines
510 B
TypeScript
33 lines
510 B
TypeScript
export type SearchInput = {
|
|
question: string
|
|
keywords?: string
|
|
}
|
|
|
|
export type SearchResultItem = {
|
|
id: string
|
|
title: string
|
|
path: string
|
|
text: string
|
|
lastEdited: string
|
|
pageId: string
|
|
}
|
|
|
|
export type SearchResult = {
|
|
results: Array<SearchResultItem>
|
|
}
|
|
|
|
/*
|
|
Search Notion Help Center.
|
|
*/
|
|
export type Search = (args: SearchInput) => Promise<SearchResult>
|
|
|
|
export type Module = {
|
|
search: Search
|
|
}
|
|
|
|
// Permissions
|
|
export type {
|
|
HelpdocsIntegration,
|
|
ModulePermissions,
|
|
ModuleState,
|
|
} from "./integration" |