UNPKG

@seshuk/payload-storage-bunny

Version:
10 lines (9 loc) 392 B
import type { StaticHandler } from '@payloadcms/plugin-cloud-storage/types'; import type { CollectionConfig } from 'payload'; import type { BunnyAdapterOptions } from './types.js'; type Args = { collection: CollectionConfig; prefix?: string; } & BunnyAdapterOptions; export declare const getStaticHandler: ({ collection, prefix, storage, stream, }: Args) => StaticHandler; export {};