Skip to content

Variable: CustomContextVariableSchema

ts
const CustomContextVariableSchema: ZodDiscriminatedUnion<[ZodObject<{
  accountId: ZodString;
  type: ZodEnum<{
     user: "user";
  }>;
}, $loose>, ZodObject<{
  id: ZodOptional<ZodNumber>;
  key: ZodOptional<ZodString>;
  type: ZodEnum<{
     issue: "issue";
  }>;
}, $loose>, ZodObject<{
  type: ZodEnum<{
     json: "json";
  }>;
  value: ZodOptional<ZodRecord<ZodString, ZodAny>>;
}, $loose>], "type">;

Defined in: src/cloud/models/customContextVariable.ts:6