mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
- Deleted the `search_surfsense_docs` tool and its associated files, streamlining the agent's toolset. - Updated various components and prompts to remove references to the now-removed tool, ensuring consistency across the codebase. - Adjusted documentation to direct users to the SurfSense documentation link for product-related queries instead.
71 lines
32 KiB
Text
71 lines
32 KiB
Text
app/(home)/blog/[slug]/page.tsx(161,11): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(props: { components?: Record<string, ComponentType<{}>> | undefined; }, context?: any): string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | ... 4 more ... | undefined', gave the following error.
|
|
Type 'MDXComponents' is not assignable to type 'Record<string, ComponentType<{}>> | undefined'.
|
|
Overload 2 of 2, '(props: { components?: Record<string, ComponentType<{}>> | undefined; }): string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | ... 4 more ... | undefined', gave the following error.
|
|
Type 'MDXComponents' is not assignable to type 'Record<string, ComponentType<{}>> | undefined'.
|
|
app/(home)/changelog/page.tsx(121,18): error TS2769: No overload matches this call.
|
|
Overload 1 of 2, '(props: { components?: Record<string, ComponentType<{}>> | undefined; }, context?: any): string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | ... 4 more ... | undefined', gave the following error.
|
|
Type 'MDXComponents' is not assignable to type 'Record<string, ComponentType<{}>> | undefined'.
|
|
Overload 2 of 2, '(props: { components?: Record<string, ComponentType<{}>> | undefined; }): string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | ... 4 more ... | undefined', gave the following error.
|
|
Type 'MDXComponents' is not assignable to type 'Record<string, ComponentType<{}>> | undefined'.
|
|
atoms/members/members-query.atoms.ts(74,17): error TS2304: Cannot find name 'useAtomValue'.
|
|
components/assistant-ui/citation-metadata-context.tsx(28,21): error TS2352: Conversion of type 'MessageState' to type '{ content?: MessageContent[] | undefined; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
Type 'BaseThreadMessage & MessageCommonProps & { readonly role: "assistant"; readonly content: readonly ThreadAssistantMessagePart[]; readonly status: MessageStatus; readonly metadata: { ...; }; } & { ...; }' is not comparable to type '{ content?: MessageContent[] | undefined; }'.
|
|
Types of property 'content' are incompatible.
|
|
The type 'readonly ThreadAssistantMessagePart[]' is 'readonly' and cannot be assigned to the mutable type 'MessageContent[]'.
|
|
components/assistant-ui/connector-popup/connect-forms/index.tsx(72,37): error TS2345: Argument of type 'ComponentType<ConnectFormProps>' is not assignable to parameter of type 'ConnectFormComponent'.
|
|
Type 'ComponentClass<ConnectFormProps, any>' is not assignable to type 'FunctionComponent<ConnectFormProps>'.
|
|
Type 'ComponentClass<ConnectFormProps, any>' provides no match for the signature '(props: ConnectFormProps): ReactNode | Promise<ReactNode>'.
|
|
components/assistant-ui/connector-popup/connector-configs/index.tsx(78,37): error TS2345: Argument of type 'ComponentType<ConnectorConfigProps>' is not assignable to parameter of type 'ConnectorConfigComponent'.
|
|
Type 'ComponentClass<ConnectorConfigProps, any>' is not assignable to type 'FunctionComponent<ConnectorConfigProps>'.
|
|
Type 'ComponentClass<ConnectorConfigProps, any>' provides no match for the signature '(props: ConnectorConfigProps): ReactNode | Promise<ReactNode>'.
|
|
components/assistant-ui/connector-popup/tabs/all-connectors-tab.tsx(91,74): error TS2345: Argument of type '{ readonly id: "google-drive-connector"; readonly title: "Google Drive"; readonly description: "Search your Drive files"; readonly connectorType: EnumConnectorName.GOOGLE_DRIVE_CONNECTOR; readonly authEndpoint: "/api/v1/auth/google/drive/connector/add/"; readonly selfHostedOnly: true; } | ... 12 more ... | { ...; }' is not assignable to parameter of type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
Type '{ readonly id: "airtable-connector"; readonly title: "Airtable"; readonly description: "Browse bases, tables, and records"; readonly connectorType: EnumConnectorName.AIRTABLE_CONNECTOR; readonly authEndpoint: "/api/v1/auth/mcp/airtable/connector/add/"; }' has no properties in common with type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
components/assistant-ui/connector-popup/tabs/all-connectors-tab.tsx(95,74): error TS2345: Argument of type '{ readonly id: "youtube-crawler"; readonly title: "YouTube"; readonly description: "Crawl YouTube channels and playlists"; readonly connectorType: EnumConnectorName.YOUTUBE_CONNECTOR; } | { ...; }' is not assignable to parameter of type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
Type '{ readonly id: "youtube-crawler"; readonly title: "YouTube"; readonly description: "Crawl YouTube channels and playlists"; readonly connectorType: EnumConnectorName.YOUTUBE_CONNECTOR; }' has no properties in common with type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
components/assistant-ui/connector-popup/tabs/all-connectors-tab.tsx(99,74): error TS2345: Argument of type '{ readonly id: "bookstack-connector"; readonly title: "BookStack"; readonly description: "Search BookStack docs"; readonly connectorType: EnumConnectorName.BOOKSTACK_CONNECTOR; } | ... 8 more ... | { ...; }' is not assignable to parameter of type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
Type '{ readonly id: "bookstack-connector"; readonly title: "BookStack"; readonly description: "Search BookStack docs"; readonly connectorType: EnumConnectorName.BOOKSTACK_CONNECTOR; }' has no properties in common with type '{ selfHostedOnly?: boolean | undefined; desktopOnly?: boolean | undefined; }'.
|
|
components/assistant-ui/user-message.tsx(107,36): error TS2339: Property 'connector_type' does not exist on type 'MentionedDocumentInfo'.
|
|
Property 'connector_type' does not exist on type '{ id: number; title: string; document_type: string; kind: "doc"; }'.
|
|
components/assistant-ui/user-message.tsx(111,35): error TS2339: Property 'document_type' does not exist on type 'MentionedDocumentInfo'.
|
|
Property 'document_type' does not exist on type '{ id: number; title: string; kind: "folder"; }'.
|
|
components/editor/utils/safe-deserialize.ts(46,14): error TS18047: 'editor' is possibly 'null'.
|
|
components/free-chat/free-chat-page.tsx(470,3): error TS2322: Type '() => void' is not assignable to type '() => Promise<void>'.
|
|
Type 'void' is not assignable to type 'Promise<void>'.
|
|
components/tool-ui/plan/plan.tsx(143,20): error TS2339: Property 'confirm' does not exist on type 'ActionsConfig'.
|
|
components/tool-ui/plan/plan.tsx(143,52): error TS2339: Property 'confirm' does not exist on type 'ActionsConfig'.
|
|
components/tool-ui/plan/plan.tsx(144,20): error TS2339: Property 'cancel' does not exist on type 'ActionsConfig'.
|
|
components/tool-ui/plan/plan.tsx(144,51): error TS2339: Property 'cancel' does not exist on type 'ActionsConfig'.
|
|
components/ui/command.tsx(49,5): error TS2322: Type '{ children: Element; className: string; showCloseButton: boolean; }' is not assignable to type 'IntrinsicAttributes & Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<...>'.
|
|
Property 'showCloseButton' does not exist on type 'IntrinsicAttributes & Omit<DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<...>'.
|
|
contexts/LocaleContext.tsx(16,4): error TS2719: Type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }' is not assignable to type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }'. Two different types with this name exist, but they are unrelated.
|
|
Types of property '"searchSpaceSettings"' are incompatible.
|
|
Type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 19 more ...; general_unsaved_changes: string; }' is missing the following properties from type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 39 more ...; web_search_saved: string; }': "nav_web_search", "nav_web_search_desc", "web_search_title", "web_search_description", and 16 more.
|
|
contexts/LocaleContext.tsx(18,4): error TS2719: Type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }' is not assignable to type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }'. Two different types with this name exist, but they are unrelated.
|
|
Types of property '"searchSpaceSettings"' are incompatible.
|
|
Type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 19 more ...; general_unsaved_changes: string; }' is missing the following properties from type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 39 more ...; web_search_saved: string; }': "nav_web_search", "nav_web_search_desc", "web_search_title", "web_search_description", and 16 more.
|
|
contexts/LocaleContext.tsx(20,4): error TS2719: Type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }' is not assignable to type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }'. Two different types with this name exist, but they are unrelated.
|
|
Types of property '"searchSpaceSettings"' are incompatible.
|
|
Type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 19 more ...; general_unsaved_changes: string; }' is missing the following properties from type '{ title: string; back_to_app: string; nav_general: string; nav_general_desc: string; nav_agent_models: string; nav_agent_models_desc: string; nav_role_assignments: string; nav_role_assignments_desc: string; ... 39 more ...; web_search_saved: string; }': "nav_web_search", "nav_web_search_desc", "web_search_title", "web_search_description", and 16 more.
|
|
contexts/LocaleContext.tsx(22,4): error TS2719: Type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }' is not assignable to type '{ common: { app_name: string; welcome: string; save: string; cancel: string; delete: string; edit: string; create: string; update: string; search: string; close: string; confirm: string; back: string; next: string; ... 17 more ...; settings: string; }; ... 22 more ...; public_chat: { ...; }; }'. Two different types with this name exist, but they are unrelated.
|
|
Types of property '"searchSpace"' are incompatible.
|
|
Type '{ create_title: string; create_description: string; name_label: string; name_placeholder: string; description_label: string; description_placeholder: string; create_button: string; creating: string; ... 10 more ...; create_first_button: string; }' is missing the following properties from type '{ create_title: string; create_description: string; name_label: string; name_placeholder: string; description_label: string; description_placeholder: string; create_button: string; creating: string; ... 14 more ...; create_first_button: string; }': "leave", "leave_title", "leave_confirm", "leaving"
|
|
contexts/platform-context.tsx(8,15): error TS2304: Cannot find name 'ElectronAPI'.
|
|
hooks/use-connectors-sync.ts(17,8): error TS2322: Type '{ id: number; name: string; connector_type: "SERPER_API" | "TAVILY_API" | "SEARXNG_API" | "LINKUP_API" | "BAIDU_SEARCH_API" | "SLACK_CONNECTOR" | "TEAMS_CONNECTOR" | "ONEDRIVE_CONNECTOR" | ... 22 more ... | "COMPOSIO_GOOGLE_CALENDAR_CONNECTOR"; ... 10 more ...; created_at: string; }[]' is not assignable to type '{ id: number; name: string; connector_type: "SERPER_API" | "TAVILY_API" | "SEARXNG_API" | "LINKUP_API" | "BAIDU_SEARCH_API" | "SLACK_CONNECTOR" | "TEAMS_CONNECTOR" | "ONEDRIVE_CONNECTOR" | ... 22 more ... | "COMPOSIO_GOOGLE_CALENDAR_CONNECTOR"; ... 11 more ...; created_at: string; }[]'.
|
|
Property 'enable_vision_llm' is missing in type '{ id: number; name: string; connector_type: SearchSourceConnector["connector_type"]; is_indexable: boolean; is_active: true; last_indexed_at: string | null; config: Record<string, unknown>; ... 6 more ...; created_at: string; }' but required in type '{ id: number; name: string; connector_type: "SERPER_API" | "TAVILY_API" | "SEARXNG_API" | "LINKUP_API" | "BAIDU_SEARCH_API" | "SLACK_CONNECTOR" | "TEAMS_CONNECTOR" | "ONEDRIVE_CONNECTOR" | ... 22 more ... | "COMPOSIO_GOOGLE_CALENDAR_CONNECTOR"; ... 11 more ...; created_at: string; }'.
|
|
hooks/use-folder-sync.ts(62,45): error TS7006: Parameter 'fd' implicitly has an 'any' type.
|
|
hooks/use-folder-sync.ts(170,51): error TS7006: Parameter 'pendingEvents' implicitly has an 'any' type.
|
|
hooks/use-platform.ts(9,35): error TS2304: Cannot find name 'ElectronAPI'.
|
|
instrumentation-client.ts(93,6): error TS2740: Type 'PostHogInterface' is missing the following properties from type 'PostHog': config, rateLimiter, scrollManager, pageViewManager, and 54 more.
|
|
lib/folder-sync-upload.ts(26,32): error TS2304: Cannot find name 'FolderFileEntry'.
|
|
lib/folder-sync-upload.ts(26,52): error TS2304: Cannot find name 'FolderFileEntry'.
|
|
lib/folder-sync-upload.ts(27,17): error TS2304: Cannot find name 'FolderFileEntry'.
|
|
lib/folder-sync-upload.ts(28,20): error TS2304: Cannot find name 'FolderFileEntry'.
|
|
lib/folder-sync-upload.ts(60,11): error TS2304: Cannot find name 'FolderFileEntry'.
|
|
lib/folder-sync-upload.ts(89,31): error TS18048: 'api' is possibly 'undefined'.
|
|
lib/posthog/events.ts(27,3): error TS2304: Cannot find name 'posthog'.
|
|
lib/posthog/events.ts(616,3): error TS2304: Cannot find name 'posthog'.
|
|
lib/posthog/events.ts(636,3): error TS2304: Cannot find name 'posthog'.
|
|
source.config.ts(39,2): error TS2353: Object literal may only specify known properties, and 'lastModifiedTime' does not exist in type 'GlobalConfig'.
|
|
zero/schema/folders.ts(13,18): error TS2344: Type 'Record<string, unknown>' does not satisfy the constraint 'ReadonlyJSONValue'.
|
|
Type 'Record<string, unknown>' is missing the following properties from type 'readonly ReadonlyJSONValue[]': length, concat, join, slice, and 26 more.
|