Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Clean up

Edward Cui6746b2308dfc
diff --git a/server/src/types/import.ts b/server/src/types/import.ts
index 9beb535d8..cfc73a783 100644
--- a/server/src/types/import.ts
+++ b/server/src/types/import.ts
@@ -22,24 +22,6 @@ export interface ImportMapper<T> {
transform(rows: T, site: string, importId: string): RybbitEvent[];
}
-export interface ImportStatus {
- importId: string;
- siteId: number;
- organizationId: string;
- source: "umami";
- status: "pending" | "processing" | "completed" | "failed";
- totalRows: number | null;
- processedRows: number;
- chunksCompleted: number;
- totalChunks: number | null;
- errorMessage: string | null;
- startedAt: Date;
- completedAt: Date | null;
- fileName: string;
- fileSize: number;
- createdBy: string; // user_id
-}
-
interface RybbitEvent {
site_id: number;
timestamp: string;