mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 11:45:23 +02:00
fix: resolve vendor data upload error by implementing client-side parsing and sequential batching
This commit is contained in:
@@ -242,3 +242,40 @@ export interface BuyBoxLostData {
|
||||
countries: string[]; // ['DE', 'FR', 'IT', 'UK', 'ES']
|
||||
reasons: Record<string, string>; // { DE: 'Amazon', FR: 'Unknown' }
|
||||
}
|
||||
|
||||
export interface VendorDailyRow {
|
||||
id?: number;
|
||||
date: string;
|
||||
market: string;
|
||||
asin: string;
|
||||
product_title: string | null;
|
||||
tags: string | null;
|
||||
bsr_top_rank: number | null;
|
||||
bsr_top_category: string | null;
|
||||
bsr_detail_rank: number | null;
|
||||
bsr_detail_category: string | null;
|
||||
avg_rating: number | null;
|
||||
num_reviews: number | null;
|
||||
buybox_owner: string | null;
|
||||
buybox_price: number | null;
|
||||
amazon_has_buybox: boolean | null;
|
||||
glance_views: number | null;
|
||||
}
|
||||
|
||||
export interface VendorCSVRow {
|
||||
Date: string;
|
||||
Market: string;
|
||||
ASIN: string;
|
||||
'Product Title': string;
|
||||
Tags: string;
|
||||
'Top Level Category (Rank)': string;
|
||||
'Top Level Category (Name)': string;
|
||||
'Detail Level Category (Rank)': string;
|
||||
'Detail Level Category (Name)': string;
|
||||
'Average Rating': string;
|
||||
'Number of Reviews': string;
|
||||
'Buybox Seller Name': string;
|
||||
'Buybox Price': string;
|
||||
'Amazon Has Buybox': string;
|
||||
'Glance Views': string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user