@aristid/leav-types 1.4.0-14c67d0d → 1.4.0-38541fd6

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.
@@ -3,6 +3,7 @@ export declare let coreMode: string;
3
3
  export declare namespace server {
4
4
  let host: string;
5
5
  let port: number;
6
+ let keepAliveTimeout: number;
6
7
  let publicUrl: string;
7
8
  let basePath: string;
8
9
  let allowIntrospection: boolean;
@@ -48,6 +48,7 @@ export declare enum CoreMode {
48
48
  export interface IServer {
49
49
  host: string;
50
50
  port: number;
51
+ keepAliveTimeout: number;
51
52
  publicUrl: string;
52
53
  basePath: string;
53
54
  allowIntrospection: boolean;
@@ -0,0 +1,10 @@
1
+ import winston from 'winston';
2
+ interface ICallerInfo {
3
+ path: string;
4
+ line: string;
5
+ col: string;
6
+ }
7
+ export declare function getLocationInfo(): ICallerInfo | null;
8
+ export declare const addLocationInfoInLog: winston.Logform.FormatWrap;
9
+ export declare const mergeLocationInfoInLog: winston.Logform.FormatWrap;
10
+ export {};
@@ -1,4 +1,4 @@
1
- import * as winston from 'winston';
1
+ import winston from 'winston';
2
2
  import { type ILoggerConfig } from './config';
3
3
  export type ILogger = Pick<typeof winston, 'error' | 'warn' | 'info' | 'log' | 'verbose' | 'debug' | 'silly'>;
4
4
  export declare function configureLogger(config: ILoggerConfig): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.4.0-14c67d0d",
3
+ "version": "1.4.0-38541fd6",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",