bfg-common 1.3.296 → 1.3.297

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,4 +1,5 @@
1
1
  export enum UI_E_FieldsSphere {
2
+ 'location' = 2,
2
3
  'compute_resource' = 3,
3
4
  'storage.id' = 4,
4
5
  'storage.name' = 4,
@@ -29,6 +30,8 @@ export enum UI_E_FieldsSphere {
29
30
  'network_devices' = 8,
30
31
  }
31
32
  export enum UI_E_FieldsProcurator {
33
+ 'location' = 2, // Только для Сфере
34
+ 'compute_resource' = 3, // Только для Сфере
32
35
  'storage.id' = 4,
33
36
  'storage.name' = 4,
34
37
  'storage.type' = 4,
@@ -19,6 +19,7 @@ export type UI_T_CustomizeHardwareField =
19
19
 
20
20
  export type UI_T_AllField =
21
21
  | UI_T_CustomizeHardwareField
22
+ | 'location'
22
23
  | 'compute_resource'
23
24
  | 'compatibility'
24
25
  | 'guest_os_family'
@@ -194,6 +194,7 @@ const checkCustomizeHardware = (
194
194
  export const checkAllField = (field: string): field is UI_T_AllField => {
195
195
  return (
196
196
  checkCustomizeHardware(field) ||
197
+ field === 'location' ||
197
198
  field === 'compute_resource' ||
198
199
  field === 'compatibility' ||
199
200
  field === 'guest_os_family' ||
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.296",
4
+ "version": "1.3.297",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",