import z from 'zod';

export const deleteQLChartArgsSchema = z.strictObject({
    chartId: z.string(),
});

export const deleteQLChartResultSchema = z.object({});

export const getQLChartArgsSchema = z.strictObject({
    chartId: z.string(),
    workbookId: z.string().nullable().optional(),
    revId: z.string().optional(),
    includePermissions: z.boolean().optional(),
    includeLinks: z.boolean().optional(),
    includeFavorite: z.boolean().optional(),
    branch: z.enum(['saved', 'published']).optional(),
});

export const getQLChartResultSchema = z.unknown();
