ATL-58: Archive sketch.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2021-02-01 11:04:42 +01:00
committed by Akos Kitta
parent a8e60698a8
commit b65867d2f4
4 changed files with 86 additions and 1 deletions

View File

@@ -58,6 +58,11 @@ export interface SketchesService {
*/
recentlyOpenedSketches(): Promise<Sketch[]>;
/**
* Archives the sketch, resolves to the archive URI.
*/
archive(sketch: Sketch, destinationUri: string): Promise<string>;
}
export interface Sketch {