@tmdb-graphql-api/resolvers 0.0.20 → 0.0.21

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tmdb-graphql-api/resolvers",
3
3
  "description": "The TMDB GraphQL resolvers module.",
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/themoviedb-graphql-api",
package/src/main.ts CHANGED
@@ -137,6 +137,14 @@ export const resolvers: Record<string, Record<string, string | number | FieldRes
137
137
  videos: resolveMovieVideos,
138
138
  watchProviders: resolveMovieWatchProviders,
139
139
  },
140
+ MovieReleaseType: {
141
+ DIGITAL: 4,
142
+ PHYSICAL: 5,
143
+ PREMIER: 1,
144
+ THEATRICAL: 3,
145
+ THEATRICAL_LIMITED: 2,
146
+ TV: 6,
147
+ },
140
148
  MovieStatus: {
141
149
  CANCELED: 'Canceled',
142
150
  IN_PRODUCTION: 'In Production',
@@ -145,14 +153,6 @@ export const resolvers: Record<string, Record<string, string | number | FieldRes
145
153
  RELEASED: 'Released',
146
154
  RUMORED: 'Rumored',
147
155
  },
148
- MoviesReleaseType: {
149
- DIGITAL: 4,
150
- PHYSICAL: 5,
151
- PREMIER: 1,
152
- THEATRICAL: 3,
153
- THEATRICAL_LIMITED: 2,
154
- TV: 6,
155
- },
156
156
  Network: {
157
157
  ...makeFallbackFieldResolvers('Network', resolveNetwork),
158
158
  alternativeNames: resolveNetworkAlternativeNames,