@artsy/cohesion 4.364.0 → 4.365.0--canary.709.14936.0
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/Schema/index.d.ts +1 -0
- package/dist/Schema/index.js +12 -0
- package/dist/Schema/os/Events/InventoryTable.d.ts +320 -0
- package/dist/Schema/os/Events/InventoryTable.js +1 -0
- package/dist/Schema/os/Events/index.d.ts +31 -1
- package/dist/Schema/os/Events/index.js +8 -0
- package/dist/Schema/os/Values/OsContextModule.d.ts +5 -0
- package/dist/Schema/os/Values/OsContextModule.js +5 -0
- package/dist/Schema/os/Values/OsOwnerType.d.ts +1 -1
- package/dist/Schema/os/Values/OsOwnerType.js +1 -1
- package/package.json +1 -1
package/dist/Schema/index.d.ts
CHANGED
|
@@ -54,5 +54,6 @@ export * from "./os/Events";
|
|
|
54
54
|
export * from "./os/Values/OsContextModule";
|
|
55
55
|
export * from "./os/Values/OsOwnerType";
|
|
56
56
|
export * from "./os/Events/Click";
|
|
57
|
+
export * from "./os/Events/InventoryTable";
|
|
57
58
|
export * from "./os/Events/MultiAddFlow";
|
|
58
59
|
export * from "./os/Events/Submit";
|
package/dist/Schema/index.js
CHANGED
|
@@ -568,6 +568,18 @@ Object.keys(_Click2).forEach(function (key) {
|
|
|
568
568
|
});
|
|
569
569
|
});
|
|
570
570
|
|
|
571
|
+
var _InventoryTable = require("./os/Events/InventoryTable");
|
|
572
|
+
|
|
573
|
+
Object.keys(_InventoryTable).forEach(function (key) {
|
|
574
|
+
if (key === "default" || key === "__esModule") return;
|
|
575
|
+
Object.defineProperty(exports, key, {
|
|
576
|
+
enumerable: true,
|
|
577
|
+
get: function get() {
|
|
578
|
+
return _InventoryTable[key];
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
});
|
|
582
|
+
|
|
571
583
|
var _MultiAddFlow = require("./os/Events/MultiAddFlow");
|
|
572
584
|
|
|
573
585
|
Object.keys(_MultiAddFlow).forEach(function (key) {
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { OsContextModule } from "../Values/OsContextModule";
|
|
2
|
+
import { OsOwnerType } from "../Values/OsOwnerType";
|
|
3
|
+
import { OsActionType } from ".";
|
|
4
|
+
/**
|
|
5
|
+
* Schemas describing Art OS Inventory Table events
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* A partner clicks a row to expand or collapse the Artsy CMS sub-row.
|
|
10
|
+
* Import rows and Inventory-Only rows (artsyListing === false) are not expandable.
|
|
11
|
+
*
|
|
12
|
+
* This schema describes events sent to Segment from [[OsClickedArtworkRow]]
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```
|
|
16
|
+
* {
|
|
17
|
+
* action: "clickedArtworkRow",
|
|
18
|
+
* context_module: "artworkTable",
|
|
19
|
+
* context_page_owner_type: "inventory",
|
|
20
|
+
* artwork_id: "abc123"
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export interface OsClickedArtworkRow {
|
|
25
|
+
action: OsActionType.clickedArtworkRow;
|
|
26
|
+
context_module: OsContextModule.artworkTable;
|
|
27
|
+
context_page_owner_type: OsOwnerType;
|
|
28
|
+
artwork_id: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A partner clicks an edition set row to expand or collapse its details sub-row.
|
|
32
|
+
*
|
|
33
|
+
* This schema describes events sent to Segment from [[OsClickedEditionSetRow]]
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```
|
|
37
|
+
* {
|
|
38
|
+
* action: "clickedEditionSetRow",
|
|
39
|
+
* context_module: "artworkTable",
|
|
40
|
+
* context_page_owner_type: "inventory",
|
|
41
|
+
* artwork_id: "abc123",
|
|
42
|
+
* edition_set_id: "xyz789"
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export interface OsClickedEditionSetRow {
|
|
47
|
+
action: OsActionType.clickedEditionSetRow;
|
|
48
|
+
context_module: OsContextModule.artworkTable;
|
|
49
|
+
context_page_owner_type: OsOwnerType;
|
|
50
|
+
artwork_id: string;
|
|
51
|
+
edition_set_id: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A partner edits a field inline in the inventory table.
|
|
55
|
+
* Fires on mutation success (not on the toast render).
|
|
56
|
+
* All field edits share this single event; use `field` to distinguish them.
|
|
57
|
+
*
|
|
58
|
+
* This schema describes events sent to Segment from [[OsEditedArtworkField]]
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```
|
|
62
|
+
* {
|
|
63
|
+
* action: "editedArtworkField",
|
|
64
|
+
* context_module: "artworkTable",
|
|
65
|
+
* context_page_owner_type: "inventory",
|
|
66
|
+
* artwork_id: "abc123",
|
|
67
|
+
* field: "title",
|
|
68
|
+
* old_value: "Untitled",
|
|
69
|
+
* new_value: "Blue"
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @example Medium with free-text flag
|
|
74
|
+
* ```
|
|
75
|
+
* {
|
|
76
|
+
* action: "editedArtworkField",
|
|
77
|
+
* context_module: "artworkTable",
|
|
78
|
+
* context_page_owner_type: "inventory",
|
|
79
|
+
* artwork_id: "abc123",
|
|
80
|
+
* field: "medium",
|
|
81
|
+
* old_value: "Oil on canvas",
|
|
82
|
+
* new_value: "Watercolor",
|
|
83
|
+
* is_free_text: true
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @example Artist autocomplete match
|
|
88
|
+
* ```
|
|
89
|
+
* {
|
|
90
|
+
* action: "editedArtworkField",
|
|
91
|
+
* context_module: "artworkTable",
|
|
92
|
+
* context_page_owner_type: "inventory",
|
|
93
|
+
* artwork_id: "abc123",
|
|
94
|
+
* field: "artist",
|
|
95
|
+
* value: "matched",
|
|
96
|
+
* matched_id: "artist-internal-id"
|
|
97
|
+
* }
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
export interface OsEditedArtworkField {
|
|
101
|
+
action: OsActionType.editedArtworkField;
|
|
102
|
+
context_module: OsContextModule.artworkTable;
|
|
103
|
+
context_page_owner_type: OsOwnerType;
|
|
104
|
+
artwork_id: string;
|
|
105
|
+
/** Present only for edition-set variant rows in the Artsy CMS sub-row */
|
|
106
|
+
edition_set_id?: string;
|
|
107
|
+
field: "artist" | "availability" | "certificateOfAuthenticity" | "dimensions" | "location" | "medium" | "price" | "priceCurrency" | "privateNotes" | "title" | "year";
|
|
108
|
+
/** Omit for privateNotes (free text — don't log contents) */
|
|
109
|
+
old_value?: string;
|
|
110
|
+
/** Omit for privateNotes (free text — don't log contents) */
|
|
111
|
+
new_value?: string;
|
|
112
|
+
/** Medium only: true = free text entered, false = predefined mediumType selected */
|
|
113
|
+
is_free_text?: boolean;
|
|
114
|
+
/** Artist and location only: the action taken on the autocomplete */
|
|
115
|
+
value?: "add" | "matched" | "removed";
|
|
116
|
+
/** Artist and location only: the resolved Artsy entity ID */
|
|
117
|
+
matched_id?: string;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* A partner successfully adds a new location via the Add Location modal (2-step flow).
|
|
121
|
+
* Fires on useCreatePartnerLocation mutation success.
|
|
122
|
+
*
|
|
123
|
+
* This schema describes events sent to Segment from [[OsAddedLocation]]
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```
|
|
127
|
+
* {
|
|
128
|
+
* action: "addedLocation",
|
|
129
|
+
* context_module: "addLocationModal",
|
|
130
|
+
* context_page_owner_type: "inventory",
|
|
131
|
+
* artwork_id: "abc123",
|
|
132
|
+
* location_id: "loc456"
|
|
133
|
+
* }
|
|
134
|
+
* ```
|
|
135
|
+
*/
|
|
136
|
+
export interface OsAddedLocation {
|
|
137
|
+
action: OsActionType.addedLocation;
|
|
138
|
+
context_module: OsContextModule.addLocationModal;
|
|
139
|
+
context_page_owner_type: OsOwnerType;
|
|
140
|
+
artwork_id: string;
|
|
141
|
+
location_id: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* A partner successfully adds a new artist via the Add Artist modal.
|
|
145
|
+
* Fires on mutation success.
|
|
146
|
+
*
|
|
147
|
+
* This schema describes events sent to Segment from [[OsAddedArtist]]
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* ```
|
|
151
|
+
* {
|
|
152
|
+
* action: "addedArtist",
|
|
153
|
+
* context_module: "addArtistModal",
|
|
154
|
+
* context_page_owner_type: "inventory",
|
|
155
|
+
* artwork_id: "abc123",
|
|
156
|
+
* artist_id: "artist789"
|
|
157
|
+
* }
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
export interface OsAddedArtist {
|
|
161
|
+
action: OsActionType.addedArtist;
|
|
162
|
+
context_module: OsContextModule.addArtistModal;
|
|
163
|
+
context_page_owner_type: OsOwnerType;
|
|
164
|
+
artwork_id: string;
|
|
165
|
+
artist_id: string;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* A partner clicks the image cell to open the Images modal.
|
|
169
|
+
*
|
|
170
|
+
* This schema describes events sent to Segment from [[OsClickedImagesModal]]
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* ```
|
|
174
|
+
* {
|
|
175
|
+
* action: "clickedImagesModal",
|
|
176
|
+
* context_module: "imagesModal",
|
|
177
|
+
* context_page_owner_type: "inventory",
|
|
178
|
+
* artwork_id: "abc123"
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
export interface OsClickedImagesModal {
|
|
183
|
+
action: OsActionType.clickedImagesModal;
|
|
184
|
+
context_module: OsContextModule.imagesModal;
|
|
185
|
+
context_page_owner_type: OsOwnerType;
|
|
186
|
+
artwork_id: string;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* A partner saves changes in the Images modal (reorders, removals, and/or new uploads).
|
|
190
|
+
* Fires on save/confirm mutation success ("Images saved successfully").
|
|
191
|
+
*
|
|
192
|
+
* This schema describes events sent to Segment from [[OsSavedArtworkImages]]
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* ```
|
|
196
|
+
* {
|
|
197
|
+
* action: "savedArtworkImages",
|
|
198
|
+
* context_module: "imagesModal",
|
|
199
|
+
* context_page_owner_type: "inventory",
|
|
200
|
+
* artwork_id: "abc123",
|
|
201
|
+
* added_count: 2,
|
|
202
|
+
* removed_count: 1,
|
|
203
|
+
* reordered: true
|
|
204
|
+
* }
|
|
205
|
+
* ```
|
|
206
|
+
*/
|
|
207
|
+
export interface OsSavedArtworkImages {
|
|
208
|
+
action: OsActionType.savedArtworkImages;
|
|
209
|
+
context_module: OsContextModule.imagesModal;
|
|
210
|
+
context_page_owner_type: OsOwnerType;
|
|
211
|
+
artwork_id: string;
|
|
212
|
+
added_count: number;
|
|
213
|
+
removed_count: number;
|
|
214
|
+
reordered: boolean;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* A partner uploads a document via the Documents modal.
|
|
218
|
+
* Fires on useCreateCatalogArtworkDocument mutation success ("Document uploaded").
|
|
219
|
+
*
|
|
220
|
+
* This schema describes events sent to Segment from [[OsAddedArtworkDocument]]
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* ```
|
|
224
|
+
* {
|
|
225
|
+
* action: "addedArtworkDocument",
|
|
226
|
+
* context_module: "documentsModal",
|
|
227
|
+
* context_page_owner_type: "inventory",
|
|
228
|
+
* artwork_id: "abc123",
|
|
229
|
+
* document_count: 3
|
|
230
|
+
* }
|
|
231
|
+
* ```
|
|
232
|
+
*/
|
|
233
|
+
export interface OsAddedArtworkDocument {
|
|
234
|
+
action: OsActionType.addedArtworkDocument;
|
|
235
|
+
context_module: OsContextModule.documentsModal;
|
|
236
|
+
context_page_owner_type: OsOwnerType;
|
|
237
|
+
artwork_id: string;
|
|
238
|
+
/** Document count after the upload */
|
|
239
|
+
document_count: number;
|
|
240
|
+
/** File metadata if accessible: type (e.g. "pdf") and size (e.g. "1MB") */
|
|
241
|
+
value?: {
|
|
242
|
+
type: string;
|
|
243
|
+
size: string;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* A partner deletes a document via the Documents modal (after confirmation).
|
|
248
|
+
* Fires on useDeleteCatalogArtworkDocument mutation success ("Document deleted").
|
|
249
|
+
*
|
|
250
|
+
* This schema describes events sent to Segment from [[OsRemovedArtworkDocument]]
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* ```
|
|
254
|
+
* {
|
|
255
|
+
* action: "removedArtworkDocument",
|
|
256
|
+
* context_module: "documentsModal",
|
|
257
|
+
* context_page_owner_type: "inventory",
|
|
258
|
+
* artwork_id: "abc123",
|
|
259
|
+
* document_count: 2
|
|
260
|
+
* }
|
|
261
|
+
* ```
|
|
262
|
+
*/
|
|
263
|
+
export interface OsRemovedArtworkDocument {
|
|
264
|
+
action: OsActionType.removedArtworkDocument;
|
|
265
|
+
context_module: OsContextModule.documentsModal;
|
|
266
|
+
context_page_owner_type: OsOwnerType;
|
|
267
|
+
artwork_id: string;
|
|
268
|
+
/** Document count after the deletion */
|
|
269
|
+
document_count: number;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* A partner selects an item from any inventory actions dropdown.
|
|
273
|
+
* Covers the three top-bar dropdowns ("Add to", "Open in Studio", "More") and the
|
|
274
|
+
* per-row / right-click menus. `label` identifies which specific button or trigger
|
|
275
|
+
* the partner used; `value` is the action item they selected within it.
|
|
276
|
+
*
|
|
277
|
+
* This schema describes events sent to Segment from [[OsClickedActionsDropdown]]
|
|
278
|
+
*
|
|
279
|
+
* @example Top-bar "Add to" dropdown
|
|
280
|
+
* ```
|
|
281
|
+
* {
|
|
282
|
+
* action: "clickedActionsDropdown",
|
|
283
|
+
* context_module: "actionsDropdown",
|
|
284
|
+
* context_page_owner_type: "inventory",
|
|
285
|
+
* value: "Add to Artsy",
|
|
286
|
+
* label: "add to dropdown",
|
|
287
|
+
* artwork_ids: ["abc123", "def456"]
|
|
288
|
+
* }
|
|
289
|
+
* ```
|
|
290
|
+
*
|
|
291
|
+
* @example Right-click context menu
|
|
292
|
+
* ```
|
|
293
|
+
* {
|
|
294
|
+
* action: "clickedActionsDropdown",
|
|
295
|
+
* context_module: "actionsDropdown",
|
|
296
|
+
* context_page_owner_type: "inventory",
|
|
297
|
+
* value: "Convert to Edition Set",
|
|
298
|
+
* label: "context menu",
|
|
299
|
+
* artwork_ids: ["abc123"]
|
|
300
|
+
* }
|
|
301
|
+
* ```
|
|
302
|
+
*/
|
|
303
|
+
export interface OsClickedActionsDropdown {
|
|
304
|
+
action: OsActionType.clickedActionsDropdown;
|
|
305
|
+
context_module: OsContextModule.actionsDropdown;
|
|
306
|
+
context_page_owner_type: OsOwnerType;
|
|
307
|
+
/**
|
|
308
|
+
* The specific action item selected within the dropdown.
|
|
309
|
+
* Top-bar "Add to": "Add to Artsy" | "Add to Collection"
|
|
310
|
+
* Top-bar "Open in Studio": "Tearsheet" | "Checklist" | "Instagram Post" | "Mailchimp Campaign"
|
|
311
|
+
* Top-bar "More": "Delete"
|
|
312
|
+
* Row/context menu only: "Remove from Artsy" | "Change Collection" | "Remove from Collection" |
|
|
313
|
+
* "Convert to Edition Set" | "Edit Edition Set" | "Convert to Unique"
|
|
314
|
+
*/
|
|
315
|
+
value: "Add to Artsy" | "Add to Collection" | "Change Collection" | "Checklist" | "Convert to Edition Set" | "Convert to Unique" | "Delete" | "Edit Edition Set" | "Instagram Post" | "Mailchimp Campaign" | "Remove from Artsy" | "Remove from Collection" | "Tearsheet";
|
|
316
|
+
/** Which button or trigger the partner used to open this dropdown */
|
|
317
|
+
label: "add to dropdown" | "context menu" | "more dropdown" | "row action" | "studio dropdown";
|
|
318
|
+
artwork_ids: string[];
|
|
319
|
+
}
|
|
320
|
+
export type OsInventoryTable = OsAddedArtist | OsAddedArtworkDocument | OsAddedLocation | OsClickedActionsDropdown | OsClickedArtworkRow | OsClickedEditionSetRow | OsClickedImagesModal | OsEditedArtworkField | OsRemovedArtworkDocument | OsSavedArtworkImages;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OsClickEvent } from "./Click";
|
|
2
|
+
import { OsInventoryTable } from "./InventoryTable";
|
|
2
3
|
import { OsMultiAddFlow } from "./MultiAddFlow";
|
|
3
4
|
import { OsSubmitEvent } from "./Submit";
|
|
4
5
|
/**
|
|
@@ -6,13 +7,25 @@ import { OsSubmitEvent } from "./Submit";
|
|
|
6
7
|
*
|
|
7
8
|
* Each event describes one ActionType
|
|
8
9
|
*/
|
|
9
|
-
export type OsEvent =
|
|
10
|
+
export type OsEvent = OsClickEvent | OsInventoryTable | OsMultiAddFlow | OsSubmitEvent;
|
|
10
11
|
/**
|
|
11
12
|
* List of all Art OS actions
|
|
12
13
|
*
|
|
13
14
|
* Each OsActionType corresponds with a table in Redshift.
|
|
14
15
|
*/
|
|
15
16
|
export declare enum OsActionType {
|
|
17
|
+
/**
|
|
18
|
+
* Corresponds to {@link OsInventoryTable}
|
|
19
|
+
*/
|
|
20
|
+
addedArtist = "addedArtist",
|
|
21
|
+
/**
|
|
22
|
+
* Corresponds to {@link OsInventoryTable}
|
|
23
|
+
*/
|
|
24
|
+
addedArtworkDocument = "addedArtworkDocument",
|
|
25
|
+
/**
|
|
26
|
+
* Corresponds to {@link OsInventoryTable}
|
|
27
|
+
*/
|
|
28
|
+
addedLocation = "addedLocation",
|
|
16
29
|
/**
|
|
17
30
|
* Corresponds to {@link BulkEditedArtworks}
|
|
18
31
|
*/
|
|
@@ -29,14 +42,23 @@ export declare enum OsActionType {
|
|
|
29
42
|
* Corresponds to {@link ClickedAddFromFile}
|
|
30
43
|
*/
|
|
31
44
|
clickedAddFromFile = "clickedAddFromFile",
|
|
45
|
+
clickedArtworkRow = "clickedArtworkRow",
|
|
32
46
|
/**
|
|
33
47
|
* Corresponds to {@link ClickedCancelBulkEdit}
|
|
34
48
|
*/
|
|
35
49
|
clickedCancelBulkEdit = "clickedCancelBulkEdit",
|
|
50
|
+
/**
|
|
51
|
+
* Corresponds to {@link OsInventoryTable}
|
|
52
|
+
*/
|
|
53
|
+
clickedEditionSetRow = "clickedEditionSetRow",
|
|
36
54
|
/**
|
|
37
55
|
* Corresponds to {@link ClickedExitDropZone}
|
|
38
56
|
*/
|
|
39
57
|
clickedExitDropZone = "clickedExitDropZone",
|
|
58
|
+
/**
|
|
59
|
+
* Corresponds to {@link OsInventoryTable}
|
|
60
|
+
*/
|
|
61
|
+
clickedImagesModal = "clickedImagesModal",
|
|
40
62
|
/**
|
|
41
63
|
* Corresponds to {@link CompletedArtworkImport}
|
|
42
64
|
*/
|
|
@@ -57,10 +79,18 @@ export declare enum OsActionType {
|
|
|
57
79
|
* Corresponds to {@link EditedArtworkField}
|
|
58
80
|
*/
|
|
59
81
|
editedArtworkField = "editedArtworkField",
|
|
82
|
+
/**
|
|
83
|
+
* Corresponds to {@link OsInventoryTable}
|
|
84
|
+
*/
|
|
85
|
+
removedArtworkDocument = "removedArtworkDocument",
|
|
60
86
|
/**
|
|
61
87
|
* Corresponds to {@link ResumedArtworkImport}
|
|
62
88
|
*/
|
|
63
89
|
resumedArtworkImport = "resumedArtworkImport",
|
|
90
|
+
/**
|
|
91
|
+
* Corresponds to {@link OsInventoryTable}
|
|
92
|
+
*/
|
|
93
|
+
savedArtworkImages = "savedArtworkImages",
|
|
64
94
|
/**
|
|
65
95
|
* Corresponds to {@link StartedArtworkImport}
|
|
66
96
|
*/
|
|
@@ -20,17 +20,25 @@ var OsActionType;
|
|
|
20
20
|
exports.OsActionType = OsActionType;
|
|
21
21
|
|
|
22
22
|
(function (OsActionType) {
|
|
23
|
+
OsActionType["addedArtist"] = "addedArtist";
|
|
24
|
+
OsActionType["addedArtworkDocument"] = "addedArtworkDocument";
|
|
25
|
+
OsActionType["addedLocation"] = "addedLocation";
|
|
23
26
|
OsActionType["bulkEditedArtworks"] = "bulkEditedArtworks";
|
|
24
27
|
OsActionType["cancelledArtworkImport"] = "cancelledArtworkImport";
|
|
25
28
|
OsActionType["clickedActionsDropdown"] = "clickedActionsDropdown";
|
|
26
29
|
OsActionType["clickedAddFromFile"] = "clickedAddFromFile";
|
|
30
|
+
OsActionType["clickedArtworkRow"] = "clickedArtworkRow";
|
|
27
31
|
OsActionType["clickedCancelBulkEdit"] = "clickedCancelBulkEdit";
|
|
32
|
+
OsActionType["clickedEditionSetRow"] = "clickedEditionSetRow";
|
|
28
33
|
OsActionType["clickedExitDropZone"] = "clickedExitDropZone";
|
|
34
|
+
OsActionType["clickedImagesModal"] = "clickedImagesModal";
|
|
29
35
|
OsActionType["completedArtworkImport"] = "completedArtworkImport";
|
|
30
36
|
OsActionType["createdImportedArtworks"] = "createdImportedArtworks";
|
|
31
37
|
OsActionType["deletedArtwork"] = "deletedArtwork";
|
|
32
38
|
OsActionType["distributedArtworks"] = "distributedArtworks";
|
|
33
39
|
OsActionType["editedArtworkField"] = "editedArtworkField";
|
|
40
|
+
OsActionType["removedArtworkDocument"] = "removedArtworkDocument";
|
|
34
41
|
OsActionType["resumedArtworkImport"] = "resumedArtworkImport";
|
|
42
|
+
OsActionType["savedArtworkImages"] = "savedArtworkImages";
|
|
35
43
|
OsActionType["startedArtworkImport"] = "startedArtworkImport";
|
|
36
44
|
})(OsActionType || (exports.OsActionType = OsActionType = {}));
|
|
@@ -5,10 +5,15 @@
|
|
|
5
5
|
* @packageDocumentation
|
|
6
6
|
*/
|
|
7
7
|
export declare enum OsContextModule {
|
|
8
|
+
addArtistModal = "addArtistModal",
|
|
9
|
+
addLocationModal = "addLocationModal",
|
|
8
10
|
actionsDropdown = "actionsDropdown",
|
|
11
|
+
artworkTable = "artworkTable",
|
|
9
12
|
bulkEditDrawer = "bulkEditDrawer",
|
|
10
13
|
deleteModal = "deleteModal",
|
|
11
14
|
distributeModal = "distributeModal",
|
|
15
|
+
documentsModal = "documentsModal",
|
|
16
|
+
imagesModal = "imagesModal",
|
|
12
17
|
multiAdd = "multiAdd",
|
|
13
18
|
multiAddReview = "multiAddReview"
|
|
14
19
|
}
|
|
@@ -15,10 +15,15 @@ var OsContextModule;
|
|
|
15
15
|
exports.OsContextModule = OsContextModule;
|
|
16
16
|
|
|
17
17
|
(function (OsContextModule) {
|
|
18
|
+
OsContextModule["addArtistModal"] = "addArtistModal";
|
|
19
|
+
OsContextModule["addLocationModal"] = "addLocationModal";
|
|
18
20
|
OsContextModule["actionsDropdown"] = "actionsDropdown";
|
|
21
|
+
OsContextModule["artworkTable"] = "artworkTable";
|
|
19
22
|
OsContextModule["bulkEditDrawer"] = "bulkEditDrawer";
|
|
20
23
|
OsContextModule["deleteModal"] = "deleteModal";
|
|
21
24
|
OsContextModule["distributeModal"] = "distributeModal";
|
|
25
|
+
OsContextModule["documentsModal"] = "documentsModal";
|
|
26
|
+
OsContextModule["imagesModal"] = "imagesModal";
|
|
22
27
|
OsContextModule["multiAdd"] = "multiAdd";
|
|
23
28
|
OsContextModule["multiAddReview"] = "multiAddReview";
|
|
24
29
|
})(OsContextModule || (exports.OsContextModule = OsContextModule = {}));
|
|
@@ -14,6 +14,6 @@ var OsOwnerType;
|
|
|
14
14
|
exports.OsOwnerType = OsOwnerType;
|
|
15
15
|
|
|
16
16
|
(function (OsOwnerType) {
|
|
17
|
-
OsOwnerType["
|
|
17
|
+
OsOwnerType["list"] = "list";
|
|
18
18
|
OsOwnerType["inventory"] = "inventory";
|
|
19
19
|
})(OsOwnerType || (exports.OsOwnerType = OsOwnerType = {}));
|