2
0

🧑‍💻 (emails) Add decent emails management

Use mjml-react to generate emails. Put all emails in a independent package.
This commit is contained in:
Baptiste Arnaud
2022-10-01 07:00:05 +02:00
parent e1f2d49342
commit 1654de3c1f
50 changed files with 4811 additions and 4048 deletions

View File

@ -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()

View File

@ -15,6 +15,7 @@
"models": "workspace:*",
"ts-node": "^10.9.1",
"typescript": "^4.8.3",
"utils": "workspace:*"
"utils": "workspace:*",
"emails": "workspace:*"
}
}