📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Added registration class
Yevhenii Kulisidia053f717ee61
diff --git a/.eslintrc.js b/.eslintrc.jsindex f6c62bee2..e2ab58b51 100644--- a/.eslintrc.js+++ b/.eslintrc.js@@ -20,5 +20,6 @@ module.exports = {'@typescript-eslint/explicit-function-return-type': 'off','@typescript-eslint/explicit-module-boundary-types': 'off','@typescript-eslint/no-explicit-any': 'off',+ '@typescript-eslint/no-namespace': 'off',},};diff --git a/src/auth/dtos/index.ts b/src/auth/dtos/index.tsnew file mode 100644index 000000000..56290cc53--- /dev/null+++ b/src/auth/dtos/index.ts@@ -0,0 +1 @@+export * from './register.dto'diff --git a/src/auth/dtos/register.dto.ts b/src/auth/dtos/register.dto.tsnew file mode 100644index 000000000..7bf0d3a22--- /dev/null+++ b/src/auth/dtos/register.dto.ts@@ -0,0 +1,11 @@+export namespace RegisterDto {+ export class Request {+ public readonly email: string+ public readonly password: string+ public readonly checkIfLeaked: boolean+ }++ export class Response {+ public readonly accessToken: string+ }+}