mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 11:38:55 +00:00
Requested changes
This commit is contained in:
@@ -113,8 +113,8 @@ export enum SecretType {
|
||||
}
|
||||
|
||||
export enum ProjectVersion {
|
||||
V1 = "v1",
|
||||
V2 = "v2"
|
||||
V1 = 1,
|
||||
V2 = 2
|
||||
}
|
||||
|
||||
export enum ProjectUpgradeStatus {
|
||||
|
||||
@@ -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()
|
||||
});
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user