Chore: Refactor
This commit is contained in:
parent
ad8d176c00
commit
c1c5aac44a
10 changed files with 9 additions and 9 deletions
|
@ -15,8 +15,8 @@ import {defer} from '@theatre/shared/utils/defer'
|
||||||
import forEachDeep from '@theatre/shared/utils/forEachDeep'
|
import forEachDeep from '@theatre/shared/utils/forEachDeep'
|
||||||
import getDeep from '@theatre/shared/utils/getDeep'
|
import getDeep from '@theatre/shared/utils/getDeep'
|
||||||
import type {SequenceTrackId} from '@theatre/shared/utils/ids'
|
import type {SequenceTrackId} from '@theatre/shared/utils/ids'
|
||||||
import atomFromReduxStore from '@theatre/shared/utils/redux/atomFromReduxStore'
|
import atomFromReduxStore from '@theatre/studio/utils/redux/atomFromReduxStore'
|
||||||
import configureStore from '@theatre/shared/utils/redux/configureStore'
|
import configureStore from '@theatre/studio/utils/redux/configureStore'
|
||||||
import type {$FixMe, $IntentionalAny, VoidFn} from '@theatre/shared/utils/types'
|
import type {$FixMe, $IntentionalAny, VoidFn} from '@theatre/shared/utils/types'
|
||||||
import type {Atom, Pointer} from '@theatre/dataverse'
|
import type {Atom, Pointer} from '@theatre/dataverse'
|
||||||
import {getPointerParts, val} from '@theatre/dataverse'
|
import {getPointerParts, val} from '@theatre/dataverse'
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import type {StudioState} from '@theatre/studio/store/types'
|
import type {StudioState} from '@theatre/studio/store/types'
|
||||||
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
|
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
|
||||||
import type {IWithHistory} from '@theatre/shared/utils/redux/withHistory/withHistory'
|
import type {IWithHistory} from '@theatre/studio/utils/redux/withHistory/withHistory'
|
||||||
import {
|
import {
|
||||||
historicActions,
|
historicActions,
|
||||||
withHistory,
|
withHistory,
|
||||||
} from '@theatre/shared/utils/redux/withHistory/withHistory'
|
} from '@theatre/studio/utils/redux/withHistory/withHistory'
|
||||||
import type {ReduxReducer} from '@theatre/shared/utils/types'
|
import type {ReduxReducer} from '@theatre/shared/utils/types'
|
||||||
import logger from '@theatre/shared/logger'
|
import logger from '@theatre/shared/logger'
|
||||||
|
|
||||||
|
|
|
@ -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 actionType = 'Bootstrap'
|
||||||
const payload = {a: 1, b: 2}
|
const payload = {a: 1, b: 2}
|
||||||
let creator = actionCreator(actionType)
|
let creator = actionCreator(actionType)
|
|
@ -1,4 +1,4 @@
|
||||||
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
|
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
|
||||||
import type {
|
import type {
|
||||||
$FixMe,
|
$FixMe,
|
||||||
GenericAction,
|
GenericAction,
|
|
@ -1,4 +1,4 @@
|
||||||
import actionCreator from '@theatre/shared/utils/redux/actionCreator'
|
import actionCreator from '@theatre/studio/utils/redux/actionCreator'
|
||||||
import type {
|
import type {
|
||||||
$FixMe,
|
$FixMe,
|
||||||
$IntentionalAny,
|
$IntentionalAny,
|
Loading…
Reference in a new issue