Skip to content
Snippets Groups Projects
Select Git revision
  • seb/ct-local
  • master default protected
  • randutil-remove-errors
  • herman/log-acme-errors-internally
  • herman/fix-non-constant-webhook-error-message
  • root-not-found-error-message
  • relative-paths-config
  • herman/wire-dpop-struct
  • herman/wrapped-listener
  • herman/configure-server-http-timeout
  • josh/fips
  • herman/acme-macos-properties
  • josh/webhook-error-response-content
  • user-regex
  • max/nebula-sign-curve
  • carl/bootstrap-error-clarity
  • max/capabilities
  • herman/acme-cname-txt
  • max/test
  • herman/acme-da-roots
  • backports
  • v0.28.4-rc1
  • v0.28.3-rc2
  • v0.28.3
  • v0.28.3-rc1
  • v0.28.2
  • v0.28.1
  • v0.28.1-rc2
  • v0.28.1-rc1
  • v0.28.0
  • v0.27.5
  • v0.27.4
  • v0.27.4-rc1
  • v0.27.3
  • v0.27.2
  • v0.27.1
  • v0.27.0
  • v0.26.2
  • v0.26.1
  • v0.26.0
  • v0.26.0-rc2
41 results

common-questions.md

Blame
  • schema.ts 511 B
    import { z } from 'zod';
    
    const BitbucketSourceTypeSchema = z.enum(['commit_directory', 'commit_file']);
    
    const SourceResultsSchema = z.object({
      path: z.string(),
      type: BitbucketSourceTypeSchema,
      commit: z.object({
        hash: z.string(),
      }),
    });
    
    const PagedSchema = z.object({
      page: z.number().optional(),
      pagelen: z.number(),
      size: z.number().optional(),
      next: z.string().optional(),
    });
    
    export const PagedSourceResultsSchema = PagedSchema.extend({
      values: z.array(SourceResultsSchema),
    });