refactor: add import maps for generated code

- Add export mappings in @fileone/convex package.json for cleaner imports
- Map @fileone/convex/dataModel to _generated/dataModel.d.ts
- Map @fileone/convex/api to _generated/api.js
- Map @fileone/convex/server to _generated/server.js
- Update all imports across packages/convex and apps/drive-web
- Maintain backward compatibility with _generated/* exports

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-10-18 19:32:05 +00:00
parent 25796ab609
commit cd9dee9371
30 changed files with 46 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
import type { Doc, Id } from "@fileone/convex/_generated/dataModel"
import type { FileSystemItem, FileType } from "@fileone/convex/filesystem"
import type { Doc, Id } from "@fileone/convex/dataModel"
import type { FileSystemItem } from "@fileone/convex/filesystem"
import type { RowSelectionState } from "@tanstack/react-table"
import { atom } from "jotai"
import type { FileDragInfo } from "../../files/use-file-drop"