@tsclass/tsclass
Version:
Provides TypeScript definitions for various business, financial, networking, content, and other common classes.
23 lines (21 loc) • 476 B
text/typescript
export interface IStorageDescriptor {
type?: 's3' | 'smartstorage';
endpoint: string;
port?: number | string;
useSsl?: boolean;
accessKey: string;
accessSecret: string;
/**
* may be used to preselect a certain bucket
*/
bucketName?: string;
/**
* may be used to preselect a certain directory
*/
directoryPath?: string;
region?: string;
}
/**
* @deprecated Use IStorageDescriptor instead.
*/
export type IS3Descriptor = IStorageDescriptor;