Files
wehub-resource-sync c48612c494
CI / E2E Tests (push) Has been cancelled
CI / Lint, Typecheck & Unit Tests (push) Has been cancelled
Docs Build / Build docs site (push) Has been cancelled
Publish @openmaic packages / Build, validate & publish (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:03:23 +08:00

30 lines
544 B
TypeScript

/**
* Web Search Provider Type Definitions
*/
/**
* Web Search Provider IDs
*/
export type WebSearchProviderId = 'tavily' | 'bocha' | 'brave' | 'baidu' | 'minimax' | 'doubao';
/**
* Baidu sub-source toggles
*/
export interface BaiduSubSources {
webSearch: boolean;
baike: boolean;
scholar: boolean;
}
/**
* Web Search Provider Configuration
*/
export interface WebSearchProviderConfig {
id: WebSearchProviderId;
name: string;
requiresApiKey: boolean;
defaultBaseUrl?: string;
endpointPath: string;
icon?: string;
}