Comparing version 0.13.0 to 0.13.1
@@ -31,3 +31,35 @@ import { z } from 'zod'; | ||
createdById: z.ZodEffects<z.ZodString, string, string>; | ||
createdBy: z.ZodUnion<[z.ZodObject<{ | ||
id: z.ZodString; | ||
name: z.ZodString; | ||
email: z.ZodString; | ||
profileImageUrl: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
}, { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
}>, z.ZodNull]>; | ||
updatedAt: z.ZodNumber; | ||
updatedBy: z.ZodUnion<[z.ZodObject<{ | ||
id: z.ZodString; | ||
name: z.ZodString; | ||
email: z.ZodString; | ||
profileImageUrl: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
}, { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
}>, z.ZodNull]>; | ||
updatedById: z.ZodEffects<z.ZodString, string, string>; | ||
@@ -39,2 +71,14 @@ }, "strip", z.ZodTypeAny, { | ||
updatedAt: number; | ||
createdBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
updatedBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
workspaceId: string; | ||
@@ -62,2 +106,14 @@ createdById: string; | ||
updatedAt: number; | ||
createdBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
updatedBy: { | ||
id: string; | ||
name: string; | ||
email: string; | ||
profileImageUrl?: string | undefined; | ||
} | null; | ||
workspaceId: string; | ||
@@ -64,0 +120,0 @@ createdById: string; |
@@ -9,2 +9,3 @@ "use strict"; | ||
const Search_1 = require("./Search"); | ||
const Account_1 = require("./Account"); | ||
var LayerSizeUnit; | ||
@@ -35,3 +36,5 @@ (function (LayerSizeUnit) { | ||
createdById: Id_1.idSchema, | ||
createdBy: Account_1.basicAccountSchema.or(zod_1.z.null()), | ||
updatedAt: zod_1.z.number(), | ||
updatedBy: Account_1.basicAccountSchema.or(zod_1.z.null()), | ||
updatedById: Id_1.idSchema, | ||
@@ -38,0 +41,0 @@ }); |
{ | ||
"name": "lz-schema", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
74435
2086