UNPKG

minio

Version:

S3 Compatible Cloud Storage client

17 lines 592 B
import type { ObjectMetaData } from "./type.js"; export declare class PostPolicy { policy: { conditions: (string | number)[][]; expiration?: string; }; formData: Record<string, string>; setExpires(date: Date): void; setKey(objectName: string): void; setKeyStartsWith(prefix: string): void; setBucket(bucketName: string): void; setContentType(type: string): void; setContentTypeStartsWith(prefix: string): void; setContentDisposition(value: string): void; setContentLengthRange(min: number, max: number): void; setUserMetaData(metaData: ObjectMetaData): void; }