mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
fix: enhance cipher handling to support unknown fields and improve database binding
This commit is contained in:
@@ -134,6 +134,8 @@ export interface Cipher {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
deletedAt: string | null;
|
||||
/** Allow unknown fields from Bitwarden clients to be stored and passed through transparently. */
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
// Folder model
|
||||
@@ -254,6 +256,8 @@ export interface CipherResponse {
|
||||
attachments: any[] | null;
|
||||
key: string | null;
|
||||
encryptedFor: string | null;
|
||||
/** Allow unknown fields to pass through to clients transparently. */
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface CipherPermissions {
|
||||
|
||||
Reference in New Issue
Block a user