UNPKG

graphile-settings

Version:
20 lines (19 loc) 817 B
/** * Bucket provisioner resolver for the Constructive bucket provisioner plugin. * * Reads CDN/S3 configuration from the standard env system * (getEnvOptions -> pgpmDefaults + config files + env vars) and lazily * returns a StorageConnectionConfig on first use. * * Follows the same lazy-init pattern as presigned-url-resolver.ts. */ import type { StorageConnectionConfig } from 'graphile-bucket-provisioner-plugin'; /** * Lazily initialize and return the StorageConnectionConfig for the * bucket provisioner plugin. * * Reads CDN config on first call via getEnvOptions() (which already merges * pgpmDefaults -> config file -> env vars) and caches the result. * Same CDN config source as presigned-url-resolver.ts. */ export declare function getBucketProvisionerConnection(): StorageConnectionConfig;