@fluidframework/tree 2.0.0-dev-rc.5.0.0.270401 → 2.0.0-dev-rc.5.0.0.270987

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 (322) hide show
  1. package/.eslintrc.cjs +4 -0
  2. package/api-report/tree.alpha.api.md +22 -7
  3. package/api-report/tree.beta.api.md +22 -7
  4. package/api-report/tree.public.api.md +22 -7
  5. package/biome.jsonc +4 -0
  6. package/dist/beta.d.ts +4 -3
  7. package/dist/codec/index.d.ts +1 -1
  8. package/dist/codec/index.d.ts.map +1 -1
  9. package/dist/codec/index.js.map +1 -1
  10. package/dist/core/change-family/index.d.ts +1 -1
  11. package/dist/core/change-family/index.d.ts.map +1 -1
  12. package/dist/core/change-family/index.js.map +1 -1
  13. package/dist/core/forest/index.d.ts +2 -2
  14. package/dist/core/forest/index.d.ts.map +1 -1
  15. package/dist/core/forest/index.js.map +1 -1
  16. package/dist/core/index.d.ts +7 -7
  17. package/dist/core/index.d.ts.map +1 -1
  18. package/dist/core/index.js.map +1 -1
  19. package/dist/core/rebase/index.d.ts +3 -3
  20. package/dist/core/rebase/index.d.ts.map +1 -1
  21. package/dist/core/rebase/index.js.map +1 -1
  22. package/dist/core/revertible/index.d.ts +1 -1
  23. package/dist/core/revertible/index.d.ts.map +1 -1
  24. package/dist/core/revertible/index.js.map +1 -1
  25. package/dist/core/schema-stored/index.d.ts +3 -3
  26. package/dist/core/schema-stored/index.d.ts.map +1 -1
  27. package/dist/core/schema-stored/index.js.map +1 -1
  28. package/dist/core/schema-view/index.d.ts +1 -1
  29. package/dist/core/schema-view/index.d.ts.map +1 -1
  30. package/dist/core/schema-view/index.js.map +1 -1
  31. package/dist/core/tree/index.d.ts +11 -11
  32. package/dist/core/tree/index.d.ts.map +1 -1
  33. package/dist/core/tree/index.js.map +1 -1
  34. package/dist/events/index.d.ts +1 -1
  35. package/dist/events/index.d.ts.map +1 -1
  36. package/dist/events/index.js.map +1 -1
  37. package/dist/feature-libraries/chunked-forest/codec/index.d.ts +2 -2
  38. package/dist/feature-libraries/chunked-forest/codec/index.d.ts.map +1 -1
  39. package/dist/feature-libraries/chunked-forest/codec/index.js.map +1 -1
  40. package/dist/feature-libraries/chunked-forest/index.d.ts +3 -3
  41. package/dist/feature-libraries/chunked-forest/index.d.ts.map +1 -1
  42. package/dist/feature-libraries/chunked-forest/index.js.map +1 -1
  43. package/dist/feature-libraries/default-schema/defaultEditBuilder.d.ts.map +1 -1
  44. package/dist/feature-libraries/default-schema/defaultEditBuilder.js +12 -0
  45. package/dist/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
  46. package/dist/feature-libraries/default-schema/defaultFieldKinds.d.ts.map +1 -1
  47. package/dist/feature-libraries/default-schema/defaultFieldKinds.js +1 -0
  48. package/dist/feature-libraries/default-schema/defaultFieldKinds.js.map +1 -1
  49. package/dist/feature-libraries/default-schema/index.d.ts +2 -2
  50. package/dist/feature-libraries/default-schema/index.d.ts.map +1 -1
  51. package/dist/feature-libraries/default-schema/index.js.map +1 -1
  52. package/dist/feature-libraries/flex-map-tree/index.d.ts +1 -1
  53. package/dist/feature-libraries/flex-map-tree/index.d.ts.map +1 -1
  54. package/dist/feature-libraries/flex-map-tree/index.js.map +1 -1
  55. package/dist/feature-libraries/flex-tree/flexTreeTypes.d.ts +2 -2
  56. package/dist/feature-libraries/flex-tree/flexTreeTypes.d.ts.map +1 -1
  57. package/dist/feature-libraries/flex-tree/flexTreeTypes.js.map +1 -1
  58. package/dist/feature-libraries/flex-tree/index.d.ts +4 -4
  59. package/dist/feature-libraries/flex-tree/index.d.ts.map +1 -1
  60. package/dist/feature-libraries/flex-tree/index.js.map +1 -1
  61. package/dist/feature-libraries/index.d.ts +15 -15
  62. package/dist/feature-libraries/index.d.ts.map +1 -1
  63. package/dist/feature-libraries/index.js +3 -2
  64. package/dist/feature-libraries/index.js.map +1 -1
  65. package/dist/feature-libraries/modular-schema/fieldChangeHandler.d.ts +11 -0
  66. package/dist/feature-libraries/modular-schema/fieldChangeHandler.d.ts.map +1 -1
  67. package/dist/feature-libraries/modular-schema/fieldChangeHandler.js.map +1 -1
  68. package/dist/feature-libraries/modular-schema/genericFieldKind.d.ts.map +1 -1
  69. package/dist/feature-libraries/modular-schema/genericFieldKind.js +4 -0
  70. package/dist/feature-libraries/modular-schema/genericFieldKind.js.map +1 -1
  71. package/dist/feature-libraries/modular-schema/index.d.ts +7 -7
  72. package/dist/feature-libraries/modular-schema/index.d.ts.map +1 -1
  73. package/dist/feature-libraries/modular-schema/index.js.map +1 -1
  74. package/dist/feature-libraries/node-key/index.d.ts +2 -2
  75. package/dist/feature-libraries/node-key/index.d.ts.map +1 -1
  76. package/dist/feature-libraries/node-key/index.js.map +1 -1
  77. package/dist/feature-libraries/optional-field/index.d.ts +2 -2
  78. package/dist/feature-libraries/optional-field/index.d.ts.map +1 -1
  79. package/dist/feature-libraries/optional-field/index.js.map +1 -1
  80. package/dist/feature-libraries/optional-field/optionalField.d.ts.map +1 -1
  81. package/dist/feature-libraries/optional-field/optionalField.js +7 -0
  82. package/dist/feature-libraries/optional-field/optionalField.js.map +1 -1
  83. package/dist/feature-libraries/schema-aware/index.d.ts +1 -1
  84. package/dist/feature-libraries/schema-aware/index.d.ts.map +1 -1
  85. package/dist/feature-libraries/schema-aware/index.js.map +1 -1
  86. package/dist/feature-libraries/schema-aware/schemaAware.d.ts +2 -2
  87. package/dist/feature-libraries/schema-aware/schemaAware.d.ts.map +1 -1
  88. package/dist/feature-libraries/schema-aware/schemaAware.js.map +1 -1
  89. package/dist/feature-libraries/schema-edits/index.d.ts +1 -1
  90. package/dist/feature-libraries/schema-edits/index.d.ts.map +1 -1
  91. package/dist/feature-libraries/schema-edits/index.js.map +1 -1
  92. package/dist/feature-libraries/sequence-field/index.d.ts +6 -6
  93. package/dist/feature-libraries/sequence-field/index.d.ts.map +1 -1
  94. package/dist/feature-libraries/sequence-field/index.js.map +1 -1
  95. package/dist/feature-libraries/sequence-field/sequenceFieldChangeHandler.d.ts.map +1 -1
  96. package/dist/feature-libraries/sequence-field/sequenceFieldChangeHandler.js +1 -0
  97. package/dist/feature-libraries/sequence-field/sequenceFieldChangeHandler.js.map +1 -1
  98. package/dist/feature-libraries/sequence-field/utils.d.ts +1 -0
  99. package/dist/feature-libraries/sequence-field/utils.d.ts.map +1 -1
  100. package/dist/feature-libraries/sequence-field/utils.js +15 -1
  101. package/dist/feature-libraries/sequence-field/utils.js.map +1 -1
  102. package/dist/feature-libraries/typed-schema/index.d.ts +5 -3
  103. package/dist/feature-libraries/typed-schema/index.d.ts.map +1 -1
  104. package/dist/feature-libraries/typed-schema/index.js +26 -1
  105. package/dist/feature-libraries/typed-schema/index.js.map +1 -1
  106. package/dist/feature-libraries/typed-schema/internalTypes.d.ts +6 -0
  107. package/dist/feature-libraries/typed-schema/internalTypes.d.ts.map +1 -0
  108. package/dist/feature-libraries/typed-schema/internalTypes.js +7 -0
  109. package/dist/feature-libraries/typed-schema/internalTypes.js.map +1 -0
  110. package/dist/index.d.ts +8 -8
  111. package/dist/index.d.ts.map +1 -1
  112. package/dist/index.js +3 -1
  113. package/dist/index.js.map +1 -1
  114. package/dist/packageVersion.d.ts +1 -1
  115. package/dist/packageVersion.js +1 -1
  116. package/dist/packageVersion.js.map +1 -1
  117. package/dist/public.d.ts +4 -3
  118. package/dist/shared-tree/index.d.ts +6 -6
  119. package/dist/shared-tree/index.d.ts.map +1 -1
  120. package/dist/shared-tree/index.js.map +1 -1
  121. package/dist/shared-tree-core/index.d.ts +6 -6
  122. package/dist/shared-tree-core/index.d.ts.map +1 -1
  123. package/dist/shared-tree-core/index.js.map +1 -1
  124. package/dist/simple-tree/index.d.ts +12 -10
  125. package/dist/simple-tree/index.d.ts.map +1 -1
  126. package/dist/simple-tree/index.js +26 -1
  127. package/dist/simple-tree/index.js.map +1 -1
  128. package/dist/simple-tree/internalTypes.d.ts +6 -0
  129. package/dist/simple-tree/internalTypes.d.ts.map +1 -0
  130. package/dist/simple-tree/internalTypes.js +7 -0
  131. package/dist/simple-tree/internalTypes.js.map +1 -0
  132. package/dist/simple-tree/schemaTypes.d.ts +3 -3
  133. package/dist/simple-tree/schemaTypes.d.ts.map +1 -1
  134. package/dist/simple-tree/schemaTypes.js.map +1 -1
  135. package/dist/simple-tree/typesUnsafe.d.ts +3 -3
  136. package/dist/simple-tree/typesUnsafe.d.ts.map +1 -1
  137. package/dist/simple-tree/typesUnsafe.js.map +1 -1
  138. package/dist/util/index.d.ts +12 -12
  139. package/dist/util/index.d.ts.map +1 -1
  140. package/dist/util/index.js.map +1 -1
  141. package/lib/beta.d.ts +4 -3
  142. package/lib/codec/index.d.ts +1 -1
  143. package/lib/codec/index.d.ts.map +1 -1
  144. package/lib/codec/index.js.map +1 -1
  145. package/lib/core/change-family/index.d.ts +1 -1
  146. package/lib/core/change-family/index.d.ts.map +1 -1
  147. package/lib/core/change-family/index.js.map +1 -1
  148. package/lib/core/forest/index.d.ts +2 -2
  149. package/lib/core/forest/index.d.ts.map +1 -1
  150. package/lib/core/forest/index.js.map +1 -1
  151. package/lib/core/index.d.ts +7 -7
  152. package/lib/core/index.d.ts.map +1 -1
  153. package/lib/core/index.js.map +1 -1
  154. package/lib/core/rebase/index.d.ts +3 -3
  155. package/lib/core/rebase/index.d.ts.map +1 -1
  156. package/lib/core/rebase/index.js.map +1 -1
  157. package/lib/core/revertible/index.d.ts +1 -1
  158. package/lib/core/revertible/index.d.ts.map +1 -1
  159. package/lib/core/revertible/index.js.map +1 -1
  160. package/lib/core/schema-stored/index.d.ts +3 -3
  161. package/lib/core/schema-stored/index.d.ts.map +1 -1
  162. package/lib/core/schema-stored/index.js.map +1 -1
  163. package/lib/core/schema-view/index.d.ts +1 -1
  164. package/lib/core/schema-view/index.d.ts.map +1 -1
  165. package/lib/core/schema-view/index.js.map +1 -1
  166. package/lib/core/tree/index.d.ts +11 -11
  167. package/lib/core/tree/index.d.ts.map +1 -1
  168. package/lib/core/tree/index.js.map +1 -1
  169. package/lib/events/index.d.ts +1 -1
  170. package/lib/events/index.d.ts.map +1 -1
  171. package/lib/events/index.js.map +1 -1
  172. package/lib/feature-libraries/chunked-forest/codec/index.d.ts +2 -2
  173. package/lib/feature-libraries/chunked-forest/codec/index.d.ts.map +1 -1
  174. package/lib/feature-libraries/chunked-forest/codec/index.js +1 -1
  175. package/lib/feature-libraries/chunked-forest/codec/index.js.map +1 -1
  176. package/lib/feature-libraries/chunked-forest/index.d.ts +3 -3
  177. package/lib/feature-libraries/chunked-forest/index.d.ts.map +1 -1
  178. package/lib/feature-libraries/chunked-forest/index.js.map +1 -1
  179. package/lib/feature-libraries/default-schema/defaultEditBuilder.d.ts.map +1 -1
  180. package/lib/feature-libraries/default-schema/defaultEditBuilder.js +12 -0
  181. package/lib/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
  182. package/lib/feature-libraries/default-schema/defaultFieldKinds.d.ts.map +1 -1
  183. package/lib/feature-libraries/default-schema/defaultFieldKinds.js +1 -0
  184. package/lib/feature-libraries/default-schema/defaultFieldKinds.js.map +1 -1
  185. package/lib/feature-libraries/default-schema/index.d.ts +2 -2
  186. package/lib/feature-libraries/default-schema/index.d.ts.map +1 -1
  187. package/lib/feature-libraries/default-schema/index.js.map +1 -1
  188. package/lib/feature-libraries/flex-map-tree/index.d.ts +1 -1
  189. package/lib/feature-libraries/flex-map-tree/index.d.ts.map +1 -1
  190. package/lib/feature-libraries/flex-map-tree/index.js.map +1 -1
  191. package/lib/feature-libraries/flex-tree/flexTreeTypes.d.ts +2 -2
  192. package/lib/feature-libraries/flex-tree/flexTreeTypes.d.ts.map +1 -1
  193. package/lib/feature-libraries/flex-tree/flexTreeTypes.js.map +1 -1
  194. package/lib/feature-libraries/flex-tree/index.d.ts +4 -4
  195. package/lib/feature-libraries/flex-tree/index.d.ts.map +1 -1
  196. package/lib/feature-libraries/flex-tree/index.js.map +1 -1
  197. package/lib/feature-libraries/index.d.ts +15 -15
  198. package/lib/feature-libraries/index.d.ts.map +1 -1
  199. package/lib/feature-libraries/index.js +2 -2
  200. package/lib/feature-libraries/index.js.map +1 -1
  201. package/lib/feature-libraries/modular-schema/fieldChangeHandler.d.ts +11 -0
  202. package/lib/feature-libraries/modular-schema/fieldChangeHandler.d.ts.map +1 -1
  203. package/lib/feature-libraries/modular-schema/fieldChangeHandler.js.map +1 -1
  204. package/lib/feature-libraries/modular-schema/genericFieldKind.d.ts.map +1 -1
  205. package/lib/feature-libraries/modular-schema/genericFieldKind.js +4 -0
  206. package/lib/feature-libraries/modular-schema/genericFieldKind.js.map +1 -1
  207. package/lib/feature-libraries/modular-schema/index.d.ts +7 -7
  208. package/lib/feature-libraries/modular-schema/index.d.ts.map +1 -1
  209. package/lib/feature-libraries/modular-schema/index.js.map +1 -1
  210. package/lib/feature-libraries/node-key/index.d.ts +2 -2
  211. package/lib/feature-libraries/node-key/index.d.ts.map +1 -1
  212. package/lib/feature-libraries/node-key/index.js.map +1 -1
  213. package/lib/feature-libraries/optional-field/index.d.ts +2 -2
  214. package/lib/feature-libraries/optional-field/index.d.ts.map +1 -1
  215. package/lib/feature-libraries/optional-field/index.js.map +1 -1
  216. package/lib/feature-libraries/optional-field/optionalField.d.ts.map +1 -1
  217. package/lib/feature-libraries/optional-field/optionalField.js +7 -0
  218. package/lib/feature-libraries/optional-field/optionalField.js.map +1 -1
  219. package/lib/feature-libraries/schema-aware/index.d.ts +1 -1
  220. package/lib/feature-libraries/schema-aware/index.d.ts.map +1 -1
  221. package/lib/feature-libraries/schema-aware/index.js.map +1 -1
  222. package/lib/feature-libraries/schema-aware/schemaAware.d.ts +2 -2
  223. package/lib/feature-libraries/schema-aware/schemaAware.d.ts.map +1 -1
  224. package/lib/feature-libraries/schema-aware/schemaAware.js.map +1 -1
  225. package/lib/feature-libraries/schema-edits/index.d.ts +1 -1
  226. package/lib/feature-libraries/schema-edits/index.d.ts.map +1 -1
  227. package/lib/feature-libraries/schema-edits/index.js.map +1 -1
  228. package/lib/feature-libraries/sequence-field/index.d.ts +6 -6
  229. package/lib/feature-libraries/sequence-field/index.d.ts.map +1 -1
  230. package/lib/feature-libraries/sequence-field/index.js +2 -2
  231. package/lib/feature-libraries/sequence-field/index.js.map +1 -1
  232. package/lib/feature-libraries/sequence-field/sequenceFieldChangeHandler.d.ts.map +1 -1
  233. package/lib/feature-libraries/sequence-field/sequenceFieldChangeHandler.js +2 -1
  234. package/lib/feature-libraries/sequence-field/sequenceFieldChangeHandler.js.map +1 -1
  235. package/lib/feature-libraries/sequence-field/utils.d.ts +1 -0
  236. package/lib/feature-libraries/sequence-field/utils.d.ts.map +1 -1
  237. package/lib/feature-libraries/sequence-field/utils.js +13 -0
  238. package/lib/feature-libraries/sequence-field/utils.js.map +1 -1
  239. package/lib/feature-libraries/typed-schema/index.d.ts +5 -3
  240. package/lib/feature-libraries/typed-schema/index.d.ts.map +1 -1
  241. package/lib/feature-libraries/typed-schema/index.js +2 -0
  242. package/lib/feature-libraries/typed-schema/index.js.map +1 -1
  243. package/lib/feature-libraries/typed-schema/internalTypes.d.ts +6 -0
  244. package/lib/feature-libraries/typed-schema/internalTypes.d.ts.map +1 -0
  245. package/lib/feature-libraries/typed-schema/internalTypes.js +6 -0
  246. package/lib/feature-libraries/typed-schema/internalTypes.js.map +1 -0
  247. package/lib/index.d.ts +8 -8
  248. package/lib/index.d.ts.map +1 -1
  249. package/lib/index.js +2 -2
  250. package/lib/index.js.map +1 -1
  251. package/lib/packageVersion.d.ts +1 -1
  252. package/lib/packageVersion.js +1 -1
  253. package/lib/packageVersion.js.map +1 -1
  254. package/lib/public.d.ts +4 -3
  255. package/lib/shared-tree/index.d.ts +6 -6
  256. package/lib/shared-tree/index.d.ts.map +1 -1
  257. package/lib/shared-tree/index.js.map +1 -1
  258. package/lib/shared-tree-core/index.d.ts +6 -6
  259. package/lib/shared-tree-core/index.d.ts.map +1 -1
  260. package/lib/shared-tree-core/index.js.map +1 -1
  261. package/lib/simple-tree/index.d.ts +12 -10
  262. package/lib/simple-tree/index.d.ts.map +1 -1
  263. package/lib/simple-tree/index.js +2 -0
  264. package/lib/simple-tree/index.js.map +1 -1
  265. package/lib/simple-tree/internalTypes.d.ts +6 -0
  266. package/lib/simple-tree/internalTypes.d.ts.map +1 -0
  267. package/lib/simple-tree/internalTypes.js +6 -0
  268. package/lib/simple-tree/internalTypes.js.map +1 -0
  269. package/lib/simple-tree/schemaTypes.d.ts +3 -3
  270. package/lib/simple-tree/schemaTypes.d.ts.map +1 -1
  271. package/lib/simple-tree/schemaTypes.js +1 -1
  272. package/lib/simple-tree/schemaTypes.js.map +1 -1
  273. package/lib/simple-tree/typesUnsafe.d.ts +3 -3
  274. package/lib/simple-tree/typesUnsafe.d.ts.map +1 -1
  275. package/lib/simple-tree/typesUnsafe.js.map +1 -1
  276. package/lib/util/index.d.ts +12 -12
  277. package/lib/util/index.d.ts.map +1 -1
  278. package/lib/util/index.js +1 -1
  279. package/lib/util/index.js.map +1 -1
  280. package/package.json +26 -23
  281. package/src/codec/index.ts +10 -10
  282. package/src/core/change-family/index.ts +1 -1
  283. package/src/core/forest/index.ts +8 -8
  284. package/src/core/index.ts +89 -89
  285. package/src/core/rebase/index.ts +14 -14
  286. package/src/core/revertible/index.ts +1 -1
  287. package/src/core/schema-stored/index.ts +12 -12
  288. package/src/core/schema-view/index.ts +2 -2
  289. package/src/core/tree/index.ts +37 -37
  290. package/src/events/index.ts +9 -9
  291. package/src/feature-libraries/chunked-forest/codec/index.ts +6 -2
  292. package/src/feature-libraries/chunked-forest/index.ts +5 -5
  293. package/src/feature-libraries/default-schema/defaultEditBuilder.ts +10 -0
  294. package/src/feature-libraries/default-schema/defaultFieldKinds.ts +1 -0
  295. package/src/feature-libraries/default-schema/index.ts +10 -10
  296. package/src/feature-libraries/flex-map-tree/index.ts +1 -1
  297. package/src/feature-libraries/flex-tree/flexTreeTypes.ts +2 -2
  298. package/src/feature-libraries/flex-tree/index.ts +27 -27
  299. package/src/feature-libraries/index.ts +140 -137
  300. package/src/feature-libraries/modular-schema/fieldChangeHandler.ts +12 -0
  301. package/src/feature-libraries/modular-schema/genericFieldKind.ts +5 -0
  302. package/src/feature-libraries/modular-schema/index.ts +24 -21
  303. package/src/feature-libraries/node-key/index.ts +3 -3
  304. package/src/feature-libraries/optional-field/index.ts +2 -2
  305. package/src/feature-libraries/optional-field/optionalField.ts +9 -0
  306. package/src/feature-libraries/schema-aware/index.ts +1 -1
  307. package/src/feature-libraries/schema-aware/schemaAware.ts +2 -2
  308. package/src/feature-libraries/schema-edits/index.ts +1 -1
  309. package/src/feature-libraries/sequence-field/index.ts +14 -6
  310. package/src/feature-libraries/sequence-field/sequenceFieldChangeHandler.ts +2 -1
  311. package/src/feature-libraries/sequence-field/utils.ts +14 -0
  312. package/src/feature-libraries/typed-schema/index.ts +19 -18
  313. package/src/feature-libraries/typed-schema/internalTypes.ts +8 -0
  314. package/src/index.ts +248 -249
  315. package/src/packageVersion.ts +1 -1
  316. package/src/shared-tree/index.ts +19 -19
  317. package/src/shared-tree-core/index.ts +11 -11
  318. package/src/simple-tree/index.ts +34 -33
  319. package/src/simple-tree/internalTypes.ts +8 -0
  320. package/src/simple-tree/schemaTypes.ts +8 -3
  321. package/src/simple-tree/typesUnsafe.ts +3 -3
  322. package/src/util/index.ts +31 -25
package/.eslintrc.cjs CHANGED
@@ -49,6 +49,10 @@ module.exports = {
49
49
 
50
50
  // TODO: Remove these overrides once this config has been updated to extend the "strict" base config.
51
51
  "@typescript-eslint/explicit-member-accessibility": "error",
52
+ "@typescript-eslint/consistent-type-exports": [
53
+ "error",
54
+ { fixMixedExportsWithInlineTypeSpecifier: true },
55
+ ],
52
56
  },
53
57
  overrides: [
54
58
  {
@@ -20,7 +20,7 @@ import type { TSchema } from '@sinclair/typebox';
20
20
  export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
21
21
 
22
22
  // @public
23
- export type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
23
+ type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
24
24
  [FieldKind.Required]: T;
25
25
  [FieldKind.Optional]: T | undefined;
26
26
  [FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
@@ -44,7 +44,7 @@ export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldP
44
44
  }
45
45
 
46
46
  // @public
47
- export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
47
+ type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
48
48
 
49
49
  // @public
50
50
  export enum FieldKind {
@@ -79,7 +79,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
79
79
  export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
80
80
 
81
81
  // @public
82
- export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
82
+ type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
83
83
 
84
84
  // @public
85
85
  export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;
@@ -104,10 +104,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
104
104
  export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
105
105
 
106
106
  // @public
107
- export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
107
+ export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
108
108
 
109
109
  // @public
110
- export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
110
+ export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
111
111
 
112
112
  // @public
113
113
  export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
@@ -119,6 +119,21 @@ export type InsertableTypedNodeUnsafe<T extends Unenforced<TreeNodeSchema>> = Un
119
119
  implicitlyConstructable: true;
120
120
  } ? NodeBuilderDataUnsafe<T> : never);
121
121
 
122
+ declare namespace InternalFlexListTypes {
123
+ export {
124
+ FlexListToUnion,
125
+ ExtractItemType
126
+ }
127
+ }
128
+ export { InternalFlexListTypes }
129
+
130
+ declare namespace InternalSimpleTreeTypes {
131
+ export {
132
+ ApplyKind
133
+ }
134
+ }
135
+ export { InternalSimpleTreeTypes }
136
+
122
137
  // @public
123
138
  export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
124
139
  }
@@ -393,10 +408,10 @@ export interface TreeNodeApi {
393
408
  }
394
409
 
395
410
  // @public
396
- export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
411
+ export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
397
412
 
398
413
  // @public
399
- export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
414
+ export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
400
415
 
401
416
  // @public
402
417
  export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
@@ -20,7 +20,7 @@ import type { TSchema } from '@sinclair/typebox';
20
20
  export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
21
21
 
22
22
  // @public
23
- export type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
23
+ type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
24
24
  [FieldKind.Required]: T;
25
25
  [FieldKind.Optional]: T | undefined;
26
26
  [FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
@@ -44,7 +44,7 @@ export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldP
44
44
  }
45
45
 
46
46
  // @public
47
- export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
47
+ type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
48
48
 
49
49
  // @public
50
50
  export enum FieldKind {
@@ -79,7 +79,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
79
79
  export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
80
80
 
81
81
  // @public
82
- export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
82
+ type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
83
83
 
84
84
  // @public
85
85
  export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;
@@ -104,10 +104,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
104
104
  export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
105
105
 
106
106
  // @public
107
- export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
107
+ export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
108
108
 
109
109
  // @public
110
- export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
110
+ export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
111
111
 
112
112
  // @public
113
113
  export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
@@ -119,6 +119,21 @@ export type InsertableTypedNodeUnsafe<T extends Unenforced<TreeNodeSchema>> = Un
119
119
  implicitlyConstructable: true;
120
120
  } ? NodeBuilderDataUnsafe<T> : never);
121
121
 
122
+ declare namespace InternalFlexListTypes {
123
+ export {
124
+ FlexListToUnion,
125
+ ExtractItemType
126
+ }
127
+ }
128
+ export { InternalFlexListTypes }
129
+
130
+ declare namespace InternalSimpleTreeTypes {
131
+ export {
132
+ ApplyKind
133
+ }
134
+ }
135
+ export { InternalSimpleTreeTypes }
136
+
122
137
  // @public
123
138
  export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
124
139
  }
@@ -390,10 +405,10 @@ export interface TreeNodeApi {
390
405
  }
391
406
 
392
407
  // @public
393
- export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
408
+ export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
394
409
 
395
410
  // @public
396
- export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
411
+ export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
397
412
 
398
413
  // @public
399
414
  export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
@@ -20,7 +20,7 @@ import type { TSchema } from '@sinclair/typebox';
20
20
  export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
21
21
 
22
22
  // @public
23
- export type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
23
+ type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
24
24
  [FieldKind.Required]: T;
25
25
  [FieldKind.Optional]: T | undefined;
26
26
  [FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
@@ -44,7 +44,7 @@ export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldP
44
44
  }
45
45
 
46
46
  // @public
47
- export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
47
+ type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
48
48
 
49
49
  // @public
50
50
  export enum FieldKind {
@@ -79,7 +79,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
79
79
  export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
80
80
 
81
81
  // @public
82
- export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
82
+ type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
83
83
 
84
84
  // @public
85
85
  export type ImplicitAllowedTypes = AllowedTypes | TreeNodeSchema;
@@ -104,10 +104,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
104
104
  export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
105
105
 
106
106
  // @public
107
- export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
107
+ export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
108
108
 
109
109
  // @public
110
- export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
110
+ export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
111
111
 
112
112
  // @public
113
113
  export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
@@ -119,6 +119,21 @@ export type InsertableTypedNodeUnsafe<T extends Unenforced<TreeNodeSchema>> = Un
119
119
  implicitlyConstructable: true;
120
120
  } ? NodeBuilderDataUnsafe<T> : never);
121
121
 
122
+ declare namespace InternalFlexListTypes {
123
+ export {
124
+ FlexListToUnion,
125
+ ExtractItemType
126
+ }
127
+ }
128
+ export { InternalFlexListTypes }
129
+
130
+ declare namespace InternalSimpleTreeTypes {
131
+ export {
132
+ ApplyKind
133
+ }
134
+ }
135
+ export { InternalSimpleTreeTypes }
136
+
122
137
  // @public
123
138
  export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
124
139
  }
@@ -390,10 +405,10 @@ export interface TreeNodeApi {
390
405
  }
391
406
 
392
407
  // @public
393
- export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
408
+ export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
394
409
 
395
410
  // @public
396
- export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
411
+ export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
397
412
 
398
413
  // @public
399
414
  export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
package/biome.jsonc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
+ "extends": ["../../../biome.jsonc"]
4
+ }
package/dist/beta.d.ts CHANGED
@@ -9,19 +9,20 @@
9
9
  */
10
10
 
11
11
  export {
12
+ // Unrestricted APIs
13
+ InternalFlexListTypes,
14
+ InternalSimpleTreeTypes,
15
+
12
16
  // @public APIs
13
17
  AllowedTypes,
14
- ApplyKind,
15
18
  CommitKind,
16
19
  CommitMetadata,
17
20
  DefaultProvider,
18
- ExtractItemType,
19
21
  FieldKind,
20
22
  FieldProps,
21
23
  FieldSchema,
22
24
  FieldSchemaUnsafe,
23
25
  FlexList,
24
- FlexListToUnion,
25
26
  ITree,
26
27
  ITreeConfigurationOptions,
27
28
  ImplicitAllowedTypes,
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { FormatVersion, IBinaryCodec, ICodecFamily, ICodecOptions, IDecoder, IEncoder, IJsonCodec, IMultiFormatCodec, JsonValidator, makeCodecFamily, SchemaValidationFunction, unitCodec, withDefaultBinaryEncoding, withSchemaValidation, } from "./codec.js";
5
+ export { type FormatVersion, type IBinaryCodec, type ICodecFamily, type ICodecOptions, type IDecoder, type IEncoder, type IJsonCodec, type IMultiFormatCodec, type JsonValidator, makeCodecFamily, type SchemaValidationFunction, unitCodec, withDefaultBinaryEncoding, withSchemaValidation, } from "./codec.js";
6
6
  export { DiscriminatedUnionDispatcher, unionOptions } from "./discriminatedUnions.js";
7
7
  export { noopValidator } from "./noopValidator.js";
8
8
  export { Versioned, makeVersionedCodec, makeVersionedValidatedCodec, makeVersionDispatchingCodec, } from "./versioned/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,SAAS,EACT,yBAAyB,EACzB,oBAAoB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,4BAA4B,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EACN,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,GAC3B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,wBAAwB,EAC7B,SAAS,EACT,yBAAyB,EACzB,oBAAoB,GACpB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,4BAA4B,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EACN,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,GAC3B,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAeoB;AALnB,2GAAA,eAAe,OAAA;AAEf,qGAAA,SAAS,OAAA;AACT,qHAAA,yBAAyB,OAAA;AACzB,gHAAA,oBAAoB,OAAA;AAErB,mEAAsF;AAA7E,sIAAA,4BAA4B,OAAA;AAAE,sHAAA,YAAY,OAAA;AACnD,uDAAmD;AAA1C,iHAAA,aAAa,OAAA;AACtB,iDAK8B;AAJ7B,qGAAA,SAAS,OAAA;AACT,8GAAA,kBAAkB,OAAA;AAClB,uHAAA,2BAA2B,OAAA;AAC3B,uHAAA,2BAA2B,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tFormatVersion,\n\tIBinaryCodec,\n\tICodecFamily,\n\tICodecOptions,\n\tIDecoder,\n\tIEncoder,\n\tIJsonCodec,\n\tIMultiFormatCodec,\n\tJsonValidator,\n\tmakeCodecFamily,\n\tSchemaValidationFunction,\n\tunitCodec,\n\twithDefaultBinaryEncoding,\n\twithSchemaValidation,\n} from \"./codec.js\";\nexport { DiscriminatedUnionDispatcher, unionOptions } from \"./discriminatedUnions.js\";\nexport { noopValidator } from \"./noopValidator.js\";\nexport {\n\tVersioned,\n\tmakeVersionedCodec,\n\tmakeVersionedValidatedCodec,\n\tmakeVersionDispatchingCodec,\n} from \"./versioned/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/codec/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAeoB;AALnB,2GAAA,eAAe,OAAA;AAEf,qGAAA,SAAS,OAAA;AACT,qHAAA,yBAAyB,OAAA;AACzB,gHAAA,oBAAoB,OAAA;AAErB,mEAAsF;AAA7E,sIAAA,4BAA4B,OAAA;AAAE,sHAAA,YAAY,OAAA;AACnD,uDAAmD;AAA1C,iHAAA,aAAa,OAAA;AACtB,iDAK8B;AAJ7B,qGAAA,SAAS,OAAA;AACT,8GAAA,kBAAkB,OAAA;AAClB,uHAAA,2BAA2B,OAAA;AAC3B,uHAAA,2BAA2B,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\ttype FormatVersion,\n\ttype IBinaryCodec,\n\ttype ICodecFamily,\n\ttype ICodecOptions,\n\ttype IDecoder,\n\ttype IEncoder,\n\ttype IJsonCodec,\n\ttype IMultiFormatCodec,\n\ttype JsonValidator,\n\tmakeCodecFamily,\n\ttype SchemaValidationFunction,\n\tunitCodec,\n\twithDefaultBinaryEncoding,\n\twithSchemaValidation,\n} from \"./codec.js\";\nexport { DiscriminatedUnionDispatcher, unionOptions } from \"./discriminatedUnions.js\";\nexport { noopValidator } from \"./noopValidator.js\";\nexport {\n\tVersioned,\n\tmakeVersionedCodec,\n\tmakeVersionedValidatedCodec,\n\tmakeVersionDispatchingCodec,\n} from \"./versioned/index.js\";\n"]}
@@ -2,6 +2,6 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { ChangeFamily, ChangeFamilyEditor, ChangeEncodingContext, ChangeFamilyCodec, } from "./changeFamily.js";
5
+ export type { ChangeFamily, ChangeFamilyEditor, ChangeEncodingContext, ChangeFamilyCodec, } from "./changeFamily.js";
6
6
  export { EditBuilder } from "./editBuilder.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/change-family/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/change-family/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EACX,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/change-family/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAQH,mDAA+C;AAAtC,6GAAA,WAAW,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tChangeFamily,\n\tChangeFamilyEditor,\n\tChangeEncodingContext,\n\tChangeFamilyCodec,\n} from \"./changeFamily.js\";\nexport { EditBuilder } from \"./editBuilder.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/change-family/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAQH,mDAA+C;AAAtC,6GAAA,WAAW,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport type {\n\tChangeFamily,\n\tChangeFamilyEditor,\n\tChangeEncodingContext,\n\tChangeFamilyCodec,\n} from \"./changeFamily.js\";\nexport { EditBuilder } from \"./editBuilder.js\";\n"]}
@@ -2,6 +2,6 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { IEditableForest, FieldLocation, TreeLocation, isFieldLocation, ForestLocation, initializeForest, } from "./editableForest.js";
6
- export { IForestSubscription, ITreeSubscriptionCursor, ITreeSubscriptionCursorState, TreeNavigationResult, FieldAnchor, moveToDetachedField, ForestEvents, } from "./forest.js";
5
+ export { type IEditableForest, type FieldLocation, type TreeLocation, isFieldLocation, type ForestLocation, initializeForest, } from "./editableForest.js";
6
+ export { type IForestSubscription, type ITreeSubscriptionCursor, ITreeSubscriptionCursorState, TreeNavigationResult, type FieldAnchor, moveToDetachedField, type ForestEvents, } from "./forest.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/forest/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,eAAe,EACf,aAAa,EACb,YAAY,EACZ,eAAe,EACf,cAAc,EACd,gBAAgB,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,YAAY,GACZ,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/forest/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,eAAe,EACf,KAAK,cAAc,EACnB,gBAAgB,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,KAAK,WAAW,EAChB,mBAAmB,EACnB,KAAK,YAAY,GACjB,MAAM,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/forest/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,yDAO6B;AAH5B,oHAAA,eAAe,OAAA;AAEf,qHAAA,gBAAgB,OAAA;AAEjB,yCAQqB;AALpB,yHAAA,4BAA4B,OAAA;AAC5B,iHAAA,oBAAoB,OAAA;AAEpB,gHAAA,mBAAmB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tIEditableForest,\n\tFieldLocation,\n\tTreeLocation,\n\tisFieldLocation,\n\tForestLocation,\n\tinitializeForest,\n} from \"./editableForest.js\";\nexport {\n\tIForestSubscription,\n\tITreeSubscriptionCursor,\n\tITreeSubscriptionCursorState,\n\tTreeNavigationResult,\n\tFieldAnchor,\n\tmoveToDetachedField,\n\tForestEvents,\n} from \"./forest.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/forest/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,yDAO6B;AAH5B,oHAAA,eAAe,OAAA;AAEf,qHAAA,gBAAgB,OAAA;AAEjB,yCAQqB;AALpB,yHAAA,4BAA4B,OAAA;AAC5B,iHAAA,oBAAoB,OAAA;AAEpB,gHAAA,mBAAmB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\ttype IEditableForest,\n\ttype FieldLocation,\n\ttype TreeLocation,\n\tisFieldLocation,\n\ttype ForestLocation,\n\tinitializeForest,\n} from \"./editableForest.js\";\nexport {\n\ttype IForestSubscription,\n\ttype ITreeSubscriptionCursor,\n\tITreeSubscriptionCursorState,\n\tTreeNavigationResult,\n\ttype FieldAnchor,\n\tmoveToDetachedField,\n\ttype ForestEvents,\n} from \"./forest.js\";\n"]}
@@ -2,11 +2,11 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { EmptyKey, TreeType, Value, TreeValue, AnchorSet, DetachedField, UpPath, Range, RangeUpPath, PlaceUpPath, PlaceIndex, NodeIndex, DetachedPlaceUpPath, DetachedRangeUpPath, FieldUpPath, Anchor, RootField, ChildCollection, ChildLocation, FieldMapObject, NodeData, GenericTreeNode, JsonableTree, EncodedJsonableTree, rootFieldKey, rootField, ITreeCursor, CursorLocationType, ITreeCursorSynchronous, castCursorToSynchronous, GenericFieldsNode, AnchorLocator, genericTreeKeys, getGenericTreeField, genericTreeDeleteIfEmpty, getDepth, mapCursorField, mapCursorFields, iterateCursorField, MapTree, detachedFieldAsKey, keyAsDetachedField, visitDelta, combineVisitors, announceDelta, applyDelta, makeDetachedFieldIndex, setGenericTreeField, DeltaVisitor, AnnouncedVisitor, PathVisitor, SparseNode, getDescendant, compareUpPaths, clonePath, topDownPath, compareFieldUpPaths, forEachNode, forEachNodeInSubtree, forEachField, PathRootPrefix, deltaForRootInitialization, emptyFieldChanges, isEmptyFieldChanges, makeDetachedNodeId, offsetDetachId, emptyDelta, AnchorSlot, AnchorNode, anchorSlot, UpPathDefault, inCursorField, inCursorNode, AnchorEvents, AnchorSetRootEvents, ProtoNodes, CursorMarker, isCursor, DetachedFieldIndex, ForestRootId, getDetachedFieldContainingPath, aboveRootPlaceholder, DeltaRoot, DeltaProtoNode, DeltaMark, DeltaDetachedNodeId, DeltaFieldMap, DeltaDetachedNodeChanges, DeltaDetachedNodeBuild, DeltaDetachedNodeDestruction, DeltaDetachedNodeRename, DeltaFieldChanges, } from "./tree/index.js";
6
- export { TreeNavigationResult, IEditableForest, IForestSubscription, TreeLocation, FieldLocation, ForestLocation, ITreeSubscriptionCursor, ITreeSubscriptionCursorState, initializeForest, FieldAnchor, moveToDetachedField, ForestEvents, } from "./forest/index.js";
7
- export { FieldKey, TreeNodeSchemaIdentifier, TreeFieldStoredSchema, ValueSchema, TreeNodeStoredSchema, TreeStoredSchemaSubscription as TreeStoredSchemaSubscription, MutableTreeStoredSchema, FieldKindIdentifier, FieldKindData, TreeTypeSet, TreeStoredSchema, TreeStoredSchemaRepository, schemaDataIsEmpty, SchemaEvents, forbiddenFieldKindIdentifier, identifierFieldKindIdentifier, storedEmptyFieldSchema, StoredSchemaCollection, schemaFormat, LeafNodeStoredSchema, ObjectNodeStoredSchema, MapNodeStoredSchema, toTreeNodeSchemaDataFormat, decodeFieldSchema, encodeFieldSchema, storedSchemaDecodeDispatcher, ErasedTreeNodeSchemaDataFormat, SchemaAndPolicy, Multiplicity, SchemaPolicy, } from "./schema-stored/index.js";
8
- export { ChangeFamily, ChangeFamilyCodec, ChangeEncodingContext, ChangeFamilyEditor, EditBuilder, } from "./change-family/index.js";
9
- export { areEqualChangeAtomIds, makeChangeAtomId, asChangeAtomId, ChangeRebaser, findAncestor, findCommonAncestor, GraphCommit, CommitKind, CommitMetadata, RevisionTag, RevisionTagSchema, RevisionTagCodec, ChangesetLocalId, ChangeAtomId, ChangeAtomIdMap, TaggedChange, makeAnonChange, tagChange, mapTaggedChange, tagRollbackInverse, SessionIdSchema, mintCommit, rebaseBranch, BranchRebaseResult, rebaseChange, rebaseChangeOverChanges, RevisionMetadataSource, revisionMetadataSourceFromInfo, RevisionInfo, EncodedRevisionTag, EncodedChangeAtomId, taggedAtomId, taggedOptAtomId, offsetChangeAtomId, replaceAtomRevisions, replaceChange, } from "./rebase/index.js";
10
- export { Adapters, AdaptedViewSchema, Compatibility, TreeAdapter, AllowedUpdateType, } from "./schema-view/index.js";
11
- export { Revertible, RevertibleStatus } from "./revertible/index.js";
5
+ export { EmptyKey, type TreeType, type Value, type TreeValue, AnchorSet, type DetachedField, type UpPath, type Range, type RangeUpPath, type PlaceUpPath, type PlaceIndex, type NodeIndex, type DetachedPlaceUpPath, type DetachedRangeUpPath, type FieldUpPath, type Anchor, type RootField, type ChildCollection, type ChildLocation, type FieldMapObject, type NodeData, type GenericTreeNode, type JsonableTree, EncodedJsonableTree, rootFieldKey, rootField, type ITreeCursor, CursorLocationType, type ITreeCursorSynchronous, castCursorToSynchronous, type GenericFieldsNode, type AnchorLocator, genericTreeKeys, getGenericTreeField, genericTreeDeleteIfEmpty, getDepth, mapCursorField, mapCursorFields, iterateCursorField, type MapTree, detachedFieldAsKey, keyAsDetachedField, visitDelta, combineVisitors, announceDelta, applyDelta, makeDetachedFieldIndex, setGenericTreeField, type DeltaVisitor, type AnnouncedVisitor, type PathVisitor, SparseNode, getDescendant, compareUpPaths, clonePath, topDownPath, compareFieldUpPaths, forEachNode, forEachNodeInSubtree, forEachField, type PathRootPrefix, deltaForRootInitialization, emptyFieldChanges, isEmptyFieldChanges, makeDetachedNodeId, offsetDetachId, emptyDelta, type AnchorSlot, type AnchorNode, anchorSlot, type UpPathDefault, inCursorField, inCursorNode, type AnchorEvents, type AnchorSetRootEvents, type ProtoNodes, CursorMarker, isCursor, DetachedFieldIndex, type ForestRootId, getDetachedFieldContainingPath, aboveRootPlaceholder, type DeltaRoot, type DeltaProtoNode, type DeltaMark, type DeltaDetachedNodeId, type DeltaFieldMap, type DeltaDetachedNodeChanges, type DeltaDetachedNodeBuild, type DeltaDetachedNodeDestruction, type DeltaDetachedNodeRename, type DeltaFieldChanges, } from "./tree/index.js";
6
+ export { TreeNavigationResult, type IEditableForest, type IForestSubscription, type TreeLocation, type FieldLocation, type ForestLocation, type ITreeSubscriptionCursor, ITreeSubscriptionCursorState, initializeForest, type FieldAnchor, moveToDetachedField, type ForestEvents, } from "./forest/index.js";
7
+ export { type FieldKey, type TreeNodeSchemaIdentifier, type TreeFieldStoredSchema, ValueSchema, TreeNodeStoredSchema, type TreeStoredSchemaSubscription as TreeStoredSchemaSubscription, type MutableTreeStoredSchema, type FieldKindIdentifier, type FieldKindData, type TreeTypeSet, type TreeStoredSchema, TreeStoredSchemaRepository, schemaDataIsEmpty, type SchemaEvents, forbiddenFieldKindIdentifier, identifierFieldKindIdentifier, storedEmptyFieldSchema, type StoredSchemaCollection, schemaFormat, LeafNodeStoredSchema, ObjectNodeStoredSchema, MapNodeStoredSchema, toTreeNodeSchemaDataFormat, decodeFieldSchema, encodeFieldSchema, storedSchemaDecodeDispatcher, type ErasedTreeNodeSchemaDataFormat, type SchemaAndPolicy, Multiplicity, type SchemaPolicy, } from "./schema-stored/index.js";
8
+ export { type ChangeFamily, type ChangeFamilyCodec, type ChangeEncodingContext, type ChangeFamilyEditor, EditBuilder, } from "./change-family/index.js";
9
+ export { areEqualChangeAtomIds, makeChangeAtomId, asChangeAtomId, type ChangeRebaser, findAncestor, findCommonAncestor, type GraphCommit, CommitKind, type CommitMetadata, type RevisionTag, RevisionTagSchema, RevisionTagCodec, type ChangesetLocalId, type ChangeAtomId, type ChangeAtomIdMap, type TaggedChange, makeAnonChange, tagChange, mapTaggedChange, tagRollbackInverse, SessionIdSchema, mintCommit, rebaseBranch, type BranchRebaseResult, rebaseChange, rebaseChangeOverChanges, type RevisionMetadataSource, revisionMetadataSourceFromInfo, type RevisionInfo, type EncodedRevisionTag, type EncodedChangeAtomId, taggedAtomId, taggedOptAtomId, offsetChangeAtomId, replaceAtomRevisions, replaceChange, } from "./rebase/index.js";
10
+ export { type Adapters, AdaptedViewSchema, Compatibility, type TreeAdapter, AllowedUpdateType, } from "./schema-view/index.js";
11
+ export { type Revertible, RevertibleStatus } from "./revertible/index.js";
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,aAAa,EACb,MAAM,EACN,KAAK,EACL,WAAW,EACX,WAAW,EACX,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,SAAS,EACT,eAAe,EACf,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,eAAe,EACf,aAAa,EACb,UAAU,EACV,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACV,a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,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,cAAc,EACd,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,sBAAsB,EACtB,8BAA8B,EAC9B,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,GACb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACN,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,iBAAiB,GACjB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,QAAQ,EACR,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,SAAS,EACd,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,KAAK,WAAW,EAChB,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,uBAAuB,EACvB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,KAAK,O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AI9B,wGAAA,YAAY,OAAA;AACZ,2GAAA,eAAe,OAAA;AACf,8GAAA,kBAAkB,OAAA;AAClB,gHAAA,oBAAoB,OAAA;AACpB,yGAAA,aAAa,OAAA;AAGd,mDAMgC;AAJ/B,6GAAA,iBAAiB,OAAA;AACjB,yGAAA,aAAa,OAAA;AAEb,6GAAA,iBAAiB,OAAA;AAGlB,kDAAqE;AAAhD,4GAAA,gBAAgB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tEmptyKey,\n\tTreeType,\n\tValue,\n\tTreeValue,\n\tAnchorSet,\n\tDetachedField,\n\tUpPath,\n\tRange,\n\tRangeUpPath,\n\tPlaceUpPath,\n\tPlaceIndex,\n\tNodeIndex,\n\tDetachedPlaceUpPath,\n\tDetachedRangeUpPath,\n\tFieldUpPath,\n\tAnchor,\n\tRootField,\n\tChildCollection,\n\tChildLocation,\n\tFieldMapObject,\n\tNodeData,\n\tGenericTreeNode,\n\tJsonableTree,\n\tEncodedJsonableTree,\n\trootFieldKey,\n\trootField,\n\tITreeCursor,\n\tCursorLocationType,\n\tITreeCursorSynchronous,\n\tcastCursorToSynchronous,\n\tGenericFieldsNode,\n\tAnchorLocator,\n\tgenericTreeKeys,\n\tgetGenericTreeField,\n\tgenericTreeDeleteIfEmpty,\n\tgetDepth,\n\tmapCursorField,\n\tmapCursorFields,\n\titerateCursorField,\n\tMapTree,\n\tdetachedFieldAsKey,\n\tkeyAsDetachedField,\n\tvisitDelta,\n\tcombineVisitors,\n\tannounceDelta,\n\tapplyDelta,\n\tmakeDetachedFieldIndex,\n\tsetGenericTreeField,\n\tDeltaVisitor,\n\tAnnouncedVisitor,\n\tPathVisitor,\n\tSparseNode,\n\tgetDescendant,\n\tcompareUpPaths,\n\tclonePath,\n\ttopDownPath,\n\tcompareFieldUpPaths,\n\tforEachNode,\n\tforEachNodeInSubtree,\n\tforEachField,\n\tPathRootPrefix,\n\tdeltaForRootInitialization,\n\temptyFieldChanges,\n\tisEmptyFieldChanges,\n\tmakeDetachedNodeId,\n\toffsetDetachId,\n\temptyDelta,\n\tAnchorSlot,\n\tAnchorNode,\n\tanchorSlot,\n\tUpPathDefault,\n\tinCursorField,\n\tinCursorNode,\n\tAnchorEvents,\n\tAnchorSetRootEvents,\n\tProtoNodes,\n\tCursorMarker,\n\tisCursor,\n\tDetachedFieldIndex,\n\tForestRootId,\n\tgetDetachedFieldContainingPath,\n\taboveRootPlaceholder,\n\tDeltaRoot,\n\tDeltaProtoNode,\n\tDeltaMark,\n\tDeltaDetachedNodeId,\n\tDeltaFieldMap,\n\tDeltaDetachedNodeChanges,\n\tDeltaDetachedNodeBuild,\n\tDeltaDetachedNodeDestruction,\n\tDeltaDetachedNodeRename,\n\tDeltaFieldChanges,\n} from \"./tree/index.js\";\n\nexport {\n\tTreeNavigationResult,\n\tIEditableForest,\n\tIForestSubscription,\n\tTreeLocation,\n\tFieldLocation,\n\tForestLocation,\n\tITreeSubscriptionCursor,\n\tITreeSubscriptionCursorState,\n\tinitializeForest,\n\tFieldAnchor,\n\tmoveToDetachedField,\n\tForestEvents,\n} from \"./forest/index.js\";\n\nexport {\n\tFieldKey,\n\tTreeNodeSchemaIdentifier,\n\tTreeFieldStoredSchema,\n\tValueSchema,\n\tTreeNodeStoredSchema,\n\tTreeStoredSchemaSubscription as TreeStoredSchemaSubscription,\n\tMutableTreeStoredSchema,\n\tFieldKindIdentifier,\n\tFieldKindData,\n\tTreeTypeSet,\n\tTreeStoredSchema,\n\tTreeStoredSchemaRepository,\n\tschemaDataIsEmpty,\n\tSchemaEvents,\n\tforbiddenFieldKindIdentifier,\n\tidentifierFieldKindIdentifier,\n\tstoredEmptyFieldSchema,\n\tStoredSchemaCollection,\n\tschemaFormat,\n\tLeafNodeStoredSchema,\n\tObjectNodeStoredSchema,\n\tMapNodeStoredSchema,\n\ttoTreeNodeSchemaDataFormat,\n\tdecodeFieldSchema,\n\tencodeFieldSchema,\n\tstoredSchemaDecodeDispatcher,\n\tErasedTreeNodeSchemaDataFormat,\n\tSchemaAndPolicy,\n\tMultiplicity,\n\tSchemaPolicy,\n} from \"./schema-stored/index.js\";\n\nexport {\n\tChangeFamily,\n\tChangeFamilyCodec,\n\tChangeEncodingContext,\n\tChangeFamilyEditor,\n\tEditBuilder,\n} from \"./change-family/index.js\";\n\nexport {\n\tareEqualChangeAtomIds,\n\tmakeChangeAtomId,\n\tasChangeAtomId,\n\tChangeRebaser,\n\tfindAncestor,\n\tfindCommonAncestor,\n\tGraphCommit,\n\tCommitKind,\n\tCommitMetadata,\n\tRevisionTag,\n\tRevisionTagSchema,\n\tRevisionTagCodec,\n\tChangesetLocalId,\n\tChangeAtomId,\n\tChangeAtomIdMap,\n\tTaggedChange,\n\tmakeAnonChange,\n\ttagChange,\n\tmapTaggedChange,\n\ttagRollbackInverse,\n\tSessionIdSchema,\n\tmintCommit,\n\trebaseBranch,\n\tBranchRebaseResult,\n\trebaseChange,\n\trebaseChangeOverChanges,\n\tRevisionMetadataSource,\n\trevisionMetadataSourceFromInfo,\n\tRevisionInfo,\n\tEncodedRevisionTag,\n\tEncodedChangeAtomId,\n\ttaggedAtomId,\n\ttaggedOptAtomId,\n\toffsetChangeAtomId,\n\treplaceAtomRevisions,\n\treplaceChange,\n} from \"./rebase/index.js\";\n\nexport {\n\tAdapters,\n\tAdaptedViewSchema,\n\tCompatibility,\n\tTreeAdapter,\n\tAllowedUpdateType,\n} from \"./schema-view/index.js\";\n\nexport { Revertible, RevertibleStatus } from \"./revertible/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;AAEH,4CA6FyB;AA5FxB,oGAAA,QAAQ,OAAA;AAIR,qGAAA,SAAS,OAAA;AAmBT,+GAAA,mBAAmB,OAAA;AACnB,wGAAA,YAAY,OAAA;AACZ,qGAAA,SAAS,OAAA;AAET,8GAAA,kBAAkB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reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tEmptyKey,\n\ttype TreeType,\n\ttype Value,\n\ttype TreeValue,\n\tAnchorSet,\n\ttype DetachedField,\n\ttype UpPath,\n\ttype Range,\n\ttype RangeUpPath,\n\ttype PlaceUpPath,\n\ttype PlaceIndex,\n\ttype NodeIndex,\n\ttype DetachedPlaceUpPath,\n\ttype DetachedRangeUpPath,\n\ttype FieldUpPath,\n\ttype Anchor,\n\ttype RootField,\n\ttype ChildCollection,\n\ttype ChildLocation,\n\ttype FieldMapObject,\n\ttype NodeData,\n\ttype GenericTreeNode,\n\ttype JsonableTree,\n\tEncodedJsonableTree,\n\trootFieldKey,\n\trootField,\n\ttype ITreeCursor,\n\tCursorLocationType,\n\ttype ITreeCursorSynchronous,\n\tcastCursorToSynchronous,\n\ttype GenericFieldsNode,\n\ttype AnchorLocator,\n\tgenericTreeKeys,\n\tgetGenericTreeField,\n\tgenericTreeDeleteIfEmpty,\n\tgetDepth,\n\tmapCursorField,\n\tmapCursorFields,\n\titerateCursorField,\n\ttype MapTree,\n\tdetachedFieldAsKey,\n\tkeyAsDetachedField,\n\tvisitDelta,\n\tcombineVisitors,\n\tannounceDelta,\n\tapplyDelta,\n\tmakeDetachedFieldIndex,\n\tsetGenericTreeField,\n\ttype DeltaVisitor,\n\ttype AnnouncedVisitor,\n\ttype PathVisitor,\n\tSparseNode,\n\tgetDescendant,\n\tcompareUpPaths,\n\tclonePath,\n\ttopDownPath,\n\tcompareFieldUpPaths,\n\tforEachNode,\n\tforEachNodeInSubtree,\n\tforEachField,\n\ttype PathRootPrefix,\n\tdeltaForRootInitialization,\n\temptyFieldChanges,\n\tisEmptyFieldChanges,\n\tmakeDetachedNodeId,\n\toffsetDetachId,\n\temptyDelta,\n\ttype AnchorSlot,\n\ttype AnchorNode,\n\tanchorSlot,\n\ttype UpPathDefault,\n\tinCursorField,\n\tinCursorNode,\n\ttype AnchorEvents,\n\ttype AnchorSetRootEvents,\n\ttype ProtoNodes,\n\tCursorMarker,\n\tisCursor,\n\tDetachedFieldIndex,\n\ttype ForestRootId,\n\tgetDetachedFieldContainingPath,\n\taboveRootPlaceholder,\n\ttype DeltaRoot,\n\ttype DeltaProtoNode,\n\ttype DeltaMark,\n\ttype DeltaDetachedNodeId,\n\ttype DeltaFieldMap,\n\ttype DeltaDetachedNodeChanges,\n\ttype DeltaDetachedNodeBuild,\n\ttype DeltaDetachedNodeDestruction,\n\ttype DeltaDetachedNodeRename,\n\ttype DeltaFieldChanges,\n} from \"./tree/index.js\";\n\nexport {\n\tTreeNavigationResult,\n\ttype IEditableForest,\n\ttype IForestSubscription,\n\ttype TreeLocation,\n\ttype FieldLocation,\n\ttype ForestLocation,\n\ttype ITreeSubscriptionCursor,\n\tITreeSubscriptionCursorState,\n\tinitializeForest,\n\ttype FieldAnchor,\n\tmoveToDetachedField,\n\ttype ForestEvents,\n} from \"./forest/index.js\";\n\nexport {\n\ttype FieldKey,\n\ttype TreeNodeSchemaIdentifier,\n\ttype TreeFieldStoredSchema,\n\tValueSchema,\n\tTreeNodeStoredSchema,\n\ttype TreeStoredSchemaSubscription as TreeStoredSchemaSubscription,\n\ttype MutableTreeStoredSchema,\n\ttype FieldKindIdentifier,\n\ttype FieldKindData,\n\ttype TreeTypeSet,\n\ttype TreeStoredSchema,\n\tTreeStoredSchemaRepository,\n\tschemaDataIsEmpty,\n\ttype SchemaEvents,\n\tforbiddenFieldKindIdentifier,\n\tidentifierFieldKindIdentifier,\n\tstoredEmptyFieldSchema,\n\ttype StoredSchemaCollection,\n\tschemaFormat,\n\tLeafNodeStoredSchema,\n\tObjectNodeStoredSchema,\n\tMapNodeStoredSchema,\n\ttoTreeNodeSchemaDataFormat,\n\tdecodeFieldSchema,\n\tencodeFieldSchema,\n\tstoredSchemaDecodeDispatcher,\n\ttype ErasedTreeNodeSchemaDataFormat,\n\ttype SchemaAndPolicy,\n\tMultiplicity,\n\ttype SchemaPolicy,\n} from \"./schema-stored/index.js\";\n\nexport {\n\ttype ChangeFamily,\n\ttype ChangeFamilyCodec,\n\ttype ChangeEncodingContext,\n\ttype ChangeFamilyEditor,\n\tEditBuilder,\n} from \"./change-family/index.js\";\n\nexport {\n\tareEqualChangeAtomIds,\n\tmakeChangeAtomId,\n\tasChangeAtomId,\n\ttype ChangeRebaser,\n\tfindAncestor,\n\tfindCommonAncestor,\n\ttype GraphCommit,\n\tCommitKind,\n\ttype CommitMetadata,\n\ttype RevisionTag,\n\tRevisionTagSchema,\n\tRevisionTagCodec,\n\ttype ChangesetLocalId,\n\ttype ChangeAtomId,\n\ttype ChangeAtomIdMap,\n\ttype TaggedChange,\n\tmakeAnonChange,\n\ttagChange,\n\tmapTaggedChange,\n\ttagRollbackInverse,\n\tSessionIdSchema,\n\tmintCommit,\n\trebaseBranch,\n\ttype BranchRebaseResult,\n\trebaseChange,\n\trebaseChangeOverChanges,\n\ttype RevisionMetadataSource,\n\trevisionMetadataSourceFromInfo,\n\ttype RevisionInfo,\n\ttype EncodedRevisionTag,\n\ttype EncodedChangeAtomId,\n\ttaggedAtomId,\n\ttaggedOptAtomId,\n\toffsetChangeAtomId,\n\treplaceAtomRevisions,\n\treplaceChange,\n} from \"./rebase/index.js\";\n\nexport {\n\ttype Adapters,\n\tAdaptedViewSchema,\n\tCompatibility,\n\ttype TreeAdapter,\n\tAllowedUpdateType,\n} from \"./schema-view/index.js\";\n\nexport { type Revertible, RevertibleStatus } from \"./revertible/index.js\";\n"]}
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { areEqualChangeAtomIds, makeChangeAtomId, asChangeAtomId, mintCommit, GraphCommit, CommitKind, CommitMetadata, RevisionTag, RevisionTagSchema, EncodedRevisionTag, EncodedChangeAtomId, ChangesetLocalId, ChangeAtomId, ChangeAtomIdMap, SessionIdSchema, taggedAtomId, taggedOptAtomId, offsetChangeAtomId, replaceAtomRevisions, replaceChange, } from "./types.js";
5
+ export { areEqualChangeAtomIds, makeChangeAtomId, asChangeAtomId, mintCommit, type GraphCommit, CommitKind, type CommitMetadata, type RevisionTag, RevisionTagSchema, type EncodedRevisionTag, type EncodedChangeAtomId, type ChangesetLocalId, type ChangeAtomId, type ChangeAtomIdMap, SessionIdSchema, taggedAtomId, taggedOptAtomId, offsetChangeAtomId, replaceAtomRevisions, replaceChange, } from "./types.js";
6
6
  export { RevisionTagCodec } from "./revisionTagCodec.js";
7
- export { ChangeRebaser, FinalChange, FinalChangeStatus, makeAnonChange, tagChange, mapTaggedChange, tagRollbackInverse, TaggedChange, RevisionMetadataSource, RevisionInfo, } from "./changeRebaser.js";
8
- export { findAncestor, findCommonAncestor, rebaseBranch, BranchRebaseResult, rebaseChange, rebaseChangeOverChanges, revisionMetadataSourceFromInfo, } from "./utils.js";
7
+ export { type ChangeRebaser, type FinalChange, FinalChangeStatus, makeAnonChange, tagChange, mapTaggedChange, tagRollbackInverse, type TaggedChange, type RevisionMetadataSource, type RevisionInfo, } from "./changeRebaser.js";
8
+ export { findAncestor, findCommonAncestor, rebaseBranch, type BranchRebaseResult, rebaseChange, rebaseChangeOverChanges, revisionMetadataSourceFromInfo, } from "./utils.js";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/rebase/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACN,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,sBAAsB,EACtB,YAAY,GACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,8BAA8B,GAC9B,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/rebase/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,KAAK,WAAW,EAChB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,eAAe,EACf,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,iBAAiB,EACjB,cAAc,EACd,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,YAAY,GACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,KAAK,kBAAkB,EACvB,YAAY,EACZ,uBAAuB,EACvB,8BAA8B,GAC9B,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/rebase/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAqBoB;AApBnB,iHAAA,qBAAqB,OAAA;AACrB,4GAAA,gBAAgB,OAAA;AAChB,0GAAA,cAAc,OAAA;AACd,sGAAA,UAAU,OAAA;AAEV,sGAAA,UAAU,OAAA;AAGV,6GAAA,iBAAiB,OAAA;AAMjB,2GAAA,eAAe,OAAA;AACf,wGAAA,YAAY,OAAA;AACZ,2GAAA,eAAe,OAAA;AACf,8GAAA,kBAAkB,OAAA;AAClB,gHAAA,oBAAoB,OAAA;AACpB,yGAAA,aAAa,OAAA;AAEd,6DAAyD;AAAhD,uHAAA,gBAAgB,OAAA;AACzB,uDAW4B;AAR3B,qHAAA,iBAAiB,OAAA;AACjB,kHAAA,cAAc,OAAA;AACd,6GAAA,SAAS,OAAA;AACT,mHAAA,eAAe,OAAA;AACf,sHAAA,kBAAkB,OAAA;AAKnB,uCAQoB;AAPnB,wGAAA,YAAY,OAAA;AACZ,8GAAA,kBAAkB,OAAA;AAClB,wGAAA,YAAY,OAAA;AAEZ,wGAAA,YAAY,OAAA;AACZ,mHAAA,uBAAuB,OAAA;AACvB,0HAAA,8BAA8B,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tareEqualChangeAtomIds,\n\tmakeChangeAtomId,\n\tasChangeAtomId,\n\tmintCommit,\n\tGraphCommit,\n\tCommitKind,\n\tCommitMetadata,\n\tRevisionTag,\n\tRevisionTagSchema,\n\tEncodedRevisionTag,\n\tEncodedChangeAtomId,\n\tChangesetLocalId,\n\tChangeAtomId,\n\tChangeAtomIdMap,\n\tSessionIdSchema,\n\ttaggedAtomId,\n\ttaggedOptAtomId,\n\toffsetChangeAtomId,\n\treplaceAtomRevisions,\n\treplaceChange,\n} from \"./types.js\";\nexport { RevisionTagCodec } from \"./revisionTagCodec.js\";\nexport {\n\tChangeRebaser,\n\tFinalChange,\n\tFinalChangeStatus,\n\tmakeAnonChange,\n\ttagChange,\n\tmapTaggedChange,\n\ttagRollbackInverse,\n\tTaggedChange,\n\tRevisionMetadataSource,\n\tRevisionInfo,\n} from \"./changeRebaser.js\";\nexport {\n\tfindAncestor,\n\tfindCommonAncestor,\n\trebaseBranch,\n\tBranchRebaseResult,\n\trebaseChange,\n\trebaseChangeOverChanges,\n\trevisionMetadataSourceFromInfo,\n} from \"./utils.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/rebase/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,uCAqBoB;AApBnB,iHAAA,qBAAqB,OAAA;AACrB,4GAAA,gBAAgB,OAAA;AAChB,0GAAA,cAAc,OAAA;AACd,sGAAA,UAAU,OAAA;AAEV,sGAAA,UAAU,OAAA;AAGV,6GAAA,iBAAiB,OAAA;AAMjB,2GAAA,eAAe,OAAA;AACf,wGAAA,YAAY,OAAA;AACZ,2GAAA,eAAe,OAAA;AACf,8GAAA,kBAAkB,OAAA;AAClB,gHAAA,oBAAoB,OAAA;AACpB,yGAAA,aAAa,OAAA;AAEd,6DAAyD;AAAhD,uHAAA,gBAAgB,OAAA;AACzB,uDAW4B;AAR3B,qHAAA,iBAAiB,OAAA;AACjB,kHAAA,cAAc,OAAA;AACd,6GAAA,SAAS,OAAA;AACT,mHAAA,eAAe,OAAA;AACf,sHAAA,kBAAkB,OAAA;AAKnB,uCAQoB;AAPnB,wGAAA,YAAY,OAAA;AACZ,8GAAA,kBAAkB,OAAA;AAClB,wGAAA,YAAY,OAAA;AAEZ,wGAAA,YAAY,OAAA;AACZ,mHAAA,uBAAuB,OAAA;AACvB,0HAAA,8BAA8B,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tareEqualChangeAtomIds,\n\tmakeChangeAtomId,\n\tasChangeAtomId,\n\tmintCommit,\n\ttype GraphCommit,\n\tCommitKind,\n\ttype CommitMetadata,\n\ttype RevisionTag,\n\tRevisionTagSchema,\n\ttype EncodedRevisionTag,\n\ttype EncodedChangeAtomId,\n\ttype ChangesetLocalId,\n\ttype ChangeAtomId,\n\ttype ChangeAtomIdMap,\n\tSessionIdSchema,\n\ttaggedAtomId,\n\ttaggedOptAtomId,\n\toffsetChangeAtomId,\n\treplaceAtomRevisions,\n\treplaceChange,\n} from \"./types.js\";\nexport { RevisionTagCodec } from \"./revisionTagCodec.js\";\nexport {\n\ttype ChangeRebaser,\n\ttype FinalChange,\n\tFinalChangeStatus,\n\tmakeAnonChange,\n\ttagChange,\n\tmapTaggedChange,\n\ttagRollbackInverse,\n\ttype TaggedChange,\n\ttype RevisionMetadataSource,\n\ttype RevisionInfo,\n} from \"./changeRebaser.js\";\nexport {\n\tfindAncestor,\n\tfindCommonAncestor,\n\trebaseBranch,\n\ttype BranchRebaseResult,\n\trebaseChange,\n\trebaseChangeOverChanges,\n\trevisionMetadataSourceFromInfo,\n} from \"./utils.js\";\n"]}
@@ -2,5 +2,5 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { Revertible, RevertibleStatus } from "./revertible.js";
5
+ export { type Revertible, RevertibleStatus } from "./revertible.js";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/revertible/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/revertible/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/revertible/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,iDAA+D;AAA1C,iHAAA,gBAAgB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { Revertible, RevertibleStatus } from \"./revertible.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/revertible/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,iDAAoE;AAA1C,iHAAA,gBAAgB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { type Revertible, RevertibleStatus } from \"./revertible.js\";\n"]}
@@ -2,10 +2,10 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { TreeFieldStoredSchema, ValueSchema, TreeNodeStoredSchema, TreeTypeSet, FieldKindData, TreeStoredSchema, forbiddenFieldKindIdentifier, identifierFieldKindIdentifier, storedEmptyFieldSchema, StoredSchemaCollection, LeafNodeStoredSchema, ObjectNodeStoredSchema, MapNodeStoredSchema, decodeFieldSchema, encodeFieldSchema, storedSchemaDecodeDispatcher, ErasedTreeNodeSchemaDataFormat, toTreeNodeSchemaDataFormat, SchemaAndPolicy, SchemaPolicy, } from "./schema.js";
6
- export { TreeStoredSchemaSubscription, MutableTreeStoredSchema, TreeStoredSchemaRepository, schemaDataIsEmpty, SchemaEvents, } from "./storedSchemaRepository.js";
5
+ export { type TreeFieldStoredSchema, ValueSchema, TreeNodeStoredSchema, type TreeTypeSet, type FieldKindData, type TreeStoredSchema, forbiddenFieldKindIdentifier, identifierFieldKindIdentifier, storedEmptyFieldSchema, type StoredSchemaCollection, LeafNodeStoredSchema, ObjectNodeStoredSchema, MapNodeStoredSchema, decodeFieldSchema, encodeFieldSchema, storedSchemaDecodeDispatcher, type ErasedTreeNodeSchemaDataFormat, toTreeNodeSchemaDataFormat, type SchemaAndPolicy, type SchemaPolicy, } from "./schema.js";
6
+ export { type TreeStoredSchemaSubscription, type MutableTreeStoredSchema, TreeStoredSchemaRepository, schemaDataIsEmpty, type SchemaEvents, } from "./storedSchemaRepository.js";
7
7
  export { Multiplicity } from "./multiplicity.js";
8
- export { TreeNodeSchemaIdentifier, FieldKey, FieldKindIdentifier } from "./format.js";
8
+ export type { TreeNodeSchemaIdentifier, FieldKey, FieldKindIdentifier } from "./format.js";
9
9
  import * as schemaFormat from "./format.js";
10
10
  export { schemaFormat };
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/schema-stored/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,qBAAqB,EACrB,WAAW,EACX,oBAAoB,EACpB,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC5B,8BAA8B,EAC9B,0BAA0B,EAC1B,eAAe,EACf,YAAY,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,4BAA4B,EAC5B,uBAAuB,EACvB,0BAA0B,EAC1B,iBAAiB,EACjB,YAAY,GACZ,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEtF,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/schema-stored/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,KAAK,qBAAqB,EAC1B,WAAW,EACX,oBAAoB,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACtB,KAAK,sBAAsB,EAC3B,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC5B,KAAK,8BAA8B,EACnC,0BAA0B,EAC1B,KAAK,eAAe,EACpB,KAAK,YAAY,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,KAAK,YAAY,GACjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,YAAY,EAAE,wBAAwB,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE3F,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/schema-stored/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAqBqB;AAnBpB,wGAAA,WAAW,OAAA;AACX,iHAAA,oBAAoB,OAAA;AAIpB,yHAAA,4BAA4B,OAAA;AAC5B,0HAAA,6BAA6B,OAAA;AAC7B,mHAAA,sBAAsB,OAAA;AAEtB,iHAAA,oBAAoB,OAAA;AACpB,mHAAA,sBAAsB,OAAA;AACtB,gHAAA,mBAAmB,OAAA;AACnB,8GAAA,iBAAiB,OAAA;AACjB,8GAAA,iBAAiB,OAAA;AACjB,yHAAA,4BAA4B,OAAA;AAE5B,uHAAA,0BAA0B,OAAA;AAI3B,yEAMqC;AAHpC,uIAAA,0BAA0B,OAAA;AAC1B,8HAAA,iBAAiB,OAAA;AAGlB,qDAAiD;AAAxC,+GAAA,YAAY,OAAA;AAIrB,0DAA4C;AACnC,oCAAY","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tTreeFieldStoredSchema,\n\tValueSchema,\n\tTreeNodeStoredSchema,\n\tTreeTypeSet,\n\tFieldKindData,\n\tTreeStoredSchema,\n\tforbiddenFieldKindIdentifier,\n\tidentifierFieldKindIdentifier,\n\tstoredEmptyFieldSchema,\n\tStoredSchemaCollection,\n\tLeafNodeStoredSchema,\n\tObjectNodeStoredSchema,\n\tMapNodeStoredSchema,\n\tdecodeFieldSchema,\n\tencodeFieldSchema,\n\tstoredSchemaDecodeDispatcher,\n\tErasedTreeNodeSchemaDataFormat,\n\ttoTreeNodeSchemaDataFormat,\n\tSchemaAndPolicy,\n\tSchemaPolicy,\n} from \"./schema.js\";\nexport {\n\tTreeStoredSchemaSubscription,\n\tMutableTreeStoredSchema,\n\tTreeStoredSchemaRepository,\n\tschemaDataIsEmpty,\n\tSchemaEvents,\n} from \"./storedSchemaRepository.js\";\nexport { Multiplicity } from \"./multiplicity.js\";\n\nexport { TreeNodeSchemaIdentifier, FieldKey, FieldKindIdentifier } from \"./format.js\";\n\nimport * as schemaFormat from \"./format.js\";\nexport { schemaFormat };\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/schema-stored/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAqBqB;AAnBpB,wGAAA,WAAW,OAAA;AACX,iHAAA,oBAAoB,OAAA;AAIpB,yHAAA,4BAA4B,OAAA;AAC5B,0HAAA,6BAA6B,OAAA;AAC7B,mHAAA,sBAAsB,OAAA;AAEtB,iHAAA,oBAAoB,OAAA;AACpB,mHAAA,sBAAsB,OAAA;AACtB,gHAAA,mBAAmB,OAAA;AACnB,8GAAA,iBAAiB,OAAA;AACjB,8GAAA,iBAAiB,OAAA;AACjB,yHAAA,4BAA4B,OAAA;AAE5B,uHAAA,0BAA0B,OAAA;AAI3B,yEAMqC;AAHpC,uIAAA,0BAA0B,OAAA;AAC1B,8HAAA,iBAAiB,OAAA;AAGlB,qDAAiD;AAAxC,+GAAA,YAAY,OAAA;AAIrB,0DAA4C;AACnC,oCAAY","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\ttype TreeFieldStoredSchema,\n\tValueSchema,\n\tTreeNodeStoredSchema,\n\ttype TreeTypeSet,\n\ttype FieldKindData,\n\ttype TreeStoredSchema,\n\tforbiddenFieldKindIdentifier,\n\tidentifierFieldKindIdentifier,\n\tstoredEmptyFieldSchema,\n\ttype StoredSchemaCollection,\n\tLeafNodeStoredSchema,\n\tObjectNodeStoredSchema,\n\tMapNodeStoredSchema,\n\tdecodeFieldSchema,\n\tencodeFieldSchema,\n\tstoredSchemaDecodeDispatcher,\n\ttype ErasedTreeNodeSchemaDataFormat,\n\ttoTreeNodeSchemaDataFormat,\n\ttype SchemaAndPolicy,\n\ttype SchemaPolicy,\n} from \"./schema.js\";\nexport {\n\ttype TreeStoredSchemaSubscription,\n\ttype MutableTreeStoredSchema,\n\tTreeStoredSchemaRepository,\n\tschemaDataIsEmpty,\n\ttype SchemaEvents,\n} from \"./storedSchemaRepository.js\";\nexport { Multiplicity } from \"./multiplicity.js\";\n\nexport type { TreeNodeSchemaIdentifier, FieldKey, FieldKindIdentifier } from \"./format.js\";\n\nimport * as schemaFormat from \"./format.js\";\nexport { schemaFormat };\n"]}
@@ -2,5 +2,5 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { Adapters, Compatibility, TreeAdapter, AdaptedViewSchema, AllowedUpdateType, } from "./view.js";
5
+ export { type Adapters, Compatibility, type TreeAdapter, AdaptedViewSchema, AllowedUpdateType, } from "./view.js";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/schema-view/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,QAAQ,EACR,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GACjB,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/schema-view/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,KAAK,QAAQ,EACb,aAAa,EACb,KAAK,WAAW,EAChB,iBAAiB,EACjB,iBAAiB,GACjB,MAAM,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/schema-view/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,qCAMmB;AAJlB,wGAAA,aAAa,OAAA;AAEb,4GAAA,iBAAiB,OAAA;AACjB,4GAAA,iBAAiB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tAdapters,\n\tCompatibility,\n\tTreeAdapter,\n\tAdaptedViewSchema,\n\tAllowedUpdateType,\n} from \"./view.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/schema-view/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,qCAMmB;AAJlB,wGAAA,aAAa,OAAA;AAEb,4GAAA,iBAAiB,OAAA;AACjB,4GAAA,iBAAiB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\ttype Adapters,\n\tCompatibility,\n\ttype TreeAdapter,\n\tAdaptedViewSchema,\n\tAllowedUpdateType,\n} from \"./view.js\";\n"]}
@@ -2,18 +2,18 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { Anchor, AnchorLocator, AnchorSet, AnchorSlot, AnchorNode, anchorSlot, AnchorEvents, AnchorSetRootEvents, } from "./anchorSet.js";
6
- export { ITreeCursor, CursorLocationType, castCursorToSynchronous, mapCursorField, mapCursorFields, forEachNode, forEachNodeInSubtree, forEachField, iterateCursorField, ITreeCursorSynchronous, PathRootPrefix, inCursorField, inCursorNode, CursorMarker, isCursor, } from "./cursor.js";
7
- export { ProtoNodes, Root as DeltaRoot, ProtoNode as DeltaProtoNode, Mark as DeltaMark, DetachedNodeId as DeltaDetachedNodeId, FieldMap as DeltaFieldMap, DetachedNodeChanges as DeltaDetachedNodeChanges, DetachedNodeBuild as DeltaDetachedNodeBuild, DetachedNodeDestruction as DeltaDetachedNodeDestruction, DetachedNodeRename as DeltaDetachedNodeRename, FieldChanges as DeltaFieldChanges, } from "./delta.js";
8
- export { MapTree } from "./mapTree.js";
9
- export { clonePath, topDownPath, getDepth, UpPath, FieldUpPath, Range, RangeUpPath, PlaceUpPath, PlaceIndex, NodeIndex, DetachedPlaceUpPath, DetachedRangeUpPath, compareUpPaths, compareFieldUpPaths, getDetachedFieldContainingPath, UpPathDefault, } from "./pathTree.js";
10
- export { FieldMapObject, GenericFieldsNode, genericTreeDeleteIfEmpty, genericTreeKeys, GenericTreeNode, getGenericTreeField, JsonableTree, setGenericTreeField, } from "./treeTextFormat.js";
5
+ export { type Anchor, type AnchorLocator, AnchorSet, type AnchorSlot, type AnchorNode, anchorSlot, type AnchorEvents, type AnchorSetRootEvents, } from "./anchorSet.js";
6
+ export { type ITreeCursor, CursorLocationType, castCursorToSynchronous, mapCursorField, mapCursorFields, forEachNode, forEachNodeInSubtree, forEachField, iterateCursorField, type ITreeCursorSynchronous, type PathRootPrefix, inCursorField, inCursorNode, CursorMarker, isCursor, } from "./cursor.js";
7
+ export type { ProtoNodes, Root as DeltaRoot, ProtoNode as DeltaProtoNode, Mark as DeltaMark, DetachedNodeId as DeltaDetachedNodeId, FieldMap as DeltaFieldMap, DetachedNodeChanges as DeltaDetachedNodeChanges, DetachedNodeBuild as DeltaDetachedNodeBuild, DetachedNodeDestruction as DeltaDetachedNodeDestruction, DetachedNodeRename as DeltaDetachedNodeRename, FieldChanges as DeltaFieldChanges, } from "./delta.js";
8
+ export type { MapTree } from "./mapTree.js";
9
+ export { clonePath, topDownPath, getDepth, type UpPath, type FieldUpPath, type Range, type RangeUpPath, type PlaceUpPath, type PlaceIndex, type NodeIndex, type DetachedPlaceUpPath, type DetachedRangeUpPath, compareUpPaths, compareFieldUpPaths, getDetachedFieldContainingPath, type UpPathDefault, } from "./pathTree.js";
10
+ export { type FieldMapObject, type GenericFieldsNode, genericTreeDeleteIfEmpty, genericTreeKeys, type GenericTreeNode, getGenericTreeField, type JsonableTree, setGenericTreeField, } from "./treeTextFormat.js";
11
11
  export { EncodedJsonableTree } from "./persistedTreeTextFormat.js";
12
- export { EmptyKey, TreeType, ChildLocation, DetachedField, ChildCollection, RootField, Value, TreeValue, detachedFieldAsKey, keyAsDetachedField, rootFieldKey, NodeData, rootField, aboveRootPlaceholder, } from "./types.js";
13
- export { DeltaVisitor, visitDelta } from "./visitDelta.js";
14
- export { AnnouncedVisitor, announceDelta, applyDelta, combineVisitors, makeDetachedFieldIndex, } from "./visitorUtils.js";
15
- export { PathVisitor } from "./visitPath.js";
12
+ export { EmptyKey, type TreeType, type ChildLocation, type DetachedField, type ChildCollection, type RootField, type Value, type TreeValue, detachedFieldAsKey, keyAsDetachedField, rootFieldKey, type NodeData, rootField, aboveRootPlaceholder, } from "./types.js";
13
+ export { type DeltaVisitor, visitDelta } from "./visitDelta.js";
14
+ export { type AnnouncedVisitor, announceDelta, applyDelta, combineVisitors, makeDetachedFieldIndex, } from "./visitorUtils.js";
15
+ export type { PathVisitor } from "./visitPath.js";
16
16
  export { SparseNode, getDescendant } from "./sparseTree.js";
17
17
  export { deltaForRootInitialization, emptyFieldChanges, isEmptyFieldChanges, makeDetachedNodeId, offsetDetachId, emptyDelta, } from "./deltaUtil.js";
18
- export { DetachedFieldIndex, ForestRootId } from "./detachedFieldIndex.js";
18
+ export { DetachedFieldIndex, type ForestRootId } from "./detachedFieldIndex.js";
19
19
  //# sourceMappingURL=index.d.ts.map