@contember/engine-vimeo-plugin 1.3.4 → 1.3.5
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/src/VimeoSchemaContributor.d.ts +2 -2
- package/dist/src/VimeoSchemaContributor.d.ts.map +1 -1
- package/dist/src/VimeoSchemaContributor.js +2 -2
- package/dist/src/VimeoSchemaContributor.js.map +1 -1
- package/dist/src/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/VimeoSchemaContributor.ts +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/engine-vimeo-plugin",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.5",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"typings": "dist/src/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"test": "echo 'No tests'"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@contember/engine-plugins": "1.3.
|
|
16
|
-
"@contember/typesafe": "1.3.
|
|
15
|
+
"@contember/engine-plugins": "1.3.5",
|
|
16
|
+
"@contember/typesafe": "1.3.5",
|
|
17
17
|
"node-fetch": "^2.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
GraphQLList,
|
|
6
6
|
GraphQLNonNull,
|
|
7
7
|
GraphQLObjectType,
|
|
8
|
-
|
|
8
|
+
GraphQLSchemaConfig,
|
|
9
9
|
GraphQLString,
|
|
10
10
|
} from 'graphql'
|
|
11
11
|
import { VimeoService, VimeoServiceFactory } from './VimeoService'
|
|
@@ -22,7 +22,7 @@ export class VimeoSchemaContributor implements GraphQLSchemaContributor {
|
|
|
22
22
|
private readonly vimeoServiceFactory: VimeoServiceFactory,
|
|
23
23
|
) {}
|
|
24
24
|
|
|
25
|
-
createSchema(context: GraphQLSchemaContributorContext):
|
|
25
|
+
createSchema(context: GraphQLSchemaContributorContext): GraphQLSchemaConfig | undefined {
|
|
26
26
|
if (!this.vimeoConfig) {
|
|
27
27
|
return undefined
|
|
28
28
|
}
|
|
@@ -41,7 +41,7 @@ export class VimeoSchemaContributor implements GraphQLSchemaContributor {
|
|
|
41
41
|
const mutation = {
|
|
42
42
|
generateVimeoUploadUrl: uploadMutation as GraphQLFieldConfig<any, any, any>,
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return {
|
|
45
45
|
mutation: new GraphQLObjectType({
|
|
46
46
|
name: 'Mutation',
|
|
47
47
|
fields: () => mutation,
|
|
@@ -54,7 +54,7 @@ export class VimeoSchemaContributor implements GraphQLSchemaContributor {
|
|
|
54
54
|
},
|
|
55
55
|
}),
|
|
56
56
|
}),
|
|
57
|
-
}
|
|
57
|
+
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
private createMutation(vimeoService: VimeoService): GraphQLFieldConfig<any, any, any> {
|