@k6-contrib/fields-azure
TypeScript icon, indicating that this package has built-in type declarations

6.1.1 • Public • Published

Azure Storage Filed

import { AzureStorageConfig, azureStorageFile, azureStorageImage } from '@k6-contrib/fields-azure';
import 'dotenv/config';

const config: AzureStorageConfig = {
  azureStorageOptions: {
    account: process.env.AZURE_STORAGE_ACCOUNT_NAME,
    accessKey: process.env.AZURE_STORAGE_ACCESS_KEY,
    container: process.env.AZURE_STORAGE_CONTAINER,
  },
};

const Post = list({
  fields: {
    title: text({ validation: { isRequired: true } }),
    content: text(),
    image: azureStorageImage({ config }),
    file: azureStorageFile({ config }),
  },
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.1-dev00dev
6.1.18latest

Version History

VersionDownloads (Last 7 Days)Published
6.1.18
6.1.00
6.0.075
5.0.00
4.0.00
3.0.10
3.0.00
2.0.00
1.1.00
1.0.10
1.0.00
0.5.00
0.4.10
0.4.00
0.3.00
0.2.00
0.1.1-dev00
0.1.00

Package Sidebar

Install

npm i @k6-contrib/fields-azure

Weekly Downloads

83

Version

6.1.1

License

MIT

Unpacked Size

130 kB

Total Files

31

Last publish

Collaborators

  • gautamsi