@puca/puca-core 13.3.1 → 13.3.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.
|
@@ -15,6 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.CrudBaseController = void 0;
|
|
16
16
|
const common_1 = require("@nestjs/common");
|
|
17
17
|
const _ = require("lodash");
|
|
18
|
+
const queue_1 = require("queue");
|
|
18
19
|
const array_pipe_transform_1 = require("../../plugins/nestjs/array-pipe.transform");
|
|
19
20
|
const json_pipe_transform_1 = require("../../plugins/nestjs/json-pipe.transform");
|
|
20
21
|
const crud_front_base_service_1 = require("./crud-front-base.service");
|
|
@@ -32,14 +33,13 @@ let CrudBaseController = class CrudBaseController extends abstract_controller_1.
|
|
|
32
33
|
const e1 = await this.crudService
|
|
33
34
|
.get(pucaAuth.domain)
|
|
34
35
|
.getCrudControllerEspecificationEnvironment();
|
|
35
|
-
const e2 = await crud_front_base_service_1.interfaceCrudFrontBaseServiceInstances
|
|
36
|
+
const e2 = await crud_front_base_service_1.interfaceCrudFrontBaseServiceInstances
|
|
37
|
+
.get(pucaAuth.domain)
|
|
36
38
|
.crudControllerEspecificationEnvironmentToCrudControllerEspecification(e1, { environment });
|
|
37
39
|
return e2;
|
|
38
40
|
}
|
|
39
41
|
async find(pucaAuth, fields, where, args, page, pageSize, orderBy, groupBy, join, alias, withs, from, disablePermissionSystem, query, union, unionAll, res) {
|
|
40
|
-
await this.tryCatch(() => this.crudService
|
|
41
|
-
.get(pucaAuth.domain)
|
|
42
|
-
.find({
|
|
42
|
+
await this.tryCatch(() => this.crudService.get(pucaAuth.domain).find({
|
|
43
43
|
alias,
|
|
44
44
|
fields,
|
|
45
45
|
join,
|
|
@@ -53,55 +53,51 @@ let CrudBaseController = class CrudBaseController extends abstract_controller_1.
|
|
|
53
53
|
transaction: null,
|
|
54
54
|
with: withs,
|
|
55
55
|
from,
|
|
56
|
-
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
57
|
-
disablePermissionSystem
|
|
58
|
-
|
|
56
|
+
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
57
|
+
(typeof disablePermissionSystem === 'boolean'
|
|
58
|
+
? disablePermissionSystem
|
|
59
|
+
: disablePermissionSystem === 'true'),
|
|
59
60
|
query,
|
|
60
61
|
union,
|
|
61
|
-
unionAll
|
|
62
|
+
unionAll,
|
|
62
63
|
}), res);
|
|
63
64
|
}
|
|
64
65
|
async findByPucaPid(pucaAuth, pucaPid, fields, alias, res, disablePermissionSystem) {
|
|
65
|
-
await this.tryCatch(() => this.crudService
|
|
66
|
-
.get(pucaAuth.domain)
|
|
67
|
-
.findByPucaPid({
|
|
66
|
+
await this.tryCatch(() => this.crudService.get(pucaAuth.domain).findByPucaPid({
|
|
68
67
|
fields,
|
|
69
68
|
pucaPid,
|
|
70
69
|
user: pucaAuth.user,
|
|
71
70
|
alias,
|
|
72
|
-
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
73
|
-
disablePermissionSystem
|
|
74
|
-
|
|
71
|
+
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
72
|
+
(typeof disablePermissionSystem === 'boolean'
|
|
73
|
+
? disablePermissionSystem
|
|
74
|
+
: disablePermissionSystem === 'true'),
|
|
75
75
|
}), res);
|
|
76
76
|
}
|
|
77
77
|
async delete(pucaAuth, puca_pid, res, disablePermissionSystem) {
|
|
78
|
-
await this.tryCatch(() => this.crudService
|
|
79
|
-
.get(pucaAuth.domain)
|
|
80
|
-
.delete({
|
|
78
|
+
await this.tryCatch(() => this.crudService.get(pucaAuth.domain).delete({
|
|
81
79
|
puca_pid,
|
|
82
80
|
user: pucaAuth.user,
|
|
83
81
|
transaction: null,
|
|
84
|
-
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
85
|
-
disablePermissionSystem
|
|
86
|
-
|
|
82
|
+
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
83
|
+
(typeof disablePermissionSystem === 'boolean'
|
|
84
|
+
? disablePermissionSystem
|
|
85
|
+
: disablePermissionSystem === 'true'),
|
|
87
86
|
}), res);
|
|
88
87
|
}
|
|
89
88
|
async update(pucaAuth, entity, res, disablePermissionSystem) {
|
|
90
|
-
await this.tryCatch(() => this.crudService
|
|
91
|
-
.get(pucaAuth.domain)
|
|
92
|
-
.update({
|
|
89
|
+
await this.tryCatch(() => this.crudService.get(pucaAuth.domain).update({
|
|
93
90
|
entity: entity,
|
|
94
91
|
user: pucaAuth.user,
|
|
95
92
|
transaction: null,
|
|
96
|
-
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
97
|
-
disablePermissionSystem
|
|
98
|
-
|
|
93
|
+
disablePermissionSystem: pucaAuth.device === 'internal' &&
|
|
94
|
+
(typeof disablePermissionSystem === 'boolean'
|
|
95
|
+
? disablePermissionSystem
|
|
96
|
+
: disablePermissionSystem === 'true'),
|
|
99
97
|
}), res);
|
|
100
98
|
}
|
|
101
99
|
async updateEditorLayout(pucaAuth, layout, res) {
|
|
102
|
-
await this.tryCatch(() => this.crudService
|
|
103
|
-
.get(pucaAuth.domain)
|
|
104
|
-
.updateEditorLayout({
|
|
100
|
+
await this.tryCatch(() => this.crudService.get(pucaAuth.domain).updateEditorLayout({
|
|
105
101
|
layout,
|
|
106
102
|
user: pucaAuth.user,
|
|
107
103
|
}), res);
|
|
@@ -112,9 +108,7 @@ let CrudBaseController = class CrudBaseController extends abstract_controller_1.
|
|
|
112
108
|
throw new Error('Not implemented');
|
|
113
109
|
}
|
|
114
110
|
else {
|
|
115
|
-
return await this.crudService
|
|
116
|
-
.get(pucaAuth.domain)
|
|
117
|
-
.reportFind({
|
|
111
|
+
return await this.crudService.get(pucaAuth.domain).reportFind({
|
|
118
112
|
report: {
|
|
119
113
|
version: 'v1',
|
|
120
114
|
shortid,
|
|
@@ -133,16 +127,14 @@ let CrudBaseController = class CrudBaseController extends abstract_controller_1.
|
|
|
133
127
|
from,
|
|
134
128
|
query,
|
|
135
129
|
union,
|
|
136
|
-
unionAll
|
|
130
|
+
unionAll,
|
|
137
131
|
});
|
|
138
132
|
}
|
|
139
133
|
}, res);
|
|
140
134
|
}
|
|
141
135
|
async reportFindPost(pucaAuth, shortid, body, res) {
|
|
142
136
|
await this.tryCatch(async () => {
|
|
143
|
-
return await this.crudService
|
|
144
|
-
.get(pucaAuth.domain)
|
|
145
|
-
.reportFind(Object.assign(Object.assign({}, body), { report: body.report || {
|
|
137
|
+
return await this.crudService.get(pucaAuth.domain).reportFind(Object.assign(Object.assign({}, body), { report: body.report || {
|
|
146
138
|
version: 'v1',
|
|
147
139
|
shortid,
|
|
148
140
|
}, user: pucaAuth.user }));
|
|
@@ -151,28 +143,41 @@ let CrudBaseController = class CrudBaseController extends abstract_controller_1.
|
|
|
151
143
|
async findPost(pucaAuth, args, res) {
|
|
152
144
|
await this.tryCatch(async () => {
|
|
153
145
|
if (Array.isArray(args)) {
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
146
|
+
const queue = new queue_1.default({
|
|
147
|
+
autostart: false,
|
|
148
|
+
concurrency: 6,
|
|
149
|
+
results: [],
|
|
150
|
+
});
|
|
151
|
+
args.forEach(arg => {
|
|
152
|
+
queue.push(async (cb) => {
|
|
153
|
+
try {
|
|
154
|
+
const result = await this.crudService.get(pucaAuth.domain).find(Object.assign(Object.assign({}, arg), { user: pucaAuth.user, disablePermissionSystem: pucaAuth.device === 'internal' && arg.disablePermissionSystem }));
|
|
155
|
+
cb(null, { arg, result });
|
|
156
|
+
}
|
|
157
|
+
catch (e) {
|
|
158
|
+
cb(e);
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
const results = await new Promise((resolve, reject) => {
|
|
163
|
+
queue.start(err => {
|
|
164
|
+
if (err) {
|
|
165
|
+
reject(err);
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
resolve(_.flatten(queue.results));
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
return args.map(arg => results.find(r => r.arg === arg).result);
|
|
163
172
|
}
|
|
164
173
|
else {
|
|
165
|
-
return await this.crudService
|
|
166
|
-
.get(pucaAuth.domain)
|
|
167
|
-
.find(Object.assign(Object.assign({}, args), { user: pucaAuth.user, disablePermissionSystem: pucaAuth.device === 'internal' && args.disablePermissionSystem }));
|
|
174
|
+
return await this.crudService.get(pucaAuth.domain).find(Object.assign(Object.assign({}, args), { user: pucaAuth.user, disablePermissionSystem: pucaAuth.device === 'internal' && args.disablePermissionSystem }));
|
|
168
175
|
}
|
|
169
176
|
}, res);
|
|
170
177
|
}
|
|
171
178
|
async reportFindData(pucaAuth, body, res) {
|
|
172
179
|
await this.tryCatch(async () => {
|
|
173
|
-
return await this.crudService
|
|
174
|
-
.get(pucaAuth.domain)
|
|
175
|
-
.reportFindData(Object.assign(Object.assign({}, body), { user: pucaAuth.user }));
|
|
180
|
+
return await this.crudService.get(pucaAuth.domain).reportFindData(Object.assign(Object.assign({}, body), { user: pucaAuth.user }));
|
|
176
181
|
}, res);
|
|
177
182
|
}
|
|
178
183
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crud-base.controller.js","sourceRoot":"","sources":["../../../src/core/services/crud-base.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAUwB;AAExB,4BAA4B;
|
|
1
|
+
{"version":3,"file":"crud-base.controller.js","sourceRoot":"","sources":["../../../src/core/services/crud-base.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAUwB;AAExB,4BAA4B;AAC5B,iCAA0B;AAS1B,oFAA2E;AAC3E,kFAAyE;AAEzE,uEAImC;AAEnC,0EAAqE;AACrE,oFAAiE;AACjE,+DAA2D;AAQ3D,uFAAiE;AACjE,4FAAsF;AAG/E,IAAM,kBAAkB,GAAxB,MAAM,kBAEX,SAAQ,wCAAkB;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