Files
copilotkit--copilotkit/packages/runtime/src/graphql/inputs/cloud-guardrails.input.ts
T
2026-07-13 12:58:18 +08:00

17 lines
397 B
TypeScript

import { Field, InputType } from "type-graphql";
@InputType()
export class GuardrailsRuleInput {
@Field(() => [String], { nullable: true })
allowList?: string[] = [];
@Field(() => [String], { nullable: true })
denyList?: string[] = [];
}
@InputType()
export class GuardrailsInput {
@Field(() => GuardrailsRuleInput, { nullable: false })
inputValidationRules: GuardrailsRuleInput;
}