2019-09-27 15:41:04 +01:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
import { BucketCursor, BucketPage, BucketsApi } from '@/types/buckets';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Mock for BucketsApi
|
|
|
|
*/
|
|
|
|
export class BucketsMock implements BucketsApi {
|
|
|
|
get(projectId: string, before: Date, cursor: BucketCursor): Promise<BucketPage> {
|
2020-03-18 17:07:29 +00:00
|
|
|
return Promise.resolve(new BucketPage());
|
2019-09-27 15:41:04 +01:00
|
|
|
}
|
|
|
|
}
|