@punks/backend-entity-manager 0.0.332 → 0.0.334
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/extensions/authentication/handlers/user-login/types.d.ts +1 -0
- package/dist/cjs/types/types/pipelines.d.ts +2 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/extensions/authentication/handlers/user-login/types.d.ts +1 -0
- package/dist/esm/types/types/pipelines.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2894,12 +2894,16 @@ class PipelineInstance {
|
|
|
2894
2894
|
input,
|
|
2895
2895
|
});
|
|
2896
2896
|
return {
|
|
2897
|
+
name: operation.name,
|
|
2898
|
+
key: operation.key,
|
|
2897
2899
|
type: "skipped",
|
|
2898
2900
|
input,
|
|
2899
2901
|
};
|
|
2900
2902
|
}
|
|
2901
2903
|
const operationResult = await operation.operation.action(input, state);
|
|
2902
2904
|
return {
|
|
2905
|
+
name: operation.name,
|
|
2906
|
+
key: operation.key,
|
|
2903
2907
|
type: "success",
|
|
2904
2908
|
input,
|
|
2905
2909
|
output: operationResult,
|
|
@@ -2910,6 +2914,8 @@ class PipelineInstance {
|
|
|
2910
2914
|
input,
|
|
2911
2915
|
});
|
|
2912
2916
|
return {
|
|
2917
|
+
name: operation.name,
|
|
2918
|
+
key: operation.key,
|
|
2913
2919
|
type: "error",
|
|
2914
2920
|
input,
|
|
2915
2921
|
error: toPipelineOperationError(error),
|
|
@@ -22604,6 +22610,7 @@ let UserLoginHandler = class UserLoginHandler {
|
|
|
22604
22610
|
return {
|
|
22605
22611
|
success: true,
|
|
22606
22612
|
token: await this.generateUserJwtToken(user, input.context),
|
|
22613
|
+
userId: user.id,
|
|
22607
22614
|
};
|
|
22608
22615
|
}
|
|
22609
22616
|
async generateUserJwtToken(user, context) {
|