Skip to content

Variable: GitScopeReceiptSchema ​

ts
const GitScopeReceiptSchema: ZodObject<{
  baseBranch: ZodDefault<ZodString>;
  baseRef: ZodString;
  branchName: ZodOptional<ZodString>;
  diffStat: ZodString;
  headRef: ZodString;
  mutatedFiles: ZodReadonly<ZodArray<ZodString>>;
}, $strip>;

Defined in: git/src/schemas/git-receipts.schema.ts:6

Zod schema validating GitScopeReceipt objects returned by inspect() and commitChild().

Released under the MIT License.