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;" />

23 lines (21 loc) 1.32 kB
import "reflect-metadata"; import { __decorateMetadata } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorateMetadata.mjs"; import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.112.0/helpers/decorate.mjs"; import { Field, InputType } from "type-graphql"; //#region src/graphql/inputs/cloud-guardrails.input.ts var _ref; let GuardrailsRuleInput = class GuardrailsRuleInput { constructor() { this.allowList = []; this.denyList = []; } }; __decorate([Field(() => [String], { nullable: true }), __decorateMetadata("design:type", Array)], GuardrailsRuleInput.prototype, "allowList", void 0); __decorate([Field(() => [String], { nullable: true }), __decorateMetadata("design:type", Array)], GuardrailsRuleInput.prototype, "denyList", void 0); GuardrailsRuleInput = __decorate([InputType()], GuardrailsRuleInput); let GuardrailsInput = class GuardrailsInput {}; __decorate([Field(() => GuardrailsRuleInput, { nullable: false }), __decorateMetadata("design:type", typeof (_ref = typeof GuardrailsRuleInput !== "undefined" && GuardrailsRuleInput) === "function" ? _ref : Object)], GuardrailsInput.prototype, "inputValidationRules", void 0); GuardrailsInput = __decorate([InputType()], GuardrailsInput); //#endregion export { GuardrailsInput }; //# sourceMappingURL=cloud-guardrails.input.mjs.map