- 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 ### Added
- logic backend components
- forms now have multiple notification
### Changed ### Changed
- switched from mongoose to typeorm, with support right now for postgres and sqlite
- colors object removed the "colors" postfix
### Fixed ### Fixed
- env list in doc
### Security ### Security
- upgraded all packages
## [0.9.9] - 2021-02-14 ## [0.9.9] - 2021-02-14
### Added ### Added

View File

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