UNPKG

@copilotkit/runtime

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

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[]; }