dfts-helper
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -0,1 +1,7 @@ | ||
# [1.1.0](https://github.com/Dafnik/dfts-common/compare/dfts-helper-1.0.0...dfts-helper-1.1.0) (2023-07-07) | ||
### Features | ||
- **dfts-helper:** remove List, EntityList and Entity ([82d4c20](https://github.com/Dafnik/dfts-common/commit/82d4c20684e575d2e3ba19215a4eac92b0d34de3)) | ||
# [1.0.0](https://github.com/Dafnik/dfts-common/compare/dfts-helper-0.0.11...dfts-helper-1.0.0) (2023-05-29) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "dfts-helper", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Typescript Library with tons of utility tools helping in all projects", | ||
@@ -32,3 +32,3 @@ "private": false, | ||
"peerDependencies": { | ||
"tslib": "^2.3.0" | ||
"tslib": "1.14.1" | ||
}, | ||
@@ -35,0 +35,0 @@ "main": "./src/index.js", |
@@ -1,6 +0,1 @@ | ||
export * from './lib/collection/entity-list'; | ||
export * from './lib/collection/list.abstract'; | ||
export * from './lib/collection/list.functions'; | ||
export * from './lib/collection/list.interface'; | ||
export * from './lib/collection/list'; | ||
export * from './lib/decorators/confirmable/confirmable'; | ||
@@ -13,6 +8,2 @@ export * from './lib/decorators/delay/delay'; | ||
export * from './lib/decorators/throttle'; | ||
export * from './lib/entities/abstract-entity/abstract-entity'; | ||
export * from './lib/entities/abstract-entity-with-name'; | ||
export * from './lib/entities/entity.interface'; | ||
export * from './lib/entities/entity'; | ||
export * from './lib/entities/has-id.interface'; | ||
@@ -19,0 +10,0 @@ export * from './lib/entities/has-name.interface'; |
/* | ||
* Public API Surface of dfts | ||
*/ | ||
export * from './lib/collection/entity-list'; | ||
export * from './lib/collection/list.abstract'; | ||
export * from './lib/collection/list.functions'; | ||
export * from './lib/collection/list.interface'; | ||
export * from './lib/collection/list'; | ||
export * from './lib/decorators/confirmable/confirmable'; | ||
@@ -16,6 +11,2 @@ export * from './lib/decorators/delay/delay'; | ||
export * from './lib/decorators/throttle'; | ||
export * from './lib/entities/abstract-entity/abstract-entity'; | ||
export * from './lib/entities/abstract-entity-with-name'; | ||
export * from './lib/entities/entity.interface'; | ||
export * from './lib/entities/entity'; | ||
export * from './lib/entities/has-id.interface'; | ||
@@ -22,0 +13,0 @@ export * from './lib/entities/has-name.interface'; |
@@ -0,5 +1,5 @@ | ||
import { StringOrNumber } from '../types'; | ||
/** | ||
* @since 3.2.5 | ||
*/ | ||
import { StringOrNumber } from '../types'; | ||
export type IHasID<idType> = { | ||
@@ -6,0 +6,0 @@ id: idType; |
@@ -1,2 +0,2 @@ | ||
class StringHelper { | ||
export class StringHelper { | ||
static { this.hasNumbersInStringRegex = new RegExp(/\d/); } | ||
@@ -29,3 +29,2 @@ static { this.hasOnlyLettersInStringRegex = new RegExp(/^[a-zA-Z]+$/); } | ||
} | ||
export { StringHelper }; | ||
//# sourceMappingURL=_string.js.map |
@@ -105,3 +105,3 @@ import { getLogMessage } from './log.header'; | ||
} | ||
class LogHelper { | ||
export class LogHelper { | ||
static { this.maximalLogSize = 5000; } | ||
@@ -165,3 +165,2 @@ static { this.overflowRemoveCount = 200; } | ||
} | ||
export { LogHelper }; | ||
//# sourceMappingURL=logger.js.map |
import { IHasID } from './entities/has-id.interface'; | ||
import { IHasName } from './entities/has-name.interface'; | ||
import { IList } from './collection/list.interface'; | ||
export type UnknownOr<T> = T | unknown; | ||
@@ -33,5 +32,2 @@ export type UndefinedOr<T> = T | undefined; | ||
} | ||
export interface IMapList<itemType, mappedType> { | ||
(item: itemType, index: number, list: IList<itemType>): mappedType; | ||
} | ||
export interface IMap<itemType, mappedType> { | ||
@@ -38,0 +34,0 @@ (item: itemType, index: number, list: itemType[]): mappedType; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252129
288
2348