-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated vscode settings * added config, schema, upgraded sdk-nestjs to latest version * added functionality for config yaml * improved startup experience * cache warmer app fix * fixed queue worker app * fixed transactions processor, deleted confings * unified app module for tx processor * some more simplifications * processed queue module in the new simplified way * cache warmer app processing * simplified api * major refactoring * small improvements * better loading of db entities * added linting rules * fixed metrics service import * deleted abi, simplified linting rules, simplified package json * code formatting, simplified eslint rules * moved examples in apps/api * added annotation to token service * more restrictive dependencies * implemented env-specific loaders
- Loading branch information
Showing
128 changed files
with
3,585 additions
and
1,863 deletions.
There are no files selected for viewing
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 @@ | ||
API_URL=https://devnet-api.multiversx.com |
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 @@ | ||
API_URL=https://api.multiversx.com |
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 @@ | ||
API_URL=https://testnet-api.multiversx.com |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"eslint.validate": [ | ||
"javascript" | ||
], | ||
"eslint.validate": ["javascript"], | ||
"editor.formatOnSave": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Global, Module } from "@nestjs/common"; | ||
import { AppConfigService } from "./app-config.service"; | ||
|
||
@Global() | ||
@Module({ | ||
providers: [ | ||
AppConfigService, | ||
], | ||
exports: [ | ||
AppConfigService, | ||
], | ||
}) | ||
export class AppConfigModule { } |
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,7 @@ | ||
import { configuration } from "@libs/common/config/configuration"; | ||
import { Injectable } from "@nestjs/common"; | ||
|
||
@Injectable() | ||
export class AppConfigService { | ||
readonly config = configuration().apps.api; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { Module } from '@nestjs/common'; | ||
import { AuthController } from './auth.controller'; | ||
import { DynamicModuleUtils } from '@libs/common'; | ||
|
||
@Module({ | ||
controllers: [ | ||
AuthController, | ||
], | ||
providers: [ | ||
DynamicModuleUtils.getNestJsApiConfigService(), | ||
], | ||
}) | ||
export class AuthModule { } |
Oops, something went wrong.