@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;" />
17 lines (13 loc) • 397 B
text/typescript
import { Field, InputType } from "type-graphql";
()
export class GuardrailsRuleInput {
(() => [String], { nullable: true })
allowList?: string[] = [];
(() => [String], { nullable: true })
denyList?: string[] = [];
}
()
export class GuardrailsInput {
(() => GuardrailsRuleInput, { nullable: false })
inputValidationRules: GuardrailsRuleInput;
}