Skip to content

Commit b877c96

Browse files
Merge pull request #2 from davidbrochart/new-untitled
Add newUntitled
2 parents cbf0b4a + 29e42df commit b877c96

File tree

1 file changed

+4
-0
lines changed
  • packages/my-shared-docprovider/src

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ export class MySharedDrive extends Drive implements ICollaborativeDrive {
111111
return {id: '', last_modified: ''};
112112
}
113113

114+
async newUntitled(options?: Contents.ICreateOptions): Promise<Contents.IModel> {
115+
return await this._app.serviceManager.contents.newUntitled(options);
116+
}
117+
114118
/**
115119
* Save a file.
116120
*

0 commit comments

Comments
 (0)