This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:25 +01:00
parent f2c36c58f9
commit 8fd99855bd
3 changed files with 19 additions and 8 deletions
+5
View File
@@ -112,6 +112,11 @@ export enum SecretType {
Personal = "personal"
}
export enum ProjectVersion {
V1 = "v1",
V2 = "v2"
}
export enum IdentityAuthMethod {
Univeral = "universal-auth"
}
+1 -1
View File
@@ -15,7 +15,7 @@ export const ProjectsSchema = z.object({
orgId: z.string().uuid(),
createdAt: z.date(),
updatedAt: z.date(),
e2ee: z.boolean().default(true)
version: z.string().default("v1")
});
export type TProjects = z.infer<typeof ProjectsSchema>;