refactor: replace namespace import with direct type import

- Replace 'import type * as Err' with direct ApplicationErrorData import
- Update Err.ApplicationErrorData references to ApplicationErrorData

This improves code clarity and follows the project's import conventions.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-11-08 17:56:42 +00:00
parent acfe1523df
commit f20f1a93c7

View File

@@ -5,7 +5,7 @@
*/
import type { Doc, Id } from "@fileone/convex/dataModel"
import type * as Err from "./error"
import type { ApplicationErrorData } from "./error"
export enum FileType {
File = "File",
@@ -67,7 +67,7 @@ export type DeleteResult = {
files: number
directories: number
}
errors: Err.ApplicationErrorData[]
errors: ApplicationErrorData[]
}
export function newFileSystemHandle(item: FileSystemItem): FileSystemHandle {