@wistia/bottler-helpers 1.0.8 → 1.0.11

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,3 +1,3 @@
1
1
  # Bottler helpers
2
2
 
3
- ## Bottler Schema
3
+ ## Types for Bottler Schema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wistia/bottler-helpers",
3
- "version": "1.0.8",
3
+ "version": "1.0.11",
4
4
  "author": "Wistia",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
package/schema.graphql CHANGED
@@ -393,6 +393,12 @@ type AccountDigestStatus {
393
393
  status: String!
394
394
  }
395
395
 
396
+ type ChannelMetrics {
397
+ channelGlobalId: String!
398
+ channelHashedId: String!
399
+ plays: Int
400
+ }
401
+
396
402
  type RootMutationType {
397
403
  exportMedia(contactId: Int!, interval: Interval, searchFilter: SearchFilter, aggregate: ExportAggregate): ExportStatus
398
404
  accountDigest(contactId: Int!, interval: Interval!, overrideEmail: String): AccountDigestStatus
@@ -430,6 +436,8 @@ type Channel {
430
436
 
431
437
  type RootQueryType {
432
438
  channel(channelHashedId: String!, interval: Interval): Channel
439
+ channels(channelGlobalIds: [String]!): [ChannelMetrics!]!
440
+ episodes(episodeGlobalIds: [String]!): [EpisodeMetrics]!
433
441
  media(mediaId: Int!): Media
434
442
  medias(searchFilter: SearchFilter): Medias
435
443
  mediaEvents(interval: Interval, searchFilter: SearchFilter): MediaEvents
@@ -634,6 +642,12 @@ type RelativeMediaEvents {
634
642
  aggregate: RelativeAggregate
635
643
  }
636
644
 
645
+ type EpisodeMetrics {
646
+ episodeGlobalId: String!
647
+ episodeHashedId: String!
648
+ plays: Int!
649
+ }
650
+
637
651
  type RelativeAggregateEntries {
638
652
  entries: [RelativeMediaAggregate]
639
653
  }