use @freearhey/storage-js in new updates, update load and lint to reflect changes

This commit is contained in:
theofficialomega
2025-10-22 17:03:10 +02:00
parent f3f327d3bd
commit b8060aac30
5 changed files with 2439 additions and 1811 deletions

View File

@@ -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 })