@aldb2b/common 1.0.155 → 1.0.158
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/build/events/authorize-user.interface.d.ts +1 -3
- package/build/events/get-tables-by-group.interface.d.ts +10 -0
- package/build/events/get-tables-by-group.interface.js +3 -0
- package/build/events/get-tables-by-group.interface.js.map +1 -0
- package/build/events/subjects.d.ts +1 -0
- package/build/events/subjects.js +1 -0
- package/build/events/subjects.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/middlewares/authorizer.middleware.d.ts +2 -0
- package/build/middlewares/authorizer.middleware.js +37 -18
- package/build/middlewares/authorizer.middleware.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +25 -10
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-tables-by-group.interface.js","sourceRoot":"","sources":["../../src/events/get-tables-by-group.interface.ts"],"names":[],"mappings":""}
|
|
@@ -44,6 +44,7 @@ export declare enum Subjects {
|
|
|
44
44
|
AddCompanyCRM = "addCompany:crm",
|
|
45
45
|
AddContactCRM = "addContact:crm",
|
|
46
46
|
TableByIdEventTopic = "tableByIdEventTopic",
|
|
47
|
+
TablesByGroup = "tablesByGroup",
|
|
47
48
|
CompanyCreated = "company:created",
|
|
48
49
|
CompanyUpdated = "company:updated",
|
|
49
50
|
ProductCreated = "product:created",
|
package/build/events/subjects.js
CHANGED
|
@@ -48,6 +48,7 @@ var Subjects;
|
|
|
48
48
|
Subjects["AddCompanyCRM"] = "addCompany:crm";
|
|
49
49
|
Subjects["AddContactCRM"] = "addContact:crm";
|
|
50
50
|
Subjects["TableByIdEventTopic"] = "tableByIdEventTopic";
|
|
51
|
+
Subjects["TablesByGroup"] = "tablesByGroup";
|
|
51
52
|
Subjects["CompanyCreated"] = "company:created";
|
|
52
53
|
Subjects["CompanyUpdated"] = "company:updated";
|
|
53
54
|
Subjects["ProductCreated"] = "product:created";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/events/subjects.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/events/subjects.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAkEX;AAlED,WAAY,QAAQ;IAClB,yCAA6B,CAAA;IAC7B,mCAAuB,CAAA;IACvB,4CAAgC,CAAA;IAChC,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;IAC3B,+CAAmC,CAAA;IACnC,+CAAmC,CAAA;IACnC,6CAAiC,CAAA;IACjC,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,4DAAgD,CAAA;IAChD,wDAA4C,CAAA;IAC5C,yDAA6C,CAAA;IAC7C,qCAAyB,CAAA;IACzB,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAC/C,iDAAqC,CAAA;IACrC,mDAAuC,CAAA;IACvC,mDAAuC,CAAA;IACvC,yCAA6B,CAAA;IAC7B,2DAA+C,CAAA;IAC/C,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAC/B,oDAAwC,CAAA;IACxC,mDAAuC,CAAA;IACvC,mDAAuC,CAAA;IACvC,iEAAqD,CAAA;IACrD,yCAA6B,CAAA;IAC7B,8DAAkD,CAAA;IAClD,iDAAqC,CAAA;IACrC,yCAA6B,CAAA;IAC7B,kDAAsC,CAAA;IACtC,kDAAsC,CAAA;IACtC,0CAA8B,CAAA;IAC9B,0CAA8B,CAAA;IAC9B,sDAA0C,CAAA;IAC1C,0DAA8C,CAAA;IAC9C,8CAAkC,CAAA;IAClC,kDAAsC,CAAA;IACtC,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,uDAA2C,CAAA;IAC3C,2CAA+B,CAAA;IAC/B,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,0CAA8B,CAAA;IAC9B,sCAA0B,CAAA;IAC1B,sCAA0B,CAAA;IAC1B,kDAAsC,CAAA;IACtC,kDAAsC,CAAA;IACtC,8CAAkC,CAAA;IAClC,8CAAkC,CAAA;IAClC,4DAAgD,CAAA;IAChD,qDAAyC,CAAA;IACzC,iDAAqC,CAAA;AACvC,CAAC,EAlEW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAkEnB"}
|
package/build/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './events/rfq-create-crm.interface';
|
|
|
45
45
|
export * from './events/rfq-update-crm.interface';
|
|
46
46
|
export * from './events/update-meeting-crm.interface';
|
|
47
47
|
export * from './events/get-table-event-topic.interface';
|
|
48
|
+
export * from './events/get-tables-by-group.interface';
|
|
48
49
|
export * from './events/get-meeting-request-by-query.interface';
|
|
49
50
|
export * from './events/company-created.interface';
|
|
50
51
|
export * from './events/company-updated.interface';
|
package/build/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./events/rfq-create-crm.interface"), exports);
|
|
|
57
57
|
__exportStar(require("./events/rfq-update-crm.interface"), exports);
|
|
58
58
|
__exportStar(require("./events/update-meeting-crm.interface"), exports);
|
|
59
59
|
__exportStar(require("./events/get-table-event-topic.interface"), exports);
|
|
60
|
+
__exportStar(require("./events/get-tables-by-group.interface"), exports);
|
|
60
61
|
__exportStar(require("./events/get-meeting-request-by-query.interface"), exports);
|
|
61
62
|
__exportStar(require("./events/company-created.interface"), exports);
|
|
62
63
|
__exportStar(require("./events/company-updated.interface"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts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A+C;AAC/C,sEAAmD;AAEnD,sEAAmD;AACnD,uEAAoD;AAEpD,mDAAgC;AAChC,oDAAiC;AACjC,6DAA0C;AAC1C,oEAAiD;AACjD,yEAAsD;AAEtD,gEAA6C;AAC7C,sEAAmD;AACnD,yDAAsC;AACtC,yDAAsC;AACtC,gEAA6C;AAC7C,yEAAsD;AACtD,2EAAwD;AACxD,4DAAyC;AACzC,0EAAuD;AACvD,0DAAuC;AACvC,gEAA6C;AAC7C,0DAAuC;AACvC,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,+DAA4C;AAC5C,uEAAoD;AACpD,qEAAkD;AAClD,kEAA+C;AAC/C,oEAAiD;AACjD,iEAA8C;AAE9C,+DAA4C;AAC5C,sEAAmD;AAEnD,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,2EAAwD;AACxD,0EAAuD;AACvD,mEAAgD;AAChD,kDAA+B;AAC/B,oEAAiD;AACjD,2EAAwD;AACxD,oEAAiD;AACjD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DAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC"}
|
|
@@ -7,4 +7,6 @@ export declare class AuthorizerMiddleware implements NestMiddleware {
|
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
use(request: Request, response: Response, next: NextFunction): Promise<void>;
|
|
9
9
|
private getHeaderParam;
|
|
10
|
+
private isPermitted;
|
|
11
|
+
private getUserPermissions;
|
|
10
12
|
}
|
|
@@ -39,6 +39,15 @@ class RedisClient {
|
|
|
39
39
|
console.log('REDIS GET DATA ERROR--------', err);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
async getAllKeys() {
|
|
43
|
+
try {
|
|
44
|
+
await this.connectToRedis();
|
|
45
|
+
return this.redisClient.keys('*');
|
|
46
|
+
}
|
|
47
|
+
catch (err) {
|
|
48
|
+
console.log('REDIS GET DATA ERROR--------', err);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
42
51
|
async setData(key, value) {
|
|
43
52
|
try {
|
|
44
53
|
await this.connectToRedis();
|
|
@@ -55,42 +64,52 @@ let AuthorizerMiddleware = class AuthorizerMiddleware {
|
|
|
55
64
|
this.cachManager = new RedisClient();
|
|
56
65
|
}
|
|
57
66
|
async use(request, response, next) {
|
|
58
|
-
const
|
|
67
|
+
const user = {
|
|
59
68
|
subject: subjects_1.Subjects.AuthorizeUser,
|
|
60
69
|
data: {
|
|
61
|
-
path: request.route.path,
|
|
62
|
-
method: request.method,
|
|
63
70
|
cognitoUserId: this.getHeaderParam(request.headers, 'x-cognito-userid'),
|
|
64
71
|
eventId: this.getHeaderParam(request.headers, 'event-id'),
|
|
65
72
|
},
|
|
66
73
|
};
|
|
67
|
-
const redisResponse = await this.cachManager.getData(JSON.stringify(
|
|
74
|
+
const redisResponse = await this.cachManager.getData(JSON.stringify(user.data));
|
|
68
75
|
let resp;
|
|
69
76
|
if (redisResponse) {
|
|
70
77
|
resp = JSON.parse(redisResponse);
|
|
71
|
-
console.log('FROM REDIS--------------------');
|
|
78
|
+
console.log('FROM REDIS--------------------', redisResponse);
|
|
79
|
+
await this.isPermitted(resp.type, resp.role, request.method, request.route.path);
|
|
72
80
|
}
|
|
73
81
|
else {
|
|
74
|
-
resp = await rxjs_1.firstValueFrom(this.client.send(
|
|
82
|
+
resp = await rxjs_1.firstValueFrom(this.client.send(user.subject, user.data));
|
|
75
83
|
console.log('FROM MESSAGE BROKER--------------------', resp);
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
request.headers.id = resp.id;
|
|
83
|
-
request.headers.type = resp.type;
|
|
84
|
-
request.headers.role = resp.role;
|
|
85
|
-
request.headers.email = resp.email;
|
|
86
|
-
request.headers.company = resp.company;
|
|
87
|
-
request.headers.contactId = resp.contactId;
|
|
84
|
+
if (resp.isAuthorized === false) {
|
|
85
|
+
throw new common_1.UnauthorizedException();
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
await this.cachManager.setData(JSON.stringify(user.data), JSON.stringify(resp));
|
|
89
|
+
}
|
|
88
90
|
}
|
|
91
|
+
request.headers.id = resp.id;
|
|
92
|
+
request.headers.type = resp.type;
|
|
93
|
+
request.headers.role = resp.role;
|
|
94
|
+
request.headers.email = resp.email;
|
|
95
|
+
request.headers.company = resp.company;
|
|
96
|
+
request.headers.contactId = resp.contactId;
|
|
89
97
|
next();
|
|
90
98
|
}
|
|
91
99
|
getHeaderParam(headers, param) {
|
|
92
100
|
return Array.isArray(headers[param]) ? headers[param][0] : headers[param];
|
|
93
101
|
}
|
|
102
|
+
async isPermitted(type, role, method, path) {
|
|
103
|
+
const permissions = await this.getUserPermissions(type, role);
|
|
104
|
+
const permission = permissions.find(item => item.type === method && item.route === path);
|
|
105
|
+
if (!permission || !permission.isAllowed) {
|
|
106
|
+
throw new common_1.UnauthorizedException();
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
async getUserPermissions(type, role) {
|
|
110
|
+
let cachedPermissions = await this.cachManager.getData(`${type}-${role}`);
|
|
111
|
+
return JSON.parse(cachedPermissions);
|
|
112
|
+
}
|
|
94
113
|
};
|
|
95
114
|
AuthorizerMiddleware = __decorate([
|
|
96
115
|
common_1.Injectable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authorizer.middleware.js","sourceRoot":"","sources":["../../src/middlewares/authorizer.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"authorizer.middleware.js","sourceRoot":"","sources":["../../src/middlewares/authorizer.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AA+JA,2CAKuB;AACvB,yDAAmD;AAEnD,+BAAqC;AACrC,iCAAoC;AACpC,iDAA6C;AAI7C,MAAM,WAAW;IAGf;QACE,IAAI,CAAC,WAAW,GAAG,oBAAY,CAAC;YAC9B,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS;SAC3B,CAAC,CAAA;IACJ,CAAC;IAEO,KAAK,CAAC,cAAc;QAC1B,IAAI;YACF,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAA;SACjC;QAAC,OAAO,GAAG,EAAE,GAAE;IAClB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,GAAW;QACvB,IAAI;YACF,MAAM,IAAI,CAAC,cAAc,EAAE,CAAA;YAC3B,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;SACjC;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,GAAG,CAAC,CAAA;SACjD;IACH,CAAC;IAED,KAAK,CAAC,UAAU;QACd,IAAI;YACF,MAAM,IAAI,CAAC,cAAc,EAAE,CAAA;YAC3B,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;SAClC;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,GAAG,CAAC,8BAA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ACvB,IAAc,EACd,IAAc,EACd,MAAc,EACd,IAAY;QAEZ,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAC7D,MAAM,UAAU,GAAG,WAAW,CAAC,IAAI,CACjC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,CACpD,CAAA;QACD,IAAI,CAAC,UAAU,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE;YACxC,MAAM,IAAI,8BAAqB,EAAE,CAAA;SAClC;IACH,CAAC;IAEO,KAAK,CAAC,kBAAkB,CAC9B,IAAc,EACd,IAAc;QAEd,IAAI,iBAAiB,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI,IAAI,IAAI,EAAE,CAAC,CAAA;QACzE,OAAO,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;IACtC,CAAC;CACF,CAAA;AAjFY,oBAAoB;IADhC,mBAAU,EAAE;IAGE,WAAA,eAAM,CAAC,cAAc,CAAC,CAAA;qCAA0B,2BAAW;GAF7D,oBAAoB,CAiFhC;AAjFY,oDAAoB"}
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"affectsGlobalScope": false
|
|
163
163
|
},
|
|
164
164
|
"../src/events/subjects.ts": {
|
|
165
|
-
"version": "
|
|
166
|
-
"signature": "
|
|
165
|
+
"version": "bc264278c079fe22430dfccd03a5f765e8e7c0dc60c2dfc9fd121d6f5948fd47",
|
|
166
|
+
"signature": "39ce50be902cd9443a2cb65f654af5d898c7a30d62607f69803217f9fc4ad87f",
|
|
167
167
|
"affectsGlobalScope": false
|
|
168
168
|
},
|
|
169
169
|
"../src/events/email-specs.interface.ts": {
|
|
@@ -192,8 +192,8 @@
|
|
|
192
192
|
"affectsGlobalScope": false
|
|
193
193
|
},
|
|
194
194
|
"../src/events/authorize-user.interface.ts": {
|
|
195
|
-
"version": "
|
|
196
|
-
"signature": "
|
|
195
|
+
"version": "da1d824ffa99ff9d3982cc963de94e84c9892e328e3262bcd55736d1d94a0655",
|
|
196
|
+
"signature": "e29ec6361fb4732f0ee7e7445bc5ffcb6cbf11e26c2c0d3e7e79987e31a30b91",
|
|
197
197
|
"affectsGlobalScope": false
|
|
198
198
|
},
|
|
199
199
|
"../src/events/attendee-contact.interface.ts": {
|
|
@@ -451,6 +451,11 @@
|
|
|
451
451
|
"signature": "7cec2abf6045e8e624877415e2e6fcc0f724883f342e26f87ed7d18765ac0367",
|
|
452
452
|
"affectsGlobalScope": false
|
|
453
453
|
},
|
|
454
|
+
"../src/events/get-tables-by-group.interface.ts": {
|
|
455
|
+
"version": "241275e974c3cfdfa1c5522d4c8a2e81365e8003a5e968b8b4482a12753f4c31",
|
|
456
|
+
"signature": "df00592ae06c6f41ed3c4d06dbbb3500cb43cebeecf523a88aad41d87363d8c8",
|
|
457
|
+
"affectsGlobalScope": false
|
|
458
|
+
},
|
|
454
459
|
"../src/events/get-meeting-request-by-query.interface.ts": {
|
|
455
460
|
"version": "26af6d365027dfe8e74c52d7e6f430b7c1b6fff707d8c8fc7393f67daa9f8f10",
|
|
456
461
|
"signature": "81ec79934d502db54296825b532dcc0b0e6218857c6b1b60fd286af21da436a8",
|
|
@@ -6227,8 +6232,8 @@
|
|
|
6227
6232
|
"affectsGlobalScope": false
|
|
6228
6233
|
},
|
|
6229
6234
|
"../src/middlewares/authorizer.middleware.ts": {
|
|
6230
|
-
"version": "
|
|
6231
|
-
"signature": "
|
|
6235
|
+
"version": "af80ac1058af62621e2ee97606c00b70b511e31384eccde4f03789aa8ce97d90",
|
|
6236
|
+
"signature": "1c5d65c5ec5568c3946d80a9e2b43427afdbddcbbf889ec56985b5209cdaab7c",
|
|
6232
6237
|
"affectsGlobalScope": false
|
|
6233
6238
|
},
|
|
6234
6239
|
"../src/utils/create-default-directories.ts": {
|
|
@@ -6327,8 +6332,8 @@
|
|
|
6327
6332
|
"affectsGlobalScope": false
|
|
6328
6333
|
},
|
|
6329
6334
|
"../src/index.ts": {
|
|
6330
|
-
"version": "
|
|
6331
|
-
"signature": "
|
|
6335
|
+
"version": "92be2565291be5b9e94c2ca86ca419d79573f88053f9403ad253ea52ab1ff9a4",
|
|
6336
|
+
"signature": "78892cff3dadceab8ca5e4db930ef18f4d3e148c14126627b954f11a8b8b0476",
|
|
6332
6337
|
"affectsGlobalScope": false
|
|
6333
6338
|
},
|
|
6334
6339
|
"../src/events/meeting-request-updated.interface.ts": {
|
|
@@ -11162,6 +11167,9 @@
|
|
|
11162
11167
|
"../src/events/get-table-event-topic.interface.ts": [
|
|
11163
11168
|
"../src/events/subjects.ts"
|
|
11164
11169
|
],
|
|
11170
|
+
"../src/events/get-tables-by-group.interface.ts": [
|
|
11171
|
+
"../src/events/subjects.ts"
|
|
11172
|
+
],
|
|
11165
11173
|
"../src/events/get-templates.interface.ts": [
|
|
11166
11174
|
"../src/events/subjects.ts"
|
|
11167
11175
|
],
|
|
@@ -11308,6 +11316,7 @@
|
|
|
11308
11316
|
"../src/events/get-meeting-by-query.interface.ts",
|
|
11309
11317
|
"../src/events/get-meeting-request-by-query.interface.ts",
|
|
11310
11318
|
"../src/events/get-table-event-topic.interface.ts",
|
|
11319
|
+
"../src/events/get-tables-by-group.interface.ts",
|
|
11311
11320
|
"../src/events/get-templates.interface.ts",
|
|
11312
11321
|
"../src/events/get-unavailable-by-user.interface.ts",
|
|
11313
11322
|
"../src/events/get-user-by-id.interface.ts",
|
|
@@ -11412,8 +11421,9 @@
|
|
|
11412
11421
|
"../node_modules/@types/express/index.d.ts",
|
|
11413
11422
|
"../node_modules/redis/dist/index.d.ts",
|
|
11414
11423
|
"../node_modules/rxjs/dist/types/index.d.ts",
|
|
11415
|
-
"../src/events/
|
|
11416
|
-
"../src/
|
|
11424
|
+
"../src/events/subjects.ts",
|
|
11425
|
+
"../src/types/user-role.enum.ts",
|
|
11426
|
+
"../src/types/user-type.enum.ts"
|
|
11417
11427
|
],
|
|
11418
11428
|
"../src/types/default-visibility.interface.ts": [
|
|
11419
11429
|
"../src/types/analytic-group.interface.ts",
|
|
@@ -16244,6 +16254,9 @@
|
|
|
16244
16254
|
"../src/events/get-table-event-topic.interface.ts": [
|
|
16245
16255
|
"../src/events/subjects.ts"
|
|
16246
16256
|
],
|
|
16257
|
+
"../src/events/get-tables-by-group.interface.ts": [
|
|
16258
|
+
"../src/events/subjects.ts"
|
|
16259
|
+
],
|
|
16247
16260
|
"../src/events/get-templates.interface.ts": [
|
|
16248
16261
|
"../src/events/subjects.ts"
|
|
16249
16262
|
],
|
|
@@ -16390,6 +16403,7 @@
|
|
|
16390
16403
|
"../src/events/get-meeting-by-query.interface.ts",
|
|
16391
16404
|
"../src/events/get-meeting-request-by-query.interface.ts",
|
|
16392
16405
|
"../src/events/get-table-event-topic.interface.ts",
|
|
16406
|
+
"../src/events/get-tables-by-group.interface.ts",
|
|
16393
16407
|
"../src/events/get-templates.interface.ts",
|
|
16394
16408
|
"../src/events/get-unavailable-by-user.interface.ts",
|
|
16395
16409
|
"../src/events/get-user-by-id.interface.ts",
|
|
@@ -17730,6 +17744,7 @@
|
|
|
17730
17744
|
"../src/events/get-meeting-by-query.interface.ts",
|
|
17731
17745
|
"../src/events/get-meeting-request-by-query.interface.ts",
|
|
17732
17746
|
"../src/events/get-table-event-topic.interface.ts",
|
|
17747
|
+
"../src/events/get-tables-by-group.interface.ts",
|
|
17733
17748
|
"../src/events/get-templates.interface.ts",
|
|
17734
17749
|
"../src/events/get-unavailable-by-user.interface.ts",
|
|
17735
17750
|
"../src/events/get-user-by-id.interface.ts",
|