AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { Platform, PlatformConfiguration } from '@activepieces/shared'
import { EntitySchema } from 'typeorm'
import {
ApIdSchema,
BaseColumnSchemaPart,
} from '../database/database-common'
export type PlatformConfigurationSchema = PlatformConfiguration & {
platform: Platform
}
export const PlatformConfigurationEntity = new EntitySchema<PlatformConfigurationSchema>({
name: 'platform_configuration',
columns: {
...BaseColumnSchemaPart,
platformId: ApIdSchema,
isProductTelemetryEnabled: {
type: Boolean,
nullable: false,
default: true,
},
isInfraSetupTelemetryEnabled: {
type: Boolean,
nullable: false,
default: true,
},
maxBarrierSignals: {
type: Number,
nullable: false,
default: 10000,
},
aiSpecificModelsVisible: {
type: Boolean,
nullable: false,
default: true,
},
defaultChatModel: {
type: 'jsonb',
nullable: true,
},
},
indices: [
{
name: 'idx_platform_configuration_platform_id',
columns: ['platformId'],
unique: true,
},
],
relations: {
platform: {
type: 'many-to-one',
target: 'platform',
cascade: true,
onDelete: 'CASCADE',
joinColumn: {
name: 'platformId',
foreignKeyConstraintName: 'fk_platform_configuration_platform_id',
},
},
},
})