buster/packages/server-shared/src/teams/responses.ts

7 lines
204 B
TypeScript

import { z } from 'zod/v4';
import { TeamSchema } from './teams.types';
export const TeamListResponseSchema = z.array(TeamSchema);
export type TeamListResponse = z.infer<typeof TeamListResponseSchema>;