feat(infisical-pg): completed signup, login, password and backup key migration

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent 05205d1eff
commit fcfd6b3fb2
68 changed files with 7529 additions and 58 deletions
+19
View File
@@ -0,0 +1,19 @@
export enum TableName {
Users = "users",
UserEncryptionKey = "user_encryption_keys",
AuthTokens = "auth_tokens",
AuthTokenSession = "auth_token_sessions",
BackupPrivateKey = "backup_private_key"
}
export type TImmutableDBKeys = "id" | "createdAt" | "updatedAt";
export enum SecretEncryptionAlgo {
AES_256_GCM = "aes-256-gcm"
}
export enum SecretKeyEncoding {
UTF8 = "utf8",
BASE64 = "base64",
HEX = "hex"
}