Files
cfw-autumn/shared/models/billingModels/customerProduct/existingUsages.ts
2026-01-29 10:59:26 +00:00

12 lines
247 B
TypeScript

import { z } from "zod/v4";
export const ExistingUsagesSchema = z.record(
z.string(),
z.object({
usage: z.number(),
entityUsages: z.record(z.string(), z.number()),
}),
);
export type ExistingUsages = z.infer<typeof ExistingUsagesSchema>;