@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.
- package/dist/cjs/index.js +39 -24
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/logging/service.d.ts +1 -3
- package/dist/cjs/types/utils/{objects.d.ts → objects/index.d.ts} +1 -0
- package/dist/esm/index.js +39 -25
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/logging/service.d.ts +1 -3
- package/dist/esm/types/utils/{objects.d.ts → objects/index.d.ts} +1 -0
- package/dist/esm/types/utils/objects/mergeDeep.spec.d.ts +1 -0
- package/dist/esm/types/utils/objects/removeUndefinedProps.spec.d.ts +1 -0
- package/dist/index.d.ts +3 -4
- package/package.json +1 -1
- /package/dist/cjs/types/utils/{objects.test.d.ts → objects/mergeDeep.spec.d.ts} +0 -0
- /package/dist/{esm/types/utils/objects.test.d.ts → cjs/types/utils/objects/removeUndefinedProps.spec.d.ts} +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ILogger, LogLevel, MetaSerializationType } from "../abstractions";
|
|
2
2
|
export declare class Log {
|
|
3
|
-
private static
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
|
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
|
File without changes
|
|
File without changes
|