bfg-common 1.3.332 → 1.3.334

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,75 +1,53 @@
1
- import {
2
- I_CompatibleHostsTable,
3
- I_IncompatibleHostsTable,
4
- } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/models/interfaces'
5
- import { T_HostsAccessibilityTab } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/models/types'
6
- import { API_UI_I_DataTable } from '~/lib/models/table/interfaces'
7
-
8
- const compatibleHostsTable: API_UI_I_DataTable<I_CompatibleHostsTable[]> = {
9
- items: [
10
- {
11
- id: 1,
12
- host: 'esxi0.иридиум',
13
- cluster: 'Cluster00',
14
- },
15
- {
16
- id: 2,
17
- host: ' esxi0.иридиум',
18
- cluster: 'Cluster00',
19
- },
20
- {
21
- id: 3,
22
- host: 'esxi3.иридиум',
23
- cluster: 'Cluster00',
24
- },
25
- {
26
- id: 4,
27
- host: 'esxi4.иридиум',
28
- cluster: 'Cluster00',
29
- },
30
- {
31
- id: 5,
32
- host: 'esxi1.иридиум',
33
- cluster: 'Cluster01',
34
- },
35
- ],
36
- total_items: 5,
37
- total_pages: 1,
38
- }
39
- const incompatibleHostsTable: API_UI_I_DataTable<I_IncompatibleHostsTable[]> = {
40
- items: [
41
- {
42
- id: 1,
43
- host: 'esxi0.иридиум',
44
- host_incompatibility_reason:
45
- 'Kerberos is not supported as host is not in AD domain',
46
- cluster: 'Cluster00',
47
- },
48
- {
49
- id: 2,
50
- host: 'esxi0.иридиум',
51
- host_incompatibility_reason:
52
- 'Kerberos is not supported as host is not in AD domain',
53
- cluster: 'Cluster00',
54
- },
55
- {
56
- id: 3,
57
- host: 'esxi0.иридиум',
58
- host_incompatibility_reason:
59
- 'Kerberos is not supported as host is not in AD domain',
60
- cluster: 'Cluster00',
61
- },
62
- ],
63
- total_items: 3,
64
- total_pages: 1,
65
- }
66
-
67
- export { incompatibleHostsTable, compatibleHostsTable }
68
- export const hostsAccessibilityTablesFunc = (type: T_HostsAccessibilityTab) => {
69
- const hostItems = {
70
- 'compatible-hosts': compatibleHostsTable,
71
- 'incompatible-hosts': incompatibleHostsTable,
72
- }
73
-
74
- return hostItems[type]
75
- }
1
+ import {
2
+ I_CompatibleHostsTable,
3
+ I_IncompatibleHostsTable,
4
+ } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/models/interfaces'
5
+ import { T_HostsAccessibilityTab } from '~/components/common/wizards/datastore/add/nfs/accessibility/lib/models/types'
6
+ import { API_UI_I_DataTable } from '~/lib/models/table/interfaces'
7
+
8
+ const compatibleHostsTable: API_UI_I_DataTable<I_CompatibleHostsTable[]> = {
9
+ items: [
10
+ {
11
+ id: 1,
12
+ host: 'esxi0.иридиум',
13
+ cluster: 'Cluster00',
14
+ },
15
+ {
16
+ id: 2,
17
+ host: ' esxi0.иридиум',
18
+ cluster: 'Cluster00',
19
+ },
20
+ {
21
+ id: 3,
22
+ host: 'esxi3.иридиум',
23
+ cluster: 'Cluster00',
24
+ },
25
+ {
26
+ id: 4,
27
+ host: 'esxi4.иридиум',
28
+ cluster: 'Cluster00',
29
+ },
30
+ {
31
+ id: 5,
32
+ host: 'esxi1.иридиум',
33
+ cluster: 'Cluster01',
34
+ },
35
+ ],
36
+ total_items: 5,
37
+ total_pages: 1,
38
+ }
39
+ const incompatibleHostsTable: API_UI_I_DataTable<I_IncompatibleHostsTable[]> = {
40
+ items: [],
41
+ total_items: 0,
42
+ total_pages: 1,
43
+ }
44
+
45
+ export { incompatibleHostsTable, compatibleHostsTable }
46
+ export const hostsAccessibilityTablesFunc = (type: T_HostsAccessibilityTab) => {
47
+ const hostItems = {
48
+ 'compatible-hosts': compatibleHostsTable,
49
+ 'incompatible-hosts': incompatibleHostsTable,
50
+ }
51
+
52
+ return hostItems[type]
53
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.332",
4
+ "version": "1.3.334",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",