rategame-shared 1.1.191 → 1.1.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schemas/list.d.ts +1 -5
- package/dist/schemas/list.js +5 -1
- package/package.json +1 -1
package/dist/schemas/list.d.ts
CHANGED
|
@@ -1584,7 +1584,7 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1584
1584
|
season: z.ZodOptional<z.ZodString>;
|
|
1585
1585
|
public: z.ZodBoolean;
|
|
1586
1586
|
likesCount: z.ZodOptional<z.ZodNumber>;
|
|
1587
|
-
}, "id">, "strip", z.ZodTypeAny, {
|
|
1587
|
+
}, "id" | "createdAt" | "updatedAt">, "strip", z.ZodTypeAny, {
|
|
1588
1588
|
type: "rating" | "game";
|
|
1589
1589
|
name: string;
|
|
1590
1590
|
public: boolean;
|
|
@@ -1598,8 +1598,6 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1598
1598
|
itemIds: string[];
|
|
1599
1599
|
description?: string | undefined;
|
|
1600
1600
|
league?: string | undefined;
|
|
1601
|
-
createdAt?: number | undefined;
|
|
1602
|
-
updatedAt?: number | undefined;
|
|
1603
1601
|
season?: string | undefined;
|
|
1604
1602
|
likesCount?: number | undefined;
|
|
1605
1603
|
}, {
|
|
@@ -1616,8 +1614,6 @@ export declare const listCreateSchema: z.ZodObject<Omit<{
|
|
|
1616
1614
|
itemIds: string[];
|
|
1617
1615
|
description?: string | undefined;
|
|
1618
1616
|
league?: string | undefined;
|
|
1619
|
-
createdAt?: number | undefined;
|
|
1620
|
-
updatedAt?: number | undefined;
|
|
1621
1617
|
season?: string | undefined;
|
|
1622
1618
|
likesCount?: number | undefined;
|
|
1623
1619
|
}>;
|
package/dist/schemas/list.js
CHANGED
|
@@ -17,4 +17,8 @@ exports.listSchema = zod_1.z.object({
|
|
|
17
17
|
public: zod_1.z.boolean(),
|
|
18
18
|
likesCount: zod_1.z.number().optional(),
|
|
19
19
|
});
|
|
20
|
-
exports.listCreateSchema = exports.listSchema.omit({
|
|
20
|
+
exports.listCreateSchema = exports.listSchema.omit({
|
|
21
|
+
id: true,
|
|
22
|
+
createdAt: true,
|
|
23
|
+
updatedAt: true,
|
|
24
|
+
});
|