Scaffolder workspace serialization

Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
This commit is contained in:
bnechyporenko
2024-04-30 21:13:35 +02:00
parent e4b50ab39b
commit ee538cb044
2 changed files with 20 additions and 8 deletions
+5 -2
View File
@@ -361,12 +361,15 @@ export interface TaskContext {
| undefined
>;
// (undocumented)
getWorkspace?(options: { taskId: string }): Promise<Buffer | undefined>;
// (undocumented)
getWorkspaceName(): Promise<string>;
// (undocumented)
isDryRun?: boolean;
// (undocumented)
rehydrateWorkspace?(options: {
taskId: string;
targetPath: string;
}): Promise<void>;
// (undocumented)
secrets?: TaskSecrets;
// (undocumented)
serializeWorkspace?(options: { path: string }): Promise<void>;