save changes from main

This commit is contained in:
Subash-Mohan 2025-03-09 13:55:04 +05:30
parent 9217243e3e
commit d6c0523e76
5 changed files with 78 additions and 0 deletions

BIN
web/public/Highspot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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,

View File

@ -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 {}

View File

@ -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: {

View File

@ -379,6 +379,7 @@ export enum ValidSources {
Egnyte = "egnyte",
Airtable = "airtable",
Gitbook = "gitbook",
Highspot = "highspot",
}
export const validAutoSyncSources = [