@univerjs-pro/collaboration 0.1.10 → 0.1.12

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 (183) 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-comment/__test__/add-comment.algo.spec.d.ts +1 -0
  6. package/lib/types/controllers/sheet-transform/algorithms/add-comment/__test__/util.d.ts +14 -0
  7. package/lib/types/controllers/sheet-transform/algorithms/add-comment/add-comment.algo.d.ts +4 -0
  8. package/lib/types/controllers/sheet-transform/algorithms/add-conditional-rule/add-conditional-formatting-rule.algo.d.ts +1 -1
  9. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/add-data-validation.algo.d.ts +2 -2
  10. package/lib/types/controllers/sheet-transform/algorithms/add-data-validation/update-data-validation.algo.d.ts +1 -1
  11. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  12. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +2 -2
  13. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +2 -2
  14. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +1 -1
  15. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +1 -1
  16. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +1 -1
  17. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +1 -1
  18. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +1 -1
  19. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +1 -1
  20. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +1 -1
  21. package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-selection.algo.d.ts +1 -1
  22. package/lib/types/controllers/sheet-transform/algorithms/delete-comment/add-comment.algo.d.ts +4 -0
  23. package/lib/types/controllers/sheet-transform/algorithms/delete-comment/delete-comment.algo.d.ts +4 -0
  24. package/lib/types/controllers/sheet-transform/algorithms/delete-conditional-formatting-rule/delete-conditional-formatting-rule.algo.d.ts +1 -1
  25. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-comment.algo.d.ts +18 -0
  26. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-data-validation.algo.d.ts +2 -2
  27. package/lib/types/controllers/sheet-transform/algorithms/insert-col/add-worksheet-merge.algo.d.ts +1 -1
  28. package/lib/types/controllers/sheet-transform/algorithms/insert-col/insert-col.algo.d.ts +1 -1
  29. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-col.algo.d.ts +1 -1
  30. package/lib/types/controllers/sheet-transform/algorithms/insert-col/move-range.algo.d.ts +1 -1
  31. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-col.algo.d.ts +1 -1
  32. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-numfmt.algo.d.ts +1 -1
  33. package/lib/types/controllers/sheet-transform/algorithms/insert-col/remove-worksheet-merge.algo.d.ts +1 -1
  34. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-hidden.algo.d.ts +1 -1
  35. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-col-visible.algo.d.ts +1 -1
  36. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-numfmt.algo.d.ts +1 -1
  37. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-range-values.algo.d.ts +1 -1
  38. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-selection.algo.d.ts +1 -1
  39. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  40. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-sheets-filter-range.algo.d.ts +2 -2
  41. package/lib/types/controllers/sheet-transform/algorithms/insert-col/set-worksheet-col-width.algo.d.ts +1 -1
  42. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +19 -0
  43. package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-data-validation.algo.d.ts +2 -2
  44. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-comment.algo.d.ts +5 -0
  45. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-data-validation.algo.d.ts +2 -2
  46. package/lib/types/controllers/sheet-transform/algorithms/insert-row/add-worksheet-merge.algo.d.ts +1 -1
  47. package/lib/types/controllers/sheet-transform/algorithms/insert-row/insert-row.algo.d.ts +1 -1
  48. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-range.algo.d.ts +1 -1
  49. package/lib/types/controllers/sheet-transform/algorithms/insert-row/move-row.algo.d.ts +1 -1
  50. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-numfmt.algo.d.ts +1 -1
  51. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-row.algo.d.ts +1 -1
  52. package/lib/types/controllers/sheet-transform/algorithms/insert-row/remove-worksheet-merge.algo.d.ts +1 -1
  53. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-numfmt.algo.d.ts +1 -1
  54. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-range-values.algo.d.ts +1 -1
  55. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-hidden.algo.d.ts +1 -1
  56. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-row-visible.algo.d.ts +1 -1
  57. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-selection.algo.d.ts +1 -1
  58. package/lib/types/controllers/sheet-transform/algorithms/insert-row/set-sheets-filter-range.algo.d.ts +2 -2
  59. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-comment-ref.algo.d.ts +5 -0
  60. package/lib/types/controllers/sheet-transform/algorithms/insert-row/update-data-validation.algo.d.ts +2 -2
  61. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-comment.algo.d.ts +5 -0
  62. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-data-validation.algo.d.ts +3 -3
  63. package/lib/types/controllers/sheet-transform/algorithms/move-col/add-worksheet-merge.algo.d.ts +1 -1
  64. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-col.algo.d.ts +1 -1
  65. package/lib/types/controllers/sheet-transform/algorithms/move-col/move-range.algo.d.ts +1 -1
  66. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-numfmt.algo.d.ts +1 -1
  67. package/lib/types/controllers/sheet-transform/algorithms/move-col/remove-worksheet-merge.algo.d.ts +1 -1
  68. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-hidden.algo.d.ts +1 -1
  69. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-col-visible.algo.d.ts +1 -1
  70. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-numfmt.algo.d.ts +1 -1
  71. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-range-values.algo.d.ts +1 -1
  72. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-selection.algo.d.ts +1 -1
  73. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  74. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-sheets-filter-range.algo.d.ts +2 -2
  75. package/lib/types/controllers/sheet-transform/algorithms/move-col/set-worksheet-col-width.algo.d.ts +1 -1
  76. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-comment-ref.algo.d.ts +5 -0
  77. package/lib/types/controllers/sheet-transform/algorithms/move-col/update-data-validation.algo.d.ts +3 -3
  78. package/lib/types/controllers/sheet-transform/algorithms/move-conditional-formatting-rule/move-conditional-formatting-rule.algo.d.ts +1 -1
  79. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-comment.algo.d.ts +5 -0
  80. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-data-validation.algo.d.ts +2 -2
  81. package/lib/types/controllers/sheet-transform/algorithms/move-range/add-worksheet-merge.algo.d.ts +1 -1
  82. package/lib/types/controllers/sheet-transform/algorithms/move-range/move-range.algo.d.ts +1 -1
  83. package/lib/types/controllers/sheet-transform/algorithms/move-range/remove-numfmt.algo.d.ts +1 -1
  84. package/lib/types/controllers/sheet-transform/algorithms/move-range/set-numfmt.algo.d.ts +1 -1
  85. package/lib/types/controllers/sheet-transform/algorithms/move-range/update-comment-ref.algo.d.ts +5 -0
  86. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-comment.algo.d.ts +5 -0
  87. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-data-validation.algo.d.ts +2 -2
  88. package/lib/types/controllers/sheet-transform/algorithms/move-row/add-worksheet-merge.algo.d.ts +1 -1
  89. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-range.algo.d.ts +1 -1
  90. package/lib/types/controllers/sheet-transform/algorithms/move-row/move-row.algo.d.ts +1 -1
  91. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-numfmt.algo.d.ts +1 -1
  92. package/lib/types/controllers/sheet-transform/algorithms/move-row/remove-worksheet-merge.algo.d.ts +1 -1
  93. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-numfmt.algo.d.ts +1 -1
  94. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-range-values.algo.d.ts +1 -1
  95. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-hidden.algo.d.ts +1 -1
  96. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-row-visible.algo.d.ts +1 -1
  97. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-selection.algo.d.ts +1 -1
  98. package/lib/types/controllers/sheet-transform/algorithms/move-row/set-sheets-filter-range.algo.d.ts +2 -2
  99. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-comment-ref.algo.d.ts +5 -0
  100. package/lib/types/controllers/sheet-transform/algorithms/move-row/update-data-validation.algo.d.ts +2 -2
  101. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-comment.algo.d.ts +5 -0
  102. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-data-validation.algo.d.ts +2 -2
  103. package/lib/types/controllers/sheet-transform/algorithms/remove-col/add-worksheet-merge.algo.d.ts +1 -1
  104. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-col.algo.d.ts +1 -1
  105. package/lib/types/controllers/sheet-transform/algorithms/remove-col/move-range.algo.d.ts +1 -1
  106. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-col.algo.d.ts +1 -1
  107. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-numfmt.algo.d.ts +1 -1
  108. package/lib/types/controllers/sheet-transform/algorithms/remove-col/remove-worksheet-merge.algo.d.ts +1 -1
  109. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-hidden.algo.d.ts +1 -1
  110. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-col-visible.algo.d.ts +1 -1
  111. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-numfmt.algo.d.ts +1 -1
  112. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-range-values.algo.d.ts +1 -1
  113. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-selection.algo.d.ts +1 -1
  114. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-criteria.algo.d.ts +2 -2
  115. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-sheets-filter-range.algo.d.ts +2 -2
  116. package/lib/types/controllers/sheet-transform/algorithms/remove-col/set-worksheet-col-width.algo.d.ts +1 -1
  117. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-comment-ref.algo.d.ts +5 -0
  118. package/lib/types/controllers/sheet-transform/algorithms/remove-col/update-data-validation.algo.d.ts +2 -2
  119. package/lib/types/controllers/sheet-transform/algorithms/remove-data-validation/remove-data-validation.algo.d.ts +1 -1
  120. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/remove-numfmt.algo.d.ts +1 -1
  121. package/lib/types/controllers/sheet-transform/algorithms/remove-numfmt/set-numfmt.algo.d.ts +1 -1
  122. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-comment.algo.d.ts +5 -0
  123. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-data-validation.algo.d.ts +2 -2
  124. package/lib/types/controllers/sheet-transform/algorithms/remove-row/add-worksheet-merge.algo.d.ts +1 -1
  125. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-range.algo.d.ts +1 -1
  126. package/lib/types/controllers/sheet-transform/algorithms/remove-row/move-row.algo.d.ts +1 -1
  127. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-numfmt.algo.d.ts +1 -1
  128. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-row.algo.d.ts +1 -1
  129. package/lib/types/controllers/sheet-transform/algorithms/remove-row/remove-worksheet-merge.algo.d.ts +1 -1
  130. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-numfmt.algo.d.ts +1 -1
  131. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-range-values.algo.d.ts +1 -1
  132. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-hidden.algo.d.ts +1 -1
  133. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-row-visible.algo.d.ts +1 -1
  134. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-selection.algo.d.ts +1 -1
  135. package/lib/types/controllers/sheet-transform/algorithms/remove-row/set-sheets-filter-range.algo.d.ts +2 -2
  136. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-comment-ref.algo.d.ts +5 -0
  137. package/lib/types/controllers/sheet-transform/algorithms/remove-row/update-data-validation.algo.d.ts +2 -2
  138. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/remove-sheets-filter.algo.d.ts +1 -1
  139. package/lib/types/controllers/sheet-transform/algorithms/remove-sheets-filter/set-sheets-filter-range.algo.d.ts +1 -1
  140. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/add-worksheet-merge.algo.d.ts +1 -1
  141. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-col.algo.d.ts +1 -1
  142. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +1 -1
  143. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-col.algo.d.ts +1 -1
  144. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/move-row.algo.d.ts +1 -1
  145. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-col.algo.d.ts +1 -1
  146. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/remove-row.algo.d.ts +1 -1
  147. package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/set-selection.algo.d.ts +1 -1
  148. package/lib/types/controllers/sheet-transform/algorithms/set-conditional-formatting-rule/set-conditional-formatting-rule.algo.d.ts +1 -1
  149. package/lib/types/controllers/sheet-transform/algorithms/set-frozen/set-frozen.algo.d.ts +1 -1
  150. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/remove-numfmt.algo.d.ts +1 -1
  151. package/lib/types/controllers/sheet-transform/algorithms/set-numfmt/set-numfmt.algo.d.ts +1 -1
  152. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/add-worksheet-merge.algo.d.ts +1 -1
  153. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/move-range.algo.d.ts +1 -1
  154. package/lib/types/controllers/sheet-transform/algorithms/set-range-values/set-range-values.algo.d.ts +1 -1
  155. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/move-range.algo.d.ts +2 -2
  156. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/remove-sheets-filter.algo.d.ts +1 -1
  157. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-range-values.algo.d.ts +2 -2
  158. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-criteria/set-sheets-filter-criteria.algo.d.ts +1 -1
  159. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/remove-sheets-filter.algo.d.ts +1 -1
  160. package/lib/types/controllers/sheet-transform/algorithms/set-sheets-filter-range/set-sheets-filter-range.algo.d.ts +1 -1
  161. package/lib/types/controllers/sheet-transform/algorithms/set-tab-color/set-tab-color.algo.d.ts +1 -1
  162. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-col-width/set-worksheet-col-width.algo.d.ts +1 -1
  163. package/lib/types/controllers/sheet-transform/algorithms/set-worksheet-name/set-worksheet-name.algo.d.ts +1 -1
  164. package/lib/types/controllers/sheet-transform/algorithms/update-comment/update-comment.algo.d.ts +4 -0
  165. package/lib/types/controllers/sheet-transform/algorithms/update-comment-ref/update-comment-ref.algo.d.ts +4 -0
  166. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/add-data-validation.algo.d.ts +1 -1
  167. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/remove-data-validation.algo.d.ts +1 -1
  168. package/lib/types/controllers/sheet-transform/algorithms/update-data-validation/update-data-validation.algo.d.ts +1 -1
  169. package/lib/types/controllers/sheet-transform/algorithms/worksheet/worksheet.algo.d.ts +1 -1
  170. package/lib/types/controllers/sheet-transform/sheet-transform.controller.d.ts +1 -1
  171. package/lib/types/models/changeset.d.ts +1 -1
  172. package/lib/types/models/collaboration-events.d.ts +1 -1
  173. package/lib/types/models/socket-events.d.ts +1 -1
  174. package/lib/types/plugin.d.ts +1 -1
  175. package/lib/types/services/compose-changesets/compose-changesets.service.d.ts +1 -1
  176. package/lib/types/services/rev/__tests__/rev.service.spec.d.ts +1 -1
  177. package/lib/types/services/snapshot/__tests__/snapshot.service.spec.d.ts +1 -1
  178. package/lib/types/services/snapshot/snapshot.service.d.ts +3 -3
  179. package/lib/types/services/transform/transform.service.d.ts +2 -2
  180. package/lib/types/services/transform/types.d.ts +1 -1
  181. package/lib/types/utils.d.ts +1 -1
  182. package/lib/umd/index.js +1 -1
  183. package/package.json +22 -20
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveColMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const removeWorksheetMergeMutationWithRemoveColMutation: IMutationTransformAlgorithm<IRemoveWorksheetMergeMutationParams, IRemoveColMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveRowsMutationParams, IRemoveWorksheetMergeMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const removeWorksheetMergeMutationWithRemoveRowMutation: IMutationTransformAlgorithm<IRemoveWorksheetMergeMutationParams, IRemoveRowsMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveWorksheetMergeMutationParams, ISetSelectionsOperationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const removeWorksheetMergeMutationWithSetSelection: IMutationTransformAlgorithm<IRemoveWorksheetMergeMutationParams, ISetSelectionsOperationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setConditionalFormattingRuleMutationWithSelf: IMutationTransformAlgorithm<ISetConditionalRuleMutationParams, ISetConditionalRuleMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetFrozenMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setFrozenMutationWithSelf: IMutationTransformAlgorithm<ISetFrozenMutationParams, ISetFrozenMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveNumfmtMutationParams, ISetNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setNumfmtMutationWithRemoveNumfmt: IMutationTransformAlgorithm<ISetNumfmtMutationParams, IRemoveNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetNumfmtMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setNumfmtMutationWithSelf: IMutationTransformAlgorithm<ISetNumfmtMutationParams, ISetNumfmtMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddWorksheetMergeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setRangeValueMutationWithAddMerge: IMutationTransformAlgorithm<ISetRangeValuesMutationParams, IAddWorksheetMergeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IMoveRangeMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setRangeValuesWithMoveRange: IMutationTransformAlgorithm<ISetRangeValuesMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setRangeValuesMutationWithSelf: IMutationTransformAlgorithm<ISetRangeValuesMutationParams, ISetRangeValuesMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { IMoveRangeMutationParams } from '@univerjs/sheets';
3
1
  import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
2
+ import { IMoveRangeMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const setSheetsFilterCriteriaWithMoveRange: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, IMoveRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveSheetsFilterMutationParams, ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setSheetsFilterCriteriaWithRemoveSheetsFilter: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, IRemoveSheetsFilterMutationParams>;
@@ -1,5 +1,5 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
- import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
3
1
  import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
2
+ import { ISetRangeValuesMutationParams } from '@univerjs/sheets';
3
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
4
4
 
5
5
  export declare const setSheetsFilterCriteriaWithSetRangeValues: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, ISetRangeValuesMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetSheetsFilterCriteriaMutationParams } from '@univerjs/sheets-filter';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setSheetsFilterCriteriaWithSelf: IMutationTransformAlgorithm<ISetSheetsFilterCriteriaMutationParams, ISetSheetsFilterCriteriaMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveSheetsFilterMutationParams, ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setSheetsFilterRangeWithRemoveSheetsFilter: IMutationTransformAlgorithm<ISetSheetsFilterRangeMutationParams, IRemoveSheetsFilterMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetSheetsFilterRangeMutationParams } from '@univerjs/sheets-filter';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setSheetsFilterRangeWithSelf: IMutationTransformAlgorithm<ISetSheetsFilterRangeMutationParams, ISetSheetsFilterRangeMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetTabColorMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setTabColorMutationWithSelf: IMutationTransformAlgorithm<ISetTabColorMutationParams, ISetTabColorMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setWorksheetColWidthMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetColWidthMutationParams, ISetWorksheetColWidthMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { ISetWorksheetNameMutationParams } from '@univerjs/sheets';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const setWorksheetNameMutationWithSelf: IMutationTransformAlgorithm<ISetWorksheetNameMutationParams, ISetWorksheetNameMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IUpdateCommentMutationParams } from '@univerjs/thread-comment';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
+
4
+ export declare const updateCommentWithSelf: IMutationTransformAlgorithm<IUpdateCommentMutationParams, IUpdateCommentMutationParams>;
@@ -0,0 +1,4 @@
1
+ import { IUpdateCommentRefMutationParams } from '@univerjs/thread-comment';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
+
4
+ export declare const updateCommentRefWithSelf: IMutationTransformAlgorithm<IUpdateCommentRefMutationParams, IUpdateCommentRefMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IAddDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const updateDataValidationMutationWithAdd: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IAddDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IRemoveDataValidationMutationParams, IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const updateDataValidationMutationWithRemoveSelf: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IRemoveDataValidationMutationParams>;
@@ -1,4 +1,4 @@
1
- import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
2
1
  import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
2
+ import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
3
3
 
4
4
  export declare const updateDataValidationMutationWithSelf: IMutationTransformAlgorithm<IUpdateDataValidationMutationParams, IUpdateDataValidationMutationParams>;
@@ -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;