refs #850 Divide some types for renderer
This commit is contained in:
parent
a45d68684c
commit
0b8aa46aab
|
@ -2,7 +2,7 @@ import { createLocalVue } from '@vue/test-utils'
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
import { ipcMain } from '~/spec/mock/electron'
|
import { ipcMain } from '~/spec/mock/electron'
|
||||||
import Account, { AccountState } from '@/store/Preferences/Account'
|
import Account, { AccountState } from '@/store/Preferences/Account'
|
||||||
import LocalAccount from '~/src/types/LocalAccount'
|
import LocalAccount from '~/src/types/localAccount'
|
||||||
|
|
||||||
const account: LocalAccount = {
|
const account: LocalAccount = {
|
||||||
_id: 'sample',
|
_id: 'sample',
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { ipcRenderer } from 'electron'
|
||||||
import Mastodon, { Status, Response } from 'megalodon'
|
import Mastodon, { Status, Response } from 'megalodon'
|
||||||
import { Module, MutationTree, ActionTree } from 'vuex'
|
import { Module, MutationTree, ActionTree } from 'vuex'
|
||||||
import { RootState } from '@/store'
|
import { RootState } from '@/store'
|
||||||
import { LoadPositionWithTag } from '~src/types/load_position'
|
import { LoadPositionWithTag } from '@/types/loadPosition'
|
||||||
|
|
||||||
export interface TagState {
|
export interface TagState {
|
||||||
timeline: Array<Status>,
|
timeline: Array<Status>,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Mastodon, { Account, Response } from 'megalodon'
|
import Mastodon, { Account, Response } from 'megalodon'
|
||||||
import { Module, MutationTree, ActionTree } from 'vuex'
|
import { Module, MutationTree, ActionTree } from 'vuex'
|
||||||
import { RootState } from '@/store'
|
import { RootState } from '@/store'
|
||||||
import { RemoveAccountFromList } from '~/src/types/remove_account_from_list'
|
import { RemoveAccountFromList } from '@/types/removeAccountFromList'
|
||||||
|
|
||||||
export interface EditState {
|
export interface EditState {
|
||||||
members: Array<Account>
|
members: Array<Account>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { ipcRenderer } from 'electron'
|
||||||
import Mastodon, { Status, Response } from 'megalodon'
|
import Mastodon, { Status, Response } from 'megalodon'
|
||||||
import { Module, MutationTree, ActionTree } from 'vuex'
|
import { Module, MutationTree, ActionTree } from 'vuex'
|
||||||
import { RootState } from '@/store'
|
import { RootState } from '@/store'
|
||||||
import { LoadPositionWithList } from '~src/types/load_position'
|
import { LoadPositionWithList } from '@/types/loadPosition'
|
||||||
|
|
||||||
export interface ShowState {
|
export interface ShowState {
|
||||||
timeline: Array<Status>,
|
timeline: Array<Status>,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Mastodon, { Status, Response } from 'megalodon'
|
import Mastodon, { Status, Response } from 'megalodon'
|
||||||
import { Module, MutationTree, ActionTree } from 'vuex'
|
import { Module, MutationTree, ActionTree } from 'vuex'
|
||||||
import { RootState } from '@/store'
|
import { RootState } from '@/store'
|
||||||
import { LoadPositionWithAccount } from '~src/types/load_position'
|
import { LoadPositionWithAccount } from '@/types/loadPosition'
|
||||||
|
|
||||||
export interface TimelineState {
|
export interface TimelineState {
|
||||||
timeline: Array<Status>,
|
timeline: Array<Status>,
|
||||||
|
|
Loading…
Reference in New Issue