23 lines
894 B
TypeScript

import { z } from "zod";
import {
activityTypeSchema,
activitySchema,
dashboardStatsSchema,
nextInvoiceSchema,
dashboardSummarySchema,
dashboardErrorSchema,
activityFilterSchema,
activityFilterConfigSchema,
dashboardSummaryResponseSchema,
} from "./schema";
export type ActivityType = z.infer<typeof activityTypeSchema>;
export type Activity = z.infer<typeof activitySchema>;
export type DashboardStats = z.infer<typeof dashboardStatsSchema>;
export type NextInvoice = z.infer<typeof nextInvoiceSchema>;
export type DashboardSummary = z.infer<typeof dashboardSummarySchema>;
export type DashboardError = z.infer<typeof dashboardErrorSchema>;
export type ActivityFilter = z.infer<typeof activityFilterSchema>;
export type ActivityFilterConfig = z.infer<typeof activityFilterConfigSchema>;
export type DashboardSummaryResponse = z.infer<typeof dashboardSummaryResponseSchema>;