balda 0.0.34 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +3 -1
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +11 -9
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +3 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +11 -9
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1395,7 +1395,7 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1395
1395
|
readonly _brand: "BaldaServer";
|
|
1396
1396
|
readonly serverOptions: ResolvedServerOptions;
|
|
1397
1397
|
readonly router: ClientRouter;
|
|
1398
|
-
|
|
1398
|
+
readonly logger: pino.Logger<string, boolean> | pino.Logger<never, boolean>;
|
|
1399
1399
|
isListening: boolean;
|
|
1400
1400
|
isProduction: boolean;
|
|
1401
1401
|
graphql: GraphQL;
|
|
@@ -3191,6 +3191,8 @@ declare class CommandRegistry {
|
|
|
3191
3191
|
private constructor();
|
|
3192
3192
|
static getInstance(): CommandRegistry;
|
|
3193
3193
|
static setCommandsPattern(pattern: string): void;
|
|
3194
|
+
getLogger(): Logger<string, boolean>;
|
|
3195
|
+
setLogger(logger: Logger): void;
|
|
3194
3196
|
getCommand(name: string): typeof Command | null;
|
|
3195
3197
|
getCommands(): (typeof Command)[];
|
|
3196
3198
|
getBuiltInCommands(): (typeof Command)[];
|
package/lib/index.d.ts
CHANGED
|
@@ -1395,7 +1395,7 @@ declare class Server<H extends NodeHttpClient = NodeHttpClient> implements Serve
|
|
|
1395
1395
|
readonly _brand: "BaldaServer";
|
|
1396
1396
|
readonly serverOptions: ResolvedServerOptions;
|
|
1397
1397
|
readonly router: ClientRouter;
|
|
1398
|
-
|
|
1398
|
+
readonly logger: pino.Logger<string, boolean> | pino.Logger<never, boolean>;
|
|
1399
1399
|
isListening: boolean;
|
|
1400
1400
|
isProduction: boolean;
|
|
1401
1401
|
graphql: GraphQL;
|
|
@@ -3191,6 +3191,8 @@ declare class CommandRegistry {
|
|
|
3191
3191
|
private constructor();
|
|
3192
3192
|
static getInstance(): CommandRegistry;
|
|
3193
3193
|
static setCommandsPattern(pattern: string): void;
|
|
3194
|
+
getLogger(): Logger<string, boolean>;
|
|
3195
|
+
setLogger(logger: Logger): void;
|
|
3194
3196
|
getCommand(name: string): typeof Command | null;
|
|
3195
3197
|
getCommands(): (typeof Command)[];
|
|
3196
3198
|
getBuiltInCommands(): (typeof Command)[];
|