This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nestjs-new-template): Update dependencies and update source for it
- Loading branch information
1 parent
d10afd7
commit e8c76f5
Showing
9 changed files
with
3,942 additions
and
3,737 deletions.
There are no files selected for viewing
7,492 changes: 3,850 additions & 3,642 deletions
7,492
src/nestjs/new/files/__root__/package-lock.__json__
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/nestjs/new/files/__root__/src/libs/auth/configs/auth.config.__ts__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// workaround: wrong inject token | ||
import { IAuthConfig } from '../interfaces/auth-config.interface'; | ||
|
||
export const defaultAuthConfig: IAuthConfig = { | ||
debug: false, | ||
demo: false, | ||
port: 5000, | ||
protocol: 'http', | ||
domain: 'localhost' | ||
}; | ||
export const AUTH_CONFIG_TOKEN: string = 'AuthConfigToken'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/nestjs/new/files/__root__/src/libs/auth/interfaces/auth-config.interface.__ts__
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// workaround: wrong inject token | ||
export interface IAuthConfig { | ||
debug: boolean; | ||
demo: boolean; | ||
port?: number; | ||
externalPort?: number; | ||
domain?: string; | ||
protocol?: 'http' | 'https'; | ||
indexFile?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters