Skip to content

Commit a405d52

Browse files
committed
Fake checkpoint creation too
1 parent b525164 commit a405d52

File tree

1 file changed

+5
-1
lines changed
  • packages/my-shared-docprovider/src

1 file changed

+5
-1
lines changed

packages/my-shared-docprovider/src/drive.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,11 @@ export class MySharedDrive extends Drive implements ICollaborativeDrive {
103103
}
104104

105105
async listCheckpoints(path: string): Promise<Contents.ICheckpointModel[]> {
106-
return [];
106+
return [{id: "checkpoint", last_modified: "2025-01-30T16:33:19.393756Z"}];
107+
}
108+
109+
async createCheckpoint(path: string): Promise<Contents.ICheckpointModel> {
110+
return {id: "checkpoint", last_modified: "2025-01-30T16:33:19.393756Z"};
107111
}
108112

109113
/**

0 commit comments

Comments
 (0)