@punks/backend-core 0.0.58 → 0.0.60

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.
@@ -2,7 +2,7 @@ export * from "./array";
2
2
  export { addTime, subtractTime, TimeUnit } from "./dates";
3
3
  export { CsvColumnDefinition as ColumnDefinition, CsvBuildOptions, csvBuild, csvParse, } from "./csv";
4
4
  export { getDirectoryFilePaths } from "./files";
5
- export { joinPath, splitPath, ensureDirectory, getDirectoryPath } from "./paths";
5
+ export { joinPath, splitPath, ensureDirectory, getDirectoryPath, createDayPath, } from "./paths";
6
6
  export * from "./strings";
7
7
  export * from "./objects";
8
8
  export * from "./text";
@@ -2,4 +2,4 @@ export declare const joinPath: (...paths: string[]) => string;
2
2
  export declare const splitPath: (filePath: string) => string[];
3
3
  export declare const ensureDirectory: (path: string) => void;
4
4
  export declare const getDirectoryPath: (filePath: string) => string;
5
- export declare const createDayPath: (d: Date, separator?: string) => string;
5
+ export declare const createDayPath: (d?: Date, separator?: string) => string;
package/dist/index.d.ts CHANGED
@@ -184,6 +184,7 @@ declare const joinPath: (...paths: string[]) => string;
184
184
  declare const splitPath: (filePath: string) => string[];
185
185
  declare const ensureDirectory: (path: string) => void;
186
186
  declare const getDirectoryPath: (filePath: string) => string;
187
+ declare const createDayPath: (d?: Date, separator?: string) => string;
187
188
 
188
189
  declare const trimStart: (str: string, value: string) => string;
189
190
  declare const trimEnd: (str: string, value: string) => string;
@@ -251,4 +252,4 @@ type ExcelParseOptions = {
251
252
  };
252
253
  declare const excelParse: (file: string | ArrayBuffer, options?: ExcelParseOptions) => any[];
253
254
 
254
- export { AppServiceReference, CsvColumnDefinition as ColumnDefinition, ConsoleLogger, CsvBuildOptions, DatadogLogger, Dict, ExcelKeyTransform, ExcelParseOptions, ExcelColumnDefinition as ExcelRowBuilder, ExcelSheetDefinition, ILogger, ILoggerProvider, IResolveServiceOptions, IServiceLocator, ITree, ITreeNode, LocalizedField, 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, jsonSerialize, last, logMemoryUsage, mapOrThrow, mergeDeep, newUuid, notNull, notUndefined, pluralize, processArrayDifferences, processArrayItemMove, range, removeUndefinedProps, selectMany, sleep, sort, splitPath, subArrays, subtractTime, toArrayDict, toCamelCase, toDict, toItemsDict, toItemsMap, toMap, toTitleCase, trim, trimEnd, trimStart };
255
+ export { AppServiceReference, CsvColumnDefinition as ColumnDefinition, ConsoleLogger, CsvBuildOptions, DatadogLogger, Dict, ExcelKeyTransform, ExcelParseOptions, ExcelColumnDefinition as ExcelRowBuilder, ExcelSheetDefinition, ILogger, ILoggerProvider, IResolveServiceOptions, IServiceLocator, ITree, ITreeNode, LocalizedField, Log, LogLevel, MetaSerializationType, RichText, TimeUnit, TreeNodeBuilder, addTime, buildObject, buildTree, byField, byFieldDesc, camelToKebabCase, camelToSnakeCase, createDayPath, csvBuild, csvParse, distinct, distinctElements, ensureDirectory, ensureStartSlash, ensureTailingSlash, excelBuild, excelParse, first, flatten, getDirectoryFilePaths, getDirectoryPath, groupBy, indexes, isNullOrUndefined, iterate, joinPath, jsonDistinct, jsonSerialize, last, logMemoryUsage, mapOrThrow, mergeDeep, newUuid, notNull, notUndefined, pluralize, processArrayDifferences, processArrayItemMove, range, removeUndefinedProps, selectMany, sleep, sort, splitPath, subArrays, subtractTime, toArrayDict, 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.58",
3
+ "version": "0.0.60",
4
4
  "description": "WebPunks Backend Core",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",