@bizmap/sdk 0.0.134 → 0.0.135
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/main.d.ts +3 -2
- package/dist/main.js +2 -1
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1368,12 +1368,13 @@ declare const UserDetails: z.ZodObject<{
|
|
|
1368
1368
|
type UserDetails = z.infer<typeof UserDetails>;
|
|
1369
1369
|
|
|
1370
1370
|
declare const UserStorage: z.ZodObject<{
|
|
1371
|
+
_id: z.ZodUUID;
|
|
1371
1372
|
profile: z.ZodObject<{
|
|
1372
1373
|
current: z.ZodNumber;
|
|
1373
1374
|
class: z.ZodString;
|
|
1374
1375
|
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
1375
1376
|
}, z.core.$strip>;
|
|
1376
|
-
company: z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodObject<{
|
|
1377
|
+
company: z.ZodOptional<z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodObject<{
|
|
1377
1378
|
class: z.ZodString;
|
|
1378
1379
|
items: z.ZodRecord<z.ZodEnum<{
|
|
1379
1380
|
state: "state";
|
|
@@ -1385,7 +1386,7 @@ declare const UserStorage: z.ZodObject<{
|
|
|
1385
1386
|
current: z.ZodNumber;
|
|
1386
1387
|
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
1387
1388
|
}, z.core.$strip>>;
|
|
1388
|
-
}, z.core.$strip
|
|
1389
|
+
}, z.core.$strip>>>;
|
|
1389
1390
|
createdAt: z.ZodISODateTime;
|
|
1390
1391
|
}, z.core.$strip>;
|
|
1391
1392
|
type UserStorage = z.infer<typeof UserStorage>;
|
package/dist/main.js
CHANGED
|
@@ -818,6 +818,7 @@ var MutableServiceDetails = ServiceDetails.safeExtend(
|
|
|
818
818
|
// src/schemas/user/Storage.ts
|
|
819
819
|
import * as z22 from "zod";
|
|
820
820
|
var UserStorage = z22.object({
|
|
821
|
+
_id: UserDetails.shape._id,
|
|
821
822
|
profile: z22.object({
|
|
822
823
|
current: z22.number().min(0),
|
|
823
824
|
class: z22.string().trim(),
|
|
@@ -835,7 +836,7 @@ var UserStorage = z22.object({
|
|
|
835
836
|
})
|
|
836
837
|
)
|
|
837
838
|
})
|
|
838
|
-
),
|
|
839
|
+
).optional(),
|
|
839
840
|
createdAt: Timestamp
|
|
840
841
|
});
|
|
841
842
|
|