chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user