Client - refactor app types and interfaces

This commit is contained in:
Sam 2021-08-11 18:33:28 +02:00
parent 6b848228ca
commit 1d7cb5c9ee
5 changed files with 6 additions and 7 deletions

View File

@ -19,7 +19,8 @@
<script lang="ts">
import { PropType, defineComponent, ref } from 'vue'
import { IDropdownOption, TDropdownOptions } from '@/types'
import { IDropdownOption } from '@/interfaces'
import { TDropdownOptions } from '@/types'
export default defineComponent({
name: 'Dropdown',

View File

@ -60,7 +60,7 @@
import { useI18n } from 'vue-i18n'
import { useStore } from 'vuex'
import { IDropdownOption } from '@/types'
import { IDropdownOption } from '@/interfaces'
import Dropdown from '@/components/Common/Dropdown.vue'
export default defineComponent({

View File

@ -2,5 +2,3 @@ export interface IDropdownOption {
value: string | number
label: string
}
export type TDropdownOptions = IDropdownOption[]

View File

@ -0,0 +1,3 @@
import { IDropdownOption } from '@/interfaces'
export type TDropdownOptions = IDropdownOption[]

View File

@ -1,3 +0,0 @@
export interface IDefaultState {
language: string
}