🧑💻 (emails) Add decent emails management
Use mjml-react to generate emails. Put all emails in a independent package.
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { PrismaClient } from 'db'
|
||||
import path from 'path'
|
||||
import { injectFakeResults } from 'utils'
|
||||
|
||||
require('dotenv').config({
|
||||
path: path.join(
|
||||
@ -11,13 +10,6 @@ require('dotenv').config({
|
||||
|
||||
const prisma = new PrismaClient()
|
||||
|
||||
const main = async () => {
|
||||
await injectFakeResults(prisma)({
|
||||
count: 200,
|
||||
typebotId: 'cl8hl08xt009909l6pwqenf63',
|
||||
isChronological: false,
|
||||
fakeStorage: 3 * 1024 * 1024 * 1024,
|
||||
})
|
||||
}
|
||||
const main = async () => {}
|
||||
|
||||
main().then()
|
||||
|
@ -15,6 +15,7 @@
|
||||
"models": "workspace:*",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.8.3",
|
||||
"utils": "workspace:*"
|
||||
"utils": "workspace:*",
|
||||
"emails": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user