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.
@@ -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
  }>;
@@ -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({ id: true });
20
+ exports.listCreateSchema = exports.listSchema.omit({
21
+ id: true,
22
+ createdAt: true,
23
+ updatedAt: true,
24
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rategame-shared",
3
- "version": "1.1.191",
3
+ "version": "1.1.192",
4
4
  "description": "This package contains shared resources for the Rate Game project.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",