@ubs-platform/users-webservice 7.1.1 → 7.1.2

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.
@@ -1 +1 @@
1
- {"name":"@ubs-platform/users-consts","version":"7.1.1","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"EMBEDDED"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC"}
1
+ {"name":"@ubs-platform/users-consts","version":"7.1.2","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"EMBEDDED"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC"}
@@ -17,6 +17,7 @@ const common_1 = require("@nestjs/common");
17
17
  const mongoose_1 = require("@nestjs/mongoose");
18
18
  const mongoose_2 = require("mongoose");
19
19
  const users_entity_mongo_1 = require("@ubs-platform/users-entity-mongo");
20
+ const users_common_1 = require("@ubs-platform/users-common");
20
21
  const user_service_1 = require("../services/user.service");
21
22
  let EntityOwnershipGroupMapper = class EntityOwnershipGroupMapper {
22
23
  constructor(eogModel, userServiceLocal) {
@@ -33,7 +34,7 @@ let EntityOwnershipGroupMapper = class EntityOwnershipGroupMapper {
33
34
  userId: currentUserId,
34
35
  userFullName: user?.name + ' ' + user?.surname,
35
36
  entityCapabilities: eogDto.initialUserEntityCapabilities,
36
- groupCapability: 'OWNER',
37
+ groupCapabilities: [users_common_1.Capability.OWNER]
37
38
  },
38
39
  ],
39
40
  });
@@ -1 +1 @@
1
- {"version":3,"file":"entity-ownership-group.mapper.js","sourceRoot":"","sources":["../../../../../../libs/users-webservice/src/mapper/entity-ownership-group.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AA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;qCACrB,gBAAK;QACG,0BAAW;GAJhC,0BAA0B,CAiDtC"}
1
+ {"version":3,"file":"entity-ownership-group.mapper.js","sourceRoot":"","sources":["../../../../../../libs/users-webservice/src/mapper/entity-ownership-group.mapper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AACjC,yEAAwE;AACxE,6DAIoC;AACpC,2DAAuD;AAGhD,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACnC,YAEY,QAAqC,EACrC,gBAA6B;QAD7B,aAAQ,GAAR,QAAQ,CAA6B;QACrC,qBAAgB,GAAhB,gBAAgB,CAAa;IACtC,CAAC;IAEJ,KAAK,CAAC,cAAc,CAChB,MAAqC,EACrC,aAAqB;QAErB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;QACjE,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC;YACrB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,gBAAgB,EAAE;gBACd;oBACI,MAAM,EAAE,aAAa;oBACrB,YAAY,EAAE,IAAI,EAAE,IAAI,GAAG,GAAG,GAAG,IAAI,EAAE,OAAO;oBAC9C,kBAAkB,EAAE,MAAM,CAAC,6BAA6B;oBAExD,iBAAiB,EAAE,CAAC,yBAAU,CAAC,KAAK,CAAC;iBACxC;aACJ;SAEJ,CAAC,CAAC;IACP,CAAC;IAED,KAAK,CAAC,YAAY,CACd,QAA8B,EAC9B,MAA+B;QAE/B,QAAQ,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QAC5B,QAAQ,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAE1C,OAAO,QAAQ,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,GAAyB;QAC3B,OAAO;YACH,EAAE,EAAE,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE;YACtB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,WAAW,EAAE,GAAG,CAAC,WAAW;SAOE,CAAC;IACvC,CAAC;CACJ,CAAA;AAnDY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,mBAAU,GAAE;IAGJ,WAAA,IAAA,sBAAW,EAAC,yCAAoB,CAAC,IAAI,CAAC,CAAA;qCACrB,gBAAK;QACG,0BAAW;GAJhC,0BAA0B,CAmDtC"}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@ubs-platform/users-webservice","version":"7.1.1","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"PEER","buildSubFolder":""},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","peerDependencies":{"@nestjs/common":"^11.1.19","@nestjs/microservices":"^11.1.19","bcrypt":"^6.0.0","@nestjs/passport":"^11.0.5","passport-jwt":"^4.0.1","@nestjs/jwt":"^11.0.0","mongoose":"^8.10.2","@nestjs/mongoose":"^11.0.1","@nestjs/schedule":"^5.0.1","@ubs-platform/cache-manager":"7.1.1","@ubs-platform/users-microservice-helper":"7.1.1","@ubs-platform/microservice-setup-util":"7.1.1","@ubs-platform/users-roles":"7.1.1","@ubs-platform/users-common":"7.1.1","@ubs-platform/crud-base":"7.1.1"}}
1
+ {"name":"@ubs-platform/users-webservice","version":"7.1.2","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"PEER","buildSubFolder":""},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","peerDependencies":{"@nestjs/common":"^11.1.19","@nestjs/microservices":"^11.1.19","bcrypt":"^6.0.0","@nestjs/passport":"^11.0.5","passport-jwt":"^4.0.1","@nestjs/jwt":"^11.0.0","mongoose":"^8.10.2","@nestjs/mongoose":"^11.0.1","@nestjs/schedule":"^5.0.1","@ubs-platform/cache-manager":"7.1.2","@ubs-platform/users-microservice-helper":"7.1.2","@ubs-platform/microservice-setup-util":"7.1.2","@ubs-platform/users-roles":"7.1.2","@ubs-platform/users-common":"7.1.2","@ubs-platform/crud-base":"7.1.2"}}