@solid-nestjs/common 0.2.2 → 0.2.3
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/enums/standard-actions.enum.d.ts +2 -1
- package/dist/enums/standard-actions.enum.d.ts.map +1 -1
- package/dist/enums/standard-actions.enum.js +1 -0
- package/dist/enums/standard-actions.enum.js.map +1 -1
- package/dist/interfaces/services/crud-service.interface.d.ts +83 -33
- package/dist/interfaces/services/crud-service.interface.d.ts.map +1 -1
- package/dist/interfaces/services/crud-service.interface.js +5 -0
- package/dist/interfaces/services/crud-service.interface.js.map +1 -1
- package/dist/utils/http-status.utils.d.ts.map +1 -1
- package/dist/utils/http-status.utils.js +5 -1
- package/dist/utils/http-status.utils.js.map +1 -1
- package/package.json +9 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"standard-actions.enum.d.ts","sourceRoot":"","sources":["../../src/enums/standard-actions.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;
|
1
|
+
{"version":3,"file":"standard-actions.enum.d.ts","sourceRoot":"","sources":["../../src/enums/standard-actions.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB"}
|
@@ -6,5 +6,6 @@ var StandardActions;
|
|
6
6
|
StandardActions["Create"] = "Create";
|
7
7
|
StandardActions["Update"] = "Update";
|
8
8
|
StandardActions["Remove"] = "Remove";
|
9
|
+
StandardActions["Recover"] = "Recover";
|
9
10
|
})(StandardActions || (exports.StandardActions = StandardActions = {}));
|
10
11
|
//# sourceMappingURL=standard-actions.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"standard-actions.enum.js","sourceRoot":"","sources":["../../src/enums/standard-actions.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"standard-actions.enum.js","sourceRoot":"","sources":["../../src/enums/standard-actions.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
|
@@ -2,47 +2,83 @@ import { DeepPartial } from '../../types';
|
|
2
2
|
import { Context, IdTypeFrom, Entity } from '../misc';
|
3
3
|
import { DataService } from './data-service.interface';
|
4
4
|
/**
|
5
|
-
* Interface
|
5
|
+
* Interface for Create, Update, and Delete operations without soft deletion support.
|
6
6
|
*
|
7
|
-
* @typeParam IdType - The type of the entity's identifier.
|
8
|
-
* @typeParam EntityType - The type of the entity managed by the service
|
9
|
-
* @typeParam CreateInputType - The type
|
10
|
-
* @typeParam UpdateInputType - The type
|
11
|
-
* @typeParam ContextType - The type
|
12
|
-
*
|
13
|
-
* @remarks
|
14
|
-
* This interface abstracts the basic CUD operations for entities, allowing implementations to define
|
15
|
-
* how entities are created, updated, and removed (both soft and hard deletes).
|
16
|
-
*
|
17
|
-
* @method create - Creates a new entity using the provided input and context.
|
18
|
-
* @param context - The operation context.
|
19
|
-
* @param createInput - The data required to create the entity.
|
20
|
-
* @returns A promise resolving to the created entity.
|
21
|
-
*
|
22
|
-
* @method update - Updates an existing entity identified by `id` with the provided input and context.
|
23
|
-
* @param context - The operation context.
|
24
|
-
* @param id - The identifier of the entity to update.
|
25
|
-
* @param updateInput - The data to update the entity with.
|
26
|
-
* @returns A promise resolving to the updated entity.
|
27
|
-
*
|
28
|
-
* @method remove - Performs a soft delete of the entity identified by `id` in the given context.
|
29
|
-
* @param context - The operation context.
|
30
|
-
* @param id - The identifier of the entity to remove.
|
31
|
-
* @returns A promise resolving to the removed entity.
|
32
|
-
*
|
33
|
-
* @method hardRemove - Permanently deletes the entity identified by `id` in the given context.
|
34
|
-
* @param context - The operation context.
|
35
|
-
* @param id - The identifier of the entity to hard remove.
|
36
|
-
* @returns A promise resolving to the hard-removed entity.
|
7
|
+
* @typeParam IdType - The type of the entity's identifier, derived from the entity type.
|
8
|
+
* @typeParam EntityType - The type of the entity managed by the service, extending `Entity<unknown>`.
|
9
|
+
* @typeParam CreateInputType - The type used for creating new entities, typically a partial of `EntityType`.
|
10
|
+
* @typeParam UpdateInputType - The type used for updating entities, typically a partial of `EntityType`.
|
11
|
+
* @typeParam ContextType - The context type for the service, defaults to `Context`.
|
37
12
|
*/
|
38
13
|
export interface CudService<IdType extends IdTypeFrom<EntityType>, EntityType extends Entity<unknown>, CreateInputType extends DeepPartial<EntityType>, UpdateInputType extends DeepPartial<EntityType>, ContextType extends Context = Context> {
|
14
|
+
/**
|
15
|
+
* Creates a new entity.
|
16
|
+
*
|
17
|
+
* @param context - The execution context for the operation.
|
18
|
+
* @param createInput - The data for creating the new entity.
|
19
|
+
* @returns A promise that resolves to the created entity.
|
20
|
+
*/
|
39
21
|
create(context: ContextType, createInput: CreateInputType): Promise<EntityType>;
|
22
|
+
/**
|
23
|
+
* Updates an existing entity.
|
24
|
+
*
|
25
|
+
* @param context - The execution context for the operation.
|
26
|
+
* @param id - The identifier of the entity to update.
|
27
|
+
* @param updateInput - The data for updating the entity.
|
28
|
+
* @returns A promise that resolves to the updated entity.
|
29
|
+
*/
|
40
30
|
update(context: ContextType, id: IdType, updateInput: UpdateInputType): Promise<EntityType>;
|
31
|
+
/**
|
32
|
+
* Removes an entity. The removal behavior depends on the implementation
|
33
|
+
* (could be soft or hard delete).
|
34
|
+
*
|
35
|
+
* @param context - The execution context for the operation.
|
36
|
+
* @param id - The identifier of the entity to remove.
|
37
|
+
* @returns A promise that resolves to the removed entity.
|
38
|
+
*/
|
41
39
|
remove(context: ContextType, id: IdType): Promise<EntityType>;
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* Interface for services that support soft deletion and recovery operations.
|
43
|
+
* Extends the basic CUD operations with soft deletion capabilities.
|
44
|
+
*
|
45
|
+
* @typeParam IdType - The type of the entity's identifier, derived from the entity type.
|
46
|
+
* @typeParam EntityType - The type of the entity managed by the service, extending `Entity<unknown>`.
|
47
|
+
* @typeParam CreateInputType - The type used for creating new entities, typically a partial of `EntityType`.
|
48
|
+
* @typeParam UpdateInputType - The type used for updating entities, typically a partial of `EntityType`.
|
49
|
+
* @typeParam ContextType - The context type for the service, defaults to `Context`.
|
50
|
+
*/
|
51
|
+
export interface SoftDeletableCudService<IdType extends IdTypeFrom<EntityType>, EntityType extends Entity<unknown>, CreateInputType extends DeepPartial<EntityType>, UpdateInputType extends DeepPartial<EntityType>, ContextType extends Context = Context> extends CudService<IdType, EntityType, CreateInputType, UpdateInputType, ContextType> {
|
52
|
+
/**
|
53
|
+
* Soft removes an entity by marking it as deleted without permanently removing it.
|
54
|
+
* The entity can be recovered later using the recover method.
|
55
|
+
*
|
56
|
+
* @param context - The execution context for the operation.
|
57
|
+
* @param id - The identifier of the entity to soft remove.
|
58
|
+
* @returns A promise that resolves to the soft-removed entity.
|
59
|
+
*/
|
60
|
+
softRemove(context: ContextType, id: IdType): Promise<EntityType>;
|
61
|
+
/**
|
62
|
+
* Permanently removes an entity from the data store.
|
63
|
+
* This operation cannot be undone.
|
64
|
+
*
|
65
|
+
* @param context - The execution context for the operation.
|
66
|
+
* @param id - The identifier of the entity to permanently remove.
|
67
|
+
* @returns A promise that resolves to the permanently removed entity.
|
68
|
+
*/
|
42
69
|
hardRemove(context: ContextType, id: IdType): Promise<EntityType>;
|
70
|
+
/**
|
71
|
+
* Recovers a previously soft-removed entity, making it active again.
|
72
|
+
*
|
73
|
+
* @param context - The execution context for the operation.
|
74
|
+
* @param id - The identifier of the entity to recover.
|
75
|
+
* @returns A promise that resolves to the recovered entity.
|
76
|
+
*/
|
77
|
+
recover(context: ContextType, id: IdType): Promise<EntityType>;
|
43
78
|
}
|
44
79
|
/**
|
45
|
-
* Generic interface for a CRUD (Create, Read, Update, Delete) service.
|
80
|
+
* Generic interface for a full CRUD (Create, Read, Update, Delete) service.
|
81
|
+
* Combines read operations from DataService with write operations from CudService.
|
46
82
|
*
|
47
83
|
* @typeParam IdType - The type of the entity's identifier, derived from the entity type.
|
48
84
|
* @typeParam EntityType - The type of the entity managed by the service, extending `Entity<unknown>`.
|
@@ -52,8 +88,22 @@ export interface CudService<IdType extends IdTypeFrom<EntityType>, EntityType ex
|
|
52
88
|
*
|
53
89
|
* @remarks
|
54
90
|
* This interface extends both `DataService` and `CudService`, combining read and write operations
|
55
|
-
* for entities. It is intended to be implemented by services that provide
|
91
|
+
* for entities. It is intended to be implemented by services that provide basic CRUD functionality
|
92
|
+
* without soft deletion support.
|
56
93
|
*/
|
57
94
|
export interface CrudService<IdType extends IdTypeFrom<EntityType>, EntityType extends Entity<unknown>, CreateInputType extends DeepPartial<EntityType>, UpdateInputType extends DeepPartial<EntityType>, ContextType extends Context = Context> extends DataService<IdType, EntityType, ContextType>, CudService<IdType, EntityType, CreateInputType, UpdateInputType, ContextType> {
|
58
95
|
}
|
96
|
+
/**
|
97
|
+
* Full CRUD service interface with soft deletion and recovery capabilities.
|
98
|
+
* Combines read operations from DataService with soft deletion operations from SoftDeletableService.
|
99
|
+
*
|
100
|
+
* @typeParam IdType - The type of the entity's identifier, derived from the entity type.
|
101
|
+
* @typeParam EntityType - The type of the entity managed by the service, extending `Entity<unknown>`.
|
102
|
+
* @typeParam CreateInputType - The type used for creating new entities, typically a partial of `EntityType`.
|
103
|
+
* @typeParam UpdateInputType - The type used for updating entities, typically a partial of `EntityType`.
|
104
|
+
* @typeParam ContextType - The context type for the service, defaults to `Context`.
|
105
|
+
*/
|
106
|
+
export interface SoftDeletableCrudService<IdType extends IdTypeFrom<EntityType>, EntityType extends Entity<unknown>, CreateInputType extends DeepPartial<EntityType>, UpdateInputType extends DeepPartial<EntityType>, ContextType extends Context = Context> extends DataService<IdType, EntityType, ContextType>, SoftDeletableCudService<IdType, EntityType, CreateInputType, UpdateInputType, ContextType> {
|
107
|
+
}
|
108
|
+
export declare function isSoftDeletableCrudService<IdType extends IdTypeFrom<EntityType>, EntityType extends Entity<unknown>, CreateInputType extends DeepPartial<EntityType>, UpdateInputType extends DeepPartial<EntityType>, ContextType extends Context = Context>(service: CrudService<IdType, EntityType, CreateInputType, UpdateInputType, ContextType>): service is SoftDeletableCrudService<IdType, EntityType, CreateInputType, UpdateInputType, ContextType>;
|
59
109
|
//# sourceMappingURL=crud-service.interface.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"crud-service.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/services/crud-service.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD
|
1
|
+
{"version":3,"file":"crud-service.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/services/crud-service.interface.ts"],"names":[],"mappings":"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"}
|
@@ -1,3 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isSoftDeletableCrudService = isSoftDeletableCrudService;
|
4
|
+
// Add this helper function before the CrudControllerFrom function
|
5
|
+
function isSoftDeletableCrudService(service) {
|
6
|
+
return service && typeof service.hardRemove === 'function';
|
7
|
+
}
|
3
8
|
//# sourceMappingURL=crud-service.interface.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"crud-service.interface.js","sourceRoot":"","sources":["../../../src/interfaces/services/crud-service.interface.ts"],"names":[],"mappings":""}
|
1
|
+
{"version":3,"file":"crud-service.interface.js","sourceRoot":"","sources":["../../../src/interfaces/services/crud-service.interface.ts"],"names":[],"mappings":";;AAsKA,gEAsBC;AAvBD,kEAAkE;AAClE,SAAgB,0BAA0B,CAOxC,OAMC;IAQD,OAAO,OAAO,IAAI,OAAQ,OAAe,CAAC,UAAU,KAAK,UAAU,CAAC;AACtE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http-status.utils.d.ts","sourceRoot":"","sources":["../../src/utils/http-status.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"http-status.utils.d.ts","sourceRoot":"","sources":["../../src/utils/http-status.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAoB5C;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAOnE"}
|
@@ -4,7 +4,11 @@ exports.getHttpStatusDescription = getHttpStatusDescription;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
5
5
|
const httpStatusDescriptions = new Map();
|
6
6
|
function formatStatusDescription(status) {
|
7
|
-
|
7
|
+
const statusName = common_1.HttpStatus[status];
|
8
|
+
if (!statusName) {
|
9
|
+
return 'Unknown Status';
|
10
|
+
}
|
11
|
+
return statusName
|
8
12
|
.toLowerCase()
|
9
13
|
.replace(/_/g, ' ')
|
10
14
|
.replace(/\b\w/g, l => l.toUpperCase());
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http-status.utils.js","sourceRoot":"","sources":["../../src/utils/http-status.utils.ts"],"names":[],"mappings":";;
|
1
|
+
{"version":3,"file":"http-status.utils.js","sourceRoot":"","sources":["../../src/utils/http-status.utils.ts"],"names":[],"mappings":";;AA6BA,4DAOC;AApCD,2CAA4C;AAE5C,MAAM,sBAAsB,GAA4B,IAAI,GAAG,EAG5D,CAAC;AAEJ,SAAS,uBAAuB,CAAC,MAAkB;IACjD,MAAM,UAAU,GAAG,mBAAU,CAAC,MAAM,CAAC,CAAC;IAEtC,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,OAAO,UAAU;SACd,WAAW,EAAE;SACb,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC;SAClB,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAC5C,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,wBAAwB,CAAC,MAAkB;IACzD,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;QACxC,MAAM,WAAW,GAAG,uBAAuB,CAAC,MAAM,CAAC,CAAC;QACpD,sBAAsB,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,OAAO,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,gBAAgB,CAAC;AAChE,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@solid-nestjs/common",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.3",
|
4
4
|
"description": "solid-nestjs common utilities",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -13,7 +13,10 @@
|
|
13
13
|
},
|
14
14
|
"scripts": {
|
15
15
|
"build": "tsc",
|
16
|
-
"build:watch": "tsc -w"
|
16
|
+
"build:watch": "tsc -w",
|
17
|
+
"test": "jest",
|
18
|
+
"test:watch": "jest --watch",
|
19
|
+
"test:coverage": "jest --coverage"
|
17
20
|
},
|
18
21
|
"keywords": [
|
19
22
|
"typescript",
|
@@ -32,9 +35,12 @@
|
|
32
35
|
"@nestjs/core": "^11.0.1"
|
33
36
|
},
|
34
37
|
"devDependencies": {
|
38
|
+
"@types/jest": "^29.5.14",
|
35
39
|
"@types/node": "^22.14.1",
|
40
|
+
"jest": "^29.7.0",
|
41
|
+
"ts-jest": "^29.3.4",
|
36
42
|
"tsconfig.json": "^1.0.11",
|
37
43
|
"typescript": "^5.8.3"
|
38
44
|
},
|
39
|
-
"gitHead": "
|
45
|
+
"gitHead": "20ad3e6d42ff78d0562b4da0971cd8c1e08d2e7d"
|
40
46
|
}
|