mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 16:09:18 +00:00
chore: type
This commit is contained in:
parent
c79d535cbb
commit
ca71079298
@ -1,4 +1,5 @@
|
|||||||
import { IModel, IRepository } from './types';
|
import { IModel, IRepository } from './types';
|
||||||
|
import * as console from 'console';
|
||||||
|
|
||||||
export class Repository implements IRepository {
|
export class Repository implements IRepository {
|
||||||
async create(options) {
|
async create(options) {
|
||||||
@ -12,4 +13,12 @@ export class Repository implements IRepository {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
async destroy(options) {}
|
async destroy(options) {}
|
||||||
|
|
||||||
|
count(options?: any): Promise<Number> {
|
||||||
|
return Promise.resolve(undefined);
|
||||||
|
}
|
||||||
|
|
||||||
|
findAndCount(options?: any): Promise<[IModel[], Number]> {
|
||||||
|
return Promise.resolve([[], undefined]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user