Skip to main content
Glama

mcp-google-sheets

custom-domain.entity.ts1.21 kB
import { CustomDomain, CustomDomainStatus, } from '@activepieces/ee-shared' import { Platform } from '@activepieces/shared' import { EntitySchema } from 'typeorm' import { ApIdSchema, BaseColumnSchemaPart, } from '../../database/database-common' type CustomDomainSchema = CustomDomain & { platform?: Platform } export const CustomDomainEntity = new EntitySchema<CustomDomainSchema>({ name: 'custom_domain', columns: { ...BaseColumnSchemaPart, domain: { type: String, }, platformId: { ...ApIdSchema, nullable: false, }, status: { type: String, enum: CustomDomainStatus, }, }, indices: [ { name: 'custom_domain_domain_unique', unique: true, columns: ['domain'], }, ], relations: { platform: { type: 'many-to-one', target: 'platform', cascade: true, onDelete: 'CASCADE', joinColumn: { name: 'platformId', foreignKeyConstraintName: 'fk_custom_domain_platform_id', }, }, }, })

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server