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 * as z from "zod/mini";
import { BasePropertySchema, TPropertyValue } from "./common";
import { PropertyType } from "./property-type";
export const NumberProperty = z.object({
...BasePropertySchema.shape,
display: z.optional(z.enum(['stepper'])),
min: z.optional(z.number()),
max: z.optional(z.number()),
step: z.optional(z.number()),
...TPropertyValue(z.number(), PropertyType.NUMBER).shape,
})
export type NumberProperty<R extends boolean> = BasePropertySchema & {
display?: 'stepper';
min?: number;
max?: number;
step?: number;
} & TPropertyValue<number, PropertyType.NUMBER, R>;