Skip to main content
Glama

mcp-google-sheets

api-key-entity.ts1.17 kB
import { ApiKey } from '@activepieces/ee-shared' import { Platform } from '@activepieces/shared' import { EntitySchema } from 'typeorm' import { ApIdSchema, BaseColumnSchemaPart, } from '../../database/database-common' type ApiKeySchema = ApiKey & { platform: Platform } export const ApiKeyEntity = new EntitySchema<ApiKeySchema>({ name: 'api_key', columns: { ...BaseColumnSchemaPart, displayName: { type: String, nullable: false, }, platformId: { ...ApIdSchema, nullable: false, }, hashedValue: { type: String, nullable: false, }, truncatedValue: { type: String, nullable: false, }, }, indices: [], relations: { platform: { type: 'many-to-one', target: 'platform', cascade: true, onDelete: 'CASCADE', joinColumn: { name: 'platformId', referencedColumnName: 'id', foreignKeyConstraintName: 'fk_api_key_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