mirror of
https://github.com/iptv-org/epg
synced 2025-12-19 11:56:58 -05:00
use @freearhey/storage-js in new updates, update load and lint to reflect changes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { DATA_DIR } from '../../constants'
|
||||
import { Storage } from '@freearhey/core'
|
||||
import { DataLoader } from '../../core'
|
||||
import { DATA_DIR } from '../../constants.js'
|
||||
import { DataLoader } from '../../core/dataLoader.js'
|
||||
|
||||
async function main() {
|
||||
const { Storage } = await import('@freearhey/storage-js')
|
||||
const storage = new Storage(DATA_DIR)
|
||||
const loader = new DataLoader({ storage })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user