UNPKG

@copilotkit/runtime

Version:

<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>

19 lines (14 loc) 443 B
import { Field, InputType } from "type-graphql"; import { MetaEventName } from "../types/meta-events.type"; import { MessageInput } from "./message.input"; @InputType() export class MetaEventInput { @Field(() => MetaEventName) name: MetaEventName; @Field(() => String) value?: string; @Field(() => String, { nullable: true }) response?: string; @Field(() => [MessageInput], { nullable: true }) messages?: MessageInput[]; }