schema.ts•622 B
import { z } from 'zod';
import { defaultProject } from '../../../utils/environment';
/**
* Schema for the listPipelines function
*/
export const ListPipelinesSchema = z.object({
// The project to list pipelines from
projectId: z
.string()
.optional()
.describe(`The ID or name of the project (Default: ${defaultProject})`),
// Maximum number of pipelines to return
top: z.number().optional().describe('Maximum number of pipelines to return'),
// Order by field and direction
orderBy: z
.string()
.optional()
.describe('Order by field and direction (e.g., "createdDate desc")'),
});