UNPKG
@vorlefan/prisma-backup
Version:
latest (0.4.0)
0.4.0
0.3.5
0.3.0
0.2.9
0.2.8
0.2.7
0.2.6
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Export all the databse models into json files and use them as backup
daxsoft/prisma-backup
@vorlefan/prisma-backup
/
dist
/
types
/
crypto.d.ts
14 lines
(13 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
declare
type
EncryptDataProps
= {
password
:
string
;
text
:
string
; };
export
declare
type
EncryptDataResult
= {
encryptedText
:
string
;
iv
:
string
; };
export
declare
type
DecryptDataProps
= {
password
:
string
;
encryptedText
?:
string
;
iv
?:
string
; };