lancer-shared 1.2.117 → 1.2.118

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.
@@ -13405,7 +13405,7 @@ const userSchema = objectType({
13405
13405
  organizationIds: z.array(stringType()),
13406
13406
  createdAt: numberType(),
13407
13407
  updatedAt: numberType(),
13408
- role: z.enum(["admin", "user"]),
13408
+ role: z.enum(["admin", "user"]).optional(),
13409
13409
  });
13410
13410
  const loginSchema = objectType({
13411
13411
  email: stringType().email(),
@@ -7,7 +7,7 @@ export declare const userSchema: z.ZodObject<{
7
7
  organizationIds: z.ZodArray<z.ZodString, "many">;
8
8
  createdAt: z.ZodNumber;
9
9
  updatedAt: z.ZodNumber;
10
- role: z.ZodEnum<["admin", "user"]>;
10
+ role: z.ZodOptional<z.ZodEnum<["admin", "user"]>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  id: string;
13
13
  name: string;
@@ -15,7 +15,7 @@ export declare const userSchema: z.ZodObject<{
15
15
  organizationIds: string[];
16
16
  createdAt: number;
17
17
  updatedAt: number;
18
- role: "admin" | "user";
18
+ role?: "admin" | "user" | undefined;
19
19
  }, {
20
20
  id: string;
21
21
  name: string;
@@ -23,7 +23,7 @@ export declare const userSchema: z.ZodObject<{
23
23
  organizationIds: string[];
24
24
  createdAt: number;
25
25
  updatedAt: number;
26
- role: "admin" | "user";
26
+ role?: "admin" | "user" | undefined;
27
27
  }>;
28
28
  export declare const loginSchema: z.ZodObject<{
29
29
  email: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.117",
3
+ "version": "1.2.118",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",