@spytecgps/nova-orm 1.3.34 → 1.3.36

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, forceUseReplica?: boolean) => Promise<SecurityRole[]>;
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 { BaseRepository } from '../baseRepository';
6
- export declare class SecurityRepository extends BaseRepository {
5
+ import { BaseRepository2 } from '../baseRepository';
6
+ export declare class SecurityRepository extends BaseRepository2 {
7
7
  /**
8
8
  * Get all security roles
9
9
  */
10
- getAllRoles(forceUseReplica?: boolean): Promise<SecurityRole[]>;
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
@@ -111,3 +111,9 @@ export declare enum DeviceCameraMediaLocation {
111
111
  SDCard = "sdCard",
112
112
  Server = "server"
113
113
  }
114
+ export declare enum DeviceCameraEventBehaviorType {
115
+ TakePicture = "takePicture",
116
+ TakeVideo = "takeVideo",
117
+ UploadPicture = "uploadPicture",
118
+ UploadVideo = "uploadVideo"
119
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.3.34",
3
+ "version": "1.3.36",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",