mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-01 14:01:40 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user