Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-db into dev
This commit is contained in:
commit
4ea821bb23
|
|
@ -1,6 +1,9 @@
|
||||||
import { BackendRuntimeContext } from 'oak-domain/lib/store/AsyncRowStore';
|
import { AsyncContext } from 'oak-domain/lib/store/AsyncRowStore';
|
||||||
import { EntityDict } from './test-app-domain';
|
import { EntityDict } from './test-app-domain';
|
||||||
export class TestContext extends BackendRuntimeContext<EntityDict> {
|
export class TestContext extends AsyncContext<EntityDict> {
|
||||||
|
protected getSerializedData(): Promise<object> {
|
||||||
|
throw new Error('Method not implemented.');
|
||||||
|
}
|
||||||
initialize(data: any): Promise<void> {
|
initialize(data: any): Promise<void> {
|
||||||
throw new Error('Method not implemented.');
|
throw new Error('Method not implemented.');
|
||||||
}
|
}
|
||||||
|
|
@ -20,7 +23,7 @@ export class TestContext extends BackendRuntimeContext<EntityDict> {
|
||||||
return 'test-root-id';
|
return 'test-root-id';
|
||||||
}
|
}
|
||||||
async toString(): Promise<string> {
|
async toString(): Promise<string> {
|
||||||
throw new Error('Method not implemented.');
|
return '';
|
||||||
}
|
}
|
||||||
allowUserUpdate(): boolean {
|
allowUserUpdate(): boolean {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue