Skip to main content
Glama

mcp-google-sheets

flow-version.ts1.27 kB
import { Static, Type } from '@sinclair/typebox' import { BaseModelSchema, Nullable } from '../common/base-model' import { ApId } from '../common/id-generator' import { UserWithMetaInformation } from '../user' import { FlowTrigger } from './triggers/trigger' export type FlowVersionId = ApId export const LATEST_SCHEMA_VERSION = '7' export enum FlowVersionState { LOCKED = 'LOCKED', DRAFT = 'DRAFT', } export const FlowVersion = Type.Object({ ...BaseModelSchema, flowId: Type.String(), displayName: Type.String(), trigger: FlowTrigger, updatedBy: Nullable(Type.String()), valid: Type.Boolean(), schemaVersion: Nullable(Type.String()), agentIds: Type.Array(Type.String()), state: Type.Enum(FlowVersionState), connectionIds: Type.Array(Type.String()), }) export type FlowVersion = Static<typeof FlowVersion> export const FlowVersionMetadata = Type.Object({ ...BaseModelSchema, flowId: Type.String(), displayName: Type.String(), valid: Type.Boolean(), state: Type.Enum(FlowVersionState), updatedBy: Nullable(Type.String()), schemaVersion: Nullable(Type.String()), updatedByUser: Nullable(UserWithMetaInformation), }) export type FlowVersionMetadata = Static<typeof FlowVersionMetadata>

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