✨ Add NocoDB block (#1365)
#970 #997 Fully integrate NocoDB. Added all API Functions: - List Table Records - Create Table Records - Update Table Records - Delete Table Records - Read Table Record - Count Table Records - List Linked Records - Link Records - Unlink Records Optional Todo: - Save responses of non-get requests in a variable (error validation try-catch is added and logged so i do not think so it is much needed) You are free to implement any extra validation/function :D --------- Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3e4e7531f6
commit
a17781dfa6
@@ -13,4 +13,5 @@ export const forgedBlockIds = [
|
||||
'anthropic',
|
||||
'together-ai',
|
||||
'open-router',
|
||||
'nocodb',
|
||||
] as const satisfies ForgedBlock['type'][]
|
||||
|
||||
@@ -20,6 +20,8 @@ import { togetherAiBlock } from '@typebot.io/together-ai-block'
|
||||
import { togetherAiCredentialsSchema } from '@typebot.io/together-ai-block/schemas'
|
||||
import { zemanticAiBlock } from '@typebot.io/zemantic-ai-block'
|
||||
import { zemanticAiCredentialsSchema } from '@typebot.io/zemantic-ai-block/schemas'
|
||||
import { nocodbBlock } from '@typebot.io/nocodb-block'
|
||||
import { nocodbCredentialsSchema } from '@typebot.io/nocodb-block/schemas'
|
||||
|
||||
export const forgedCredentialsSchemas = {
|
||||
[openAIBlock.id]: openAICredentialsSchema,
|
||||
@@ -33,4 +35,5 @@ export const forgedCredentialsSchemas = {
|
||||
[anthropicBlock.id]: anthropicCredentialsSchema,
|
||||
[togetherAiBlock.id]: togetherAiCredentialsSchema,
|
||||
[openRouterBlock.id]: openRouterCredentialsSchema,
|
||||
[nocodbBlock.id]: nocodbCredentialsSchema,
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ import { chatNodeBlock } from '@typebot.io/chat-node-block'
|
||||
import { calComBlock } from '@typebot.io/cal-com-block'
|
||||
import { zemanticAiBlock } from '@typebot.io/zemantic-ai-block'
|
||||
import { openAIBlock } from '@typebot.io/openai-block'
|
||||
import { nocodbBlock } from '@typebot.io/nocodb-block'
|
||||
|
||||
export const forgedBlocks = {
|
||||
[openAIBlock.id]: openAIBlock,
|
||||
@@ -23,4 +24,5 @@ export const forgedBlocks = {
|
||||
[anthropicBlock.id]: anthropicBlock,
|
||||
[togetherAiBlock.id]: togetherAiBlock,
|
||||
[openRouterBlock.id]: openRouterBlock,
|
||||
[nocodbBlock.id]: nocodbBlock,
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"@typebot.io/elevenlabs-block": "workspace:*",
|
||||
"@typebot.io/anthropic-block": "workspace:*",
|
||||
"@typebot.io/together-ai-block": "workspace:*",
|
||||
"@typebot.io/open-router-block": "workspace:*"
|
||||
"@typebot.io/open-router-block": "workspace:*",
|
||||
"@typebot.io/nocodb-block": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,8 @@ import { togetherAiBlock } from '@typebot.io/together-ai-block'
|
||||
import { togetherAiBlockSchema } from '@typebot.io/together-ai-block/schemas'
|
||||
import { zemanticAiBlock } from '@typebot.io/zemantic-ai-block'
|
||||
import { zemanticAiBlockSchema } from '@typebot.io/zemantic-ai-block/schemas'
|
||||
import { nocodbBlock } from '@typebot.io/nocodb-block'
|
||||
import { nocodbBlockSchema } from '@typebot.io/nocodb-block/schemas'
|
||||
|
||||
export const forgedBlockSchemas = {
|
||||
[openAIBlock.id]: openAIBlockSchema,
|
||||
@@ -34,4 +36,5 @@ export const forgedBlockSchemas = {
|
||||
[anthropicBlock.id]: anthropicBlockSchema,
|
||||
[togetherAiBlock.id]: togetherAiBlockSchema,
|
||||
[openRouterBlock.id]: openRouterBlockSchema,
|
||||
[nocodbBlock.id]: nocodbBlockSchema,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user