@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
61 lines (60 loc) • 2.11 kB
TypeScript
import { z } from 'zod';
export declare const racingTeamSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
imageUrl: z.ZodOptional<z.ZodURL>;
adminUserId: z.ZodString;
createdAt: z.ZodDate;
updatedAt: z.ZodDate;
}, z.core.$strip>;
export declare const createRacingTeamSchema: z.ZodObject<{
name: z.ZodString;
imageUrl: z.ZodOptional<z.ZodURL>;
}, z.core.$strip>;
export declare const updateRacingTeamSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodURL>>;
adminUserId: z.ZodOptional<z.ZodString>;
createdAt: z.ZodOptional<z.ZodDate>;
updatedAt: z.ZodOptional<z.ZodDate>;
}, z.core.$strip>;
export declare const filterRacingTeamSchema: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
adminUserId: z.ZodOptional<z.ZodString>;
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
cursor: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const racingTeamSummarySchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
imageUrl: z.ZodOptional<z.ZodURL>;
}, z.core.$strip>;
export declare const paginatedRacingTeamSchema: z.ZodObject<{
data: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
imageUrl: z.ZodOptional<z.ZodURL>;
adminUserId: z.ZodString;
createdAt: z.ZodDate;
updatedAt: z.ZodDate;
}, z.core.$strip>>;
meta: z.ZodObject<{
nextCursor: z.ZodOptional<z.ZodString>;
hasMore: z.ZodOptional<z.ZodBoolean>;
limit: z.ZodNumber;
}, z.core.$strip>;
}, z.core.$strip>;
export declare const paginatedRacingTeamSummarySchema: z.ZodObject<{
data: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
imageUrl: z.ZodOptional<z.ZodURL>;
}, z.core.$strip>>;
meta: z.ZodObject<{
nextCursor: z.ZodOptional<z.ZodString>;
hasMore: z.ZodOptional<z.ZodBoolean>;
limit: z.ZodNumber;
}, z.core.$strip>;
}, z.core.$strip>;