@intuitionrobotics/permissions 0.43.10 → 0.43.12
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/app-backend/api/v1/user-custom-fields/user-cf-by-share-groups.d.ts +6 -1
- package/app-backend/api/v1/user-custom-fields/user-cf-by-share-groups.js +2 -0
- package/app-backend/api/v1/user-custom-fields/user-cf-by-share-groups.js.map +1 -1
- package/app-backend/api/v1/user-custom-fields/users-cf-by-share-groups.d.ts +6 -1
- package/app-backend/api/v1/user-custom-fields/users-cf-by-share-groups.js +3 -2
- package/app-backend/api/v1/user-custom-fields/users-cf-by-share-groups.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { ApiResponse, ExpressRequest, ServerApi } from "@intuitionrobotics/thunderstorm/backend";
|
|
2
|
+
import { PermissionsApi_UserCFsByShareGroups, Request_UserCFsByShareGroups } from "../permissions/_imports";
|
|
3
|
+
export declare class ServerApi_UserCFsByShareGroups extends ServerApi<PermissionsApi_UserCFsByShareGroups> {
|
|
4
|
+
constructor();
|
|
5
|
+
protected process(request: ExpressRequest, response: ApiResponse, queryParams: {}, body: Request_UserCFsByShareGroups): Promise<import("@intuitionrobotics/ts-common").StringMap[]>;
|
|
6
|
+
}
|
|
@@ -27,6 +27,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.ServerApi_UserCFsByShareGroups = void 0;
|
|
30
31
|
const backend_1 = require("@intuitionrobotics/thunderstorm/backend");
|
|
31
32
|
const thunderstorm_1 = require("@intuitionrobotics/thunderstorm");
|
|
32
33
|
const backend_2 = require("@intuitionrobotics/user-account/backend");
|
|
@@ -43,5 +44,6 @@ class ServerApi_UserCFsByShareGroups extends backend_1.ServerApi {
|
|
|
43
44
|
});
|
|
44
45
|
}
|
|
45
46
|
}
|
|
47
|
+
exports.ServerApi_UserCFsByShareGroups = ServerApi_UserCFsByShareGroups;
|
|
46
48
|
module.exports = new ServerApi_UserCFsByShareGroups();
|
|
47
49
|
//# sourceMappingURL=user-cf-by-share-groups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-cf-by-share-groups.js","sourceRoot":"","sources":["../../../../../src/main/app-backend/api/v1/user-custom-fields/user-cf-by-share-groups.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"user-cf-by-share-groups.js","sourceRoot":"","sources":["../../../../../src/main/app-backend/api/v1/user-custom-fields/user-cf-by-share-groups.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;AAEH,qEAIiD;AAKjD,kEAA2D;AAC3D,qEAAsE;AACtE,0EAAqE;AAErE,MAAa,8BACZ,SAAQ,mBAA8C;IAEtD;QACC,KAAK,CAAC,yBAAU,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC;QAClD,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAC1B,CAAC;IAEe,OAAO,CAAC,OAAuB,EAAE,QAAqB,EAAE,WAAe,EAAE,IAAkC;;YAC1H,MAAM,OAAO,GAAG,MAAM,uBAAa,CAAC,eAAe,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACvE,OAAO,qCAAiB,CAAC,uBAAuB,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/E,CAAC;KAAA;CACD;AAZD,wEAYC;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,8BAA8B,EAAE,CAAC"}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { ApiResponse, ExpressRequest, ServerApi } from "@intuitionrobotics/thunderstorm/backend";
|
|
2
|
+
import { PermissionsApi_UsersCFsByShareGroups, Request_UsersCFsByShareGroups } from "../permissions/_imports";
|
|
3
|
+
export declare class ServerApi_UsersCFsByShareGroups extends ServerApi<PermissionsApi_UsersCFsByShareGroups> {
|
|
4
|
+
constructor();
|
|
5
|
+
protected process(request: ExpressRequest, response: ApiResponse, queryParams: {}, body: Request_UsersCFsByShareGroups): Promise<import("../permissions/_imports").Response_UsersCFsByShareGroups>;
|
|
6
|
+
}
|
|
@@ -27,21 +27,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.ServerApi_UsersCFsByShareGroups = void 0;
|
|
30
31
|
const backend_1 = require("@intuitionrobotics/thunderstorm/backend");
|
|
31
32
|
const _imports_1 = require("../permissions/_imports");
|
|
32
33
|
const thunderstorm_1 = require("@intuitionrobotics/thunderstorm");
|
|
33
|
-
const backend_2 = require("@intuitionrobotics/user-account/backend");
|
|
34
34
|
class ServerApi_UsersCFsByShareGroups extends backend_1.ServerApi {
|
|
35
35
|
constructor() {
|
|
36
36
|
super(thunderstorm_1.HttpMethod.POST, "users-cf-by-share-groups");
|
|
37
37
|
this.dontPrintResponse();
|
|
38
|
+
this.setMiddlewares(backend_1.RemoteProxy.Middleware);
|
|
38
39
|
}
|
|
39
40
|
process(request, response, queryParams, body) {
|
|
40
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
yield backend_2.AccountModule.validateSession(request, response);
|
|
42
42
|
return _imports_1.PermissionsModule.getUsersCFsByShareGroups(body.usersEmails, body.groupsIds);
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
+
exports.ServerApi_UsersCFsByShareGroups = ServerApi_UsersCFsByShareGroups;
|
|
46
47
|
module.exports = new ServerApi_UsersCFsByShareGroups();
|
|
47
48
|
//# sourceMappingURL=users-cf-by-share-groups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users-cf-by-share-groups.js","sourceRoot":"","sources":["../../../../../src/main/app-backend/api/v1/user-custom-fields/users-cf-by-share-groups.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG
|
|
1
|
+
{"version":3,"file":"users-cf-by-share-groups.js","sourceRoot":"","sources":["../../../../../src/main/app-backend/api/v1/user-custom-fields/users-cf-by-share-groups.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;AAEH,qEAKiD;AACjD,sDAIiC;AACjC,kEAA2D;AAE3D,MAAa,+BACZ,SAAQ,mBAA+C;IAEvD;QACC,KAAK,CAAC,yBAAU,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAC;QACnD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,cAAc,CAAC,qBAAW,CAAC,UAAU,CAAC,CAAC;IAC7C,CAAC;IAEe,OAAO,CAAC,OAAuB,EAAE,QAAqB,EAAE,WAAe,EAAE,IAAmC;;YAC3H,OAAO,4BAAiB,CAAC,wBAAwB,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QACrF,CAAC;KAAA;CACD;AAZD,0EAYC;AAED,MAAM,CAAC,OAAO,GAAG,IAAI,+BAA+B,EAAE,CAAC"}
|