@flusys/nestjs-shared 7.0.1 → 7.1.0
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.
|
@@ -61,6 +61,9 @@ _export(exports, {
|
|
|
61
61
|
get ROLE_PERMISSIONS () {
|
|
62
62
|
return ROLE_PERMISSIONS;
|
|
63
63
|
},
|
|
64
|
+
get SOCIAL_AUTH_CONFIG_PERMISSIONS () {
|
|
65
|
+
return SOCIAL_AUTH_CONFIG_PERMISSIONS;
|
|
66
|
+
},
|
|
64
67
|
get STORAGE_CONFIG_PERMISSIONS () {
|
|
65
68
|
return STORAGE_CONFIG_PERMISSIONS;
|
|
66
69
|
},
|
|
@@ -117,6 +120,12 @@ const BRANCH_PERMISSIONS = {
|
|
|
117
120
|
UPDATE: 'branch.update',
|
|
118
121
|
DELETE: 'branch.delete'
|
|
119
122
|
};
|
|
123
|
+
const SOCIAL_AUTH_CONFIG_PERMISSIONS = {
|
|
124
|
+
CREATE: 'social-config.create',
|
|
125
|
+
READ: 'social-config.read',
|
|
126
|
+
UPDATE: 'social-config.update',
|
|
127
|
+
DELETE: 'social-config.delete'
|
|
128
|
+
};
|
|
120
129
|
const ACTION_PERMISSIONS = {
|
|
121
130
|
CREATE: 'action.create',
|
|
122
131
|
READ: 'action.read',
|
|
@@ -261,6 +270,7 @@ const PERMISSIONS = {
|
|
|
261
270
|
USER: USER_PERMISSIONS,
|
|
262
271
|
COMPANY: COMPANY_PERMISSIONS,
|
|
263
272
|
BRANCH: BRANCH_PERMISSIONS,
|
|
273
|
+
SOCIAL_AUTH_CONFIG: SOCIAL_AUTH_CONFIG_PERMISSIONS,
|
|
264
274
|
// IAM
|
|
265
275
|
ACTION: ACTION_PERMISSIONS,
|
|
266
276
|
ROLE: ROLE_PERMISSIONS,
|
|
@@ -17,6 +17,12 @@ export declare const BRANCH_PERMISSIONS: {
|
|
|
17
17
|
readonly UPDATE: "branch.update";
|
|
18
18
|
readonly DELETE: "branch.delete";
|
|
19
19
|
};
|
|
20
|
+
export declare const SOCIAL_AUTH_CONFIG_PERMISSIONS: {
|
|
21
|
+
readonly CREATE: "social-config.create";
|
|
22
|
+
readonly READ: "social-config.read";
|
|
23
|
+
readonly UPDATE: "social-config.update";
|
|
24
|
+
readonly DELETE: "social-config.delete";
|
|
25
|
+
};
|
|
20
26
|
export declare const ACTION_PERMISSIONS: {
|
|
21
27
|
readonly CREATE: "action.create";
|
|
22
28
|
readonly READ: "action.read";
|
|
@@ -176,6 +182,12 @@ export declare const PERMISSIONS: {
|
|
|
176
182
|
readonly UPDATE: "branch.update";
|
|
177
183
|
readonly DELETE: "branch.delete";
|
|
178
184
|
};
|
|
185
|
+
readonly SOCIAL_AUTH_CONFIG: {
|
|
186
|
+
readonly CREATE: "social-config.create";
|
|
187
|
+
readonly READ: "social-config.read";
|
|
188
|
+
readonly UPDATE: "social-config.update";
|
|
189
|
+
readonly DELETE: "social-config.delete";
|
|
190
|
+
};
|
|
179
191
|
readonly ACTION: {
|
|
180
192
|
readonly CREATE: "action.create";
|
|
181
193
|
readonly READ: "action.read";
|
|
@@ -18,6 +18,12 @@ export const BRANCH_PERMISSIONS = {
|
|
|
18
18
|
UPDATE: 'branch.update',
|
|
19
19
|
DELETE: 'branch.delete'
|
|
20
20
|
};
|
|
21
|
+
export const SOCIAL_AUTH_CONFIG_PERMISSIONS = {
|
|
22
|
+
CREATE: 'social-config.create',
|
|
23
|
+
READ: 'social-config.read',
|
|
24
|
+
UPDATE: 'social-config.update',
|
|
25
|
+
DELETE: 'social-config.delete'
|
|
26
|
+
};
|
|
21
27
|
// ==================== IAM MODULE ====================
|
|
22
28
|
export const ACTION_PERMISSIONS = {
|
|
23
29
|
CREATE: 'action.create',
|
|
@@ -172,6 +178,7 @@ export const PERMISSIONS = {
|
|
|
172
178
|
USER: USER_PERMISSIONS,
|
|
173
179
|
COMPANY: COMPANY_PERMISSIONS,
|
|
174
180
|
BRANCH: BRANCH_PERMISSIONS,
|
|
181
|
+
SOCIAL_AUTH_CONFIG: SOCIAL_AUTH_CONFIG_PERMISSIONS,
|
|
175
182
|
// IAM
|
|
176
183
|
ACTION: ACTION_PERMISSIONS,
|
|
177
184
|
ROLE: ROLE_PERMISSIONS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/nestjs-shared",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "Common shared utilities for Flusys NestJS applications",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "fesm/index.js",
|
|
@@ -112,6 +112,6 @@
|
|
|
112
112
|
"rxjs": "^7.8.0"
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@flusys/nestjs-core": "7.0
|
|
115
|
+
"@flusys/nestjs-core": "7.1.0"
|
|
116
116
|
}
|
|
117
117
|
}
|