Chore: Refactor

This commit is contained in:
Aria Minaei 2021-06-29 17:09:18 +02:00
parent ad8d176c00
commit c1c5aac44a
10 changed files with 9 additions and 9 deletions

View file

@ -15,8 +15,8 @@ import {defer} from '@theatre/shared/utils/defer'
import forEachDeep from '@theatre/shared/utils/forEachDeep'
import getDeep from '@theatre/shared/utils/getDeep'
import type {SequenceTrackId} from '@theatre/shared/utils/ids'
import atomFromReduxStore from '@theatre/shared/utils/redux/atomFromReduxStore'
import configureStore from '@theatre/shared/utils/redux/configureStore'
import atomFromReduxStore from '@theatre/studio/utils/redux/atomFromReduxStore'
import configureStore from '@theatre/studio/utils/redux/configureStore'
import type {$FixMe, $IntentionalAny, VoidFn} from '@theatre/shared/utils/types'
import type {Atom, Pointer} from '@theatre/dataverse'
import {getPointerParts, val} from '@theatre/dataverse'

View file

@ -1,10 +1,10 @@
import type {StudioState} from '@theatre/studio/store/types'
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
import type {IWithHistory} from '@theatre/shared/utils/redux/withHistory/withHistory'
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
import type {IWithHistory} from '@theatre/studio/utils/redux/withHistory/withHistory'
import {
historicActions,
withHistory,
} from '@theatre/shared/utils/redux/withHistory/withHistory'
} from '@theatre/studio/utils/redux/withHistory/withHistory'
import type {ReduxReducer} from '@theatre/shared/utils/types'
import logger from '@theatre/shared/logger'

View file

@ -1,6 +1,6 @@
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
describe('@theatre/shared/utils/redux/actionCreator()', () => {
describe('@theatre/studio/utils/redux/actionCreator()', () => {
const actionType = 'Bootstrap'
const payload = {a: 1, b: 2}
let creator = actionCreator(actionType)

View file

@ -1,4 +1,4 @@
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
import type {
$FixMe,
GenericAction,

View file

@ -1,4 +1,4 @@
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
import type {
$FixMe,
$IntentionalAny,