Skip to content

Variable: RuleTypeDescription ​

ts
const RuleTypeDescription: ZodObject<{
  configSchema: ZodUnknown;
  dataPaths: ZodDefault<ZodArray<ZodString>>;
  description: ZodString;
  type: ZodEnum<{
     app: "app";
     comparison: "comparison";
     expression: "expression";
     list_lookup: "list_lookup";
     score_threshold: "score_threshold";
     velocity: "velocity";
  }>;
  uiHints: ZodOptional<ZodObject<{
     fieldOrder: ZodOptional<ZodArray<ZodString>>;
     help: ZodOptional<ZodRecord<ZodString, ZodString>>;
     labels: ZodOptional<ZodRecord<ZodString, ZodString>>;
     listPicker: ZodOptional<ZodArray<ZodString>>;
  }, $strip>>;
}, $strip>;

Released under the Apache-2.0 License.