Skip to content

Commit

Permalink
chore: move enum.js to lib folder (#2285)
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki authored Oct 29, 2024
1 parent 8205d12 commit 682de0b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bundles/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @ts-ignore
import root from 'window-or-global'
import changeCase from 'change-case'
import * as Enum from './enum.js'
import * as Enum from '../lib/enum.js'
import { createSelector } from 'redux-bundler'
import { ACTIONS as FILES } from './files/consts.js'
import { ACTIONS as CONIFG } from './config-save.js'
Expand Down
2 changes: 1 addition & 1 deletion src/bundles/config-save.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check

import * as Enum from './enum.js'
import * as Enum from '../lib/enum.js'
import { perform } from './task.js'

/**
Expand Down
2 changes: 1 addition & 1 deletion src/bundles/experiments.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createSelector } from 'redux-bundler'
import * as Enum from './enum.js'
import * as Enum from '../lib/enum.js'
export const ACTIONS = Enum.from([
'EXPERIMENTS_TOGGLE',
'EXPERIMENTS_UPDATE_STATE'
Expand Down
2 changes: 1 addition & 1 deletion src/bundles/ipfs-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { multiaddr } from '@multiformats/multiaddr'
import { getIpfs, providers } from 'ipfs-provider'
import first from 'it-first'
import last from 'it-last'
import * as Enum from './enum.js'
import * as Enum from '../lib/enum.js'
import { perform } from './task.js'
import { readSetting, writeSetting } from './local-storage.js'

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"src/bundles/analytics.js",
"src/bundles/config-save.js",
"src/bundles/connected.js",
"src/bundles/enum.js",
"src/lib/enum.js",
"src/bundles/experiments.js",
"src/bundles/ipfs-desktop.js",
"src/bundles/ipfs-provider.js",
Expand Down

0 comments on commit 682de0b

Please sign in to comment.