@platform/fs.s3.types
Advanced tools
Comparing version 0.2.20 to 0.2.21
@@ -8,3 +8,3 @@ import { Json } from '@platform/types'; | ||
}; | ||
export declare type S3Permissions = 'private' | 'public-read' | 'public-read-write'; | ||
export declare type S3Permission = 'private' | 'public-read'; | ||
export declare type S3StorageClass = 'STANDARD' | 'REDUCED_REDUNDANCY' | 'GLACIER' | 'STANDARD_IA' | 'ONEZONE_IA' | 'INTELLIGENT_TIERING' | 'DEEP_ARCHIVE'; | ||
@@ -87,2 +87,3 @@ export declare type S3 = { | ||
etag: string; | ||
permission: S3Permission; | ||
error?: Error; | ||
@@ -100,3 +101,3 @@ contentType: string; | ||
data: Uint8Array; | ||
acl?: S3Permissions; | ||
acl?: S3Permission; | ||
contentType?: string; | ||
@@ -126,3 +127,3 @@ contentDisposition?: string; | ||
export declare type S3SignedPostOptions = { | ||
acl?: S3Permissions; | ||
acl?: S3Permission; | ||
contentType?: string; | ||
@@ -129,0 +130,0 @@ contentDisposition?: string; |
{ | ||
"name": "@platform/fs.s3.types", | ||
"version": "0.2.20", | ||
"version": "0.2.21", | ||
"description": "Types for the platform AWS/S3 library.", | ||
@@ -11,3 +11,3 @@ "main": "lib/index", | ||
"lint": "ts lint", | ||
"build": "ts build", | ||
"build": "ts build --no-esm", | ||
"prepare": "ts prepare" | ||
@@ -14,0 +14,0 @@ }, |
@@ -10,3 +10,3 @@ import { Json } from '@platform/types'; | ||
export type S3Permissions = 'private' | 'public-read' | 'public-read-write'; | ||
export type S3Permission = 'private' | 'public-read'; | ||
export type S3StorageClass = | ||
@@ -82,2 +82,3 @@ | 'STANDARD' | ||
etag: string; | ||
permission: S3Permission; | ||
error?: Error; | ||
@@ -97,3 +98,3 @@ contentType: string; | ||
data: Uint8Array; | ||
acl?: S3Permissions; | ||
acl?: S3Permission; | ||
contentType?: string; | ||
@@ -122,3 +123,3 @@ contentDisposition?: string; | ||
export type S3SignedPostOptions = { | ||
acl?: S3Permissions; | ||
acl?: S3Permission; | ||
contentType?: string; | ||
@@ -125,0 +126,0 @@ contentDisposition?: string; |
385
11573
10