- logic backend components

- forms now have multiple notification
- switched from mongoose to typeorm, with support right now for postgres and sqlite
- colors object removed the "colors" postfix
- env list in doc
- upgraded all packages
This commit is contained in:
Michael Schramm 2021-05-02 12:43:30 +02:00
parent 468ec6c637
commit 0e0989459d
2 changed files with 12 additions and 2 deletions

View File

@ -9,12 +9,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- logic backend components
- forms now have multiple notification
### Changed
- switched from mongoose to typeorm, with support right now for postgres and sqlite
- colors object removed the "colors" postfix
### Fixed
- env list in doc
### Security
- upgraded all packages
## [0.9.9] - 2021-02-14
### Added

View File

@ -2,9 +2,9 @@ import { MailerService } from '@nestjs-modules/mailer'
import { Injectable } from '@nestjs/common'
import handlebars from 'handlebars'
import htmlToText from 'html-to-text'
import mjml2html from 'mjml'
import { PinoLogger } from 'nestjs-pino/dist'
import { SubmissionEntity } from '../../entity/submission.entity'
import mjml2html from 'mjml'
@Injectable()
export class SubmissionNotificationService {
@ -28,7 +28,7 @@ export class SubmissionNotificationService {
handlebars.compile(
notification.htmlTemplate
)({
// TODO add varialbes
// TODO add variables
}),
{
minify: true