@artsy/cohesion 4.25.0 → 4.28.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/CHANGELOG.md +107 -17
- package/README.md +2 -2
- package/dist/Schema/Events/Consignments.d.ts +131 -0
- package/dist/Schema/Events/MyCollection.d.ts +23 -0
- package/dist/Schema/Events/index.d.ts +27 -3
- package/dist/Schema/Events/index.js +6 -0
- package/dist/Schema/Values/ContextModule.d.ts +3 -1
- package/dist/Schema/Values/ContextModule.js +2 -0
- package/dist/Schema/Values/OwnerType.d.ts +2 -1
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,93 @@
|
|
|
1
|
+
# v4.28.0 (Wed Jan 05 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: add createAlert to ContextModule [#291](https://github.com/artsy/cohesion/pull/291) ([@dimatretyak](https://github.com/dimatretyak))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.27.0 (Tue Jan 04 2022)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- feat: Add my collection add artwork events [#290](https://github.com/artsy/cohesion/pull/290) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
18
|
+
|
|
19
|
+
#### 🐛 Bug Fix
|
|
20
|
+
|
|
21
|
+
- Track consignment submission flow steps [#271](https://github.com/artsy/cohesion/pull/271) (your_email@example.comJenqaaaaaaaaaa@gmail.comssh-keygen -t rsa -C Jenqaaaaaaaaaa@gmail.comgit config --global user.email your_email@example.comJenqaaaaaaaaaa@gmail.com [@renovate-bot](https://github.com/renovate-bot) [@MounirDhahri](https://github.com/MounirDhahri) [@artsyit](https://github.com/artsyit) [@ashleyjelks](https://github.com/ashleyjelks) [@artsy-peril[bot]](https://github.com/artsy-peril[bot]) [@brendamanganelli](https://github.com/brendamanganelli) [@louislecluse](https://github.com/louislecluse) [@The-Beez-Kneez](https://github.com/The-Beez-Kneez) [@mdole](https://github.com/mdole) [@mikehrom](https://github.com/mikehrom) [@lordkiz](https://github.com/lordkiz) [@dependabot[bot]](https://github.com/dependabot[bot]) [@dimatretyak](https://github.com/dimatretyak) [@icirellik](https://github.com/icirellik) [@abhitip](https://github.com/abhitip) [@pvinis](https://github.com/pvinis) [@anipetrov](https://github.com/anipetrov) [@dzucconi](https://github.com/dzucconi) [@damassi](https://github.com/damassi) [@olerichter00](https://github.com/olerichter00) [@rajsam003](https://github.com/rajsam003) [@pepopowitz](https://github.com/pepopowitz) [@araujobarret](https://github.com/araujobarret) [@gkartalis](https://github.com/gkartalis) [@audrey-thenot](https://github.com/audrey-thenot) [@iskounen](https://github.com/iskounen) [@lidimayra](https://github.com/lidimayra) dayanetavares@Dayanes-MBP.fritz.box)
|
|
22
|
+
|
|
23
|
+
#### 🏠 Internal
|
|
24
|
+
|
|
25
|
+
- chore(deps): update yarn orb from 6.0.0 to v6.1.0 [#289](https://github.com/artsy/cohesion/pull/289) ([@renovate-bot](https://github.com/renovate-bot))
|
|
26
|
+
- chore(deps): update dep typescript from 4.5.3 to v4.5.4 [#288](https://github.com/artsy/cohesion/pull/288) ([@renovate-bot](https://github.com/renovate-bot))
|
|
27
|
+
- Bump hosted-git-info from 2.8.8 to 2.8.9 [#282](https://github.com/artsy/cohesion/pull/282) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
28
|
+
- Bump highlight.js from 10.0.3 to 10.7.3 [#283](https://github.com/artsy/cohesion/pull/283) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
29
|
+
|
|
30
|
+
#### 🔩 Dependency Updates
|
|
31
|
+
|
|
32
|
+
- Bump ws from 7.3.0 to 7.5.6 [#277](https://github.com/artsy/cohesion/pull/277) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
33
|
+
- Bump y18n from 4.0.0 to 4.0.3 [#276](https://github.com/artsy/cohesion/pull/276) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
34
|
+
- Bump browserslist from 4.11.1 to 4.19.1 [#279](https://github.com/artsy/cohesion/pull/279) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
35
|
+
- Bump lodash from 4.17.15 to 4.17.21 [#280](https://github.com/artsy/cohesion/pull/280) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
36
|
+
- Bump handlebars from 4.7.6 to 4.7.7 [#278](https://github.com/artsy/cohesion/pull/278) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
37
|
+
- Bump tmpl from 1.0.4 to 1.0.5 [#281](https://github.com/artsy/cohesion/pull/281) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
38
|
+
- Bump path-parse from 1.0.6 to 1.0.7 [#275](https://github.com/artsy/cohesion/pull/275) ([@dependabot[bot]](https://github.com/dependabot[bot]))
|
|
39
|
+
|
|
40
|
+
#### Authors: 29
|
|
41
|
+
|
|
42
|
+
- [@artsy-peril[bot]](https://github.com/artsy-peril[bot])
|
|
43
|
+
- [@audrey-thenot](https://github.com/audrey-thenot)
|
|
44
|
+
- [@brendamanganelli](https://github.com/brendamanganelli)
|
|
45
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
46
|
+
- [@louislecluse](https://github.com/louislecluse)
|
|
47
|
+
- Abhiti Prabahar ([@abhitip](https://github.com/abhitip))
|
|
48
|
+
- Adam Iskounen ([@iskounen](https://github.com/iskounen))
|
|
49
|
+
- AL_Sutherland ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
50
|
+
- Ani Petrov ([@anipetrov](https://github.com/anipetrov))
|
|
51
|
+
- Artsy ([@artsyit](https://github.com/artsyit))
|
|
52
|
+
- Ashley Jelks ([@ashleyjelks](https://github.com/ashleyjelks))
|
|
53
|
+
- Cameron Rollheiser ([@icirellik](https://github.com/icirellik))
|
|
54
|
+
- Carlos Alberto de Araujo Barreto ([@araujobarret](https://github.com/araujobarret))
|
|
55
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
56
|
+
- Damon ([@dzucconi](https://github.com/dzucconi))
|
|
57
|
+
- Dayane Tavares (dayanetavares@Dayanes-MBP.fritz.box)
|
|
58
|
+
- Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
|
|
59
|
+
- George Kartalis ([@gkartalis](https://github.com/gkartalis))
|
|
60
|
+
- Kizito Egeonu ([@lordkiz](https://github.com/lordkiz))
|
|
61
|
+
- Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
|
|
62
|
+
- Matt Dole ([@mdole](https://github.com/mdole))
|
|
63
|
+
- mike hromchak ([@mikehrom](https://github.com/mikehrom))
|
|
64
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
65
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
66
|
+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
|
|
67
|
+
- Sam Raj ([@rajsam003](https://github.com/rajsam003))
|
|
68
|
+
- Steven Hicks ([@pepopowitz](https://github.com/pepopowitz))
|
|
69
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
70
|
+
- Yauheni (your_email@example.comJenqaaaaaaaaaa@gmail.comssh-keygen -t rsa -C Jenqaaaaaaaaaa@gmail.comgit config --global user.email your_email@example.comJenqaaaaaaaaaa@gmail.com)
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
# v4.25.1 (Fri Dec 10 2021)
|
|
75
|
+
|
|
76
|
+
#### 🐛 Bug Fix
|
|
77
|
+
|
|
78
|
+
- chore(inclusive-language): Rename master -> main [#270](https://github.com/artsy/cohesion/pull/270) ([@damassi](https://github.com/damassi))
|
|
79
|
+
|
|
80
|
+
#### 🏠 Internal
|
|
81
|
+
|
|
82
|
+
- chore(deps): update dep typescript from 4.5.2 to v4.5.3 [#269](https://github.com/artsy/cohesion/pull/269) ([@renovate-bot](https://github.com/renovate-bot))
|
|
83
|
+
|
|
84
|
+
#### Authors: 2
|
|
85
|
+
|
|
86
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
87
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
1
91
|
# v4.25.0 (Mon Nov 29 2021)
|
|
2
92
|
|
|
3
93
|
#### 🚀 Enhancement
|
|
@@ -808,7 +898,7 @@
|
|
|
808
898
|
|
|
809
899
|
# v1.81.1 (Wed Mar 31 2021)
|
|
810
900
|
|
|
811
|
-
#### ⚠️ Pushed to `
|
|
901
|
+
#### ⚠️ Pushed to `main`
|
|
812
902
|
|
|
813
903
|
- Make some props optional ([@damassi](https://github.com/damassi))
|
|
814
904
|
|
|
@@ -994,7 +1084,7 @@
|
|
|
994
1084
|
|
|
995
1085
|
- feat: adds position and sort args to artwork click [#157](https://github.com/artsy/cohesion/pull/157) ([@dzucconi](https://github.com/dzucconi))
|
|
996
1086
|
|
|
997
|
-
#### ⚠️ Pushed to `
|
|
1087
|
+
#### ⚠️ Pushed to `main`
|
|
998
1088
|
|
|
999
1089
|
- Update README.md ([@damassi](https://github.com/damassi))
|
|
1000
1090
|
|
|
@@ -1024,7 +1114,7 @@
|
|
|
1024
1114
|
|
|
1025
1115
|
# v1.68.2 (Tue Jan 12 2021)
|
|
1026
1116
|
|
|
1027
|
-
#### ⚠️ Pushed to `
|
|
1117
|
+
#### ⚠️ Pushed to `main`
|
|
1028
1118
|
|
|
1029
1119
|
- Update pull_request_template.md ([@damassi](https://github.com/damassi))
|
|
1030
1120
|
|
|
@@ -1036,7 +1126,7 @@
|
|
|
1036
1126
|
|
|
1037
1127
|
# v1.68.1 (Tue Jan 12 2021)
|
|
1038
1128
|
|
|
1039
|
-
#### ⚠️ Pushed to `
|
|
1129
|
+
#### ⚠️ Pushed to `main`
|
|
1040
1130
|
|
|
1041
1131
|
- Create pull_request_template.md ([@damassi](https://github.com/damassi))
|
|
1042
1132
|
|
|
@@ -1625,7 +1715,7 @@
|
|
|
1625
1715
|
|
|
1626
1716
|
# v1.33.5 (Wed Sep 02 2020)
|
|
1627
1717
|
|
|
1628
|
-
#### ⚠️ Pushed to `
|
|
1718
|
+
#### ⚠️ Pushed to `main`
|
|
1629
1719
|
|
|
1630
1720
|
- Add recommendedArtistsRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1631
1721
|
|
|
@@ -1637,7 +1727,7 @@
|
|
|
1637
1727
|
|
|
1638
1728
|
# v1.33.4 (Mon Aug 31 2020)
|
|
1639
1729
|
|
|
1640
|
-
#### ⚠️ Pushed to `
|
|
1730
|
+
#### ⚠️ Pushed to `main`
|
|
1641
1731
|
|
|
1642
1732
|
- Add fairRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1643
1733
|
|
|
@@ -1649,7 +1739,7 @@
|
|
|
1649
1739
|
|
|
1650
1740
|
# v1.33.3 (Thu Aug 27 2020)
|
|
1651
1741
|
|
|
1652
|
-
#### ⚠️ Pushed to `
|
|
1742
|
+
#### ⚠️ Pushed to `main`
|
|
1653
1743
|
|
|
1654
1744
|
- Add topWorksRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1655
1745
|
|
|
@@ -1673,7 +1763,7 @@
|
|
|
1673
1763
|
|
|
1674
1764
|
# v1.33.1 (Wed Aug 26 2020)
|
|
1675
1765
|
|
|
1676
|
-
#### ⚠️ Pushed to `
|
|
1766
|
+
#### ⚠️ Pushed to `main`
|
|
1677
1767
|
|
|
1678
1768
|
- Add artistSeriesRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1679
1769
|
|
|
@@ -1709,7 +1799,7 @@
|
|
|
1709
1799
|
|
|
1710
1800
|
# v1.31.1 (Mon Aug 24 2020)
|
|
1711
1801
|
|
|
1712
|
-
#### ⚠️ Pushed to `
|
|
1802
|
+
#### ⚠️ Pushed to `main`
|
|
1713
1803
|
|
|
1714
1804
|
- add featuredArtists to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1715
1805
|
|
|
@@ -1725,9 +1815,9 @@
|
|
|
1725
1815
|
|
|
1726
1816
|
- Use auth context for follow [#95](https://github.com/artsy/cohesion/pull/95) ([@eessex](https://github.com/eessex))
|
|
1727
1817
|
|
|
1728
|
-
#### ⚠️ Pushed to `
|
|
1818
|
+
#### ⚠️ Pushed to `main`
|
|
1729
1819
|
|
|
1730
|
-
- Merge branch '
|
|
1820
|
+
- Merge branch 'main' of https://github.com/artsy/cohesion ([@eessex](https://github.com/eessex))
|
|
1731
1821
|
- include popularArtistsRail in AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1732
1822
|
|
|
1733
1823
|
#### Authors: 1
|
|
@@ -2060,7 +2150,7 @@
|
|
|
2060
2150
|
|
|
2061
2151
|
# v1.6.2 (Thu Jun 11 2020)
|
|
2062
2152
|
|
|
2063
|
-
#### ⚠️ Pushed to `
|
|
2153
|
+
#### ⚠️ Pushed to `main`
|
|
2064
2154
|
|
|
2065
2155
|
- casing hotfix ([@eessex](https://github.com/eessex))
|
|
2066
2156
|
|
|
@@ -2295,7 +2385,7 @@
|
|
|
2295
2385
|
|
|
2296
2386
|
# v0.2.7 (Thu Apr 23 2020)
|
|
2297
2387
|
|
|
2298
|
-
#### ⚠️ Pushed to `
|
|
2388
|
+
#### ⚠️ Pushed to `main`
|
|
2299
2389
|
|
|
2300
2390
|
- Add docs URL to Readme ([@eessex](https://github.com/eessex))
|
|
2301
2391
|
|
|
@@ -2328,12 +2418,12 @@
|
|
|
2328
2418
|
|
|
2329
2419
|
# v0.2.5 (Wed Apr 22 2020)
|
|
2330
2420
|
|
|
2331
|
-
#### ⚠️ Pushed to `
|
|
2421
|
+
#### ⚠️ Pushed to `main`
|
|
2332
2422
|
|
|
2333
2423
|
- only run tests from /src directory ([@eessex](https://github.com/eessex))
|
|
2334
2424
|
- Fixes tests ([@abhitip](https://github.com/abhitip))
|
|
2335
2425
|
- Event helpers match updated schema ([@abhitip](https://github.com/abhitip))
|
|
2336
|
-
- Merge branch '
|
|
2426
|
+
- Merge branch 'main' of github.com:artsy/cohesion into reset-your-password ([@abhitip](https://github.com/abhitip))
|
|
2337
2427
|
- Enriches events with properties carried over from authImpression ([@abhitip](https://github.com/abhitip))
|
|
2338
2428
|
- alphabetizes properties ([@abhitip](https://github.com/abhitip))
|
|
2339
2429
|
- Adds resetYourPassword ([@abhitip](https://github.com/abhitip))
|
|
@@ -2347,7 +2437,7 @@
|
|
|
2347
2437
|
|
|
2348
2438
|
# v0.2.4 (Wed Apr 22 2020)
|
|
2349
2439
|
|
|
2350
|
-
#### ⚠️ Pushed to `
|
|
2440
|
+
#### ⚠️ Pushed to `main`
|
|
2351
2441
|
|
|
2352
2442
|
- fix example comment formatting ([@eessex](https://github.com/eessex))
|
|
2353
2443
|
|
|
@@ -2466,4 +2556,4 @@
|
|
|
2466
2556
|
#### Authors: 2
|
|
2467
2557
|
|
|
2468
2558
|
- Eve Essex ([@eessex](https://github.com/eessex))
|
|
2469
|
-
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
2559
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
- **GitHub:** https://github.com/artsy/cohesion
|
|
7
7
|
- **Docs:** https://cohesion.artsy.net
|
|
8
8
|
- **Ci**: https://circleci.com/gh/artsy/cohesion
|
|
9
|
-
- **[NPM](https://www.npmjs.com/package/@artsy/cohesion):** Package updates are published automatically on successful merges to
|
|
9
|
+
- **[NPM](https://www.npmjs.com/package/@artsy/cohesion):** Package updates are published automatically on successful merges to main. Canaries are available on PR's from feature branches.
|
|
10
10
|
- **Point People**: [@damassi][], [@abhitip][]
|
|
11
11
|
|
|
12
12
|
## Contributing
|
|
@@ -75,7 +75,7 @@ export interface MyNewEvent {
|
|
|
75
75
|
}
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
3. In `Schema/Events/index.ts`, add the new interface to the valid events
|
|
78
|
+
3. In `Schema/Events/index.ts`, add the new interface to the valid events main list, `Event`
|
|
79
79
|
|
|
80
80
|
4. Add descriptive comments with examples to explain the use of your new event. Our documentation is generated automatically from in-code comments, find more information on syntax in the [`typedoc` docs][typedoc_docs].
|
|
81
81
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ContextModule } from "../Values/ContextModule";
|
|
2
|
+
import { OwnerType } from "../Values/OwnerType";
|
|
1
3
|
import { ActionType } from ".";
|
|
2
4
|
/**
|
|
3
5
|
* Schema describing 'Consignment' events
|
|
@@ -12,6 +14,8 @@ import { ActionType } from ".";
|
|
|
12
14
|
* ```
|
|
13
15
|
* {
|
|
14
16
|
* action: "consignmentSubmitted",
|
|
17
|
+
* context_module: "consignSubmissionFlow",
|
|
18
|
+
* context_owner_type: "consignmentSubmission",
|
|
15
19
|
* submission_id: "66355",
|
|
16
20
|
* user_email: "xx@gmail.com"
|
|
17
21
|
* user_id: "5bd8b675776bd6002c86526c"
|
|
@@ -20,6 +24,133 @@ import { ActionType } from ".";
|
|
|
20
24
|
*/
|
|
21
25
|
export interface ConsignmentSubmitted {
|
|
22
26
|
action: ActionType.consignmentSubmitted;
|
|
27
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
28
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
29
|
+
submission_id: string;
|
|
30
|
+
user_email: string;
|
|
31
|
+
user_id?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* First step of the consignment submission flow; user confirms details of their artwork.
|
|
35
|
+
*
|
|
36
|
+
* This schema describes events sent to Segment from [[artworkDetailsCompleted]]
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```
|
|
40
|
+
* {
|
|
41
|
+
* action: "artworkDetailsCompleted",
|
|
42
|
+
* context_module: "consignSubmissionFlow",
|
|
43
|
+
* context_owner_type: "consignmentSubmission",
|
|
44
|
+
* submission_id: "52521",
|
|
45
|
+
* user_email: "kieranmbh@gmail.com"
|
|
46
|
+
* user_id: "5cd6b173746be6109c86321d"
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export interface ArtworkDetailsCompleted {
|
|
51
|
+
action: ActionType.artworkDetailsCompleted;
|
|
52
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
53
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
54
|
+
submission_id: string;
|
|
55
|
+
user_email: string;
|
|
56
|
+
user_id?: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Second step of the consignment submission flow; user uploads photos of their artwork.
|
|
60
|
+
*
|
|
61
|
+
* This schema describes events sent to Segment from [[uploadPhotosCompleted]]
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```
|
|
65
|
+
* {
|
|
66
|
+
* action: "uploadPhotosCompleted",
|
|
67
|
+
* context_module: "consignSubmissionFlow",
|
|
68
|
+
* context_owner_type: "consignmentSubmission",
|
|
69
|
+
* submission_id: "52521",
|
|
70
|
+
* user_email: "kieranmbh@gmail.com"
|
|
71
|
+
* user_id: "5cd6b173746be6109c86321d"
|
|
72
|
+
* }
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export interface UploadPhotosCompleted {
|
|
76
|
+
action: ActionType.uploadPhotosCompleted;
|
|
77
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
78
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
79
|
+
submission_id: string;
|
|
80
|
+
user_email: string;
|
|
81
|
+
user_id?: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Third step of the consignment submission flow; user adds contact information for their artwork.
|
|
85
|
+
*
|
|
86
|
+
* This schema describes events sent to Segment from [[contactInformationCompleted]]
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```
|
|
90
|
+
* {
|
|
91
|
+
* action: "contactInformationCompleted",
|
|
92
|
+
* context_module: "consignSubmissionFlow",
|
|
93
|
+
* context_owner_type: "consignmentSubmission",
|
|
94
|
+
* submission_id: "52521",
|
|
95
|
+
* user_email: "kieranmbh@gmail.com"
|
|
96
|
+
* user_id: "5cd6b173746be6109c86321d"
|
|
97
|
+
* }
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
export interface ContactInformationCompleted {
|
|
101
|
+
action: ActionType.contactInformationCompleted;
|
|
102
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
103
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
104
|
+
submission_id: string;
|
|
105
|
+
user_email: string;
|
|
106
|
+
user_id?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* User clicks/taps to re-enter the submission flow after successfully submitting an artwork for consignment.
|
|
110
|
+
*
|
|
111
|
+
* This schema describes events sent to Segment from [[submitAnotherArtwork]]
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```
|
|
115
|
+
* {
|
|
116
|
+
* action: "submitAnotherArtwork",
|
|
117
|
+
* context_module: "consignSubmissionFlow",
|
|
118
|
+
* context_owner_type: "consignmentSubmission",
|
|
119
|
+
* submission_id: "52521",
|
|
120
|
+
* user_email: "kieranmbh@gmail.com"
|
|
121
|
+
* user_id: "5cd6b173746be6109c86321d"
|
|
122
|
+
* }
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
export interface SubmitAnotherArtwork {
|
|
126
|
+
action: ActionType.submitAnotherArtwork;
|
|
127
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
128
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
129
|
+
submission_id: string;
|
|
130
|
+
user_email: string;
|
|
131
|
+
user_id?: string;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* User clicks/taps to view the artwork they just submitted in MyCollection.
|
|
135
|
+
*
|
|
136
|
+
* This schema describes events sent to Segment from [[viewArtworkMyCollection]]
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* ```
|
|
140
|
+
* {
|
|
141
|
+
* action: "viewArtworkMyCollection",
|
|
142
|
+
* context_module: "consignSubmissionFlow",
|
|
143
|
+
* context_owner_type: "consignmentSubmission",
|
|
144
|
+
* submission_id: "52521",
|
|
145
|
+
* user_email: "kieranmbh@gmail.com"
|
|
146
|
+
* user_id: "5cd6b173746be6109c86321d"
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
export interface ViewArtworkMyCollection {
|
|
151
|
+
action: ActionType.viewArtworkMyCollection;
|
|
152
|
+
context_module: ContextModule.consignSubmissionFlow;
|
|
153
|
+
context_owner_type: OwnerType.consignmentSubmission;
|
|
23
154
|
submission_id: string;
|
|
24
155
|
user_email: string;
|
|
25
156
|
user_id?: string;
|
|
@@ -126,3 +126,26 @@ export interface TappedCollectedArtworkImages {
|
|
|
126
126
|
context_owner_id: string;
|
|
127
127
|
context_owner_slug?: string;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* A user taps on an artist in My Collection Add Artwork Add Artist
|
|
131
|
+
*
|
|
132
|
+
* This schema describes events sent to Segment from [[tappedMyCollectionAddArtworkArtist]]
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```
|
|
136
|
+
* {
|
|
137
|
+
* action: "tappedMyCollectionAddArtworkArtist",
|
|
138
|
+
* context_module: "myCollectionAddArtworkArtist",
|
|
139
|
+
* context_screen: "myCollectionAddArtworkAddArtist",
|
|
140
|
+
* context_screen_owner_id: "5fad78273c8451000d0c53b9"
|
|
141
|
+
* context_screen_owner_slug: "andy-warhol"
|
|
142
|
+
* }
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
export interface TappedMyCollectionAddArtworkArtist {
|
|
146
|
+
action: ActionType.tappedMyCollectionAddArtworkArtist;
|
|
147
|
+
context_screen: OwnerType.myCollectionAddArtworkArtist;
|
|
148
|
+
context_module: ContextModule.myCollectionAddArtworkAddArtist;
|
|
149
|
+
context_screen_owner_id?: string;
|
|
150
|
+
context_screen_owner_slug?: string;
|
|
151
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AddToCalendar } from "./AddToCalendar";
|
|
2
2
|
import { AuthImpression, CreatedAccount, OnboardingUserInputData, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication";
|
|
3
3
|
import { ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedCreateAlert, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedPartnerCard, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
4
|
-
import { ConsignmentSubmitted } from "./Consignments";
|
|
4
|
+
import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationCompleted, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
|
|
5
5
|
import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
|
|
6
6
|
import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, PriceDatabaseFilterParamsChanged } from "./FilterAndSort";
|
|
7
7
|
import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, TappedCollectedArtwork, TappedCollectedArtworkImages } from "./MyCollection";
|
|
@@ -18,7 +18,7 @@ import { ToggledNotification, ToggledSavedSearch } from "./Toggle";
|
|
|
18
18
|
*
|
|
19
19
|
* Each event describes one ActionType
|
|
20
20
|
*/
|
|
21
|
-
export declare type Event = AddToCalendar | AddCollectedArtwork | AuctionResultsFilterParamsChanged | AuthImpression | CreatedAccount | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPromoSpace | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | Share | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledNotification | ToggledSavedSearch;
|
|
21
|
+
export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionResultsFilterParamsChanged | AuthImpression | CreatedAccount | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPromoSpace | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | ConsignmentArtistFailed | ConsignmentSubmitted | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | Share | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedPartnerCard | TappedPromoSpace | TappedSell | TappedShowMore | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
|
|
22
22
|
/**
|
|
23
23
|
* The top-level actions an Event describes.
|
|
24
24
|
*
|
|
@@ -37,6 +37,10 @@ export declare enum ActionType {
|
|
|
37
37
|
* Corresponds to {@link AddCollectedArtwork}
|
|
38
38
|
*/
|
|
39
39
|
addCollectedArtwork = "addCollectedArtwork",
|
|
40
|
+
/**
|
|
41
|
+
* Corresponds to {@link ArtworkDetailsCompleted}
|
|
42
|
+
*/
|
|
43
|
+
artworkDetailsCompleted = "artworkDetailsCompleted",
|
|
40
44
|
/**
|
|
41
45
|
* Corresponds to {@link AuctionResultsFilterParamsChanged}
|
|
42
46
|
*/
|
|
@@ -210,6 +214,10 @@ export declare enum ActionType {
|
|
|
210
214
|
* Corresponds to {@link ConsignmentSubmitted}
|
|
211
215
|
*/
|
|
212
216
|
consignmentSubmitted = "consignmentSubmitted",
|
|
217
|
+
/**
|
|
218
|
+
* Corresponds to {@link ContactInformationCompleted}
|
|
219
|
+
*/
|
|
220
|
+
contactInformationCompleted = "contactInformationCompleted",
|
|
213
221
|
/**
|
|
214
222
|
* Corresponds to {@link ContactGallery}
|
|
215
223
|
*/
|
|
@@ -314,6 +322,10 @@ export declare enum ActionType {
|
|
|
314
322
|
* Corresponds to {@link Share}
|
|
315
323
|
*/
|
|
316
324
|
share = "share",
|
|
325
|
+
/**
|
|
326
|
+
* Corresponds to {@link SubmitAnotherArtwork}
|
|
327
|
+
*/
|
|
328
|
+
submitAnotherArtwork = "submitAnotherArtwork",
|
|
317
329
|
/**
|
|
318
330
|
* Corresponds to {@link SuccessfullyLoggedIn}
|
|
319
331
|
*/
|
|
@@ -358,6 +370,10 @@ export declare enum ActionType {
|
|
|
358
370
|
* Corresponds to {@link TappedCollectedArtwork}
|
|
359
371
|
*/
|
|
360
372
|
tappedCollectedArtwork = "tappedCollectedArtwork",
|
|
373
|
+
/**
|
|
374
|
+
* Corresponds to {@link TappedMyCollectionAddArtworkArtist}
|
|
375
|
+
*/
|
|
376
|
+
tappedMyCollectionAddArtworkArtist = "tappedMyCollectionAddArtworkArtist",
|
|
361
377
|
/**
|
|
362
378
|
* Corresponds to {@link TappedCollectedArtworkImages}
|
|
363
379
|
*/
|
|
@@ -481,5 +497,13 @@ export declare enum ActionType {
|
|
|
481
497
|
/**
|
|
482
498
|
* Corresponds to {@link UnfollowedPartner}
|
|
483
499
|
*/
|
|
484
|
-
unfollowedPartner = "unfollowedPartner"
|
|
500
|
+
unfollowedPartner = "unfollowedPartner",
|
|
501
|
+
/**
|
|
502
|
+
* Corresponds to {@link UploadPhotosCompleted}
|
|
503
|
+
*/
|
|
504
|
+
uploadPhotosCompleted = "uploadPhotosCompleted",
|
|
505
|
+
/**
|
|
506
|
+
* Corresponds to {@link ViewArtworkMyCollection}
|
|
507
|
+
*/
|
|
508
|
+
viewArtworkMyCollection = "viewArtworkMyCollection"
|
|
485
509
|
}
|
|
@@ -23,6 +23,7 @@ exports.ActionType = ActionType;
|
|
|
23
23
|
ActionType["authImpression"] = "authImpression";
|
|
24
24
|
ActionType["addToCalendar"] = "addToCalendar";
|
|
25
25
|
ActionType["addCollectedArtwork"] = "addCollectedArtwork";
|
|
26
|
+
ActionType["artworkDetailsCompleted"] = "artworkDetailsCompleted";
|
|
26
27
|
ActionType["auctionResultsFilterParamsChanged"] = "auctionResultsFilterParamsChanged";
|
|
27
28
|
ActionType["clickedAddNewShippingAddress"] = "clickedAddNewShippingAddress";
|
|
28
29
|
ActionType["clickedAddWorksToFair"] = "clickedAddWorksToFair";
|
|
@@ -66,6 +67,7 @@ exports.ActionType = ActionType;
|
|
|
66
67
|
ActionType["commercialFilterParamsChanged"] = "commercialFilterParamsChanged";
|
|
67
68
|
ActionType["consignmentArtistFailed"] = "consignmentArtistFailed";
|
|
68
69
|
ActionType["consignmentSubmitted"] = "consignmentSubmitted";
|
|
70
|
+
ActionType["contactInformationCompleted"] = "contactInformationCompleted";
|
|
69
71
|
ActionType["contactGallery"] = "contactGallery";
|
|
70
72
|
ActionType["createdAccount"] = "createdAccount";
|
|
71
73
|
ActionType["deleteCollectedArtwork"] = "deleteCollectedArtwork";
|
|
@@ -92,6 +94,7 @@ exports.ActionType = ActionType;
|
|
|
92
94
|
ActionType["sentArtworkInquiry"] = "sentArtworkInquiry";
|
|
93
95
|
ActionType["sentConversationMessage"] = "sentConversationMessage";
|
|
94
96
|
ActionType["share"] = "share";
|
|
97
|
+
ActionType["submitAnotherArtwork"] = "submitAnotherArtwork";
|
|
95
98
|
ActionType["successfullyLoggedIn"] = "successfullyLoggedIn";
|
|
96
99
|
ActionType["tappedArticleGroup"] = "tappedArticleGroup";
|
|
97
100
|
ActionType["tappedShowGroup"] = "tappedShowGroup";
|
|
@@ -103,6 +106,7 @@ exports.ActionType = ActionType;
|
|
|
103
106
|
ActionType["tappedBid"] = "tappedBid";
|
|
104
107
|
ActionType["tappedBuyNow"] = "tappedBuyNow";
|
|
105
108
|
ActionType["tappedCollectedArtwork"] = "tappedCollectedArtwork";
|
|
109
|
+
ActionType["tappedMyCollectionAddArtworkArtist"] = "tappedMyCollectionAddArtworkArtist";
|
|
106
110
|
ActionType["tappedCollectedArtworkImages"] = "tappedCollectedArtworkImages";
|
|
107
111
|
ActionType["tappedCollectionGroup"] = "tappedCollectionGroup";
|
|
108
112
|
ActionType["tappedConsign"] = "tappedConsign";
|
|
@@ -134,4 +138,6 @@ exports.ActionType = ActionType;
|
|
|
134
138
|
ActionType["unfollowedFair"] = "unfollowedFair";
|
|
135
139
|
ActionType["unfollowedGene"] = "unfollowedGene";
|
|
136
140
|
ActionType["unfollowedPartner"] = "unfollowedPartner";
|
|
141
|
+
ActionType["uploadPhotosCompleted"] = "uploadPhotosCompleted";
|
|
142
|
+
ActionType["viewArtworkMyCollection"] = "viewArtworkMyCollection";
|
|
137
143
|
})(ActionType || (exports.ActionType = ActionType = {}));
|
|
@@ -48,6 +48,7 @@ export declare enum ContextModule {
|
|
|
48
48
|
collectionDescription = "collectionDescription",
|
|
49
49
|
collectionRail = "collectionRail",
|
|
50
50
|
consignSubmissionFlow = "consignSubmissionFlow",
|
|
51
|
+
createAlert = "createAlert",
|
|
51
52
|
curatedHighlightsRail = "curatedHighlightsRail",
|
|
52
53
|
currentAuctions = "currentAuctions",
|
|
53
54
|
currentShowsRail = "currentShowsRail",
|
|
@@ -88,6 +89,7 @@ export declare enum ContextModule {
|
|
|
88
89
|
moreFromThisSeries = "moreFromThisSeries",
|
|
89
90
|
moreSeriesByThisArtist = "moreSeriesByThisArtist",
|
|
90
91
|
myCollectionArtwork = "myCollectionArtwork",
|
|
92
|
+
myCollectionAddArtworkAddArtist = "myCollectionAddArtworkAddArtist",
|
|
91
93
|
myCollectionHome = "myCollectionHome",
|
|
92
94
|
newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
|
|
93
95
|
newWorksForYouRail = "newWorksForYouRail",
|
|
@@ -158,4 +160,4 @@ export declare enum ContextModule {
|
|
|
158
160
|
/**
|
|
159
161
|
* Limited ContextModules available for web authentication events
|
|
160
162
|
*/
|
|
161
|
-
export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionResultComparableWorks | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.consignSubmissionFlow | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.minimalCTABanner | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.recentlyViewedRail | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
163
|
+
export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionResultComparableWorks | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.consignSubmissionFlow | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.recentlyViewedRail | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
|
|
@@ -62,6 +62,7 @@ exports.ContextModule = ContextModule;
|
|
|
62
62
|
ContextModule["collectionDescription"] = "collectionDescription";
|
|
63
63
|
ContextModule["collectionRail"] = "collectionRail";
|
|
64
64
|
ContextModule["consignSubmissionFlow"] = "consignSubmissionFlow";
|
|
65
|
+
ContextModule["createAlert"] = "createAlert";
|
|
65
66
|
ContextModule["curatedHighlightsRail"] = "curatedHighlightsRail";
|
|
66
67
|
ContextModule["currentAuctions"] = "currentAuctions";
|
|
67
68
|
ContextModule["currentShowsRail"] = "currentShowsRail";
|
|
@@ -102,6 +103,7 @@ exports.ContextModule = ContextModule;
|
|
|
102
103
|
ContextModule["moreFromThisSeries"] = "moreFromThisSeries";
|
|
103
104
|
ContextModule["moreSeriesByThisArtist"] = "moreSeriesByThisArtist";
|
|
104
105
|
ContextModule["myCollectionArtwork"] = "myCollectionArtwork";
|
|
106
|
+
ContextModule["myCollectionAddArtworkAddArtist"] = "myCollectionAddArtworkAddArtist";
|
|
105
107
|
ContextModule["myCollectionHome"] = "myCollectionHome";
|
|
106
108
|
ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
|
|
107
109
|
ContextModule["newWorksForYouRail"] = "newWorksForYouRail";
|
|
@@ -39,6 +39,7 @@ export declare enum OwnerType {
|
|
|
39
39
|
inboxInquiries = "inboxInquiries",
|
|
40
40
|
myCollection = "myCollection",
|
|
41
41
|
myCollectionArtwork = "myCollectionArtwork",
|
|
42
|
+
myCollectionAddArtworkArtist = "myCollectionAddArtworkArtist",
|
|
42
43
|
newWorksForYou = "newWorksForYou",
|
|
43
44
|
onboarding = "onboarding",
|
|
44
45
|
ordersAccept = "orders-accept",
|
|
@@ -74,7 +75,7 @@ export declare enum OwnerType {
|
|
|
74
75
|
/**
|
|
75
76
|
* Owner types available in iOS/Android
|
|
76
77
|
*/
|
|
77
|
-
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionArtwork | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
|
|
78
|
+
export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.gene | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consignmentSubmission | OwnerType.consign | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionArtwork | OwnerType.myCollectionAddArtworkArtist | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.search | OwnerType.savesAndFollows | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.viewingRoom | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.viewingRoomArtworkPage | OwnerType.worksForYou;
|
|
78
79
|
/**
|
|
79
80
|
* Owner types available in web/mobile web
|
|
80
81
|
*/
|
|
@@ -57,6 +57,7 @@ exports.OwnerType = OwnerType;
|
|
|
57
57
|
OwnerType["inboxInquiries"] = "inboxInquiries";
|
|
58
58
|
OwnerType["myCollection"] = "myCollection";
|
|
59
59
|
OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
|
|
60
|
+
OwnerType["myCollectionAddArtworkArtist"] = "myCollectionAddArtworkArtist";
|
|
60
61
|
OwnerType["newWorksForYou"] = "newWorksForYou";
|
|
61
62
|
OwnerType["onboarding"] = "onboarding";
|
|
62
63
|
OwnerType["ordersAccept"] = "orders-accept";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/cohesion",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.28.0",
|
|
4
4
|
"description": "Analytics schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lint-staged": "10.1.7",
|
|
48
48
|
"prettier": "2.0.5",
|
|
49
49
|
"typedoc": "0.17.7",
|
|
50
|
-
"typescript": "4.5.
|
|
50
|
+
"typescript": "4.5.4"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"core-js": "3"
|