@frogbotai/storage-gcs
v0.20.0
Published
Google Cloud Storage adapter for FrogBot.
Readme
@frogbotai/storage-gcs
Google Cloud Storage adapter for FrogBot.
Installation
pnpm add @frogbotai/storage-gcsUsage
import { buildConfig } from 'frogbot';
import { gcsStorage } from '@frogbotai/storage-gcs';
export default buildConfig({
storage: [
gcsStorage({
bucket: process.env.GCS_BUCKET,
options: {
projectId: process.env.GCS_PROJECT_ID,
credentials: JSON.parse(process.env.GCS_CREDENTIALS),
},
collections: {
media: true,
},
}),
],
// ...rest of config
});