mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-11-06 14:18:01 +00:00
add image
This commit is contained in:
1 parent
cea323ec3b
commit
9cdcd23fd9
16 files changed
+906
-47
No files matched your search
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
export interface ItemImage {
|
||||
id: string;
|
||||
itemId: string;
|
||||
url: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
Vendored
+4
@@ -16,6 +16,8 @@ export interface ItemPriceSummary {
|
||||
usedHasMixedCurrency: boolean;
|
||||
}
|
||||
|
||||
import type { ItemImage } from './item-image';
|
||||
|
||||
export interface Item {
|
||||
id: string;
|
||||
projectId: string;
|
||||
@@ -23,10 +25,12 @@ export interface Item {
|
||||
model: string;
|
||||
sourceUrlId: string | null;
|
||||
sourceUrl: string | null;
|
||||
defaultImageId: string | null;
|
||||
status: ItemStatus;
|
||||
note: string | null;
|
||||
attributes: Record<string, unknown>;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
priceSummary: ItemPriceSummary | null;
|
||||
images?: ItemImage[];
|
||||
}
|
||||
Reference in new issue
Block a user