506582e208
Change-Id: Id56425fe38296250e5814a0f02a554cdd73b2330
14 lines
377 B
TypeScript
14 lines
377 B
TypeScript
// 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> {
|
|
return Promise.resolve(new BucketPage());
|
|
}
|
|
}
|