-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e356f8f
commit dca1a7d
Showing
3 changed files
with
20 additions
and
2 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,16 @@ | ||
import { IRequestExecutor } from "@mineskin/core"; | ||
import { AxiosRequestConfig, AxiosResponse } from "axios"; | ||
import { injectable } from "inversify"; | ||
import { Requests } from "./generator/Requests"; | ||
|
||
//TODO: properly implement this | ||
@injectable() | ||
export class WrappedRequestExecutor implements IRequestExecutor { | ||
|
||
constructor() { | ||
} | ||
|
||
dynamicRequest<K extends unknown>(key: K, request: AxiosRequestConfig, breadcrumb?: string): Promise<AxiosResponse> { | ||
return Requests.dynamicRequest(key as string, request, breadcrumb); | ||
} | ||
} |
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 |
---|---|---|
|
@@ -1467,7 +1467,7 @@ __metadata: | |
|
||
"@mineskin/generator@git+ssh://[email protected]/MineSkin/mineskin-generator.git": | ||
version: 0.0.0 | ||
resolution: "@mineskin/generator@git+ssh://[email protected]/MineSkin/mineskin-generator.git#commit=88dd3c9d5f952274fa7ed5c92e81988d36c8077d" | ||
resolution: "@mineskin/generator@git+ssh://[email protected]/MineSkin/mineskin-generator.git#commit=f0d0299b31055df4b9d89874a019cbbf5fde9bc8" | ||
dependencies: | ||
"@hoangducnhuan/redlock": "npm:^6.0.0" | ||
"@inventivetalent/imghash": "npm:^1.1.1" | ||
|
@@ -1506,7 +1506,7 @@ __metadata: | |
winston: "npm:^3.14.2" | ||
winston-daily-rotate-file: "npm:^5.0.0" | ||
winston-transport-sentry-node: "npm:^3.0.0" | ||
checksum: 10c0/97602ed882ec689bf45f4739f81f78b9287514f7addcd715b3f00bbbff1d5723d6404431809b097a688a06ec4f56256b27819298bfc037c648b8a8b52739bddf | ||
checksum: 10c0/67021e1d638d81cbd17b170efea5e80cd856f05540624ff31083c80e49d8c7396b7b216529f47b8b20a5b168f1cc2316b04cb8e7fd2946211a845ac2de9c4a3a | ||
languageName: node | ||
linkType: hard | ||
|
||
|