Skip to main content
Glama

mcp-google-sheets

table.entity.ts1.68 kB
import { Field, Project, Record, Table, TableWebhook } from '@activepieces/shared' import { EntitySchema } from 'typeorm' import { ApIdSchema, BaseColumnSchemaPart } from '../../database/database-common' type TableSchema = Table & { project: Project fields: Field[] records: Record[] tableWebhooks: TableWebhook[] } export const TableEntity = new EntitySchema<TableSchema>({ name: 'table', columns: { ...BaseColumnSchemaPart, name: { type: String, }, externalId: { type: String, }, trigger: { type: String, nullable: true, }, status: { type: String, nullable: true, }, projectId: { ...ApIdSchema, nullable: false, }, }, indices: [ { name: 'idx_table_project_id_name', columns: ['projectId', 'name'], }, ], relations: { project: { type: 'many-to-one', target: 'project', cascade: true, onDelete: 'CASCADE', joinColumn: { name: 'projectId', foreignKeyConstraintName: 'fk_table_project_id', }, }, fields: { type: 'one-to-many', target: 'field', inverseSide: 'table', }, records: { type: 'one-to-many', target: 'record', inverseSide: 'table', }, tableWebhooks: { type: 'one-to-many', target: 'table_webhook', inverseSide: 'table', }, }, })

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