Duplication option added

This commit is contained in:
Piotr Pekala
2019-06-17 06:50:26 -07:00
parent da896ac783
commit 67741ca601
10 changed files with 192 additions and 0 deletions

View File

@ -81,6 +81,10 @@ export class MockedNodeService {
reloadAll(server: Server, project: Project) {
return of();
}
duplicate(server: Server, node: Node) {
return of(node);
}
}
export class MockedDrawingService {
@ -91,6 +95,10 @@ export class MockedDrawingService {
return of(this.drawing);
}
duplicate(server: Server, project_id: string, drawing: Drawing) {
return of(drawing);
}
updatePosition(_server: Server, _drawing: Drawing, _x: number, _y: number) {
return of(this.drawing);
}