🔨 refactor(utils.ts): rename nodeIcons keys to improve semantics

The keys of the nodeIcons object have been renamed to improve semantics and readability. The new names are more descriptive of the functionality of the corresponding icons.
This commit is contained in:
Gabriel Almeida 2023-05-29 23:45:13 -03:00
commit 44faf64e09

View file

@ -149,29 +149,33 @@ export const nodeIcons: {
>;
} = {
Chroma: ChromaIcon,
Airbyte: AirbyteIcon,
AzLogo: AzIcon,
Bing: BingIcon,
AirbyteJSONLoader: AirbyteIcon,
// AZLyricsLoader: AzIcon,
BingSearchAPIWrapper: BingIcon,
Cohere: CohereIcon,
Evernote: EvernoteIcon,
FacebookMessenger: FBIcon,
GitBook: GitBookIcon,
Google: GoogleIcon,
HackerNews: HackerNewsIcon,
HuggingFace: HugginFaceIcon,
IFixIt: IFixIcon,
CohereEmbeddings: CohereIcon,
EverNoteLoader: EvernoteIcon,
FacebookChatLoader: FBIcon,
GitbookLoader: GitBookIcon,
GoogleSearchAPIWrapper: GoogleIcon,
HNLoader: HackerNewsIcon,
HuggingFaceHub: HugginFaceIcon,
HuggingFaceEmbeddings: HugginFaceIcon,
IFixitLoader: IFixIcon,
Meta: MetaIcon,
Midjorney: MidjorneyIcon,
Notion: NotionIcon,
OpenAi: OpenAiIcon,
NotionDirectoryLoader: NotionIcon,
ChatOpenAI: OpenAiIcon,
OpenAI: OpenAiIcon,
OpenAIEmbeddings: OpenAiIcon,
PowerPoint: PowerPointIcon,
QDrant: QDrantIcon,
Qdrant: QDrantIcon,
ReadTheDocs: ReadTheDocsIcon,
Searx: SearxIcon,
Slack: SlackIcon,
Weaviate: WeaviateIcon,
Wikipedia: WikipediaIcon,
Wolfram: WolframIcon,
SlackDirectoryLoader: SlackIcon,
// Weaviate: WeaviateIcon,
// WikipediaAPIWrapper: WikipediaIcon,
WolframAlphaQueryRun: WolframIcon,
Word: WordIcon,
agents: RocketLaunchIcon,
chains: LinkIcon,