Variable ShopItemSchemaConst
ShopItemSchema: ZodObject<{
createdAt: ZodString;
description: ZodString;
id: ZodString;
name: ZodString;
priceUsd: ZodNumber;
sale: ZodObject<{
soldAt: ZodOptional<ZodString>;
soldToPlayerId: ZodOptional<ZodString>;
status: ZodEnum<["available", "sold"]>;
}, "strip", ZodTypeAny, {
soldAt?: string;
soldToPlayerId?: string;
status: "available" | "sold";
}, {
soldAt?: string;
soldToPlayerId?: string;
status: "available" | "sold";
}>;
spaceId: ZodString;
type: ZodEnum<["book", "music", "coffee"]>;
}, "strip", ZodTypeAny, {
createdAt: string;
description: string;
id: string;
name: string;
priceUsd: number;
sale: {
soldAt?: string;
soldToPlayerId?: string;
status: "available" | "sold";
};
spaceId: string;
type: "book" | "music" | "coffee";
}, {
createdAt: string;
description: string;
id: string;
name: string;
priceUsd: number;
sale: {
soldAt?: string;
soldToPlayerId?: string;
status: "available" | "sold";
};
spaceId: string;
type: "book" | "music" | "coffee";
}> = ...
Shop amenity item — books, music, coffee.