@apoyo/files-azure
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -1,5 +0,5 @@ | ||
import { DriverContract, DriveFileStats } from '@apoyo/files'; | ||
import { Drive, DriveFileStats } from '@apoyo/files'; | ||
import { CommonOptions, BlobServiceClient, BlockBlobClient, BlobSASSignatureValues, BlobDownloadToBufferOptions, BlobDownloadOptions, BlobExistsOptions, BlockBlobUploadOptions, BlockBlobUploadStreamOptions } from '@azure/storage-blob'; | ||
declare type AzureDriverConfig = CommonOptions & { | ||
declare type AzureDriveConfig = CommonOptions & { | ||
container: string; | ||
@@ -14,3 +14,3 @@ connectionString?: string; | ||
}; | ||
declare class AzureDriver implements DriverContract { | ||
declare class AzureDrive implements Drive { | ||
private _config; | ||
@@ -25,3 +25,3 @@ /** | ||
name: 'azure'; | ||
constructor(_config: AzureDriverConfig); | ||
constructor(_config: AzureDriveConfig); | ||
getBlockBlobClient(location: string): BlockBlobClient; | ||
@@ -87,2 +87,2 @@ generateBlobSASURL(blockBlobClient: BlockBlobClient, options: BlobSASSignatureValues): Promise<string>; | ||
export { AzureDriver, AzureDriverConfig }; | ||
export { AzureDrive, AzureDriveConfig }; |
@@ -22,3 +22,3 @@ var __defProp = Object.defineProperty; | ||
__export(src_exports, { | ||
AzureDriver: () => AzureDriver | ||
AzureDrive: () => AzureDrive | ||
}); | ||
@@ -31,3 +31,3 @@ module.exports = __toCommonJS(src_exports); | ||
var import_storage_blob = require("@azure/storage-blob"); | ||
var AzureDriver = class { | ||
var AzureDrive = class { | ||
constructor(_config) { | ||
@@ -170,3 +170,3 @@ this._config = _config; | ||
0 && (module.exports = { | ||
AzureDriver | ||
AzureDrive | ||
}); |
{ | ||
"name": "@apoyo/files-azure", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "File driver for Azure Storage", | ||
@@ -42,3 +42,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@apoyo/files": "~0.0.2", | ||
"@apoyo/files": "~0.1.0", | ||
"@apoyo/std": "0.0.15", | ||
@@ -54,3 +54,3 @@ "@types/jest": "^26.0.23", | ||
"peerDependencies": { | ||
"@apoyo/files": "~0.0.2", | ||
"@apoyo/files": "~0.1.0", | ||
"@apoyo/std": "0.0.15" | ||
@@ -57,0 +57,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18418