@spytecgps/nova-orm 0.0.29 → 0.0.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.
@@ -55,6 +55,8 @@ export declare class FirmwaresRepository extends BaseRepository {
55
55
  * - filters.firmwareId: The firmware id
56
56
  * - filters.taskId: The task id
57
57
  * - projectionOptions.withDeviceFirmware: Whether to get the device firmware object
58
+ * - projectionOptions.withDevice: Whether to get the device object
59
+ * - projectionOptions.deviceWithDeviceType: Whether to get the device type object of the device
58
60
  * @returns {FirmwareUpgradeTask[]} A list of firmware upgrade tasks.
59
61
  */
60
62
  getFirmwareUpgradeTasks(params: GetFirmwareUpgradeTasksParams): Promise<FirmwareUpgradeTask[]>;
@@ -14,7 +14,9 @@ export interface GetFirmwareUpgradeTasksParams {
14
14
  taskId?: string;
15
15
  };
16
16
  projectionOptions?: {
17
- withDeviceFirmware: boolean;
17
+ withDeviceFirmware?: boolean;
18
+ withDevice?: boolean;
19
+ deviceWithDeviceType?: boolean;
18
20
  };
19
21
  }
20
22
  export type UpgradeType = '0' | '1' | '2' | '7';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",