Elliot DeNolf
f46ea01df0
feat(storage-azure): expose storage client (#7069)
Expose the storage client for re-use.
```ts
import { getStorageClient } from '@payloadcms/storage-azure'
import { getPayload } from 'payload'
const awaitedConfig = await importConfig('./config.ts')
const payload = await getPayload({ config: awaitedConfig })
// Get internal azure blob storage client
const storageClient = getStorageClient({
connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
containerName: process.env.AZURE_STORAGE_CONTAINER_NAME,
})
```
2024-07-09 10:26:13 -04:00
..
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 10:02:29 -04:00
2024-07-09 10:02:29 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 10:26:13 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00
2024-07-09 09:50:37 -04:00