graphile-bucket-provisioner-plugin 1.9.1 → 1.9.3
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/esm/index.d.ts +1 -1
- package/esm/plugin.js +3 -3
- package/esm/types.d.ts +2 -2
- package/index.d.ts +1 -1
- package/package.json +5 -5
- package/plugin.js +3 -3
- package/types.d.ts +2 -2
package/esm/index.d.ts
CHANGED
|
@@ -39,4 +39,4 @@
|
|
|
39
39
|
*/
|
|
40
40
|
export { BucketProvisionerPlugin, createBucketProvisionerPlugin } from './plugin';
|
|
41
41
|
export { BucketProvisionerPreset } from './preset';
|
|
42
|
-
export type { BucketProvisionerPluginOptions, ConnectionConfigOrGetter,
|
|
42
|
+
export type { BucketAccessType, BucketNameResolver, BucketProvisionerPluginOptions, ConnectionConfigOrGetter, ProvisionBucketInput, ProvisionBucketPayload, ProvisionResult, StorageConnectionConfig, StorageProvider, } from './types';
|
package/esm/plugin.js
CHANGED
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
* generated buckets table via a smart comment:
|
|
31
31
|
* COMMENT ON TABLE buckets IS E'@storageBuckets\nStorage buckets table';
|
|
32
32
|
*/
|
|
33
|
-
import {
|
|
34
|
-
import { extendSchema, gql } from 'graphile-utils';
|
|
33
|
+
import { BucketProvisioner, } from '@constructive-io/bucket-provisioner';
|
|
35
34
|
import { Logger } from '@pgpmjs/logger';
|
|
36
35
|
import { QuoteUtils } from '@pgsql/quotes';
|
|
37
|
-
import {
|
|
36
|
+
import { context as grafastContext, lambda, object } from 'grafast';
|
|
37
|
+
import { extendSchema, gql } from 'graphile-utils';
|
|
38
38
|
const log = new Logger('graphile-bucket-provisioner:plugin');
|
|
39
39
|
// --- Storage module queries ---
|
|
40
40
|
/**
|
package/esm/types.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* types used by the Graphile plugin to auto-provision S3 buckets when
|
|
6
6
|
* bucket rows are created via GraphQL mutations.
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
9
|
-
export type {
|
|
8
|
+
import type { BucketAccessType, ProvisionResult, StorageConnectionConfig, StorageProvider } from '@constructive-io/bucket-provisioner';
|
|
9
|
+
export type { BucketAccessType, ProvisionResult, StorageConnectionConfig, StorageProvider };
|
|
10
10
|
/**
|
|
11
11
|
* S3 connection configuration or a lazy getter that returns it on first use.
|
|
12
12
|
*
|
package/index.d.ts
CHANGED
|
@@ -39,4 +39,4 @@
|
|
|
39
39
|
*/
|
|
40
40
|
export { BucketProvisionerPlugin, createBucketProvisionerPlugin } from './plugin';
|
|
41
41
|
export { BucketProvisionerPreset } from './preset';
|
|
42
|
-
export type { BucketProvisionerPluginOptions, ConnectionConfigOrGetter,
|
|
42
|
+
export type { BucketAccessType, BucketNameResolver, BucketProvisionerPluginOptions, ConnectionConfigOrGetter, ProvisionBucketInput, ProvisionBucketPayload, ProvisionResult, StorageConnectionConfig, StorageProvider, } from './types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-bucket-provisioner-plugin",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"description": "Bucket provisioning plugin for PostGraphile v5 — auto-provisions S3 buckets on bucket table mutations",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/constructive",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"url": "https://github.com/constructive-io/constructive/issues"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@constructive-io/bucket-provisioner": "^0.23.
|
|
44
|
-
"@pgpmjs/logger": "^2.23.
|
|
45
|
-
"@pgsql/quotes": "^18.
|
|
43
|
+
"@constructive-io/bucket-provisioner": "^0.23.3",
|
|
44
|
+
"@pgpmjs/logger": "^2.23.3",
|
|
45
|
+
"@pgsql/quotes": "^18.2.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"grafast": "1.0.2",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"@types/node": "^22.19.11",
|
|
58
58
|
"makage": "^0.3.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "c20b6be96b39bf71c0e2df0f4b51e05deacd006b"
|
|
61
61
|
}
|
package/plugin.js
CHANGED
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
35
|
exports.BucketProvisionerPlugin = void 0;
|
|
36
36
|
exports.createBucketProvisionerPlugin = createBucketProvisionerPlugin;
|
|
37
|
-
const
|
|
38
|
-
const graphile_utils_1 = require("graphile-utils");
|
|
37
|
+
const bucket_provisioner_1 = require("@constructive-io/bucket-provisioner");
|
|
39
38
|
const logger_1 = require("@pgpmjs/logger");
|
|
40
39
|
const quotes_1 = require("@pgsql/quotes");
|
|
41
|
-
const
|
|
40
|
+
const grafast_1 = require("grafast");
|
|
41
|
+
const graphile_utils_1 = require("graphile-utils");
|
|
42
42
|
const log = new logger_1.Logger('graphile-bucket-provisioner:plugin');
|
|
43
43
|
// --- Storage module queries ---
|
|
44
44
|
/**
|
package/types.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* types used by the Graphile plugin to auto-provision S3 buckets when
|
|
6
6
|
* bucket rows are created via GraphQL mutations.
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
9
|
-
export type {
|
|
8
|
+
import type { BucketAccessType, ProvisionResult, StorageConnectionConfig, StorageProvider } from '@constructive-io/bucket-provisioner';
|
|
9
|
+
export type { BucketAccessType, ProvisionResult, StorageConnectionConfig, StorageProvider };
|
|
10
10
|
/**
|
|
11
11
|
* S3 connection configuration or a lazy getter that returns it on first use.
|
|
12
12
|
*
|