@univerjs-pro/collaboration 0.1.10 → 0.1.11

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.
Files changed (162) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +1 -1
  3. package/lib/types/controllers/doc-transform/doc-transform.controller.d.ts +1 -1
  4. package/lib/types/controllers/sheet-transform/algorithms/__tests__/transform-test-bed.d.ts +2 -2
  5. package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +1 -1
  6. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +2 -2
  7. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +1 -1
  8. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  9. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +2 -2
  10. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +2 -2
  11. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +1 -1
  12. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +1 -1
  13. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +1 -1
  14. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +1 -1
  15. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +1 -1
  16. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +1 -1
  17. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +1 -1
  18. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +1 -1
  19. package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +1 -1
  20. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +2 -2
  21. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +1 -1
  22. package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +1 -1
  23. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +1 -1
  24. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +1 -1
  25. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +1 -1
  26. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +1 -1
  27. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +1 -1
  28. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +1 -1
  29. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +1 -1
  30. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +1 -1
  31. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +1 -1
  32. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +1 -1
  33. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  34. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +2 -2
  35. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +1 -1
  36. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +2 -2
  37. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +2 -2
  38. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +1 -1
  39. package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +1 -1
  40. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +1 -1
  41. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +1 -1
  42. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +1 -1
  43. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +1 -1
  44. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +1 -1
  45. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +1 -1
  46. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +1 -1
  47. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +1 -1
  48. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +1 -1
  49. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +1 -1
  50. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +2 -2
  51. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +2 -2
  52. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +3 -3
  53. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +1 -1
  54. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +1 -1
  55. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +1 -1
  56. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +1 -1
  57. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +1 -1
  58. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +1 -1
  59. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +1 -1
  60. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +1 -1
  61. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +1 -1
  62. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +1 -1
  63. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  64. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +2 -2
  65. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +1 -1
  66. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +3 -3
  67. package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +1 -1
  68. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +2 -2
  69. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +1 -1
  70. package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +1 -1
  71. package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +1 -1
  72. package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +1 -1
  73. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +2 -2
  74. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +1 -1
  75. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +1 -1
  76. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +1 -1
  77. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +1 -1
  78. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +1 -1
  79. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +1 -1
  80. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +1 -1
  81. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +1 -1
  82. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +1 -1
  83. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +1 -1
  84. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +2 -2
  85. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +2 -2
  86. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +2 -2
  87. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +1 -1
  88. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +1 -1
  89. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +1 -1
  90. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +1 -1
  91. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +1 -1
  92. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +1 -1
  93. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +1 -1
  94. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +1 -1
  95. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +1 -1
  96. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +1 -1
  97. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +1 -1
  98. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  99. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +2 -2
  100. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +1 -1
  101. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +2 -2
  102. package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +1 -1
  103. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +1 -1
  104. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +1 -1
  105. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +2 -2
  106. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +1 -1
  107. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +1 -1
  108. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +1 -1
  109. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +1 -1
  110. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +1 -1
  111. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +1 -1
  112. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +1 -1
  113. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +1 -1
  114. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +1 -1
  115. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +1 -1
  116. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +1 -1
  117. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +2 -2
  118. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +2 -2
  119. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +1 -1
  120. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +1 -1
  121. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  122. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +1 -1
  123. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +1 -1
  124. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +1 -1
  125. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +1 -1
  126. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +1 -1
  127. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +1 -1
  128. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +1 -1
  129. package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +1 -1
  130. package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +1 -1
  131. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +1 -1
  132. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +1 -1
  133. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +1 -1
  134. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +1 -1
  135. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +1 -1
  136. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +2 -2
  137. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +1 -1
  138. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +2 -2
  139. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +1 -1
  140. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +1 -1
  141. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +1 -1
  142. package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +1 -1
  143. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +1 -1
  144. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +1 -1
  145. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +1 -1
  146. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +1 -1
  147. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +1 -1
  148. package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +1 -1
  149. package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +1 -1
  150. package/lib/types/models/changeset.d.ts +1 -1
  151. package/lib/types/models/collaboration-events.d.ts +1 -1
  152. package/lib/types/models/socket-events.d.ts +1 -1
  153. package/lib/types/plugin.d.ts +1 -1
  154. package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +1 -1
  155. package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +1 -1
  156. package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +1 -1
  157. package/lib/types/services/snapshot/snapshot.service.d.ts +3 -3
  158. package/lib/types/services/transform/transform.service.d.ts +2 -2
  159. package/lib/types/services/transform/types.d.ts +1 -1
  160. package/lib/types/utils.d.ts +1 -1
  161. package/lib/umd/index.js +1 -1
  162. package/package.json +20 -20
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetWorksheetOrderMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const InsertSheetMutationWithSelf: IMutationTransformAlgorithm;
5
5
  export declare const RemoveSheetMutationWithOthers: IMutationTransformAlgorithm;
@@ -1,5 +1,5 @@
1
- import { ITransformService } from '../../services/transform/transform.service';
2
1
  import { Disposable } from '@univerjs/core';
2
+ import { ITransformService } from '../../services/transform/transform.service';
3
3
 
4
4
  /**
5
5
  * This controller register sheet transform algorithms to the transform service.
@@ -1,5 +1,5 @@
1
- import { IChangeset as IProtocolChangeset, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
2
1
  import { IMutationInfo } from '@univerjs/core';
2
+ import { IChangeset as IProtocolChangeset, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
3
3
 
4
4
  export interface IChangeset {
5
5
  unitID: string;
@@ -1,5 +1,5 @@
1
- import { IChangeset } from './changeset';
2
1
  import { ICollaMsgErrorEvent, ICollaMsgJoin, ICollaMsgLeave, ILiveShareNewHost, ILiveShareOperation, ILiveShareRequestHost, ILiveShareTerminate, IChangeset as IProtocolChangeset, IUpdateCursor, UniverType } from '@univerjs/protocol';
2
+ import { IChangeset } from './changeset';
3
3
 
4
4
  /**
5
5
  * Types of all possible collaboration events.
@@ -1,5 +1,5 @@
1
- import { ICollaborationEvent } from './collaboration-events';
2
1
  import { CmdRspCode, CombCmd, ICombJoinRequest, ICombJoinResponse, ICombLeaveRequest } from '@univerjs/protocol';
2
+ import { ICollaborationEvent } from './collaboration-events';
3
3
 
4
4
  interface ICombCmdRequest {
5
5
  cmd: CombCmd;
@@ -1,5 +1,5 @@
1
- import { Injector } from '@wendellhu/redi';
2
1
  import { Plugin } from '@univerjs/core';
2
+ import { Injector } from '@wendellhu/redi';
3
3
 
4
4
  export interface ICollaborationPluginConfig {
5
5
  }
@@ -1,5 +1,5 @@
1
- import { IChangeset } from '../../models/changeset';
2
1
  import { IChangeset as IProtocolChangeset } from '@univerjs/protocol';
2
+ import { IChangeset } from '../../models/changeset';
3
3
 
4
4
  export declare class ComposeChangesetsService {
5
5
  composeDocChangesets(changesets: IProtocolChangeset[]): IChangeset;
@@ -1,5 +1,5 @@
1
- import { Dependency, Injector } from '@wendellhu/redi';
2
1
  import { IWorkbookData, PluginCtor, Workbook, Plugin, Univer } from '@univerjs/core';
2
+ import { Dependency, Injector } from '@wendellhu/redi';
3
3
 
4
4
  export interface ITestBed {
5
5
  univer: Univer;
@@ -1,5 +1,5 @@
1
- import { IFetchMissingChangesetsResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockResponse, ISaveSnapshotResponse } from '@univerjs/protocol';
2
1
  import { ILogContext, ISnapshotServerService } from '@univerjs/core';
2
+ import { IFetchMissingChangesetsResponse, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockResponse, ISaveSnapshotResponse } from '@univerjs/protocol';
3
3
 
4
4
  export declare class MockSnapshotServerService implements ISnapshotServerService {
5
5
  getUnitOnRev(_context: ILogContext, params: IGetUnitOnRevRequest): Promise<IGetUnitOnRevResponse>;
@@ -1,7 +1,7 @@
1
- import { RevisionService } from '../rev/rev.service';
2
- import { CompressMutationService } from '../compress-mutation/compress-mutation-service';
3
- import { Injector } from '@wendellhu/redi';
4
1
  import { DocumentDataModel, IDocumentData, ILogContext, IWorkbookData, Workbook, ICommandService, IResourceManagerService, ISnapshotServerService, IUniverInstanceService } from '@univerjs/core';
2
+ import { Injector } from '@wendellhu/redi';
3
+ import { CompressMutationService } from '../compress-mutation/compress-mutation-service';
4
+ import { RevisionService } from '../rev/rev.service';
5
5
 
6
6
  /**
7
7
  * The service provides methods to load snapshots from the snapshot server.
@@ -1,6 +1,6 @@
1
- import { IFailureTransformChangesetsResult, IFailureTransformMutationResult, IFailureTransformMutationsResult, ISuccessTransformChangesetsResult, ISuccessTransformMutationResult, ISuccessTransformMutationsResult, ITransformChangesetsResult, ITransformMutationResult, ITransformMutationsResult, ITransformMutationsWithChangesetResult } from './types';
2
- import { IChangeset } from '../../models/changeset';
3
1
  import { IMutationInfo, Disposable } from '@univerjs/core';
2
+ import { IChangeset } from '../../models/changeset';
3
+ import { IFailureTransformChangesetsResult, IFailureTransformMutationResult, IFailureTransformMutationsResult, ISuccessTransformChangesetsResult, ISuccessTransformMutationResult, ISuccessTransformMutationsResult, ITransformChangesetsResult, ITransformMutationResult, ITransformMutationsResult, ITransformMutationsWithChangesetResult } from './types';
4
4
 
5
5
  /**
6
6
  * A single transform algorithm. Algorithms are registered to the transform service in the form of `{m1}-{m2}`.
@@ -1,5 +1,5 @@
1
- import { IChangeset } from '../../models/changeset';
2
1
  import { IMutationInfo } from '@univerjs/core';
2
+ import { IChangeset } from '../../models/changeset';
3
3
 
4
4
  export interface ISuccessTransformMutationResult {
5
5
  m1Prime: IMutationInfo | IMutationInfo[];
@@ -1,4 +1,4 @@
1
- import { UniverType } from '@univerjs/protocol';
2
1
  import { UniverInstanceType } from '@univerjs/core';
2
+ import { UniverType } from '@univerjs/protocol';
3
3
 
4
4
  export declare function mapDocumentTypeToUniverType(documentType: UniverInstanceType): UniverType;