Compare commits
3 Commits
d1e5892a0d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f7c052572 | |||
| 3d9e2a6e9b | |||
| f94ee799d0 |
@@ -2,6 +2,8 @@ compressionLevel: mixed
|
|||||||
|
|
||||||
enableGlobalCache: false
|
enableGlobalCache: false
|
||||||
|
|
||||||
|
enableScripts: true
|
||||||
|
|
||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
||||||
npmRegistryServer: "https://registry.npmjs.org/"
|
npmRegistryServer: "https://registry.npmjs.org/"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import { EventBus } from "sim-shared/domain/EventBus.port.js";
|
|||||||
import { Result } from "sim-shared/domain/Result.js";
|
import { Result } from "sim-shared/domain/Result.js";
|
||||||
import { SimAlaiController } from "./SimAlai.controller.js";
|
import { SimAlaiController } from "./SimAlai.controller.js";
|
||||||
|
|
||||||
type FuncType = ((m: ConsumeMessage) => Promise<Result<string, any>>)
|
type FuncType = ((m: ConsumeMessage) => Promise<Result<{ msg: string, stackTrace?: string }, any>>)
|
||||||
|
|
||||||
export class SimAlaiRouter {
|
export class SimAlaiRouter {
|
||||||
private readonly routes: Map<string, FuncType>;
|
private readonly routes: Map<string, FuncType>;
|
||||||
|
|||||||
Reference in New Issue
Block a user