2018-09-14 16:07:20 +00:00
|
|
|
import * as plugins from './smartbucket.plugins';
|
|
|
|
|
|
|
|
export interface ISmartBucketConfig {
|
2019-10-14 18:55:07 +00:00
|
|
|
provider: 'digitalocean';
|
2018-09-14 16:07:20 +00:00
|
|
|
projectId: string;
|
|
|
|
bucketName: string;
|
2019-07-07 08:48:24 +00:00
|
|
|
}
|
2018-09-14 16:07:20 +00:00
|
|
|
|
|
|
|
export class SmartBucket {
|
2019-10-14 18:55:07 +00:00
|
|
|
public config: ISmartBucketConfig;
|
|
|
|
|
2018-09-14 16:07:20 +00:00
|
|
|
/**
|
|
|
|
* the constructor of SmartBucket
|
|
|
|
*/
|
|
|
|
constructor(configArg: ISmartBucketConfig) {
|
|
|
|
this.config = configArg;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* initializes the Smartbucket
|
|
|
|
*/
|
2019-10-14 18:55:07 +00:00
|
|
|
public async init() {
|
|
|
|
|
2018-09-14 16:07:20 +00:00
|
|
|
}
|
|
|
|
}
|