Skip to content

Variable: RedactSchema

ts
const RedactSchema: ZodObject<{
  redactions: ZodOptional<ZodArray<ZodObject<{
     contentItem: ZodObject<{
        entityId: ZodString;
        entityType: ZodCustom<... & ... | "issuefieldvalue" | "issue-comment" | "issue-worklog", ... & ... | "issuefieldvalue" | "issue-comment" | "issue-worklog">;
        id: ZodString;
     }, $loose>;
     externalId: ZodString;
     reason: ZodString;
     redactionPosition: ZodObject<{
        adfPointer: ZodOptional<ZodString>;
        expectedText: ZodString;
        from: ZodNumber;
        to: ZodNumber;
     }, $loose>;
  }, $loose>>>;
}, $strip>;

Defined in: src/cloud/parameters/redact.ts:4