Requested changes

This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:26 +01:00
parent 419916ee0c
commit a6e263eded
21 changed files with 53 additions and 41 deletions
+2 -2
View File
@@ -113,8 +113,8 @@ export enum SecretType {
}
export enum ProjectVersion {
V1 = "v1",
V2 = "v2"
V1 = 1,
V2 = 2
}
export enum ProjectUpgradeStatus {
+1 -1
View File
@@ -15,7 +15,7 @@ export const ProjectsSchema = z.object({
orgId: z.string().uuid(),
createdAt: z.date(),
updatedAt: z.date(),
version: z.string().default("v1"),
version: z.number().default(1),
upgradeStatus: z.string().nullable().optional()
});
+1 -1
View File
@@ -20,7 +20,7 @@ export const UsersSchema = z.object({
devices: z.unknown().nullable().optional(),
createdAt: z.date(),
updatedAt: z.date(),
ghost: z.boolean().default(false)
isGhost: z.boolean().default(false)
});
export type TUsers = z.infer<typeof UsersSchema>;