@wistia/bottler-helpers 1.0.5 → 1.0.8

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/README.md CHANGED
@@ -1,13 +1,3 @@
1
1
  # Bottler helpers
2
2
 
3
- ## Bottler Schema
4
-
5
- ### Setup
6
- - Make sure node and yarn is installed
7
- - Run `yarn install`
8
-
9
- ### Generating TS types for GraphQL Schema
10
- ```
11
- yarn run generate:types
12
- ```
13
- This will generate the types in a `/generated` folder.
3
+ ## Bottler Schema
package/package.json CHANGED
@@ -1,25 +1,10 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.0.5",
4
- "types": "generated/graphql.ts",
3
+ "version": "1.0.8",
5
4
  "author": "Wistia",
6
5
  "license": "UNLICENSED",
7
6
  "files": [
8
- "generated",
9
- "graphql.schema.json",
10
7
  "package.json",
11
8
  "schema.graphql"
12
- ],
13
- "devDependencies": {
14
- "@graphql-codegen/add": "^5.0.0",
15
- "@graphql-codegen/cli": "5.0.0",
16
- "@graphql-codegen/introspection": "4.0.0",
17
- "@graphql-codegen/typescript": "4.0.1",
18
- "@graphql-codegen/typescript-resolvers": "^4.0.1",
19
- "graphql": "^16.8.1"
20
- },
21
- "scripts": {
22
- "codegen": "graphql-codegen --config codegen.ts",
23
- "generate:types": "yarn codegen"
24
- }
9
+ ]
25
10
  }
package/schema.graphql CHANGED
@@ -67,6 +67,7 @@ type PlayedTimeDatapointEpisode {
67
67
  type RelativeMediaAggregate {
68
68
  accountKey: String
69
69
  accountName: String
70
+ date: DateTime
70
71
  projectHashedId: String
71
72
  projectName: String
72
73
  mediaGlobalId: String
@@ -171,6 +172,8 @@ type LiveStreamEventAggregate {
171
172
  qaAnswers: Int
172
173
  annotationImpressions: Int
173
174
  annotationClicks: Int
175
+ uniqueAnnotationImpressions: Int
176
+ uniqueAnnotationClicks: Int
174
177
  }
175
178
 
176
179
  union RelativeMediaEventAggregateResult = RelativeAggregateEntries | AggregateError