Skip to content

Commit

Permalink
PR feedback: combine Orb input/output types
Browse files Browse the repository at this point in the history
  • Loading branch information
steved committed Nov 5, 2024
1 parent 0286ef0 commit 1d97ea6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/modules/manager/circleci/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ type Orb = {
orbs?: Record<string, string | Orb>;
};

type OrbInput = {
executors?: Record<string, CircleCiJob>;
jobs?: Record<string, CircleCiJob>;
orbs?: Record<string, string | OrbInput>;
};

export const CircleCiOrb: z.ZodType<Orb, any, OrbInput> = z.object({
export const CircleCiOrb: z.ZodType<Orb, any, Orb> = z.object({
executors: z.record(z.string(), CircleCiJob).optional(),
jobs: z.record(z.string(), CircleCiJob).optional(),
orbs: z.lazy(() =>
Expand Down

0 comments on commit 1d97ea6

Please sign in to comment.