Make EncryptionOptions extend to EncryptionConfig

This commit is contained in:
Yigit Colakoglu 2025-07-31 07:16:03 +02:00
parent d87cd7d497
commit 54d739214a

View File

@ -28,11 +28,8 @@ export interface DirectoryConfig extends EncryptionConfig {
password: string password: string
} }
export interface EncryptionOptions { export interface EncryptionOptions extends EncryptionConfig {
algorithm: string
encryptedFolders: { [folderPath: string]: string | DirectoryConfig } encryptedFolders: { [folderPath: string]: string | DirectoryConfig }
message: string
ttl: number
} }
// ============================================================================= // =============================================================================