diff --git a/packages/core/data-source-manager/src/repository.ts b/packages/core/data-source-manager/src/repository.ts index 9578d10744..95593e2651 100644 --- a/packages/core/data-source-manager/src/repository.ts +++ b/packages/core/data-source-manager/src/repository.ts @@ -1,4 +1,5 @@ import { IModel, IRepository } from './types'; +import * as console from 'console'; export class Repository implements IRepository { async create(options) { @@ -12,4 +13,12 @@ export class Repository implements IRepository { return {}; } async destroy(options) {} + + count(options?: any): Promise { + return Promise.resolve(undefined); + } + + findAndCount(options?: any): Promise<[IModel[], Number]> { + return Promise.resolve([[], undefined]); + } }