@jaws-developers-customers/consulca-types 1.1.28 → 1.2.30
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/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type UserStatus = 'active' | 'invited' | 'suspended' | 'disabled';
|
|
2
|
-
export type UserRole = 'lessor' | 'manager' | '
|
|
2
|
+
export type UserRole = 'admin' | 'lessor' | 'manager' | 'editor' | 'inspector' | 'employee';
|
|
3
3
|
export type AccessChannel = 'intranet_dashboard' | 'mobile_app' | 'website_admin';
|
|
4
4
|
export type AccessRole = 'admin' | 'manager' | 'employee' | 'lessor' | 'inspector' | 'editor';
|
|
5
5
|
export type AccessStatus = 'active' | 'revoked';
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const USER_STATUSES = Object.freeze(['active', 'invited', 'suspended', 'disabled']);
|
|
4
|
-
const USER_ROLES = Object.freeze(['lessor', 'manager', '
|
|
4
|
+
const USER_ROLES = Object.freeze(['admin', 'lessor', 'manager', 'editor', 'inspector', 'employee']);
|
|
5
5
|
const ACCESS_CHANNELS = Object.freeze(['intranet_dashboard', 'mobile_app', 'website_admin']);
|
|
6
6
|
const ACCESS_ROLES = Object.freeze(['admin', 'manager', 'employee', 'lessor', 'inspector', 'editor']);
|
|
7
7
|
const ACCESS_STATUSES = Object.freeze(['active', 'revoked']);
|