mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-01 00:18:18 +02:00
save changes from main
This commit is contained in:
parent
9217243e3e
commit
d6c0523e76
BIN
web/public/Highspot.png
Normal file
BIN
web/public/Highspot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -89,6 +89,7 @@ import cohereIcon from "../../../public/Cohere.svg";
|
||||
import voyageIcon from "../../../public/Voyage.png";
|
||||
import googleIcon from "../../../public/Google.webp";
|
||||
import xenforoIcon from "../../../public/Xenforo.svg";
|
||||
import highspotIcon from "../../../public/Highspot.png";
|
||||
import { FaGithub, FaRobot } from "react-icons/fa";
|
||||
|
||||
import { cn } from "@/lib/utils";
|
||||
@ -2912,6 +2913,13 @@ export const GitbookIcon = ({
|
||||
</div>
|
||||
);
|
||||
|
||||
export const HighspotIcon = ({
|
||||
size = 16,
|
||||
className = defaultTailwindCSS,
|
||||
}: IconProps) => {
|
||||
return <LogoIcon size={size} className={className} src={highspotIcon} />;
|
||||
};
|
||||
|
||||
export const PinnedIcon = ({
|
||||
size = 16,
|
||||
className = defaultTailwindCSS,
|
||||
|
@ -1249,6 +1249,62 @@ For example, specifying .*-support.* as a "channel" will cause the connector to
|
||||
],
|
||||
overrideDefaultFreq: 60 * 60 * 24,
|
||||
},
|
||||
highspot: {
|
||||
description: "Configure HighSpot connector",
|
||||
values: [
|
||||
{
|
||||
type: "text",
|
||||
query: "Enter the HighSpot key",
|
||||
label: "Key",
|
||||
name: "key",
|
||||
optional: false,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
query: "Enter the HighSpot secret",
|
||||
label: "Secret",
|
||||
name: "secret",
|
||||
optional: false,
|
||||
},
|
||||
{
|
||||
type: "tab",
|
||||
name: "highspot_mode",
|
||||
label: "What should we index from HighSpot?",
|
||||
optional: true,
|
||||
tabs: [
|
||||
{
|
||||
value: "repo",
|
||||
label: "Specific Repository",
|
||||
fields: [
|
||||
{
|
||||
type: "text",
|
||||
query: "Enter the spot name(s):",
|
||||
label: "Spot Name(s)",
|
||||
name: "spots",
|
||||
optional: false,
|
||||
description:
|
||||
"For multiple spots, enter comma-separated names (e.g., spot1, spot2, spot3)",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "everything",
|
||||
label: "Everything",
|
||||
fields: [
|
||||
{
|
||||
type: "string_tab",
|
||||
label: "Everything",
|
||||
name: "everything",
|
||||
description:
|
||||
"This connector will index all spots the provided credentials have access to!",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
advanced_values: [],
|
||||
},
|
||||
};
|
||||
export function createConnectorInitialValues(
|
||||
connector: ConfigurableSources
|
||||
@ -1523,6 +1579,12 @@ export interface AsanaConfig {
|
||||
asana_team_id?: string;
|
||||
}
|
||||
|
||||
export interface HighSpotConfig {
|
||||
key: string;
|
||||
secret: string;
|
||||
spots?: string[];
|
||||
}
|
||||
|
||||
export interface FreshdeskConfig {}
|
||||
|
||||
export interface FirefliesConfig {}
|
||||
|
@ -44,6 +44,7 @@ import {
|
||||
GlobeIcon2,
|
||||
FileIcon2,
|
||||
GitbookIcon,
|
||||
HighspotIcon,
|
||||
} from "@/components/icons/icons";
|
||||
import { ValidSources } from "./types";
|
||||
import {
|
||||
@ -329,6 +330,12 @@ export const SOURCE_METADATA_MAP: SourceMap = {
|
||||
category: SourceCategory.Wiki,
|
||||
docs: "https://docs.onyx.app/connectors/gitbook",
|
||||
},
|
||||
highspot: {
|
||||
icon: HighspotIcon,
|
||||
displayName: "Highspot",
|
||||
category: SourceCategory.Wiki,
|
||||
docs: "https://docs.onyx.app/connectors/highspot",
|
||||
},
|
||||
// currently used for the Internet Search tool docs, which is why
|
||||
// a globe is used
|
||||
not_applicable: {
|
||||
|
@ -379,6 +379,7 @@ export enum ValidSources {
|
||||
Egnyte = "egnyte",
|
||||
Airtable = "airtable",
|
||||
Gitbook = "gitbook",
|
||||
Highspot = "highspot",
|
||||
}
|
||||
|
||||
export const validAutoSyncSources = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user