aboutsummaryrefslogtreecommitdiff
path: root/persistence
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-04-22 07:39:20 +0530
committerBobby <[email protected]>2026-04-22 07:39:20 +0530
commit22912c4af19b9055ed95779c4d16020fe3a449eb (patch)
tree9d2391df4cf27eb95b198685fbb33df2a1c42991 /persistence
parent9f807f7e2d2d3711e2ca90cb3984234eef832ad4 (diff)
downloadhollowdark-22912c4af19b9055ed95779c4d16020fe3a449eb.tar.xz
hollowdark-22912c4af19b9055ed95779c4d16020fe3a449eb.zip
Drop all barrel index.ts files; imports target leaf files directly
Diffstat (limited to 'persistence')
-rw-r--r--persistence/db.ts26
-rw-r--r--persistence/index.ts19
2 files changed, 12 insertions, 33 deletions
diff --git a/persistence/db.ts b/persistence/db.ts
index c0bbf5d..213e19b 100644
--- a/persistence/db.ts
+++ b/persistence/db.ts
@@ -1,19 +1,17 @@
import Dexie, { type Table } from 'dexie'
-import type {
- EventLogEntry,
- FlowEntry,
- Institution,
- Memoir,
- Person,
- Place,
- Relationship,
- Routine,
- ScheduledEvent,
- World,
- WorldEvent
-} from '@hollowdark/engine'
-import type { JsonValue } from '@hollowdark/utils'
+import type { EventLogEntry } from '@hollowdark/engine/entities/event-log-entry'
+import type { FlowEntry } from '@hollowdark/engine/entities/flow-entry'
+import type { Institution } from '@hollowdark/engine/entities/institution'
+import type { Memoir } from '@hollowdark/engine/entities/memoir'
+import type { Person } from '@hollowdark/engine/entities/person'
+import type { Place } from '@hollowdark/engine/entities/place'
+import type { Relationship } from '@hollowdark/engine/entities/relationship'
+import type { Routine } from '@hollowdark/engine/entities/routine'
+import type { ScheduledEvent } from '@hollowdark/engine/entities/scheduled-event'
+import type { World } from '@hollowdark/engine/entities/world'
+import type { WorldEvent } from '@hollowdark/engine/entities/world-event'
+import type { JsonValue } from '@hollowdark/utils/types/json'
import {
AUDIO_CACHE_DB_NAME,
diff --git a/persistence/index.ts b/persistence/index.ts
deleted file mode 100644
index f809246..0000000
--- a/persistence/index.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-export {
- HollowdarkAudioCache,
- HollowdarkContentCache,
- HollowdarkUserData,
- type CachedAudioTrack,
- type CachedContentChunk,
- type CachedManifest,
- type Setting
-} from './db'
-
-export {
- AUDIO_CACHE_DB_NAME,
- AUDIO_CACHE_SCHEMA_V1,
- CONTENT_CACHE_DB_NAME,
- CONTENT_CACHE_SCHEMA_V1,
- SCHEMA_VERSION,
- USER_DATA_DB_NAME,
- USER_DATA_SCHEMA_V1
-} from './schema'