@streamscloud/streams-analytics-collector 1.0.0 → 1.0.3

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/types.js CHANGED
@@ -1,222 +1 @@
1
- var AdType;
2
- (function (AdType) {
3
- AdType["BannerResponsive"] = "BANNER_RESPONSIVE";
4
- AdType["MediaDialogPromotion"] = "MEDIA_DIALOG_PROMOTION";
5
- AdType["Story"] = "STORY";
6
- })(AdType || (AdType = {}));
7
- var AdPricingPlan;
8
- (function (AdPricingPlan) {
9
- AdPricingPlan["Free"] = "FREE";
10
- AdPricingPlan["Paid"] = "PAID";
11
- })(AdPricingPlan || (AdPricingPlan = {}));
12
- var AdStatus;
13
- (function (AdStatus) {
14
- AdStatus["Archived"] = "ARCHIVED";
15
- AdStatus["Draft"] = "DRAFT";
16
- AdStatus["Published"] = "PUBLISHED";
17
- })(AdStatus || (AdStatus = {}));
18
- var SiteAdCampaignsOrderBy;
19
- (function (SiteAdCampaignsOrderBy) {
20
- SiteAdCampaignsOrderBy["Created"] = "CREATED";
21
- SiteAdCampaignsOrderBy["Modified"] = "MODIFIED";
22
- SiteAdCampaignsOrderBy["Name"] = "NAME";
23
- })(SiteAdCampaignsOrderBy || (SiteAdCampaignsOrderBy = {}));
24
- var ArticleFieldType;
25
- (function (ArticleFieldType) {
26
- ArticleFieldType["Byline"] = "BYLINE";
27
- ArticleFieldType["Image"] = "IMAGE";
28
- ArticleFieldType["Media"] = "MEDIA";
29
- ArticleFieldType["MediaGallery"] = "MEDIA_GALLERY";
30
- ArticleFieldType["RichText"] = "RICH_TEXT";
31
- ArticleFieldType["Text"] = "TEXT";
32
- ArticleFieldType["Video"] = "VIDEO";
33
- })(ArticleFieldType || (ArticleFieldType = {}));
34
- var ArticleLayoutType;
35
- (function (ArticleLayoutType) {
36
- ArticleLayoutType["Vertical"] = "VERTICAL";
37
- })(ArticleLayoutType || (ArticleLayoutType = {}));
38
- var Currency;
39
- (function (Currency) {
40
- Currency["Eur"] = "EUR";
41
- Currency["Nok"] = "NOK";
42
- Currency["Usd"] = "USD";
43
- })(Currency || (Currency = {}));
44
- var DisplayVariant;
45
- (function (DisplayVariant) {
46
- DisplayVariant["Variant1"] = "VARIANT1";
47
- })(DisplayVariant || (DisplayVariant = {}));
48
- var GalleryFieldMode;
49
- (function (GalleryFieldMode) {
50
- GalleryFieldMode["Gallery"] = "GALLERY";
51
- GalleryFieldMode["Slider"] = "SLIDER";
52
- })(GalleryFieldMode || (GalleryFieldMode = {}));
53
- var ImageScale;
54
- (function (ImageScale) {
55
- ImageScale["Big"] = "BIG";
56
- ImageScale["Medium"] = "MEDIUM";
57
- ImageScale["OriginalEncoded"] = "ORIGINAL_ENCODED";
58
- ImageScale["Small"] = "SMALL";
59
- })(ImageScale || (ImageScale = {}));
60
- var LayoutMode;
61
- (function (LayoutMode) {
62
- LayoutMode["Horizontal"] = "HORIZONTAL";
63
- LayoutMode["Standard"] = "STANDARD";
64
- })(LayoutMode || (LayoutMode = {}));
65
- var MediaFormat;
66
- (function (MediaFormat) {
67
- MediaFormat["W4H3"] = "W4H3";
68
- MediaFormat["W16H9"] = "W16H9";
69
- })(MediaFormat || (MediaFormat = {}));
70
- var MediaType;
71
- (function (MediaType) {
72
- MediaType["Audio"] = "AUDIO";
73
- MediaType["Image"] = "IMAGE";
74
- MediaType["ShortVideo"] = "SHORT_VIDEO";
75
- MediaType["Video"] = "VIDEO";
76
- })(MediaType || (MediaType = {}));
77
- var MomentLifetime;
78
- (function (MomentLifetime) {
79
- MomentLifetime["Day"] = "DAY";
80
- MomentLifetime["Week"] = "WEEK";
81
- })(MomentLifetime || (MomentLifetime = {}));
82
- var PostCategory;
83
- (function (PostCategory) {
84
- PostCategory["Education"] = "EDUCATION";
85
- PostCategory["Entertainment"] = "ENTERTAINMENT";
86
- PostCategory["Events"] = "EVENTS";
87
- PostCategory["News"] = "NEWS";
88
- PostCategory["Shopping"] = "SHOPPING";
89
- PostCategory["Sports"] = "SPORTS";
90
- })(PostCategory || (PostCategory = {}));
91
- var PostSourceType;
92
- (function (PostSourceType) {
93
- PostSourceType["Channel"] = "CHANNEL";
94
- PostSourceType["Group"] = "GROUP";
95
- PostSourceType["MediaPage"] = "MEDIA_PAGE";
96
- PostSourceType["Organization"] = "ORGANIZATION";
97
- PostSourceType["UserProfile"] = "USER_PROFILE";
98
- })(PostSourceType || (PostSourceType = {}));
99
- var PostType;
100
- (function (PostType) {
101
- PostType["Article"] = "ARTICLE";
102
- PostType["Audio"] = "AUDIO";
103
- PostType["Event"] = "EVENT";
104
- PostType["Link"] = "LINK";
105
- PostType["Media"] = "MEDIA";
106
- PostType["Moment"] = "MOMENT";
107
- PostType["ShortVideo"] = "SHORT_VIDEO";
108
- PostType["Text"] = "TEXT";
109
- PostType["Video"] = "VIDEO";
110
- })(PostType || (PostType = {}));
111
- var PostedAs;
112
- (function (PostedAs) {
113
- PostedAs["AuthorProfile"] = "AUTHOR_PROFILE";
114
- PostedAs["OwnerProfile"] = "OWNER_PROFILE";
115
- })(PostedAs || (PostedAs = {}));
116
- var PricingMeasureUnit;
117
- (function (PricingMeasureUnit) {
118
- PricingMeasureUnit["Other"] = "OTHER";
119
- PricingMeasureUnit["PerBag"] = "PER_BAG";
120
- PricingMeasureUnit["PerBox"] = "PER_BOX";
121
- PricingMeasureUnit["PerBucket"] = "PER_BUCKET";
122
- PricingMeasureUnit["PerCentiliter"] = "PER_CENTILITER";
123
- PricingMeasureUnit["PerCentimeter"] = "PER_CENTIMETER";
124
- PricingMeasureUnit["PerCubicMeter"] = "PER_CUBIC_METER";
125
- PricingMeasureUnit["PerFluidOunce"] = "PER_FLUID_OUNCE";
126
- PricingMeasureUnit["PerFoot"] = "PER_FOOT";
127
- PricingMeasureUnit["PerGallon"] = "PER_GALLON";
128
- PricingMeasureUnit["PerGram"] = "PER_GRAM";
129
- PricingMeasureUnit["PerInch"] = "PER_INCH";
130
- PricingMeasureUnit["PerKilogram"] = "PER_KILOGRAM";
131
- PricingMeasureUnit["PerLiter"] = "PER_LITER";
132
- PricingMeasureUnit["PerMeter"] = "PER_METER";
133
- PricingMeasureUnit["PerMilligram"] = "PER_MILLIGRAM";
134
- PricingMeasureUnit["PerMilliliter"] = "PER_MILLILITER";
135
- PricingMeasureUnit["PerOunce"] = "PER_OUNCE";
136
- PricingMeasureUnit["PerPackage"] = "PER_PACKAGE";
137
- PricingMeasureUnit["PerPair"] = "PER_PAIR";
138
- PricingMeasureUnit["PerPint"] = "PER_PINT";
139
- PricingMeasureUnit["PerPound"] = "PER_POUND";
140
- PricingMeasureUnit["PerQuart"] = "PER_QUART";
141
- PricingMeasureUnit["PerRoll"] = "PER_ROLL";
142
- PricingMeasureUnit["PerRunningMeter"] = "PER_RUNNING_METER";
143
- PricingMeasureUnit["PerSet"] = "PER_SET";
144
- PricingMeasureUnit["PerSquareFoot"] = "PER_SQUARE_FOOT";
145
- PricingMeasureUnit["PerSquareMeter"] = "PER_SQUARE_METER";
146
- PricingMeasureUnit["PerTube"] = "PER_TUBE";
147
- PricingMeasureUnit["PerUnit"] = "PER_UNIT";
148
- PricingMeasureUnit["PerYard"] = "PER_YARD";
149
- })(PricingMeasureUnit || (PricingMeasureUnit = {}));
150
- var ProductAnnotationPosition;
151
- (function (ProductAnnotationPosition) {
152
- ProductAnnotationPosition["BottomLeft"] = "BOTTOM_LEFT";
153
- ProductAnnotationPosition["BottomRight"] = "BOTTOM_RIGHT";
154
- ProductAnnotationPosition["TopLeft"] = "TOP_LEFT";
155
- ProductAnnotationPosition["TopRight"] = "TOP_RIGHT";
156
- })(ProductAnnotationPosition || (ProductAnnotationPosition = {}));
157
- var ProductAnnotationType;
158
- (function (ProductAnnotationType) {
159
- ProductAnnotationType["Svg"] = "SVG";
160
- })(ProductAnnotationType || (ProductAnnotationType = {}));
161
- var ProductAvailability;
162
- (function (ProductAvailability) {
163
- ProductAvailability["Backorder"] = "BACKORDER";
164
- ProductAvailability["InStock"] = "IN_STOCK";
165
- ProductAvailability["OutOfStock"] = "OUT_OF_STOCK";
166
- ProductAvailability["Preorder"] = "PREORDER";
167
- })(ProductAvailability || (ProductAvailability = {}));
168
- var ProductStatus;
169
- (function (ProductStatus) {
170
- ProductStatus["Archived"] = "ARCHIVED";
171
- ProductStatus["Draft"] = "DRAFT";
172
- ProductStatus["Published"] = "PUBLISHED";
173
- })(ProductStatus || (ProductStatus = {}));
174
- var ProfileType;
175
- (function (ProfileType) {
176
- ProfileType["Channel"] = "CHANNEL";
177
- ProfileType["Group"] = "GROUP";
178
- ProfileType["Organization"] = "ORGANIZATION";
179
- ProfileType["User"] = "USER";
180
- })(ProfileType || (ProfileType = {}));
181
- var PublishTargetType;
182
- (function (PublishTargetType) {
183
- PublishTargetType["Channel"] = "CHANNEL";
184
- PublishTargetType["Group"] = "GROUP";
185
- PublishTargetType["MediaPage"] = "MEDIA_PAGE";
186
- PublishTargetType["User"] = "USER";
187
- })(PublishTargetType || (PublishTargetType = {}));
188
- var ReactableType;
189
- (function (ReactableType) {
190
- ReactableType["ChatMessage"] = "CHAT_MESSAGE";
191
- ReactableType["Comment"] = "COMMENT";
192
- ReactableType["CommunityMessage"] = "COMMUNITY_MESSAGE";
193
- ReactableType["Post"] = "POST";
194
- })(ReactableType || (ReactableType = {}));
195
- var SitePostsOrderBy;
196
- (function (SitePostsOrderBy) {
197
- SitePostsOrderBy["Published"] = "PUBLISHED";
198
- })(SitePostsOrderBy || (SitePostsOrderBy = {}));
199
- var Status;
200
- (function (Status) {
201
- Status["Archived"] = "ARCHIVED";
202
- Status["Draft"] = "DRAFT";
203
- Status["Published"] = "PUBLISHED";
204
- Status["Scheduled"] = "SCHEDULED";
205
- })(Status || (Status = {}));
206
- var TextFieldMode;
207
- (function (TextFieldMode) {
208
- TextFieldMode["Multiline"] = "MULTILINE";
209
- TextFieldMode["SingleLine"] = "SINGLE_LINE";
210
- })(TextFieldMode || (TextFieldMode = {}));
211
- var TextFieldWeight;
212
- (function (TextFieldWeight) {
213
- TextFieldWeight["Bold"] = "BOLD";
214
- TextFieldWeight["Normal"] = "NORMAL";
215
- TextFieldWeight["SemiBold"] = "SEMI_BOLD";
216
- })(TextFieldWeight || (TextFieldWeight = {}));
217
- var SiteContentListsOrderBy;
218
- (function (SiteContentListsOrderBy) {
219
- SiteContentListsOrderBy["Name"] = "NAME";
220
- })(SiteContentListsOrderBy || (SiteContentListsOrderBy = {}));
221
1
 
222
- export { AdPricingPlan, AdStatus, AdType, ArticleFieldType, ArticleLayoutType, Currency, DisplayVariant, GalleryFieldMode, ImageScale, LayoutMode, MediaFormat, MediaType, MomentLifetime, PostCategory, PostSourceType, PostType, PostedAs, PricingMeasureUnit, ProductAnnotationPosition, ProductAnnotationType, ProductAvailability, ProductStatus, ProfileType, PublishTargetType, ReactableType, SiteAdCampaignsOrderBy, SiteContentListsOrderBy, SitePostsOrderBy, Status, TextFieldMode, TextFieldWeight };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/streams-analytics-collector",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -11,6 +11,10 @@
11
11
  "types": "./dist/index.d.ts",
12
12
  "svelte": "./dist/index.js"
13
13
  },
14
+ "./analytics": {
15
+ "import": "./dist/analytics/index.js",
16
+ "types": "./dist/analytics/index.d.ts"
17
+ },
14
18
  "./data-loaders": {
15
19
  "import": "./dist/data-loaders/index.js",
16
20
  "types": "./dist/data-loaders/index.d.ts"
@@ -50,5 +54,8 @@
50
54
  "rollup-plugin-string": "^3.0.0",
51
55
  "rollup-plugin-typescript2": "^0.36.0",
52
56
  "typescript": "^5.8.2"
57
+ },
58
+ "dependencies": {
59
+ "@urql/core": "^5.1.1"
53
60
  }
54
61
  }