@ones-editor/editor 1.1.4-bate.33 → 1.1.5-bata.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -120,6 +120,7 @@ export interface UploadResourceResult {
|
|
|
120
120
|
export interface BuildResourceUrlOptions {
|
|
121
121
|
withToken?: boolean;
|
|
122
122
|
downloadFileName?: string;
|
|
123
|
+
syncNewResources?: (newResourceId: string) => void;
|
|
123
124
|
}
|
|
124
125
|
export type OnesEditorUserPermission = 'w' | 'r' | 'c';
|
|
125
126
|
export interface OnesEditorUser {
|
|
@@ -52,6 +52,7 @@ export default class ShareDBClient {
|
|
|
52
52
|
revertVersion(ver: number): Promise<void>;
|
|
53
53
|
createVersion(tag: string, publish: boolean): Promise<any>;
|
|
54
54
|
recognizeLink(url: string): Promise<LinkDetails>;
|
|
55
|
+
private getResourceId;
|
|
55
56
|
buildResourceUrl(resourceId: string, options?: BuildResourceUrlOptions): string;
|
|
56
57
|
reAuth(): void;
|
|
57
58
|
}
|