@open-norantec/utilities 2.1.4 → 2.1.5
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/dist/enums.d.ts +4 -4
- package/dist/log-util.class.d.ts +3 -3
- package/dist/schemas.d.ts +13 -13
- package/package.json +1 -1
package/dist/enums.d.ts
CHANGED
|
@@ -49,8 +49,8 @@ export declare namespace Enums {
|
|
|
49
49
|
readonly DEBUG: "debug";
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
export interface EnumTypes {
|
|
53
|
+
OrderOrientation: (typeof Enums.OrderOrientation)[keyof typeof Enums.OrderOrientation];
|
|
54
|
+
WhereClauseOp: (typeof Enums.WhereClauseOp)[keyof typeof Enums.WhereClauseOp];
|
|
55
|
+
LogLevel: (typeof Enums.LogLevel)[keyof typeof Enums.LogLevel];
|
|
56
56
|
}
|
package/dist/log-util.class.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumTypes } from './enums';
|
|
2
2
|
export declare class LogUtil {
|
|
3
3
|
private readonly defaultLogLevel;
|
|
4
|
-
constructor(defaultLogLevel?: EnumTypes
|
|
5
|
-
match(bottomLogLevel: EnumTypes
|
|
6
|
-
log(level: EnumTypes
|
|
4
|
+
constructor(defaultLogLevel?: EnumTypes['LogLevel']);
|
|
5
|
+
match(bottomLogLevel: EnumTypes['LogLevel'] | boolean, logLevel: EnumTypes['LogLevel']): boolean;
|
|
6
|
+
log(level: EnumTypes['LogLevel'], message: string | Error): void;
|
|
7
7
|
}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -482,17 +482,17 @@ export declare namespace Schemas {
|
|
|
482
482
|
}, z.core.$strip>], "type">>>>;
|
|
483
483
|
}, z.core.$strip>;
|
|
484
484
|
}
|
|
485
|
-
export
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
485
|
+
export interface SchemaTypes {
|
|
486
|
+
CommonResult: z.infer<typeof Schemas.COMMON_RESULT>;
|
|
487
|
+
File: z.infer<typeof Schemas.FILE>;
|
|
488
|
+
FindOneOptions: z.infer<typeof Schemas.FIND_ONE_OPTIONS>;
|
|
489
|
+
IDObject: z.infer<typeof Schemas.ID_OBJECT>;
|
|
490
|
+
LogLevel: z.infer<typeof Schemas.LOG_LEVEL>;
|
|
491
|
+
OrderItem: z.infer<typeof Schemas.ORDER_ITEM>;
|
|
492
|
+
OrderOrientation: z.infer<typeof Schemas.ORDER_ORIENTATION>;
|
|
493
|
+
PaginationOptions: z.infer<typeof Schemas.PAGINATION_OPTIONS>;
|
|
494
|
+
PaginationResult: z.infer<typeof Schemas.PAGINATION_RESULT>;
|
|
495
|
+
TimeRecord: z.infer<typeof Schemas.TIME_RECORD>;
|
|
496
|
+
WhereClause: z.infer<typeof Schemas.WHERE_CLAUSE>;
|
|
497
|
+
WhereClauseOp: z.infer<typeof Schemas.WHERE_CLAUSE_OP>;
|
|
498
498
|
}
|