@punks/backend-core 0.0.70 → 0.0.73
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 +17 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/utils/index.d.ts +2 -2
- package/dist/cjs/types/utils/strings.d.ts +1 -0
- package/dist/esm/index.js +17 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/utils/index.d.ts +2 -2
- package/dist/esm/types/utils/strings.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./array";
|
|
2
2
|
export { addTime, subtractTime, floorDateToSecond, TimeUnit } from "./dates";
|
|
3
|
-
export { CsvColumnDefinition
|
|
3
|
+
export { CsvColumnDefinition, CsvBuildOptions, csvBuild, csvParse } from "./csv";
|
|
4
4
|
export { getDirectoryFilePaths } from "./files";
|
|
5
5
|
export { joinPath, splitPath, ensureDirectory, getDirectoryPath, createDayPath, } from "./paths";
|
|
6
6
|
export * from "./strings";
|
|
@@ -11,4 +11,4 @@ export { buildTree, TreeNodeBuilder } from "./trees";
|
|
|
11
11
|
export * from "./mappings";
|
|
12
12
|
export * from "./uid";
|
|
13
13
|
export { serializeQueryString, buildUrl, deserializeQueryString, getQueryParameter, updateQueryParameters, joinUrl, } from "./urls";
|
|
14
|
-
export { ExcelSheetDefinition, ExcelKeyTransform, ExcelColumnDefinition
|
|
14
|
+
export { ExcelSheetDefinition, ExcelKeyTransform, ExcelColumnDefinition, ExcelParseOptions, excelBuild, excelParse, } from "./xls";
|
|
@@ -7,3 +7,4 @@ export declare const toCamelCase: (str: string) => string;
|
|
|
7
7
|
export declare const toTitleCase: (str: string) => string;
|
|
8
8
|
export declare const ensureTailingSlash: (value: string) => string;
|
|
9
9
|
export declare const ensureStartSlash: (value: string) => string;
|
|
10
|
+
export declare const multipleSplit: (str: string, separators: string[]) => string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ declare const toCamelCase: (str: string) => string;
|
|
|
216
216
|
declare const toTitleCase: (str: string) => string;
|
|
217
217
|
declare const ensureTailingSlash: (value: string) => string;
|
|
218
218
|
declare const ensureStartSlash: (value: string) => string;
|
|
219
|
+
declare const multipleSplit: (str: string, separators: string[]) => string[];
|
|
219
220
|
|
|
220
221
|
declare const removeUndefinedProps: <T extends Record<string, any>>(obj: T, options?: {
|
|
221
222
|
recursive?: boolean;
|
|
@@ -290,4 +291,4 @@ type ExcelParseOptions = {
|
|
|
290
291
|
};
|
|
291
292
|
declare const excelParse: (file: string | ArrayBuffer, options?: ExcelParseOptions) => any[];
|
|
292
293
|
|
|
293
|
-
export { AppServiceReference,
|
|
294
|
+
export { AppServiceReference, ConsoleLogger, CsvBuildOptions, CsvColumnDefinition, DatadogLogger, Dict, ExcelColumnDefinition, ExcelKeyTransform, ExcelParseOptions, ExcelSheetDefinition, FileLogger, ILogger, ILoggerProvider, IResolveServiceOptions, IServiceLocator, ITree, ITreeNode, LocalizedField, Log, LogLevel, MetaSerializationType, Optional, RichText, TimeUnit, TreeNodeBuilder, addTime, buildObject, buildTree, buildUrl, byField, byFieldDesc, camelToKebabCase, camelToSnakeCase, createDayPath, csvBuild, csvParse, deserializeQueryString, distinct, distinctElements, ensureDirectory, ensureStartSlash, ensureTailingSlash, excelBuild, excelParse, first, flatten, floorDateToSecond, getDirectoryFilePaths, getDirectoryPath, getQueryParameter, groupBy, indexes, isNullOrUndefined, iterate, joinPath, joinUrl, jsonDistinct, jsonSerialize, last, logMemoryUsage, mapAsync, mapOrThrow, mergeDeep, multipleSplit, newUuid, notNull, notUndefined, pluralize, processArrayDifferences, processArrayItemMove, range, removeUndefinedProps, selectMany, serializeQueryString, sleep, sort, splitPath, subArrays, subtractTime, toArrayDict, toCamelCase, toDict, toItemsDict, toItemsMap, toMap, toTitleCase, trim, trimEnd, trimStart, updateQueryParameters };
|