From ab33abefec7e95ce32197330f02871d12d06995d Mon Sep 17 00:00:00 2001 From: Sergei Zharinov Date: Sun, 4 Aug 2024 15:09:27 -0300 Subject: [PATCH] feat: Export `PipfileLock` schema --- src/manager/pipenv.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manager/pipenv.ts b/src/manager/pipenv.ts index 496e7e8..8f6738f 100644 --- a/src/manager/pipenv.ts +++ b/src/manager/pipenv.ts @@ -53,7 +53,7 @@ const PipenvConstraintObject = z .nullable() .catch(null); -const PipfileLock = Json.pipe( +export const PipfileLock = Json.pipe( z.object({ _meta: PythonConstraintObject, default: PipenvConstraintObject, @@ -75,6 +75,7 @@ const PipfileLock = Json.pipe( pipenvDefault: null, pipenvDevelop: null, }); +export type PipfileLock = z.infer; const PipenvConstraint = z .object({