@univerjs-pro/collaboration 0.2.13 → 0.2.15

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.
@@ -10,14 +10,14 @@ export declare class RevisionService {
10
10
  constructor(_univerInstanceService: IUniverInstanceService);
11
11
  /**
12
12
  * Get the current revision of a document.
13
- * @param unitID
13
+ * @param unitId
14
14
  */
15
- getCurrentRevForDocument(unitID: string): number;
15
+ getCurrentRevOfUnit(unitId: string): number;
16
16
  /**
17
17
  * Increment the revision number of a document.
18
- * @param unitID
18
+ * @param unitId
19
19
  * @returns The revision number after increment.
20
20
  */
21
- incrementRevForDocument(unitID: string): number;
22
- setRevForDocument(unitID: string, rev: number): void;
21
+ incrementRevOfUnit(unitId: string): number;
22
+ setRevOfUnit(unitId: string, rev: number): void;
23
23
  }