@things-factory/biz-base 4.3.591 → 4.3.671
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/package.json +3 -3
- package/server/service/bizplace/bizplace-query.ts +19 -10
- package/dist-server/index.js +0 -20
- package/dist-server/index.js.map +0 -1
- package/dist-server/middlewares/index.js +0 -1
- package/dist-server/middlewares/index.js.map +0 -1
- package/dist-server/migrations/index.js +0 -12
- package/dist-server/migrations/index.js.map +0 -1
- package/dist-server/service/biz-option/biz-option-mutation.js +0 -80
- package/dist-server/service/biz-option/biz-option-mutation.js.map +0 -1
- package/dist-server/service/biz-option/biz-option-query.js +0 -55
- package/dist-server/service/biz-option/biz-option-query.js.map +0 -1
- package/dist-server/service/biz-option/biz-option-types.js +0 -75
- package/dist-server/service/biz-option/biz-option-types.js.map +0 -1
- package/dist-server/service/biz-option/biz-option.js +0 -86
- package/dist-server/service/biz-option/biz-option.js.map +0 -1
- package/dist-server/service/biz-option/index.js +0 -9
- package/dist-server/service/biz-option/index.js.map +0 -1
- package/dist-server/service/biz-option-detail/biz-option-detail-mutation.js +0 -80
- package/dist-server/service/biz-option-detail/biz-option-detail-mutation.js.map +0 -1
- package/dist-server/service/biz-option-detail/biz-option-detail-query.js +0 -54
- package/dist-server/service/biz-option-detail/biz-option-detail-query.js.map +0 -1
- package/dist-server/service/biz-option-detail/biz-option-detail-types.js +0 -67
- package/dist-server/service/biz-option-detail/biz-option-detail-types.js.map +0 -1
- package/dist-server/service/biz-option-detail/biz-option-detail.js +0 -82
- package/dist-server/service/biz-option-detail/biz-option-detail.js.map +0 -1
- package/dist-server/service/biz-option-detail/index.js +0 -9
- package/dist-server/service/biz-option-detail/index.js.map +0 -1
- package/dist-server/service/bizplace/bizplace-mutation.js +0 -144
- package/dist-server/service/bizplace/bizplace-mutation.js.map +0 -1
- package/dist-server/service/bizplace/bizplace-query.js +0 -279
- package/dist-server/service/bizplace/bizplace-query.js.map +0 -1
- package/dist-server/service/bizplace/bizplace-types.js +0 -189
- package/dist-server/service/bizplace/bizplace-types.js.map +0 -1
- package/dist-server/service/bizplace/bizplace.js +0 -194
- package/dist-server/service/bizplace/bizplace.js.map +0 -1
- package/dist-server/service/bizplace/index.js +0 -9
- package/dist-server/service/bizplace/index.js.map +0 -1
- package/dist-server/service/company/company-mutation.js +0 -141
- package/dist-server/service/company/company-mutation.js.map +0 -1
- package/dist-server/service/company/company-query.js +0 -102
- package/dist-server/service/company/company-query.js.map +0 -1
- package/dist-server/service/company/company-types.js +0 -109
- package/dist-server/service/company/company-types.js.map +0 -1
- package/dist-server/service/company/company.js +0 -135
- package/dist-server/service/company/company.js.map +0 -1
- package/dist-server/service/company/index.js +0 -9
- package/dist-server/service/company/index.js.map +0 -1
- package/dist-server/service/contact-point/contact-point-mutation.js +0 -164
- package/dist-server/service/contact-point/contact-point-mutation.js.map +0 -1
- package/dist-server/service/contact-point/contact-point-query.js +0 -63
- package/dist-server/service/contact-point/contact-point-query.js.map +0 -1
- package/dist-server/service/contact-point/contact-point-types.js +0 -171
- package/dist-server/service/contact-point/contact-point-types.js.map +0 -1
- package/dist-server/service/contact-point/contact-point.js +0 -139
- package/dist-server/service/contact-point/contact-point.js.map +0 -1
- package/dist-server/service/contact-point/index.js +0 -9
- package/dist-server/service/contact-point/index.js.map +0 -1
- package/dist-server/service/index.js +0 -67
- package/dist-server/service/index.js.map +0 -1
- package/dist-server/service/worker/index.js +0 -9
- package/dist-server/service/worker/index.js.map +0 -1
- package/dist-server/service/worker/worker-mutation.js +0 -134
- package/dist-server/service/worker/worker-mutation.js.map +0 -1
- package/dist-server/service/worker/worker-query.js +0 -63
- package/dist-server/service/worker/worker-query.js.map +0 -1
- package/dist-server/service/worker/worker-types.js +0 -83
- package/dist-server/service/worker/worker-types.js.map +0 -1
- package/dist-server/service/worker/worker.js +0 -83
- package/dist-server/service/worker/worker.js.map +0 -1
- package/dist-server/utils/get-permitted-bizplaces.js +0 -285
- package/dist-server/utils/get-permitted-bizplaces.js.map +0 -1
- package/dist-server/utils/index.js +0 -18
- package/dist-server/utils/index.js.map +0 -1
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var _a, _b;
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.WorkerPatch = exports.NewWorker = exports.WorkerList = void 0;
|
|
14
|
-
const type_graphql_1 = require("type-graphql");
|
|
15
|
-
const shell_1 = require("@things-factory/shell");
|
|
16
|
-
const worker_1 = require("./worker");
|
|
17
|
-
let WorkerList = class WorkerList {
|
|
18
|
-
};
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, type_graphql_1.Field)(type => [worker_1.Worker], { nullable: true }),
|
|
21
|
-
__metadata("design:type", Array)
|
|
22
|
-
], WorkerList.prototype, "items", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.Int, { nullable: true }),
|
|
25
|
-
__metadata("design:type", Number)
|
|
26
|
-
], WorkerList.prototype, "total", void 0);
|
|
27
|
-
WorkerList = __decorate([
|
|
28
|
-
(0, type_graphql_1.ObjectType)()
|
|
29
|
-
], WorkerList);
|
|
30
|
-
exports.WorkerList = WorkerList;
|
|
31
|
-
let NewWorker = class NewWorker {
|
|
32
|
-
};
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, type_graphql_1.Field)(type => shell_1.ObjectRef),
|
|
35
|
-
__metadata("design:type", typeof (_a = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _a : Object)
|
|
36
|
-
], NewWorker.prototype, "bizplace", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, type_graphql_1.Field)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], NewWorker.prototype, "name", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, type_graphql_1.Field)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], NewWorker.prototype, "type", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], NewWorker.prototype, "description", void 0);
|
|
49
|
-
NewWorker = __decorate([
|
|
50
|
-
(0, type_graphql_1.InputType)()
|
|
51
|
-
], NewWorker);
|
|
52
|
-
exports.NewWorker = NewWorker;
|
|
53
|
-
let WorkerPatch = class WorkerPatch {
|
|
54
|
-
};
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
57
|
-
__metadata("design:type", String)
|
|
58
|
-
], WorkerPatch.prototype, "id", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, type_graphql_1.Field)(type => shell_1.ObjectRef, { nullable: true }),
|
|
61
|
-
__metadata("design:type", typeof (_b = typeof shell_1.ObjectRef !== "undefined" && shell_1.ObjectRef) === "function" ? _b : Object)
|
|
62
|
-
], WorkerPatch.prototype, "bizplace", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], WorkerPatch.prototype, "name", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], WorkerPatch.prototype, "type", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], WorkerPatch.prototype, "description", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], WorkerPatch.prototype, "cuFlag", void 0);
|
|
79
|
-
WorkerPatch = __decorate([
|
|
80
|
-
(0, type_graphql_1.InputType)()
|
|
81
|
-
], WorkerPatch);
|
|
82
|
-
exports.WorkerPatch = WorkerPatch;
|
|
83
|
-
//# sourceMappingURL=worker-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker-types.js","sourceRoot":"","sources":["../../../server/service/worker/worker-types.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+CAAgE;AAEhE,iDAAiD;AAEjD,qCAAiC;AAG1B,IAAM,UAAU,GAAhB,MAAM,UAAU;CAMtB,CAAA;AALC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,eAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC5B;AAEhB;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,kBAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACzB;AALH,UAAU;IADtB,IAAA,yBAAU,GAAE;GACA,UAAU,CAMtB;AANY,gCAAU;AAShB,IAAM,SAAS,GAAf,MAAM,SAAS;CAYrB,CAAA;AAXC;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,CAAC;kDACf,iBAAS,oBAAT,iBAAS;2CAAA;AAEnB;IAAC,IAAA,oBAAK,GAAE;;uCACI;AAEZ;IAAC,IAAA,oBAAK,GAAE;;uCACI;AAEZ;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACN;AAXT,SAAS;IADrB,IAAA,wBAAS,GAAE;GACC,SAAS,CAYrB;AAZY,8BAAS;AAef,IAAM,WAAW,GAAjB,MAAM,WAAW;CAkBvB,CAAA;AAjBC;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACf;AAEX;IAAC,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDAClC,iBAAS,oBAAT,iBAAS;6CAAA;AAEpB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACb;AAEb;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACN;AAEpB;IAAC,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACX;AAjBJ,WAAW;IADvB,IAAA,wBAAS,GAAE;GACC,WAAW,CAkBvB;AAlBY,kCAAW"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var _a, _b, _c;
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.Worker = void 0;
|
|
14
|
-
const type_graphql_1 = require("type-graphql");
|
|
15
|
-
const typeorm_1 = require("typeorm");
|
|
16
|
-
const auth_base_1 = require("@things-factory/auth-base");
|
|
17
|
-
const shell_1 = require("@things-factory/shell");
|
|
18
|
-
const bizplace_1 = require("../bizplace/bizplace");
|
|
19
|
-
let Worker = class Worker {
|
|
20
|
-
};
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
23
|
-
(0, type_graphql_1.Field)(type => type_graphql_1.ID),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], Worker.prototype, "id", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typeorm_1.ManyToOne)(type => shell_1.Domain),
|
|
28
|
-
(0, type_graphql_1.Field)(type => shell_1.Domain),
|
|
29
|
-
__metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
|
|
30
|
-
], Worker.prototype, "domain", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, typeorm_1.ManyToOne)(type => bizplace_1.Bizplace),
|
|
33
|
-
(0, type_graphql_1.Field)(type => bizplace_1.Bizplace),
|
|
34
|
-
__metadata("design:type", bizplace_1.Bizplace)
|
|
35
|
-
], Worker.prototype, "bizplace", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)(),
|
|
38
|
-
(0, type_graphql_1.Field)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], Worker.prototype, "name", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)(),
|
|
43
|
-
(0, type_graphql_1.Field)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], Worker.prototype, "type", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, typeorm_1.Column)({
|
|
48
|
-
nullable: true
|
|
49
|
-
}),
|
|
50
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], Worker.prototype, "description", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
55
|
-
nullable: true
|
|
56
|
-
}),
|
|
57
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
58
|
-
__metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
|
|
59
|
-
], Worker.prototype, "creator", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.ManyToOne)(type => auth_base_1.User, {
|
|
62
|
-
nullable: true
|
|
63
|
-
}),
|
|
64
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
65
|
-
__metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
|
|
66
|
-
], Worker.prototype, "updater", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
69
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
70
|
-
__metadata("design:type", Date)
|
|
71
|
-
], Worker.prototype, "createdAt", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
74
|
-
(0, type_graphql_1.Field)({ nullable: true }),
|
|
75
|
-
__metadata("design:type", Date)
|
|
76
|
-
], Worker.prototype, "updatedAt", void 0);
|
|
77
|
-
Worker = __decorate([
|
|
78
|
-
(0, typeorm_1.Entity)(),
|
|
79
|
-
(0, typeorm_1.Index)('ix_worker_0', (worker) => [worker.domain, worker.name], { unique: true }),
|
|
80
|
-
(0, type_graphql_1.ObjectType)()
|
|
81
|
-
], Worker);
|
|
82
|
-
exports.Worker = Worker;
|
|
83
|
-
//# sourceMappingURL=worker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../server/service/worker/worker.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,+CAAoD;AACpD,qCAAsH;AAEtH,yDAAgD;AAChD,iDAA8C;AAE9C,mDAA+C;AAKxC,IAAM,MAAM,GAAZ,MAAM,MAAM;CA8ClB,CAAA;AA7CC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;kCACR;AAEV;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;IACzB,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,cAAM,CAAC;kDACd,cAAM,oBAAN,cAAM;sCAAA;AAEd;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,mBAAQ,CAAC;IAC3B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,mBAAQ,CAAC;8BACd,mBAAQ;wCAAA;AAElB;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,oBAAK,GAAE;;oCACI;AAEZ;IAAC,IAAA,gBAAM,GAAE;IACR,IAAA,oBAAK,GAAE;;oCACI;AAEZ;IAAC,IAAA,gBAAM,EAAC;QACN,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACP;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE;QACvB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDACjB,gBAAI,oBAAJ,gBAAI;uCAAA;AAEb;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,gBAAI,EAAE;QACvB,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;kDACjB,gBAAI,oBAAJ,gBAAI;uCAAA;AAEb;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,IAAI;yCAAA;AAEf;IAAC,IAAA,0BAAgB,GAAE;IAClB,IAAA,oBAAK,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,IAAI;yCAAA;AA7CJ,MAAM;IAHlB,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,aAAa,EAAE,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACxF,IAAA,yBAAU,GAAE;GACA,MAAM,CA8ClB;AA9CY,wBAAM"}
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getDomainUsers = exports.getUserBizplaces = exports.getSubdomainBizplace = exports.getCustomerBizplaces = exports.getPartnersCompanyBizplaces = exports.getPartnersBizplaces = exports.getPartnerBizplaceIds = exports.getCompaniesBizplaces = exports.getCompanyBizplace = exports.getOutletBizplace = exports.getMyBizplace = exports.getPermittedBizplaceIds = exports.getPermittedBizplaces = void 0;
|
|
4
|
-
const typeorm_1 = require("typeorm");
|
|
5
|
-
const auth_base_1 = require("@things-factory/auth-base");
|
|
6
|
-
const shell_1 = require("@things-factory/shell");
|
|
7
|
-
const bizplace_1 = require("../service/bizplace/bizplace");
|
|
8
|
-
/**
|
|
9
|
-
* @description 도메인과 사용자의 관계를 판단하여
|
|
10
|
-
* 접속한 도메인을 통해 접근 할 수 있는 대상 bizplaces를 찾아 return
|
|
11
|
-
*
|
|
12
|
-
* @param domain
|
|
13
|
-
* @param user
|
|
14
|
-
*/
|
|
15
|
-
async function getPermittedBizplaces(domain, user, tx) {
|
|
16
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
17
|
-
// 1. Check whether `user` belongs to `domain` or not
|
|
18
|
-
let permittedBizplaces = [];
|
|
19
|
-
if (await (0, auth_base_1.checkUserBelongsDomain)(domain, user)) {
|
|
20
|
-
// If `user` belongs to `domain`
|
|
21
|
-
// return set of company bizplace, bizplace of passed domain, bizplaces of customers
|
|
22
|
-
if (domain.extType !== 'company')
|
|
23
|
-
permittedBizplaces.push(await getCompanyBizplace(domain, user, null, tx));
|
|
24
|
-
permittedBizplaces.push(await bizplaceRepo.findOne({ where: { domain } }));
|
|
25
|
-
permittedBizplaces = permittedBizplaces.concat(await getCustomerBizplaces(domain, tx));
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
// If `user` doesn't belong to `domain`
|
|
29
|
-
// return set of company bizplace, bizplaces which `user` can access
|
|
30
|
-
permittedBizplaces = await getUserBizplaces(user);
|
|
31
|
-
}
|
|
32
|
-
return permittedBizplaces;
|
|
33
|
-
}
|
|
34
|
-
exports.getPermittedBizplaces = getPermittedBizplaces;
|
|
35
|
-
async function getPermittedBizplaceIds(domain, user) {
|
|
36
|
-
const bizplaces = await getPermittedBizplaces(domain, user);
|
|
37
|
-
return bizplaces.map((bizplace) => bizplace.id || null);
|
|
38
|
-
}
|
|
39
|
-
exports.getPermittedBizplaceIds = getPermittedBizplaceIds;
|
|
40
|
-
async function getMyBizplace(domain, user, tx) {
|
|
41
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
42
|
-
// Case 1. 도메인에 소속된 사용자
|
|
43
|
-
// 1. 현재 도메인을 릴레이션으로 가지고 있는 비즈플레이스를 리턴
|
|
44
|
-
if (await (0, auth_base_1.checkUserBelongsDomain)(domain, user)) {
|
|
45
|
-
return await bizplaceRepo.findOne({ where: { domain } });
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
const customerBizplaces = await getCustomerBizplaces(domain, tx);
|
|
49
|
-
const userBizplaces = await getUserBizplaces(user, tx);
|
|
50
|
-
const customerBizplaceIdSet = new Set(customerBizplaces.map((pb) => pb.id));
|
|
51
|
-
const userBizplaceIdSet = new Set(userBizplaces.map((ub) => ub.id));
|
|
52
|
-
const myBizplaceIds = Array.from(customerBizplaceIdSet).filter((pbId) => userBizplaceIdSet.has(pbId));
|
|
53
|
-
if (myBizplaceIds.length > 1)
|
|
54
|
-
console.warn(`User has multiple bizplaces ${myBizplaceIds}`);
|
|
55
|
-
// TODO: 복수의 비즈플레이스를 가지고 있는 사용자는 조회 결과의 첫번째 비즈플레이스만 리턴 받도록 되어 있음
|
|
56
|
-
// 이런 케이스에 처리 방식을 결정하고 수정해야함
|
|
57
|
-
return await bizplaceRepo.findOne({
|
|
58
|
-
where: { id: (0, typeorm_1.In)(myBizplaceIds) }
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.getMyBizplace = getMyBizplace;
|
|
63
|
-
async function getOutletBizplace(outletId, tx) {
|
|
64
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
65
|
-
const bizplace = await bizplaceRepo.findOne({
|
|
66
|
-
where: { id: outletId }
|
|
67
|
-
});
|
|
68
|
-
return bizplace;
|
|
69
|
-
}
|
|
70
|
-
exports.getOutletBizplace = getOutletBizplace;
|
|
71
|
-
async function getCompanyBizplace(domain, user, customerBizplaceId, tx) {
|
|
72
|
-
var _a, _b;
|
|
73
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
74
|
-
let companyDomain;
|
|
75
|
-
if (user) {
|
|
76
|
-
let myBizplace = await getMyBizplace(domain, user, tx);
|
|
77
|
-
if (!((_a = myBizplace.company) === null || _a === void 0 ? void 0 : _a.id)) {
|
|
78
|
-
myBizplace = await bizplaceRepo.findOne(myBizplace.id, { relations: ['company', 'company.domain'] });
|
|
79
|
-
companyDomain = myBizplace.company.domain;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
if (customerBizplaceId) {
|
|
83
|
-
const customerBizplace = await bizplaceRepo.findOne({
|
|
84
|
-
where: { id: customerBizplaceId },
|
|
85
|
-
relations: ['company', 'company.domain']
|
|
86
|
-
});
|
|
87
|
-
companyDomain = (_b = customerBizplace.company) === null || _b === void 0 ? void 0 : _b.domain;
|
|
88
|
-
}
|
|
89
|
-
return await bizplaceRepo.findOne({ where: { domain: companyDomain }, relations: ['domain'] });
|
|
90
|
-
}
|
|
91
|
-
exports.getCompanyBizplace = getCompanyBizplace;
|
|
92
|
-
async function getCompaniesBizplaces(domains, warehouseDomain, tx) {
|
|
93
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
94
|
-
const partnersBizplaces = await bizplaceRepo
|
|
95
|
-
.createQueryBuilder('b')
|
|
96
|
-
.select('b.id', 'id')
|
|
97
|
-
.addSelect('b.name', 'name')
|
|
98
|
-
.addSelect('b.description', 'description')
|
|
99
|
-
.innerJoin('companies', 'c', 'c.domain_id = b.domain_id')
|
|
100
|
-
.innerJoin('bizplaces', 'b2', 'b2.company_id = c.id')
|
|
101
|
-
.innerJoin('domains', 'd', 'd.id = b2.domain_id')
|
|
102
|
-
.innerJoin('partners', 'p', 'p.partner_domain_id = d.id')
|
|
103
|
-
.where('p.domain_id = :domainId', { domainId: warehouseDomain.id })
|
|
104
|
-
.andWhere('b2.domain_id IN (:...domainIds)', { domainIds: domains.map(domain => domain.id) })
|
|
105
|
-
.groupBy('b.id')
|
|
106
|
-
.addGroupBy('b.name')
|
|
107
|
-
.addGroupBy('b.description')
|
|
108
|
-
.getRawMany();
|
|
109
|
-
return partnersBizplaces;
|
|
110
|
-
}
|
|
111
|
-
exports.getCompaniesBizplaces = getCompaniesBizplaces;
|
|
112
|
-
async function getPartnerBizplaceIds(domain, user, tx) {
|
|
113
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
114
|
-
const partnerRepo = tx ? tx.getRepository(auth_base_1.Partner) : (0, typeorm_1.getRepository)(auth_base_1.Partner);
|
|
115
|
-
let partnerBizplaces = [];
|
|
116
|
-
const domainBizplace = await bizplaceRepo.findOne({ where: { domain } });
|
|
117
|
-
if (!domainBizplace) {
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
const partners = await partnerRepo.find({
|
|
121
|
-
where: { domainBizplace },
|
|
122
|
-
relations: ['partnerBizplace', 'partnerBizplace.company', 'partnerBizplace.company.domain']
|
|
123
|
-
});
|
|
124
|
-
for (let partner of partners) {
|
|
125
|
-
partnerBizplaces.push(partner.partnerBizplace);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return partnerBizplaces.map((bizplace) => bizplace.id || null);
|
|
129
|
-
}
|
|
130
|
-
exports.getPartnerBizplaceIds = getPartnerBizplaceIds;
|
|
131
|
-
async function getPartnersBizplaces(domain, user, tx) {
|
|
132
|
-
const userRepo = tx ? tx.getRepository(auth_base_1.User) : (0, typeorm_1.getRepository)(auth_base_1.User);
|
|
133
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
134
|
-
const partnerRepo = tx ? tx.getRepository(auth_base_1.Partner) : (0, typeorm_1.getRepository)(auth_base_1.Partner);
|
|
135
|
-
let partnersBizplaces = [];
|
|
136
|
-
const qb = userRepo
|
|
137
|
-
.createQueryBuilder('user')
|
|
138
|
-
.select('user.id', 'userId')
|
|
139
|
-
.addSelect('role.id', 'roleId')
|
|
140
|
-
.addSelect('role.name', 'roleName')
|
|
141
|
-
.addSelect('domain.id', 'domainId')
|
|
142
|
-
.addSelect('domain.name', 'domainName')
|
|
143
|
-
.innerJoin('users_roles', 'ur', 'user.id = ur.users_id')
|
|
144
|
-
.innerJoin('roles', 'role', 'ur.roles_id = role.id')
|
|
145
|
-
.innerJoin('domains', 'domain', 'role.domain_id = domain.id')
|
|
146
|
-
.where('user.id = :userId', { userId: user.id })
|
|
147
|
-
.andWhere('domain.id = :domainId', { domainId: domain.id });
|
|
148
|
-
let userRoles = await qb.getRawMany();
|
|
149
|
-
// detect if user is Customer
|
|
150
|
-
let foundCustomerRole = userRoles.find(role => role.roleName === 'Customer');
|
|
151
|
-
// get all partners
|
|
152
|
-
let partnersDomains = await partnerRepo.find({
|
|
153
|
-
where: { domain },
|
|
154
|
-
relations: ['partnerDomain']
|
|
155
|
-
});
|
|
156
|
-
if (foundCustomerRole) {
|
|
157
|
-
let userDomains = user.domains;
|
|
158
|
-
for (let partDomain of partnersDomains) {
|
|
159
|
-
for (let userDomain of userDomains) {
|
|
160
|
-
if (userDomain.id === partDomain.partnerDomain.id) {
|
|
161
|
-
let partnerBizplace = await bizplaceRepo.findOne({
|
|
162
|
-
where: { domain: partDomain.partnerDomain },
|
|
163
|
-
relations: ['company', 'company.domain']
|
|
164
|
-
});
|
|
165
|
-
partnersBizplaces.push(partnerBizplace);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
for (let partDomain of partnersDomains) {
|
|
172
|
-
let partnerBizplace = await bizplaceRepo.findOne({
|
|
173
|
-
where: { domain: partDomain.partnerDomain },
|
|
174
|
-
relations: ['company', 'company.domain']
|
|
175
|
-
});
|
|
176
|
-
partnersBizplaces.push(partnerBizplace);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return partnersBizplaces;
|
|
180
|
-
}
|
|
181
|
-
exports.getPartnersBizplaces = getPartnersBizplaces;
|
|
182
|
-
async function getPartnersCompanyBizplaces(domain, user, strictAccess = false, tx) {
|
|
183
|
-
const userRepo = tx ? tx.getRepository(auth_base_1.User) : (0, typeorm_1.getRepository)(auth_base_1.User);
|
|
184
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
185
|
-
let partnersBizplaces = [];
|
|
186
|
-
let userRoles = await userRepo
|
|
187
|
-
.createQueryBuilder('user')
|
|
188
|
-
.select('user.id', 'userId')
|
|
189
|
-
.addSelect('role.id', 'roleId')
|
|
190
|
-
.addSelect('role.name', 'roleName')
|
|
191
|
-
.addSelect('domain.id', 'domainId')
|
|
192
|
-
.addSelect('domain.name', 'domainName')
|
|
193
|
-
.innerJoin('users_roles', 'ur', 'user.id = ur.users_id')
|
|
194
|
-
.innerJoin('roles', 'role', 'ur.roles_id = role.id')
|
|
195
|
-
.innerJoin('domains', 'domain', 'role.domain_id = domain.id')
|
|
196
|
-
.where('user.id = :userId', { userId: user.id })
|
|
197
|
-
.andWhere('domain.id = :domainId', { domainId: domain.id })
|
|
198
|
-
.getRawMany();
|
|
199
|
-
if (userRoles.find(role => role.roleName !== 'Customer')) {
|
|
200
|
-
let qbPartnersBizplaces = bizplaceRepo
|
|
201
|
-
.createQueryBuilder('b')
|
|
202
|
-
.select('b.id', 'id')
|
|
203
|
-
.addSelect('b.name', 'name')
|
|
204
|
-
.addSelect('b.description', 'description')
|
|
205
|
-
.innerJoin('companies', 'c', 'c.domain_id = b.domain_id')
|
|
206
|
-
.innerJoin('bizplaces', 'b2', 'b2.company_id = c.id')
|
|
207
|
-
.innerJoin('domains', 'd', 'd.id = b2.domain_id')
|
|
208
|
-
.innerJoin('partners', 'p', 'p.partner_domain_id = d.id')
|
|
209
|
-
.where('p.domain_id = :domainId', { domainId: domain.id })
|
|
210
|
-
.groupBy('b.id')
|
|
211
|
-
.addGroupBy('b.name')
|
|
212
|
-
.addGroupBy('b.description');
|
|
213
|
-
if (strictAccess) {
|
|
214
|
-
const userRepo = tx ? tx.getRepository(auth_base_1.User) : (0, typeorm_1.getRepository)(auth_base_1.User);
|
|
215
|
-
qbPartnersBizplaces.andWhere(`exists (
|
|
216
|
-
${userRepo
|
|
217
|
-
.createQueryBuilder('u2')
|
|
218
|
-
.innerJoin('users_roles', 'ur', 'ur.users_id = u2.id')
|
|
219
|
-
.innerJoin('roles', 'r', 'r.id = ur.roles_id')
|
|
220
|
-
.where('r.domain_id = c.domain_id')
|
|
221
|
-
.andWhere(`r.name IN ('BUSINESS-OWNER','BUSINESS-MANAGER')`)
|
|
222
|
-
.andWhere(`u2.id = '${user.id}'`)
|
|
223
|
-
.getQuery()})`);
|
|
224
|
-
}
|
|
225
|
-
partnersBizplaces = await qbPartnersBizplaces.getRawMany();
|
|
226
|
-
}
|
|
227
|
-
return partnersBizplaces;
|
|
228
|
-
}
|
|
229
|
-
exports.getPartnersCompanyBizplaces = getPartnersCompanyBizplaces;
|
|
230
|
-
async function getCustomerBizplaces(domain, tx) {
|
|
231
|
-
const partnerRepo = tx ? tx.getRepository(auth_base_1.Partner) : (0, typeorm_1.getRepository)(auth_base_1.Partner);
|
|
232
|
-
const bizplaceRepo = tx ? tx.getRepository(bizplace_1.Bizplace) : (0, typeorm_1.getRepository)(bizplace_1.Bizplace);
|
|
233
|
-
const customers = await partnerRepo.find({
|
|
234
|
-
where: { domain },
|
|
235
|
-
relations: ['partnerDomain']
|
|
236
|
-
});
|
|
237
|
-
const customerDomains = customers.map((customer) => customer.partnerDomain);
|
|
238
|
-
return await bizplaceRepo.find({
|
|
239
|
-
where: { domain: (0, typeorm_1.In)(customerDomains.map((d) => d.id)) },
|
|
240
|
-
relations: ['company', 'company.domain', 'domain']
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
exports.getCustomerBizplaces = getCustomerBizplaces;
|
|
244
|
-
async function getSubdomainBizplace(subdomain, tx) {
|
|
245
|
-
const domainRepo = tx ? tx.getRepository(shell_1.Domain) : (0, typeorm_1.getRepository)(shell_1.Domain);
|
|
246
|
-
const domain = await domainRepo.findOne({
|
|
247
|
-
where: { subdomain }
|
|
248
|
-
});
|
|
249
|
-
return await (0, typeorm_1.getRepository)(bizplace_1.Bizplace).findOne({ where: { domain } });
|
|
250
|
-
}
|
|
251
|
-
exports.getSubdomainBizplace = getSubdomainBizplace;
|
|
252
|
-
async function getUserBizplaces(user, tx) {
|
|
253
|
-
var _a;
|
|
254
|
-
const userRepo = tx ? tx.getRepository(auth_base_1.User) : (0, typeorm_1.getRepository)(auth_base_1.User);
|
|
255
|
-
let userBizplaces = [];
|
|
256
|
-
if (!((_a = user.domains) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
257
|
-
user = await userRepo.findOne(user, { relations: ['domains'] });
|
|
258
|
-
}
|
|
259
|
-
const userDomains = user.domains;
|
|
260
|
-
if (userDomains.every((userDomain) => userDomain.extType !== 'company')) {
|
|
261
|
-
userBizplaces.push(await getCompanyBizplace(userDomains[0], user, null, tx));
|
|
262
|
-
}
|
|
263
|
-
return userBizplaces.concat(await (0, typeorm_1.getRepository)(bizplace_1.Bizplace).find({ where: { domain: (0, typeorm_1.In)(userDomains.map((d) => d.id)) } }));
|
|
264
|
-
}
|
|
265
|
-
exports.getUserBizplaces = getUserBizplaces;
|
|
266
|
-
async function getDomainUsers(bizplace, tx) {
|
|
267
|
-
const userDomainRepo = tx ? tx.getRepository('users_domains') : (0, typeorm_1.getRepository)('users_domains');
|
|
268
|
-
const users = await userDomainRepo
|
|
269
|
-
.createQueryBuilder('ud')
|
|
270
|
-
.select('ud.users_id', 'id')
|
|
271
|
-
.distinct(true)
|
|
272
|
-
.where(qb => {
|
|
273
|
-
const subquery = qb
|
|
274
|
-
.subQuery()
|
|
275
|
-
.select('bizplace.domain_id')
|
|
276
|
-
.from(bizplace_1.Bizplace, 'bizplace')
|
|
277
|
-
.where('bizplace.id = :customerBizplaceId', { customerBizplaceId: bizplace === null || bizplace === void 0 ? void 0 : bizplace.id })
|
|
278
|
-
.getQuery();
|
|
279
|
-
return 'ud.domains_id = ' + subquery;
|
|
280
|
-
})
|
|
281
|
-
.getRawMany();
|
|
282
|
-
return users;
|
|
283
|
-
}
|
|
284
|
-
exports.getDomainUsers = getDomainUsers;
|
|
285
|
-
//# sourceMappingURL=get-permitted-bizplaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-permitted-bizplaces.js","sourceRoot":"","sources":["../../server/utils/get-permitted-bizplaces.ts"],"names":[],"mappings":";;;AAAA,qCAA8E;AAE9E,yDAAiF;AACjF,iDAA8C;AAE9C,2DAAuD;AAEvD;;;;;;GAMG;AACI,KAAK,UAAU,qBAAqB,CAAC,MAAc,EAAE,IAAU,EAAE,EAAkB;IACxF,MAAM,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAQ,CAAC,CAAC,CAAC,CAAC,IAAA,uBAAa,EAAC,mBAAQ,CAAC,CAAA;IAE9E,qDAAqD;IACrD,IAAI,kBAAkB,GAAe,EAAE,CAAA;IACvC,IAAI,MAAM,IAAA,kCAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,EAAE;QAC9C,gCAAgC;QAChC,oFAAoF;QAEpF,IAAI,MAAM,CAAC,OAAO,KAAK,SAAS;YAAE,kBAAkB,CAAC,IAAI,CAAC,MAAM,kBAAkB,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,CAAA;QAC3G,kBAAkB,CAAC,IAAI,CAAC,MAAM,YAAY,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAA;QAC1E,kBAAkB,GAAG,k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C,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CACpG,CAAA;AACH,CAAC;AAhBD,4CAgBC;AAEM,KAAK,UAAU,cAAc,CAAC,QAAkB,EAAE,EAAkB;IACzE,MAAM,cAAc,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAA,uBAAa,EAAC,eAAe,CAAC,CAAA;IAE9F,MAAM,KAAK,GAAU,MAAM,cAAc;SACtC,kBAAkB,CAAC,IAAI,CAAC;SACxB,MAAM,CAAC,aAAa,EAAE,IAAI,CAAC;SAC3B,QAAQ,CAAC,IAAI,CAAC;SACd,KAAK,CAAC,EAAE,CAAC,EAAE;QACV,MAAM,QAAQ,GAAG,EAAE;aAChB,QAAQ,EAAE;aACV,MAAM,CAAC,oBAAoB,CAAC;aAC5B,IAAI,CAAC,mBAAQ,EAAE,UAAU,CAAC;aAC1B,KAAK,CAAC,mCAAmC,EAAE,EAAE,kBAAkB,EAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,EAAE,EAAE,CAAC;aAChF,QAAQ,EAAE,CAAA;QACb,OAAO,kBAAkB,GAAG,QAAQ,CAAA;IACtC,CAAC,CAAC;SACD,UAAU,EAAE,CAAA;IAEf,OAAO,KAAK,CAAA;AACd,CAAC;AAnBD,wCAmBC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./get-permitted-bizplaces"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC"}
|