UNPKG

delta-sync

Version:

A lightweight framework for bi-directional database synchronization with automatic version tracking and conflict resolution.

10 lines (9 loc) 351 B
export interface EncryptionConfig { enabled: boolean; keyProvider: () => Promise<CryptoKey | string>; encryptFn: (data: any, key: CryptoKey | string) => Promise<any>; decryptFn: (data: any, key: CryptoKey | string) => Promise<any>; encryptedFields?: string[]; nonEncryptedFields?: string[]; encryptAttachments?: boolean; }