Skip to content

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

408 B
Raw Blame
import * as z from "zod/mini";
import { BasePropertySchema, TPropertyValue } from "./common";
import { PropertyType } from "./property-type";

export const DateTimeProperty = z.object({
  ...BasePropertySchema.shape,
  ...TPropertyValue(z.string(), PropertyType.DATE_TIME).shape,
})

export type DateTimeProperty<R extends boolean> = BasePropertySchema &
  TPropertyValue<string, PropertyType.DATE_TIME, R>;