@artsy/cohesion 4.24.0 → 4.27.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 +108 -17
- package/README.md +2 -2
- package/dist/DeprecatedHelpers/index.d.ts +0 -1
- package/dist/DeprecatedHelpers/index.js +0 -12
- 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 +2 -1
- package/dist/Schema/Values/ContextModule.js +1 -0
- package/dist/Schema/Values/OwnerType.d.ts +2 -1
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/package.json +2 -2
- package/dist/DeprecatedHelpers/Click/ClickedAppDownload.d.ts +0 -2
- package/dist/DeprecatedHelpers/Click/ClickedAppDownload.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,94 @@
|
|
|
1
|
+
# v4.27.0 (Tue Jan 04 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Add my collection add artwork events [#290](https://github.com/artsy/cohesion/pull/290) ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- 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)
|
|
10
|
+
|
|
11
|
+
#### 🏠 Internal
|
|
12
|
+
|
|
13
|
+
- 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))
|
|
14
|
+
- 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))
|
|
15
|
+
- 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]))
|
|
16
|
+
- 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]))
|
|
17
|
+
|
|
18
|
+
#### 🔩 Dependency Updates
|
|
19
|
+
|
|
20
|
+
- 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]))
|
|
21
|
+
- 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]))
|
|
22
|
+
- 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]))
|
|
23
|
+
- 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]))
|
|
24
|
+
- 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]))
|
|
25
|
+
- 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]))
|
|
26
|
+
- 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]))
|
|
27
|
+
|
|
28
|
+
#### Authors: 29
|
|
29
|
+
|
|
30
|
+
- [@artsy-peril[bot]](https://github.com/artsy-peril[bot])
|
|
31
|
+
- [@audrey-thenot](https://github.com/audrey-thenot)
|
|
32
|
+
- [@brendamanganelli](https://github.com/brendamanganelli)
|
|
33
|
+
- [@dependabot[bot]](https://github.com/dependabot[bot])
|
|
34
|
+
- [@louislecluse](https://github.com/louislecluse)
|
|
35
|
+
- Abhiti Prabahar ([@abhitip](https://github.com/abhitip))
|
|
36
|
+
- Adam Iskounen ([@iskounen](https://github.com/iskounen))
|
|
37
|
+
- AL_Sutherland ([@The-Beez-Kneez](https://github.com/The-Beez-Kneez))
|
|
38
|
+
- Ani Petrov ([@anipetrov](https://github.com/anipetrov))
|
|
39
|
+
- Artsy ([@artsyit](https://github.com/artsyit))
|
|
40
|
+
- Ashley Jelks ([@ashleyjelks](https://github.com/ashleyjelks))
|
|
41
|
+
- Cameron Rollheiser ([@icirellik](https://github.com/icirellik))
|
|
42
|
+
- Carlos Alberto de Araujo Barreto ([@araujobarret](https://github.com/araujobarret))
|
|
43
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
44
|
+
- Damon ([@dzucconi](https://github.com/dzucconi))
|
|
45
|
+
- Dayane Tavares (dayanetavares@Dayanes-MBP.fritz.box)
|
|
46
|
+
- Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
|
|
47
|
+
- George Kartalis ([@gkartalis](https://github.com/gkartalis))
|
|
48
|
+
- Kizito Egeonu ([@lordkiz](https://github.com/lordkiz))
|
|
49
|
+
- Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
|
|
50
|
+
- Matt Dole ([@mdole](https://github.com/mdole))
|
|
51
|
+
- mike hromchak ([@mikehrom](https://github.com/mikehrom))
|
|
52
|
+
- Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
|
|
53
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
54
|
+
- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))
|
|
55
|
+
- Sam Raj ([@rajsam003](https://github.com/rajsam003))
|
|
56
|
+
- Steven Hicks ([@pepopowitz](https://github.com/pepopowitz))
|
|
57
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
58
|
+
- Yauheni (your_email@example.comJenqaaaaaaaaaa@gmail.comssh-keygen -t rsa -C Jenqaaaaaaaaaa@gmail.comgit config --global user.email your_email@example.comJenqaaaaaaaaaa@gmail.com)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
# v4.25.1 (Fri Dec 10 2021)
|
|
63
|
+
|
|
64
|
+
#### 🐛 Bug Fix
|
|
65
|
+
|
|
66
|
+
- chore(inclusive-language): Rename master -> main [#270](https://github.com/artsy/cohesion/pull/270) ([@damassi](https://github.com/damassi))
|
|
67
|
+
|
|
68
|
+
#### 🏠 Internal
|
|
69
|
+
|
|
70
|
+
- 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))
|
|
71
|
+
|
|
72
|
+
#### Authors: 2
|
|
73
|
+
|
|
74
|
+
- Christopher Pappas ([@damassi](https://github.com/damassi))
|
|
75
|
+
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
# v4.25.0 (Mon Nov 29 2021)
|
|
80
|
+
|
|
81
|
+
#### 🚀 Enhancement
|
|
82
|
+
|
|
83
|
+
- [FX-3343] Remove deprecated clickedAppDownload helper [#261](https://github.com/artsy/cohesion/pull/261) ([@lidimayra](https://github.com/lidimayra) [@mdole](https://github.com/mdole))
|
|
84
|
+
|
|
85
|
+
#### Authors: 2
|
|
86
|
+
|
|
87
|
+
- Lidiane Taquehara ([@lidimayra](https://github.com/lidimayra))
|
|
88
|
+
- Matt Dole ([@mdole](https://github.com/mdole))
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
1
92
|
# v4.24.0 (Mon Nov 29 2021)
|
|
2
93
|
|
|
3
94
|
#### 🚀 Enhancement
|
|
@@ -795,7 +886,7 @@
|
|
|
795
886
|
|
|
796
887
|
# v1.81.1 (Wed Mar 31 2021)
|
|
797
888
|
|
|
798
|
-
#### ⚠️ Pushed to `
|
|
889
|
+
#### ⚠️ Pushed to `main`
|
|
799
890
|
|
|
800
891
|
- Make some props optional ([@damassi](https://github.com/damassi))
|
|
801
892
|
|
|
@@ -981,7 +1072,7 @@
|
|
|
981
1072
|
|
|
982
1073
|
- feat: adds position and sort args to artwork click [#157](https://github.com/artsy/cohesion/pull/157) ([@dzucconi](https://github.com/dzucconi))
|
|
983
1074
|
|
|
984
|
-
#### ⚠️ Pushed to `
|
|
1075
|
+
#### ⚠️ Pushed to `main`
|
|
985
1076
|
|
|
986
1077
|
- Update README.md ([@damassi](https://github.com/damassi))
|
|
987
1078
|
|
|
@@ -1011,7 +1102,7 @@
|
|
|
1011
1102
|
|
|
1012
1103
|
# v1.68.2 (Tue Jan 12 2021)
|
|
1013
1104
|
|
|
1014
|
-
#### ⚠️ Pushed to `
|
|
1105
|
+
#### ⚠️ Pushed to `main`
|
|
1015
1106
|
|
|
1016
1107
|
- Update pull_request_template.md ([@damassi](https://github.com/damassi))
|
|
1017
1108
|
|
|
@@ -1023,7 +1114,7 @@
|
|
|
1023
1114
|
|
|
1024
1115
|
# v1.68.1 (Tue Jan 12 2021)
|
|
1025
1116
|
|
|
1026
|
-
#### ⚠️ Pushed to `
|
|
1117
|
+
#### ⚠️ Pushed to `main`
|
|
1027
1118
|
|
|
1028
1119
|
- Create pull_request_template.md ([@damassi](https://github.com/damassi))
|
|
1029
1120
|
|
|
@@ -1612,7 +1703,7 @@
|
|
|
1612
1703
|
|
|
1613
1704
|
# v1.33.5 (Wed Sep 02 2020)
|
|
1614
1705
|
|
|
1615
|
-
#### ⚠️ Pushed to `
|
|
1706
|
+
#### ⚠️ Pushed to `main`
|
|
1616
1707
|
|
|
1617
1708
|
- Add recommendedArtistsRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1618
1709
|
|
|
@@ -1624,7 +1715,7 @@
|
|
|
1624
1715
|
|
|
1625
1716
|
# v1.33.4 (Mon Aug 31 2020)
|
|
1626
1717
|
|
|
1627
|
-
#### ⚠️ Pushed to `
|
|
1718
|
+
#### ⚠️ Pushed to `main`
|
|
1628
1719
|
|
|
1629
1720
|
- Add fairRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1630
1721
|
|
|
@@ -1636,7 +1727,7 @@
|
|
|
1636
1727
|
|
|
1637
1728
|
# v1.33.3 (Thu Aug 27 2020)
|
|
1638
1729
|
|
|
1639
|
-
#### ⚠️ Pushed to `
|
|
1730
|
+
#### ⚠️ Pushed to `main`
|
|
1640
1731
|
|
|
1641
1732
|
- Add topWorksRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1642
1733
|
|
|
@@ -1660,7 +1751,7 @@
|
|
|
1660
1751
|
|
|
1661
1752
|
# v1.33.1 (Wed Aug 26 2020)
|
|
1662
1753
|
|
|
1663
|
-
#### ⚠️ Pushed to `
|
|
1754
|
+
#### ⚠️ Pushed to `main`
|
|
1664
1755
|
|
|
1665
1756
|
- Add artistSeriesRail to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1666
1757
|
|
|
@@ -1696,7 +1787,7 @@
|
|
|
1696
1787
|
|
|
1697
1788
|
# v1.31.1 (Mon Aug 24 2020)
|
|
1698
1789
|
|
|
1699
|
-
#### ⚠️ Pushed to `
|
|
1790
|
+
#### ⚠️ Pushed to `main`
|
|
1700
1791
|
|
|
1701
1792
|
- add featuredArtists to AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1702
1793
|
|
|
@@ -1712,9 +1803,9 @@
|
|
|
1712
1803
|
|
|
1713
1804
|
- Use auth context for follow [#95](https://github.com/artsy/cohesion/pull/95) ([@eessex](https://github.com/eessex))
|
|
1714
1805
|
|
|
1715
|
-
#### ⚠️ Pushed to `
|
|
1806
|
+
#### ⚠️ Pushed to `main`
|
|
1716
1807
|
|
|
1717
|
-
- Merge branch '
|
|
1808
|
+
- Merge branch 'main' of https://github.com/artsy/cohesion ([@eessex](https://github.com/eessex))
|
|
1718
1809
|
- include popularArtistsRail in AuthContextModule ([@eessex](https://github.com/eessex))
|
|
1719
1810
|
|
|
1720
1811
|
#### Authors: 1
|
|
@@ -2047,7 +2138,7 @@
|
|
|
2047
2138
|
|
|
2048
2139
|
# v1.6.2 (Thu Jun 11 2020)
|
|
2049
2140
|
|
|
2050
|
-
#### ⚠️ Pushed to `
|
|
2141
|
+
#### ⚠️ Pushed to `main`
|
|
2051
2142
|
|
|
2052
2143
|
- casing hotfix ([@eessex](https://github.com/eessex))
|
|
2053
2144
|
|
|
@@ -2282,7 +2373,7 @@
|
|
|
2282
2373
|
|
|
2283
2374
|
# v0.2.7 (Thu Apr 23 2020)
|
|
2284
2375
|
|
|
2285
|
-
#### ⚠️ Pushed to `
|
|
2376
|
+
#### ⚠️ Pushed to `main`
|
|
2286
2377
|
|
|
2287
2378
|
- Add docs URL to Readme ([@eessex](https://github.com/eessex))
|
|
2288
2379
|
|
|
@@ -2315,12 +2406,12 @@
|
|
|
2315
2406
|
|
|
2316
2407
|
# v0.2.5 (Wed Apr 22 2020)
|
|
2317
2408
|
|
|
2318
|
-
#### ⚠️ Pushed to `
|
|
2409
|
+
#### ⚠️ Pushed to `main`
|
|
2319
2410
|
|
|
2320
2411
|
- only run tests from /src directory ([@eessex](https://github.com/eessex))
|
|
2321
2412
|
- Fixes tests ([@abhitip](https://github.com/abhitip))
|
|
2322
2413
|
- Event helpers match updated schema ([@abhitip](https://github.com/abhitip))
|
|
2323
|
-
- Merge branch '
|
|
2414
|
+
- Merge branch 'main' of github.com:artsy/cohesion into reset-your-password ([@abhitip](https://github.com/abhitip))
|
|
2324
2415
|
- Enriches events with properties carried over from authImpression ([@abhitip](https://github.com/abhitip))
|
|
2325
2416
|
- alphabetizes properties ([@abhitip](https://github.com/abhitip))
|
|
2326
2417
|
- Adds resetYourPassword ([@abhitip](https://github.com/abhitip))
|
|
@@ -2334,7 +2425,7 @@
|
|
|
2334
2425
|
|
|
2335
2426
|
# v0.2.4 (Wed Apr 22 2020)
|
|
2336
2427
|
|
|
2337
|
-
#### ⚠️ Pushed to `
|
|
2428
|
+
#### ⚠️ Pushed to `main`
|
|
2338
2429
|
|
|
2339
2430
|
- fix example comment formatting ([@eessex](https://github.com/eessex))
|
|
2340
2431
|
|
|
@@ -2453,4 +2544,4 @@
|
|
|
2453
2544
|
#### Authors: 2
|
|
2454
2545
|
|
|
2455
2546
|
- Eve Essex ([@eessex](https://github.com/eessex))
|
|
2456
|
-
- WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
|
|
2547
|
+
- 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
|
|
|
@@ -28,18 +28,6 @@ Object.keys(_Share).forEach(function (key) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
var _ClickedAppDownload = require("./Click/ClickedAppDownload");
|
|
32
|
-
|
|
33
|
-
Object.keys(_ClickedAppDownload).forEach(function (key) {
|
|
34
|
-
if (key === "default" || key === "__esModule") return;
|
|
35
|
-
Object.defineProperty(exports, key, {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function get() {
|
|
38
|
-
return _ClickedAppDownload[key];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
|
|
43
31
|
var _ClickedArtistSeriesGroup = require("./Click/ClickedArtistSeriesGroup");
|
|
44
32
|
|
|
45
33
|
Object.keys(_ClickedArtistSeriesGroup).forEach(function (key) {
|
|
@@ -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 = {}));
|
|
@@ -88,6 +88,7 @@ export declare enum ContextModule {
|
|
|
88
88
|
moreFromThisSeries = "moreFromThisSeries",
|
|
89
89
|
moreSeriesByThisArtist = "moreSeriesByThisArtist",
|
|
90
90
|
myCollectionArtwork = "myCollectionArtwork",
|
|
91
|
+
myCollectionAddArtworkAddArtist = "myCollectionAddArtworkAddArtist",
|
|
91
92
|
myCollectionHome = "myCollectionHome",
|
|
92
93
|
newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
|
|
93
94
|
newWorksForYouRail = "newWorksForYouRail",
|
|
@@ -158,4 +159,4 @@ export declare enum ContextModule {
|
|
|
158
159
|
/**
|
|
159
160
|
* Limited ContextModules available for web authentication events
|
|
160
161
|
*/
|
|
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;
|
|
162
|
+
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;
|
|
@@ -102,6 +102,7 @@ exports.ContextModule = ContextModule;
|
|
|
102
102
|
ContextModule["moreFromThisSeries"] = "moreFromThisSeries";
|
|
103
103
|
ContextModule["moreSeriesByThisArtist"] = "moreSeriesByThisArtist";
|
|
104
104
|
ContextModule["myCollectionArtwork"] = "myCollectionArtwork";
|
|
105
|
+
ContextModule["myCollectionAddArtworkAddArtist"] = "myCollectionAddArtworkAddArtist";
|
|
105
106
|
ContextModule["myCollectionHome"] = "myCollectionHome";
|
|
106
107
|
ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
|
|
107
108
|
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.27.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"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.clickedAppDownload = void 0;
|
|
7
|
-
|
|
8
|
-
var _Schema = require("../../Schema");
|
|
9
|
-
|
|
10
|
-
var clickedAppDownload = function clickedAppDownload(props) {
|
|
11
|
-
return {
|
|
12
|
-
action: _Schema.ActionType.clickedAppDownload,
|
|
13
|
-
context_module: props.context_module,
|
|
14
|
-
context_page_owner_id: props.context_page_owner_id,
|
|
15
|
-
context_page_owner_slug: props.context_page_owner_slug,
|
|
16
|
-
context_page_owner_type: props.context_page_owner_type,
|
|
17
|
-
destination_path: props.destination_path,
|
|
18
|
-
subject: props.subject
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
exports.clickedAppDownload = clickedAppDownload;
|