mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 21:48:32 +00:00
f549a868fd
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com> Co-authored-by: Rhys Arkins <rhys@arkins.net>
10 lines
190 B
TypeScript
10 lines
190 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const LastPipelineId = z
|
|
.object({
|
|
last_pipeline: z.object({
|
|
id: z.number(),
|
|
}),
|
|
})
|
|
.transform(({ last_pipeline }) => last_pipeline.id);
|