@constructive-io/graphql-explorer 2.10.35 → 2.11.0

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.
@@ -10,7 +10,8 @@ export class UploadHandler {
10
10
  awsRegion: options.awsRegion,
11
11
  awsSecretKey: options.awsSecretKey,
12
12
  awsAccessKey: options.awsAccessKey,
13
- minioEndpoint: options.minioEndpoint
13
+ minioEndpoint: options.minioEndpoint,
14
+ provider: options.provider
14
15
  });
15
16
  }
16
17
  async handleUpload(upload, _args, _context, info) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-explorer",
3
- "version": "2.10.35",
3
+ "version": "2.11.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive GraphQL Explorer",
6
6
  "main": "index.js",
@@ -34,20 +34,20 @@
34
34
  "test:watch": "jest --watch"
35
35
  },
36
36
  "dependencies": {
37
- "@constructive-io/graphql-env": "^2.8.11",
38
- "@constructive-io/graphql-types": "^2.12.8",
39
- "@constructive-io/s3-streamer": "^2.8.13",
37
+ "@constructive-io/graphql-env": "^2.8.12",
38
+ "@constructive-io/graphql-types": "^2.12.9",
39
+ "@constructive-io/s3-streamer": "^2.9.0",
40
40
  "@constructive-io/upload-names": "^2.3.5",
41
41
  "@constructive-io/url-domains": "^2.3.6",
42
- "@pgpmjs/server-utils": "^2.8.11",
43
- "@pgpmjs/types": "^2.12.8",
42
+ "@pgpmjs/server-utils": "^2.8.12",
43
+ "@pgpmjs/types": "^2.13.0",
44
44
  "express": "^5.2.1",
45
45
  "graphile-build": "^4.14.1",
46
- "graphile-cache": "^1.6.11",
47
- "graphile-settings": "^2.9.35",
46
+ "graphile-cache": "^1.6.12",
47
+ "graphile-settings": "^2.10.0",
48
48
  "graphql": "15.10.1",
49
49
  "graphql-upload": "^13.0.0",
50
- "pg-cache": "^1.6.11",
50
+ "pg-cache": "^1.6.12",
51
51
  "pg-env": "^1.2.4",
52
52
  "postgraphile": "^4.14.1"
53
53
  },
@@ -65,5 +65,5 @@
65
65
  "constructive",
66
66
  "interface"
67
67
  ],
68
- "gitHead": "324881a46912b7d15a76f864aada03ce926f9176"
68
+ "gitHead": "f04912cac2edf6435c6add5a6ec65a11d6b79df2"
69
69
  }
@@ -1,10 +1,12 @@
1
1
  import type { GraphQLResolveInfo } from 'graphql';
2
+ import type { BucketProvider } from '@pgpmjs/types';
2
3
  interface UploaderOptions {
3
4
  bucketName: string;
4
5
  awsRegion: string;
5
6
  awsSecretKey: string;
6
7
  awsAccessKey: string;
7
8
  minioEndpoint?: string;
9
+ provider?: BucketProvider;
8
10
  }
9
11
  interface Upload {
10
12
  createReadStream: () => NodeJS.ReadableStream;
@@ -16,7 +16,8 @@ class UploadHandler {
16
16
  awsRegion: options.awsRegion,
17
17
  awsSecretKey: options.awsSecretKey,
18
18
  awsAccessKey: options.awsAccessKey,
19
- minioEndpoint: options.minioEndpoint
19
+ minioEndpoint: options.minioEndpoint,
20
+ provider: options.provider
20
21
  });
21
22
  }
22
23
  async handleUpload(upload, _args, _context, info) {