fix: inital eslint errors

This commit is contained in:
Huskydog9988
2025-04-13 21:44:29 -04:00
parent ff1255f948
commit d4b89b5dc5
74 changed files with 339 additions and 304 deletions
+2 -6
View File
@@ -1,9 +1,5 @@
import {
ObjectBackend,
ObjectMetadata,
ObjectReference,
Source,
} from "./objectHandler";
import type { ObjectMetadata, ObjectReference, Source } from "./objectHandler";
import { ObjectBackend } from "./objectHandler";
import { LRUCache } from "lru-cache";
import fs from "fs";
+2 -1
View File
@@ -15,7 +15,8 @@
*/
import { parse as getMimeTypeBuffer } from "file-type-mime";
import Stream, { Readable, Writable } from "stream";
import type { Writable } from "stream";
import Stream, { Readable } from "stream";
import { getMimeType as getMimeTypeStream } from "stream-mime-type";
export type ObjectReference = string;
+1 -1
View File
@@ -2,7 +2,7 @@
The purpose of this class is to hold references to remote objects (like images) until they're actually needed
This is used as a utility in metadata handling, so we only fetch the objects if we're actually creating a database record.
*/
import { Readable } from "stream";
import type { Readable } from "stream";
import { randomUUID } from "node:crypto";
import objectHandler from ".";