@spytecgps/nova-orm 1.3.33 → 1.3.35
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SecurityRole } from '../../entities';
|
|
2
2
|
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
export declare const getAllRoles: (novaDataSource: NovaDataSource
|
|
3
|
+
export declare const getAllRoles: (novaDataSource: NovaDataSource) => Promise<SecurityRole[]>;
|
|
@@ -2,12 +2,12 @@ import { SecurityRole, UserSecurityRole } from '../../entities';
|
|
|
2
2
|
import { UserAuthorizedBoundary } from '../../entities/userAuthorizedBoundary';
|
|
3
3
|
import { UserAuthorizedDevice } from '../../entities/userAuthorizedDevice';
|
|
4
4
|
import { BulkRemoveUserAuthorizedBoundariesParams, BulkRemoveUserAuthorizedDevicesParams, CreateUserAuthorizedBoundaryParams, CreateUserAuthorizedDeviceParams, CreateUserAuthorizedOptions, CreateUserRoleParams, GetAuthorizedResourcesByUserIdParams, GetUserIdsByClientIdAndAuthorizedBoundariesParams, GetUserIdsByClientIdAndAuthorizedDevicesParams, GetUserRolesByClientIdParams, GetUserRolesParams, RemoveUserRolesParams, UpdateUserRoleParams, UserIsAdminOrOwnerParams, UserIsInRoleParams } from '../../types/security';
|
|
5
|
-
import {
|
|
6
|
-
export declare class SecurityRepository extends
|
|
5
|
+
import { BaseRepository2 } from '../baseRepository';
|
|
6
|
+
export declare class SecurityRepository extends BaseRepository2 {
|
|
7
7
|
/**
|
|
8
8
|
* Get all security roles
|
|
9
9
|
*/
|
|
10
|
-
getAllRoles(
|
|
10
|
+
getAllRoles(): Promise<SecurityRole[]>;
|
|
11
11
|
/**
|
|
12
12
|
* Get roles of the user
|
|
13
13
|
* @param {GetUserRolesParams} params containing information to get roles of the user
|