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
/
modules
/
get-backup
/
models
/
index.d.ts
4 lines
(3 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
import
{
PathRoute
}
from
'@vorlefan/path'
;
import
{
GetBackupOnCurrentModelProps
}
from
'../../../types/backup'
;
export
declare
function
runModels
(
route
:
PathRoute
,
onCurrentModel
:
GetBackupOnCurrentModelProps
,
progress
:
any
):
Promise
<
void
>;