Skip to content

Commit

Permalink
update frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
aarushik93 committed Oct 23, 2024
1 parent 1aa6968 commit 12ff837
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const providerIcons: Record<string, React.FC<{ className?: string }>> = {
google: FaGoogle,
notion: NotionLogoIcon,
jina: FaKey,
pinecone: FaKey,
};
// --8<-- [end:ProviderIconsEmbed]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const CREDENTIALS_PROVIDER_NAMES = [
"google",
"notion",
"jina",
"pinecone",
] as const;

export type CredentialsProviderName =
Expand All @@ -26,6 +27,8 @@ const providerDisplayNames: Record<CredentialsProviderName, string> = {
github: "GitHub",
google: "Google",
notion: "Notion",
jina: "Jina",
pinecone: "Pinecone",
};
// --8<-- [end:CredentialsProviderNames]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export type CredentialsType = "api_key" | "oauth2";

// --8<-- [start:BlockIOCredentialsSubSchema]
export type BlockIOCredentialsSubSchema = BlockIOSubSchemaMeta & {
credentials_provider: "github" | "google" | "notion" | "jina";
credentials_provider: "github" | "google" | "notion" | "jina" | "pinecone";
credentials_scopes?: string[];
credentials_types: Array<CredentialsType>;
};
Expand Down

0 comments on commit 12ff837

Please sign in to comment.