bfg-common 1.2.121 → 1.2.123

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.
@@ -63,6 +63,13 @@ export interface UI_I_CreateVmDataNewDiskDevice {
63
63
  provision_type: string
64
64
  disk_mode: string
65
65
  boot_order: number
66
+ // новое
67
+ device_type: string
68
+ sharing: boolean
69
+ shares: number
70
+ cache: string
71
+ io: string
72
+ limit_iops: number
66
73
  }
67
74
  export interface UI_I_EditVmDataDiskDevice {
68
75
  size: number
@@ -94,6 +101,12 @@ export interface UI_I_CreateVmDataExistDiskDevice {
94
101
  provision_type: string
95
102
  disk_mode: string
96
103
  boot_order: number
104
+ // новое
105
+ sharing: boolean
106
+ shares: number
107
+ cache: string
108
+ io: string
109
+ limit_iops: number
97
110
  }
98
111
  export interface UI_I_CreateVmDataCdDvdDevice {
99
112
  create: false
@@ -49,7 +49,8 @@ export const constructDiskDevicesFunc = (
49
49
  // }
50
50
  // TODO refactoring
51
51
  let result:
52
- any = {
52
+ | UI_I_CreateVmDataNewDiskDevice
53
+ | UI_I_CreateVmDataExistDiskDevice = {
53
54
  create: true,
54
55
  size: hardDisk.size,
55
56
  bus: hardDisk.bus || '',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.121",
4
+ "version": "1.2.123",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",