@marteye/studiojs 1.1.27 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +28 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +26 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -123,6 +123,10 @@ export interface MemberSharingConfiguration {
|
|
|
123
123
|
marketId: string;
|
|
124
124
|
role: "Owner" | "Admin" | "Editor";
|
|
125
125
|
}
|
|
126
|
+
export type DisplayBoardMode = "off" | "live" | "manual" | {
|
|
127
|
+
type: "focused";
|
|
128
|
+
field: string;
|
|
129
|
+
};
|
|
126
130
|
export interface Sale {
|
|
127
131
|
id: string;
|
|
128
132
|
createdAt: Timestamp;
|
|
@@ -153,6 +157,7 @@ export interface Sale {
|
|
|
153
157
|
[code: string]: string[];
|
|
154
158
|
};
|
|
155
159
|
currentLotGroup?: string | null;
|
|
160
|
+
displayBoardLotGroup?: string | null | "BLANK";
|
|
156
161
|
nextLotGroup?: string | null;
|
|
157
162
|
/**
|
|
158
163
|
* Auto queue the next lot when the current lot is sold in rostrum
|
|
@@ -166,8 +171,29 @@ export interface Sale {
|
|
|
166
171
|
* Show the display board
|
|
167
172
|
*/
|
|
168
173
|
displayBoard?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* The display board mode (off, live, manual, or focused on a field)
|
|
176
|
+
*/
|
|
177
|
+
displayBoardMode?: DisplayBoardMode;
|
|
169
178
|
martEyeId?: string | null;
|
|
170
179
|
marteyeSettings?: MartEyeTimedSaleSettings | MartEyeLiveSaleSettings | null;
|
|
180
|
+
stats?: {
|
|
181
|
+
lots: {
|
|
182
|
+
count: number;
|
|
183
|
+
sold: number;
|
|
184
|
+
invoiced: number;
|
|
185
|
+
valueInCents: number;
|
|
186
|
+
};
|
|
187
|
+
lotItems: {
|
|
188
|
+
count: number;
|
|
189
|
+
};
|
|
190
|
+
customers: {
|
|
191
|
+
count: number;
|
|
192
|
+
buyers: number;
|
|
193
|
+
sellers: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
editedBy?: string[];
|
|
171
197
|
}
|
|
172
198
|
export interface MartEyeLiveSaleSettings {
|
|
173
199
|
description?: string;
|