@punks/backend-core 0.0.35 → 0.0.37

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.
@@ -1,8 +1,6 @@
1
1
  import { ILogger, LogLevel, MetaSerializationType } from "../abstractions";
2
2
  export declare class Log {
3
- private static enabled;
4
- private static level;
5
- private static metaSerialization;
3
+ private static readonly options;
6
4
  static setSerializationType(type: MetaSerializationType): void;
7
5
  static setLevel(level: LogLevel): void;
8
6
  static enable(): void;
@@ -6,3 +6,4 @@ export declare const buildObject: <T>(...props: {
6
6
  key: string;
7
7
  value: any;
8
8
  }[]) => T;
9
+ export declare const mergeDeep: <T>(a: any, b: any) => T;
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -49,9 +49,7 @@ declare const processArrayDifferences: <TItem, TInputItem, TId>({ elements, elem
49
49
  };
50
50
 
51
51
  declare class Log {
52
- private static enabled;
53
- private static level;
54
- private static metaSerialization;
52
+ private static readonly options;
55
53
  static setSerializationType(type: MetaSerializationType): void;
56
54
  static setLevel(level: LogLevel): void;
57
55
  static enable(): void;
@@ -143,6 +141,7 @@ declare const buildObject: <T>(...props: {
143
141
  key: string;
144
142
  value: any;
145
143
  }[]) => T;
144
+ declare const mergeDeep: <T>(a: any, b: any) => T;
146
145
 
147
146
  declare const pluralize: (word: string) => string;
148
147
 
@@ -183,4 +182,4 @@ type ExcelParseOptions = {
183
182
  };
184
183
  declare const excelParse: (file: string | ArrayBuffer, options?: ExcelParseOptions) => any[];
185
184
 
186
- export { CsvColumnDefinition as ColumnDefinition, CsvBuildOptions, Dict, ExcelKeyTransform, ExcelParseOptions, ExcelColumnDefinition as ExcelRowBuilder, ExcelSheetDefinition, ILogger, ILoggerProvider, IResolveServiceOptions, IServiceLocator, ITree, ITreeNode, Log, LogLevel, MetaSerializationType, RichText, TimeUnit, TreeNodeBuilder, addTime, buildObject, buildTree, byField, byFieldDesc, camelToKebabCase, camelToSnakeCase, csvBuild, csvParse, distinct, distinctElements, ensureDirectory, ensureStartSlash, ensureTailingSlash, excelBuild, excelParse, first, flatten, getDirectoryFilePaths, getDirectoryPath, groupBy, indexes, isNullOrUndefined, iterate, joinPath, jsonDistinct, last, mapOrThrow, newUuid, notNull, notUndefined, pluralize, processArrayDifferences, range, removeUndefinedProps, selectMany, sleep, sort, splitPath, subArrays, subtractTime, toCamelCase, toDict, toItemsDict, toItemsMap, toMap, toTitleCase, trim, trimEnd, trimStart };
185
+ export { CsvColumnDefinition as ColumnDefinition, CsvBuildOptions, Dict, ExcelKeyTransform, ExcelParseOptions, ExcelColumnDefinition as ExcelRowBuilder, ExcelSheetDefinition, ILogger, ILoggerProvider, IResolveServiceOptions, IServiceLocator, ITree, ITreeNode, Log, LogLevel, MetaSerializationType, RichText, TimeUnit, TreeNodeBuilder, addTime, buildObject, buildTree, byField, byFieldDesc, camelToKebabCase, camelToSnakeCase, csvBuild, csvParse, distinct, distinctElements, ensureDirectory, ensureStartSlash, ensureTailingSlash, excelBuild, excelParse, first, flatten, getDirectoryFilePaths, getDirectoryPath, groupBy, indexes, isNullOrUndefined, iterate, joinPath, jsonDistinct, last, mapOrThrow, mergeDeep, newUuid, notNull, notUndefined, pluralize, processArrayDifferences, range, removeUndefinedProps, selectMany, sleep, sort, splitPath, subArrays, subtractTime, toCamelCase, toDict, toItemsDict, toItemsMap, toMap, toTitleCase, trim, trimEnd, trimStart };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-core",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "WebPunks Backend Core",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",