Skip to content

Commit

Permalink
extract type status
Browse files Browse the repository at this point in the history
  • Loading branch information
J0ris-K committed Jan 2, 2025
1 parent 8f4d5f0 commit 3fdb998
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
import UiCardSpinner from '@/components/ui/UiCardSpinner.vue'
import useMultiSelect from '@/composables/multi-select.composable'
import type { XenApiNetwork } from '@/libs/xen-api/xen-api.types'
import type { Status } from '@/types/status'
import VtsConnectionStatus from '@core/components/connection-status/VtsConnectionStatus.vue'
import VtsIcon from '@core/components/icon/VtsIcon.vue'
import ColumnTitle from '@core/components/table/ColumnTitle.vue'
Expand Down Expand Up @@ -128,8 +129,6 @@ import {
} from '@fortawesome/free-solid-svg-icons'
import { computed, ref } from 'vue'
export type Status = 'connected' | 'disconnected' | 'partially-connected'
const { networks, isReady } = defineProps<{
networks: {
network: XenApiNetwork
Expand Down
2 changes: 1 addition & 1 deletion @xen-orchestra/lite/src/stores/xen-api/pif.store.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Status } from '@/components/pool/network/PoolNetworksTable.vue'
import type { XenApiPif } from '@/libs/xen-api/xen-api.types'
import { createXapiStoreConfig } from '@/stores/xen-api/create-xapi-store-config'
import type { Status } from '@/types/status'
import { createSubscribableStoreContext } from '@core/utils/create-subscribable-store-context.util'
import { defineStore } from 'pinia'

Expand Down
1 change: 1 addition & 0 deletions @xen-orchestra/lite/src/types/status.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export type Status = 'connected' | 'disconnected' | 'partially-connected'

0 comments on commit 3fdb998

Please sign in to comment.