@vorlefan/prisma-backup
Version:
Export all the databse models into json files and use them as backup
4 lines (3 loc) • 311 B
TypeScript
import { EncryptDataProps, EncryptDataResult, DecryptDataProps } from '../types';
export declare function encrypt({ password, text, }: EncryptDataProps): Promise<EncryptDataResult | undefined>;
export declare function decrypt({ password, encryptedText, iv, }: DecryptDataProps): Promise<string | undefined>;