mirror of
https://github.com/renovatebot/renovate.git
synced 2025-02-28 18:44:03 +00:00

Co-authored-by: Nicolas Bender <nicolas.bender@sap.com> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Pavel Busko <pavel.busko@sap.com> Co-authored-by: Johannes Dillmann <j.dillmann@sap.com> Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
17 lines
303 B
TypeScript
17 lines
303 B
TypeScript
import { z } from 'zod';
|
|
|
|
/**
|
|
* Response from registry.buildpacks.io
|
|
*/
|
|
export const BuildpacksRegistryResponseSchema = z.object({
|
|
latest: z
|
|
.object({
|
|
homepage: z.string().optional(),
|
|
})
|
|
.optional(),
|
|
versions: z
|
|
.object({
|
|
version: z.string(),
|
|
})
|
|
.array(),
|
|
});
|