@fluidframework/tree 2.41.0-338186 → 2.41.0-338401

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 (407) hide show
  1. package/api-report/tree.alpha.api.md +164 -4
  2. package/dist/alpha.d.ts +2 -0
  3. package/dist/codec/codec.d.ts +42 -7
  4. package/dist/codec/codec.d.ts.map +1 -1
  5. package/dist/codec/codec.js +50 -8
  6. package/dist/codec/codec.js.map +1 -1
  7. package/dist/core/change-family/editBuilder.d.ts.map +1 -1
  8. package/dist/core/change-family/editBuilder.js.map +1 -1
  9. package/dist/core/forest/forest.d.ts.map +1 -1
  10. package/dist/core/forest/forest.js.map +1 -1
  11. package/dist/core/schema-stored/schema.d.ts.map +1 -1
  12. package/dist/core/schema-stored/schema.js.map +1 -1
  13. package/dist/core/schema-stored/storedSchemaRepository.d.ts +1 -1
  14. package/dist/core/schema-stored/storedSchemaRepository.d.ts.map +1 -1
  15. package/dist/core/schema-stored/storedSchemaRepository.js +1 -1
  16. package/dist/core/schema-stored/storedSchemaRepository.js.map +1 -1
  17. package/dist/core/tree/anchorSet.d.ts.map +1 -1
  18. package/dist/core/tree/anchorSet.js +2 -2
  19. package/dist/core/tree/anchorSet.js.map +1 -1
  20. package/dist/core/tree/chunk.d.ts.map +1 -1
  21. package/dist/core/tree/chunk.js.map +1 -1
  22. package/dist/core/tree/delta.d.ts.map +1 -1
  23. package/dist/core/tree/delta.js.map +1 -1
  24. package/dist/core/tree/deltaUtil.d.ts.map +1 -1
  25. package/dist/core/tree/deltaUtil.js.map +1 -1
  26. package/dist/core/tree/detachedFieldIndex.d.ts +1 -1
  27. package/dist/core/tree/detachedFieldIndex.d.ts.map +1 -1
  28. package/dist/core/tree/detachedFieldIndex.js.map +1 -1
  29. package/dist/core/tree/detachedFieldIndexCodec.d.ts +1 -1
  30. package/dist/core/tree/detachedFieldIndexCodec.d.ts.map +1 -1
  31. package/dist/core/tree/detachedFieldIndexCodec.js +1 -1
  32. package/dist/core/tree/detachedFieldIndexCodec.js.map +1 -1
  33. package/dist/core/tree/pathTree.d.ts.map +1 -1
  34. package/dist/core/tree/pathTree.js.map +1 -1
  35. package/dist/core/tree/treeTextFormat.d.ts.map +1 -1
  36. package/dist/core/tree/treeTextFormat.js.map +1 -1
  37. package/dist/core/tree/visitDelta.d.ts +1 -1
  38. package/dist/core/tree/visitDelta.d.ts.map +1 -1
  39. package/dist/core/tree/visitDelta.js.map +1 -1
  40. package/dist/core/tree/visitorUtils.d.ts +2 -2
  41. package/dist/core/tree/visitorUtils.d.ts.map +1 -1
  42. package/dist/core/tree/visitorUtils.js.map +1 -1
  43. package/dist/feature-libraries/chunked-forest/chunkTree.d.ts +1 -1
  44. package/dist/feature-libraries/chunked-forest/chunkTree.d.ts.map +1 -1
  45. package/dist/feature-libraries/chunked-forest/chunkTree.js +1 -1
  46. package/dist/feature-libraries/chunked-forest/chunkTree.js.map +1 -1
  47. package/dist/feature-libraries/chunked-forest/chunkedForest.d.ts +1 -1
  48. package/dist/feature-libraries/chunked-forest/chunkedForest.d.ts.map +1 -1
  49. package/dist/feature-libraries/chunked-forest/chunkedForest.js +1 -1
  50. package/dist/feature-libraries/chunked-forest/chunkedForest.js.map +1 -1
  51. package/dist/feature-libraries/chunked-forest/codec/chunkDecoding.d.ts +1 -1
  52. package/dist/feature-libraries/chunked-forest/codec/chunkDecoding.d.ts.map +1 -1
  53. package/dist/feature-libraries/chunked-forest/codec/chunkDecoding.js.map +1 -1
  54. package/dist/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.d.ts +2 -2
  55. package/dist/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.d.ts.map +1 -1
  56. package/dist/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.js.map +1 -1
  57. package/dist/feature-libraries/chunked-forest/codec/chunkEncodingGeneric.d.ts.map +1 -1
  58. package/dist/feature-libraries/chunked-forest/codec/chunkEncodingGeneric.js.map +1 -1
  59. package/dist/feature-libraries/chunked-forest/codec/codecs.d.ts +8 -2
  60. package/dist/feature-libraries/chunked-forest/codec/codecs.d.ts.map +1 -1
  61. package/dist/feature-libraries/chunked-forest/codec/codecs.js +12 -1
  62. package/dist/feature-libraries/chunked-forest/codec/codecs.js.map +1 -1
  63. package/dist/feature-libraries/chunked-forest/codec/compressedEncode.d.ts +1 -1
  64. package/dist/feature-libraries/chunked-forest/codec/compressedEncode.d.ts.map +1 -1
  65. package/dist/feature-libraries/chunked-forest/codec/compressedEncode.js.map +1 -1
  66. package/dist/feature-libraries/chunked-forest/codec/index.d.ts +1 -1
  67. package/dist/feature-libraries/chunked-forest/codec/index.d.ts.map +1 -1
  68. package/dist/feature-libraries/chunked-forest/codec/index.js +2 -1
  69. package/dist/feature-libraries/chunked-forest/codec/index.js.map +1 -1
  70. package/dist/feature-libraries/chunked-forest/codec/nodeShape.d.ts.map +1 -1
  71. package/dist/feature-libraries/chunked-forest/codec/nodeShape.js +1 -1
  72. package/dist/feature-libraries/chunked-forest/codec/nodeShape.js.map +1 -1
  73. package/dist/feature-libraries/chunked-forest/codec/schemaBasedEncode.d.ts +1 -1
  74. package/dist/feature-libraries/chunked-forest/codec/schemaBasedEncode.d.ts.map +1 -1
  75. package/dist/feature-libraries/chunked-forest/codec/schemaBasedEncode.js.map +1 -1
  76. package/dist/feature-libraries/chunked-forest/emptyChunk.d.ts.map +1 -1
  77. package/dist/feature-libraries/chunked-forest/emptyChunk.js.map +1 -1
  78. package/dist/feature-libraries/chunked-forest/index.d.ts +1 -1
  79. package/dist/feature-libraries/chunked-forest/index.d.ts.map +1 -1
  80. package/dist/feature-libraries/chunked-forest/index.js +2 -1
  81. package/dist/feature-libraries/chunked-forest/index.js.map +1 -1
  82. package/dist/feature-libraries/chunked-forest/sequenceChunk.d.ts +1 -1
  83. package/dist/feature-libraries/chunked-forest/sequenceChunk.d.ts.map +1 -1
  84. package/dist/feature-libraries/chunked-forest/sequenceChunk.js +4 -4
  85. package/dist/feature-libraries/chunked-forest/sequenceChunk.js.map +1 -1
  86. package/dist/feature-libraries/chunked-forest/uniformChunk.d.ts +1 -1
  87. package/dist/feature-libraries/chunked-forest/uniformChunk.d.ts.map +1 -1
  88. package/dist/feature-libraries/chunked-forest/uniformChunk.js +1 -1
  89. package/dist/feature-libraries/chunked-forest/uniformChunk.js.map +1 -1
  90. package/dist/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
  91. package/dist/feature-libraries/default-schema/defaultFieldKinds.d.ts.map +1 -1
  92. package/dist/feature-libraries/default-schema/defaultFieldKinds.js.map +1 -1
  93. package/dist/feature-libraries/default-schema/index.d.ts +1 -1
  94. package/dist/feature-libraries/default-schema/index.d.ts.map +1 -1
  95. package/dist/feature-libraries/default-schema/index.js +2 -1
  96. package/dist/feature-libraries/default-schema/index.js.map +1 -1
  97. package/dist/feature-libraries/default-schema/mappedEditBuilder.d.ts.map +1 -1
  98. package/dist/feature-libraries/default-schema/mappedEditBuilder.js.map +1 -1
  99. package/dist/feature-libraries/default-schema/schemaChecker.d.ts +4 -0
  100. package/dist/feature-libraries/default-schema/schemaChecker.d.ts.map +1 -1
  101. package/dist/feature-libraries/default-schema/schemaChecker.js +35 -26
  102. package/dist/feature-libraries/default-schema/schemaChecker.js.map +1 -1
  103. package/dist/feature-libraries/index.d.ts +2 -2
  104. package/dist/feature-libraries/index.d.ts.map +1 -1
  105. package/dist/feature-libraries/index.js +3 -1
  106. package/dist/feature-libraries/index.js.map +1 -1
  107. package/dist/feature-libraries/initializeForest.d.ts.map +1 -1
  108. package/dist/feature-libraries/initializeForest.js.map +1 -1
  109. package/dist/feature-libraries/treeCursorUtils.d.ts.map +1 -1
  110. package/dist/feature-libraries/treeCursorUtils.js +1 -1
  111. package/dist/feature-libraries/treeCursorUtils.js.map +1 -1
  112. package/dist/feature-libraries/valueUtilities.d.ts.map +1 -1
  113. package/dist/feature-libraries/valueUtilities.js +6 -6
  114. package/dist/feature-libraries/valueUtilities.js.map +1 -1
  115. package/dist/jsonDomainSchema.d.ts.map +1 -1
  116. package/dist/jsonDomainSchema.js.map +1 -1
  117. package/dist/packageVersion.d.ts +1 -1
  118. package/dist/packageVersion.js +1 -1
  119. package/dist/packageVersion.js.map +1 -1
  120. package/dist/serializableDomainSchema.d.ts.map +1 -1
  121. package/dist/serializableDomainSchema.js.map +1 -1
  122. package/dist/shared-tree/treeAlpha.d.ts +8 -0
  123. package/dist/shared-tree/treeAlpha.d.ts.map +1 -1
  124. package/dist/shared-tree/treeAlpha.js +14 -7
  125. package/dist/shared-tree/treeAlpha.js.map +1 -1
  126. package/dist/sharedTreeAttributes.d.ts.map +1 -1
  127. package/dist/sharedTreeAttributes.js.map +1 -1
  128. package/dist/simple-tree/api/create.d.ts.map +1 -1
  129. package/dist/simple-tree/api/create.js +1 -1
  130. package/dist/simple-tree/api/create.js.map +1 -1
  131. package/dist/simple-tree/api/index.d.ts +1 -1
  132. package/dist/simple-tree/api/index.d.ts.map +1 -1
  133. package/dist/simple-tree/api/index.js +3 -1
  134. package/dist/simple-tree/api/index.js.map +1 -1
  135. package/dist/simple-tree/api/treeNodeApi.d.ts +8 -0
  136. package/dist/simple-tree/api/treeNodeApi.d.ts.map +1 -1
  137. package/dist/simple-tree/api/treeNodeApi.js +3 -1
  138. package/dist/simple-tree/api/treeNodeApi.js.map +1 -1
  139. package/dist/simple-tree/arrayNode.js +1 -1
  140. package/dist/simple-tree/arrayNode.js.map +1 -1
  141. package/dist/simple-tree/core/getOrCreateNode.js +1 -1
  142. package/dist/simple-tree/core/getOrCreateNode.js.map +1 -1
  143. package/dist/simple-tree/core/treeNodeKernel.d.ts +5 -17
  144. package/dist/simple-tree/core/treeNodeKernel.d.ts.map +1 -1
  145. package/dist/simple-tree/core/treeNodeKernel.js +17 -48
  146. package/dist/simple-tree/core/treeNodeKernel.js.map +1 -1
  147. package/dist/simple-tree/{proxies.d.ts → getTreeNodeForField.d.ts} +1 -1
  148. package/dist/simple-tree/getTreeNodeForField.d.ts.map +1 -0
  149. package/dist/simple-tree/{proxies.js → getTreeNodeForField.js} +1 -1
  150. package/dist/simple-tree/getTreeNodeForField.js.map +1 -0
  151. package/dist/simple-tree/index.d.ts +2 -2
  152. package/dist/simple-tree/index.d.ts.map +1 -1
  153. package/dist/simple-tree/index.js +6 -4
  154. package/dist/simple-tree/index.js.map +1 -1
  155. package/dist/simple-tree/mapNode.js +4 -4
  156. package/dist/simple-tree/mapNode.js.map +1 -1
  157. package/dist/simple-tree/objectNode.js +3 -3
  158. package/dist/simple-tree/objectNode.js.map +1 -1
  159. package/dist/simple-tree/prepareForInsertion.d.ts +18 -6
  160. package/dist/simple-tree/prepareForInsertion.d.ts.map +1 -1
  161. package/dist/simple-tree/prepareForInsertion.js +51 -22
  162. package/dist/simple-tree/prepareForInsertion.js.map +1 -1
  163. package/dist/simple-tree/toMapTree.d.ts +3 -8
  164. package/dist/simple-tree/toMapTree.d.ts.map +1 -1
  165. package/dist/simple-tree/toMapTree.js +3 -22
  166. package/dist/simple-tree/toMapTree.js.map +1 -1
  167. package/dist/tableSchema.d.ts +109 -62
  168. package/dist/tableSchema.d.ts.map +1 -1
  169. package/dist/tableSchema.js +83 -36
  170. package/dist/tableSchema.js.map +1 -1
  171. package/dist/treeFactory.d.ts.map +1 -1
  172. package/dist/treeFactory.js +2 -2
  173. package/dist/treeFactory.js.map +1 -1
  174. package/lib/alpha.d.ts +2 -0
  175. package/lib/codec/codec.d.ts +42 -7
  176. package/lib/codec/codec.d.ts.map +1 -1
  177. package/lib/codec/codec.js +50 -8
  178. package/lib/codec/codec.js.map +1 -1
  179. package/lib/core/change-family/editBuilder.d.ts.map +1 -1
  180. package/lib/core/change-family/editBuilder.js.map +1 -1
  181. package/lib/core/forest/forest.d.ts.map +1 -1
  182. package/lib/core/forest/forest.js.map +1 -1
  183. package/lib/core/schema-stored/schema.d.ts.map +1 -1
  184. package/lib/core/schema-stored/schema.js.map +1 -1
  185. package/lib/core/schema-stored/storedSchemaRepository.d.ts +1 -1
  186. package/lib/core/schema-stored/storedSchemaRepository.d.ts.map +1 -1
  187. package/lib/core/schema-stored/storedSchemaRepository.js +1 -1
  188. package/lib/core/schema-stored/storedSchemaRepository.js.map +1 -1
  189. package/lib/core/tree/anchorSet.d.ts.map +1 -1
  190. package/lib/core/tree/anchorSet.js +2 -2
  191. package/lib/core/tree/anchorSet.js.map +1 -1
  192. package/lib/core/tree/chunk.d.ts.map +1 -1
  193. package/lib/core/tree/chunk.js.map +1 -1
  194. package/lib/core/tree/delta.d.ts.map +1 -1
  195. package/lib/core/tree/delta.js.map +1 -1
  196. package/lib/core/tree/deltaUtil.d.ts.map +1 -1
  197. package/lib/core/tree/deltaUtil.js.map +1 -1
  198. package/lib/core/tree/detachedFieldIndex.d.ts +1 -1
  199. package/lib/core/tree/detachedFieldIndex.d.ts.map +1 -1
  200. package/lib/core/tree/detachedFieldIndex.js.map +1 -1
  201. package/lib/core/tree/detachedFieldIndexCodec.d.ts +1 -1
  202. package/lib/core/tree/detachedFieldIndexCodec.d.ts.map +1 -1
  203. package/lib/core/tree/detachedFieldIndexCodec.js +1 -1
  204. package/lib/core/tree/detachedFieldIndexCodec.js.map +1 -1
  205. package/lib/core/tree/pathTree.d.ts.map +1 -1
  206. package/lib/core/tree/pathTree.js.map +1 -1
  207. package/lib/core/tree/treeTextFormat.d.ts.map +1 -1
  208. package/lib/core/tree/treeTextFormat.js.map +1 -1
  209. package/lib/core/tree/visitDelta.d.ts +1 -1
  210. package/lib/core/tree/visitDelta.d.ts.map +1 -1
  211. package/lib/core/tree/visitDelta.js.map +1 -1
  212. package/lib/core/tree/visitorUtils.d.ts +2 -2
  213. package/lib/core/tree/visitorUtils.d.ts.map +1 -1
  214. package/lib/core/tree/visitorUtils.js.map +1 -1
  215. package/lib/feature-libraries/chunked-forest/chunkTree.d.ts +1 -1
  216. package/lib/feature-libraries/chunked-forest/chunkTree.d.ts.map +1 -1
  217. package/lib/feature-libraries/chunked-forest/chunkTree.js +1 -1
  218. package/lib/feature-libraries/chunked-forest/chunkTree.js.map +1 -1
  219. package/lib/feature-libraries/chunked-forest/chunkedForest.d.ts +1 -1
  220. package/lib/feature-libraries/chunked-forest/chunkedForest.d.ts.map +1 -1
  221. package/lib/feature-libraries/chunked-forest/chunkedForest.js +1 -1
  222. package/lib/feature-libraries/chunked-forest/chunkedForest.js.map +1 -1
  223. package/lib/feature-libraries/chunked-forest/codec/chunkDecoding.d.ts +1 -1
  224. package/lib/feature-libraries/chunked-forest/codec/chunkDecoding.d.ts.map +1 -1
  225. package/lib/feature-libraries/chunked-forest/codec/chunkDecoding.js.map +1 -1
  226. package/lib/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.d.ts +2 -2
  227. package/lib/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.d.ts.map +1 -1
  228. package/lib/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.js.map +1 -1
  229. package/lib/feature-libraries/chunked-forest/codec/chunkEncodingGeneric.d.ts.map +1 -1
  230. package/lib/feature-libraries/chunked-forest/codec/chunkEncodingGeneric.js.map +1 -1
  231. package/lib/feature-libraries/chunked-forest/codec/codecs.d.ts +8 -2
  232. package/lib/feature-libraries/chunked-forest/codec/codecs.d.ts.map +1 -1
  233. package/lib/feature-libraries/chunked-forest/codec/codecs.js +10 -0
  234. package/lib/feature-libraries/chunked-forest/codec/codecs.js.map +1 -1
  235. package/lib/feature-libraries/chunked-forest/codec/compressedEncode.d.ts +1 -1
  236. package/lib/feature-libraries/chunked-forest/codec/compressedEncode.d.ts.map +1 -1
  237. package/lib/feature-libraries/chunked-forest/codec/compressedEncode.js.map +1 -1
  238. package/lib/feature-libraries/chunked-forest/codec/index.d.ts +1 -1
  239. package/lib/feature-libraries/chunked-forest/codec/index.d.ts.map +1 -1
  240. package/lib/feature-libraries/chunked-forest/codec/index.js +1 -1
  241. package/lib/feature-libraries/chunked-forest/codec/index.js.map +1 -1
  242. package/lib/feature-libraries/chunked-forest/codec/nodeShape.d.ts.map +1 -1
  243. package/lib/feature-libraries/chunked-forest/codec/nodeShape.js +1 -1
  244. package/lib/feature-libraries/chunked-forest/codec/nodeShape.js.map +1 -1
  245. package/lib/feature-libraries/chunked-forest/codec/schemaBasedEncode.d.ts +1 -1
  246. package/lib/feature-libraries/chunked-forest/codec/schemaBasedEncode.d.ts.map +1 -1
  247. package/lib/feature-libraries/chunked-forest/codec/schemaBasedEncode.js.map +1 -1
  248. package/lib/feature-libraries/chunked-forest/emptyChunk.d.ts.map +1 -1
  249. package/lib/feature-libraries/chunked-forest/emptyChunk.js.map +1 -1
  250. package/lib/feature-libraries/chunked-forest/index.d.ts +1 -1
  251. package/lib/feature-libraries/chunked-forest/index.d.ts.map +1 -1
  252. package/lib/feature-libraries/chunked-forest/index.js +1 -1
  253. package/lib/feature-libraries/chunked-forest/index.js.map +1 -1
  254. package/lib/feature-libraries/chunked-forest/sequenceChunk.d.ts +1 -1
  255. package/lib/feature-libraries/chunked-forest/sequenceChunk.d.ts.map +1 -1
  256. package/lib/feature-libraries/chunked-forest/sequenceChunk.js +1 -1
  257. package/lib/feature-libraries/chunked-forest/sequenceChunk.js.map +1 -1
  258. package/lib/feature-libraries/chunked-forest/uniformChunk.d.ts +1 -1
  259. package/lib/feature-libraries/chunked-forest/uniformChunk.d.ts.map +1 -1
  260. package/lib/feature-libraries/chunked-forest/uniformChunk.js +1 -1
  261. package/lib/feature-libraries/chunked-forest/uniformChunk.js.map +1 -1
  262. package/lib/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
  263. package/lib/feature-libraries/default-schema/defaultFieldKinds.d.ts.map +1 -1
  264. package/lib/feature-libraries/default-schema/defaultFieldKinds.js.map +1 -1
  265. package/lib/feature-libraries/default-schema/index.d.ts +1 -1
  266. package/lib/feature-libraries/default-schema/index.d.ts.map +1 -1
  267. package/lib/feature-libraries/default-schema/index.js +1 -1
  268. package/lib/feature-libraries/default-schema/index.js.map +1 -1
  269. package/lib/feature-libraries/default-schema/mappedEditBuilder.d.ts.map +1 -1
  270. package/lib/feature-libraries/default-schema/mappedEditBuilder.js.map +1 -1
  271. package/lib/feature-libraries/default-schema/schemaChecker.d.ts +4 -0
  272. package/lib/feature-libraries/default-schema/schemaChecker.d.ts.map +1 -1
  273. package/lib/feature-libraries/default-schema/schemaChecker.js +33 -25
  274. package/lib/feature-libraries/default-schema/schemaChecker.js.map +1 -1
  275. package/lib/feature-libraries/index.d.ts +2 -2
  276. package/lib/feature-libraries/index.d.ts.map +1 -1
  277. package/lib/feature-libraries/index.js +2 -2
  278. package/lib/feature-libraries/index.js.map +1 -1
  279. package/lib/feature-libraries/initializeForest.d.ts.map +1 -1
  280. package/lib/feature-libraries/initializeForest.js.map +1 -1
  281. package/lib/feature-libraries/treeCursorUtils.d.ts.map +1 -1
  282. package/lib/feature-libraries/treeCursorUtils.js +1 -1
  283. package/lib/feature-libraries/treeCursorUtils.js.map +1 -1
  284. package/lib/feature-libraries/valueUtilities.d.ts.map +1 -1
  285. package/lib/feature-libraries/valueUtilities.js +1 -1
  286. package/lib/feature-libraries/valueUtilities.js.map +1 -1
  287. package/lib/jsonDomainSchema.d.ts.map +1 -1
  288. package/lib/jsonDomainSchema.js.map +1 -1
  289. package/lib/packageVersion.d.ts +1 -1
  290. package/lib/packageVersion.js +1 -1
  291. package/lib/packageVersion.js.map +1 -1
  292. package/lib/serializableDomainSchema.d.ts.map +1 -1
  293. package/lib/serializableDomainSchema.js.map +1 -1
  294. package/lib/shared-tree/treeAlpha.d.ts +8 -0
  295. package/lib/shared-tree/treeAlpha.d.ts.map +1 -1
  296. package/lib/shared-tree/treeAlpha.js +16 -9
  297. package/lib/shared-tree/treeAlpha.js.map +1 -1
  298. package/lib/sharedTreeAttributes.d.ts.map +1 -1
  299. package/lib/sharedTreeAttributes.js.map +1 -1
  300. package/lib/simple-tree/api/create.d.ts.map +1 -1
  301. package/lib/simple-tree/api/create.js +2 -2
  302. package/lib/simple-tree/api/create.js.map +1 -1
  303. package/lib/simple-tree/api/index.d.ts +1 -1
  304. package/lib/simple-tree/api/index.d.ts.map +1 -1
  305. package/lib/simple-tree/api/index.js +1 -1
  306. package/lib/simple-tree/api/index.js.map +1 -1
  307. package/lib/simple-tree/api/treeNodeApi.d.ts +8 -0
  308. package/lib/simple-tree/api/treeNodeApi.d.ts.map +1 -1
  309. package/lib/simple-tree/api/treeNodeApi.js +2 -2
  310. package/lib/simple-tree/api/treeNodeApi.js.map +1 -1
  311. package/lib/simple-tree/arrayNode.js +2 -2
  312. package/lib/simple-tree/arrayNode.js.map +1 -1
  313. package/lib/simple-tree/core/getOrCreateNode.js +2 -2
  314. package/lib/simple-tree/core/getOrCreateNode.js.map +1 -1
  315. package/lib/simple-tree/core/treeNodeKernel.d.ts +5 -17
  316. package/lib/simple-tree/core/treeNodeKernel.d.ts.map +1 -1
  317. package/lib/simple-tree/core/treeNodeKernel.js +16 -47
  318. package/lib/simple-tree/core/treeNodeKernel.js.map +1 -1
  319. package/lib/simple-tree/{proxies.d.ts → getTreeNodeForField.d.ts} +1 -1
  320. package/lib/simple-tree/getTreeNodeForField.d.ts.map +1 -0
  321. package/lib/simple-tree/{proxies.js → getTreeNodeForField.js} +1 -1
  322. package/lib/simple-tree/getTreeNodeForField.js.map +1 -0
  323. package/lib/simple-tree/index.d.ts +2 -2
  324. package/lib/simple-tree/index.d.ts.map +1 -1
  325. package/lib/simple-tree/index.js +2 -2
  326. package/lib/simple-tree/index.js.map +1 -1
  327. package/lib/simple-tree/mapNode.js +1 -1
  328. package/lib/simple-tree/mapNode.js.map +1 -1
  329. package/lib/simple-tree/objectNode.js +1 -1
  330. package/lib/simple-tree/objectNode.js.map +1 -1
  331. package/lib/simple-tree/prepareForInsertion.d.ts +18 -6
  332. package/lib/simple-tree/prepareForInsertion.d.ts.map +1 -1
  333. package/lib/simple-tree/prepareForInsertion.js +51 -22
  334. package/lib/simple-tree/prepareForInsertion.js.map +1 -1
  335. package/lib/simple-tree/toMapTree.d.ts +3 -8
  336. package/lib/simple-tree/toMapTree.d.ts.map +1 -1
  337. package/lib/simple-tree/toMapTree.js +3 -21
  338. package/lib/simple-tree/toMapTree.js.map +1 -1
  339. package/lib/tableSchema.d.ts +109 -62
  340. package/lib/tableSchema.d.ts.map +1 -1
  341. package/lib/tableSchema.js +83 -36
  342. package/lib/tableSchema.js.map +1 -1
  343. package/lib/treeFactory.d.ts.map +1 -1
  344. package/lib/treeFactory.js +2 -2
  345. package/lib/treeFactory.js.map +1 -1
  346. package/package.json +20 -20
  347. package/src/codec/codec.ts +54 -8
  348. package/src/core/change-family/editBuilder.ts +1 -0
  349. package/src/core/forest/forest.ts +1 -1
  350. package/src/core/schema-stored/schema.ts +2 -0
  351. package/src/core/schema-stored/storedSchemaRepository.ts +2 -2
  352. package/src/core/tree/anchorSet.ts +4 -4
  353. package/src/core/tree/chunk.ts +2 -1
  354. package/src/core/tree/delta.ts +1 -0
  355. package/src/core/tree/deltaUtil.ts +1 -1
  356. package/src/core/tree/detachedFieldIndex.ts +1 -1
  357. package/src/core/tree/detachedFieldIndexCodec.ts +2 -2
  358. package/src/core/tree/pathTree.ts +1 -1
  359. package/src/core/tree/treeTextFormat.ts +1 -0
  360. package/src/core/tree/visitDelta.ts +1 -1
  361. package/src/core/tree/visitorUtils.ts +3 -2
  362. package/src/feature-libraries/chunked-forest/chunkTree.ts +2 -2
  363. package/src/feature-libraries/chunked-forest/chunkedForest.ts +3 -3
  364. package/src/feature-libraries/chunked-forest/codec/chunkDecoding.ts +5 -5
  365. package/src/feature-libraries/chunked-forest/codec/chunkDecodingGeneric.ts +2 -2
  366. package/src/feature-libraries/chunked-forest/codec/chunkEncodingGeneric.ts +1 -0
  367. package/src/feature-libraries/chunked-forest/codec/codecs.ts +15 -1
  368. package/src/feature-libraries/chunked-forest/codec/compressedEncode.ts +1 -1
  369. package/src/feature-libraries/chunked-forest/codec/index.ts +1 -0
  370. package/src/feature-libraries/chunked-forest/codec/nodeShape.ts +1 -1
  371. package/src/feature-libraries/chunked-forest/codec/schemaBasedEncode.ts +1 -1
  372. package/src/feature-libraries/chunked-forest/emptyChunk.ts +1 -0
  373. package/src/feature-libraries/chunked-forest/index.ts +1 -0
  374. package/src/feature-libraries/chunked-forest/sequenceChunk.ts +1 -1
  375. package/src/feature-libraries/chunked-forest/uniformChunk.ts +2 -3
  376. package/src/feature-libraries/default-schema/defaultEditBuilder.ts +1 -1
  377. package/src/feature-libraries/default-schema/defaultFieldKinds.ts +1 -0
  378. package/src/feature-libraries/default-schema/index.ts +6 -1
  379. package/src/feature-libraries/default-schema/mappedEditBuilder.ts +1 -0
  380. package/src/feature-libraries/default-schema/schemaChecker.ts +37 -26
  381. package/src/feature-libraries/index.ts +2 -0
  382. package/src/feature-libraries/initializeForest.ts +1 -1
  383. package/src/feature-libraries/treeCursorUtils.ts +1 -1
  384. package/src/feature-libraries/valueUtilities.ts +1 -1
  385. package/src/jsonDomainSchema.ts +0 -1
  386. package/src/packageVersion.ts +1 -1
  387. package/src/serializableDomainSchema.ts +1 -0
  388. package/src/shared-tree/treeAlpha.ts +29 -8
  389. package/src/sharedTreeAttributes.ts +1 -0
  390. package/src/simple-tree/api/create.ts +2 -1
  391. package/src/simple-tree/api/index.ts +7 -1
  392. package/src/simple-tree/api/treeNodeApi.ts +2 -2
  393. package/src/simple-tree/arrayNode.ts +2 -2
  394. package/src/simple-tree/core/getOrCreateNode.ts +2 -2
  395. package/src/simple-tree/core/treeNodeKernel.ts +22 -53
  396. package/src/simple-tree/index.ts +3 -1
  397. package/src/simple-tree/mapNode.ts +1 -1
  398. package/src/simple-tree/objectNode.ts +1 -1
  399. package/src/simple-tree/prepareForInsertion.ts +67 -27
  400. package/src/simple-tree/toMapTree.ts +2 -26
  401. package/src/tableSchema.ts +109 -62
  402. package/src/treeFactory.ts +2 -4
  403. package/dist/simple-tree/proxies.d.ts.map +0 -1
  404. package/dist/simple-tree/proxies.js.map +0 -1
  405. package/lib/simple-tree/proxies.d.ts.map +0 -1
  406. package/lib/simple-tree/proxies.js.map +0 -1
  407. /package/src/simple-tree/{proxies.ts → getTreeNodeForField.ts} +0 -0
@@ -11,7 +11,7 @@ import { type FieldHasDefault, type ImplicitAllowedTypes, type InsertableTreeNod
11
11
  * This namespace should be strictly type-exported by the package.
12
12
  * All members should be tagged with `@system`.
13
13
  *
14
- * @system @internal
14
+ * @system @alpha
15
15
  */
16
16
  export declare namespace System_TableSchema {
17
17
  /**
@@ -20,14 +20,14 @@ export declare namespace System_TableSchema {
20
20
  * Longer term, it would be better to simply omit "props" altogether by default.
21
21
  * For now, this ensures that the user doesn't have to specify a "props" entry when initializing column/row nodes
22
22
  * and ensures that they cannot set anything that might conflict with future evolutions of the schema.
23
- * @system @internal
23
+ * @system @alpha
24
24
  */
25
25
  type DefaultPropsType = ReturnType<typeof SchemaFactory.optional<[]>>;
26
26
  /**
27
27
  * A base interface for factory input options which include an schema factory.
28
28
  * @remarks This interface should not be referenced directly.
29
29
  * @privateRemarks This interface primarily exists to provide a single home for property documentation.
30
- * @system @internal
30
+ * @system @alpha
31
31
  */
32
32
  interface OptionsWithSchemaFactory<TSchemaFactory extends SchemaFactoryAlpha> {
33
33
  /**
@@ -40,7 +40,7 @@ export declare namespace System_TableSchema {
40
40
  * A base interface for factory input options which include the table cell schema.
41
41
  * @remarks This interface should not be referenced directly.
42
42
  * @privateRemarks This interface primarily exists to provide a single home for property documentation.
43
- * @system @internal
43
+ * @system @alpha
44
44
  */
45
45
  interface OptionsWithCellSchema<TCellSchema extends ImplicitAllowedTypes> {
46
46
  /**
@@ -51,12 +51,12 @@ export declare namespace System_TableSchema {
51
51
  /**
52
52
  * Base options for creating table cow schema.
53
53
  * @remarks Includes parameters common to all column factory overloads.
54
- * @system @internal
54
+ * @system @alpha
55
55
  */
56
56
  type CreateColumnOptionsBase<TSchemaFactory extends SchemaFactoryAlpha = SchemaFactoryAlpha, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
57
57
  /**
58
58
  * Factory for creating column schema.
59
- * @system @internal
59
+ * @system @alpha
60
60
  */
61
61
  function createColumnSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitAnnotatedFieldSchema>(inputSchemaFactory: SchemaFactoryAlpha<TInputScope>, cellSchema: TCellSchema, propsSchema: TPropsSchema): TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Column">, NodeKind.Object, TreeNode & TableSchema.Column<TCellSchema, TPropsSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Column">, NodeKind, unknown>, object & {
62
62
  readonly id?: string | undefined;
@@ -78,18 +78,18 @@ export declare namespace System_TableSchema {
78
78
  }>;
79
79
  /**
80
80
  * Base column schema type.
81
- * @sealed @system @internal
81
+ * @sealed @system @alpha
82
82
  */
83
83
  type ColumnSchemaBase<TScope extends string | undefined = string | undefined, TCellSchema extends ImplicitAllowedTypes = ImplicitAllowedTypes, TPropsSchema extends ImplicitAnnotatedFieldSchema = ImplicitAnnotatedFieldSchema> = ReturnType<typeof createColumnSchema<TScope, TCellSchema, TPropsSchema>>;
84
84
  /**
85
85
  * Base options for creating table row schema.
86
86
  * @remarks Includes parameters common to all row factory overloads.
87
- * @system @internal
87
+ * @system @alpha
88
88
  */
89
89
  type CreateRowOptionsBase<TSchemaFactory extends SchemaFactoryAlpha = SchemaFactoryAlpha, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
90
90
  /**
91
91
  * Factory for creating row schema.
92
- * @sealed @internal
92
+ * @sealed @alpha
93
93
  */
94
94
  function createRowSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitAnnotatedFieldSchema>(inputSchemaFactory: SchemaFactoryAlpha<TInputScope>, cellSchema: TCellSchema, propsSchema: TPropsSchema): TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row">, NodeKind.Object, TreeNode & TableSchema.Row<TCellSchema, TPropsSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row">, NodeKind, unknown>, object & {
95
95
  readonly id?: string | undefined;
@@ -115,18 +115,18 @@ export declare namespace System_TableSchema {
115
115
  }>;
116
116
  /**
117
117
  * Base row schema type.
118
- * @sealed @system @internal
118
+ * @sealed @system @alpha
119
119
  */
120
120
  type RowSchemaBase<TScope extends string | undefined = string | undefined, TCellSchema extends ImplicitAllowedTypes = ImplicitAllowedTypes, TPropsSchema extends ImplicitAnnotatedFieldSchema = ImplicitAnnotatedFieldSchema> = ReturnType<typeof createRowSchema<TScope, TCellSchema, TPropsSchema>>;
121
121
  /**
122
122
  * Base options for creating table schema.
123
123
  * @remarks Includes parameters common to all table factory overloads.
124
- * @system @internal
124
+ * @system @alpha
125
125
  */
126
126
  type TableFactoryOptionsBase<TSchemaFactory extends SchemaFactoryAlpha = SchemaFactoryAlpha, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
127
127
  /**
128
128
  * Factory for creating table schema.
129
- * @system @internal
129
+ * @system @alpha
130
130
  */
131
131
  function createTableSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TColumnSchema extends ColumnSchemaBase<TInputScope, TCellSchema>, const TRowSchema extends RowSchemaBase<TInputScope, TCellSchema>>(inputSchemaFactory: SchemaFactoryAlpha<TInputScope>, _cellSchema: TCellSchema, columnSchema: TColumnSchema, rowSchema: TRowSchema): import("./simple-tree/index.js").TreeNodeSchemaCore<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table">, NodeKind.Object, true, {
132
132
  readonly rows: TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.rows">, NodeKind.Array, TreeArrayNode<TRowSchema, [TRowSchema] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TRowSchema> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, [TRowSchema] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TRowSchema> : never, import("./simple-tree/arrayNode.js").ReadonlyArrayNode<TreeNode | import("./simple-tree/schemaTypes.js").TreeLeafValue>> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.rows">, NodeKind.Array, unknown>, Iterable<InsertableTreeNodeFromImplicitAllowedTypes<TRowSchema>>, true, TRowSchema, undefined>;
@@ -148,7 +148,7 @@ export declare namespace System_TableSchema {
148
148
  };
149
149
  /**
150
150
  * Base row schema type.
151
- * @sealed @system @internal
151
+ * @sealed @system @alpha
152
152
  */
153
153
  type TableSchemaBase<TScope extends string | undefined, TCell extends ImplicitAllowedTypes, TColumn extends ColumnSchemaBase<TScope, TCell>, TRow extends RowSchemaBase<TScope, TCell>> = ReturnType<typeof createTableSchema<TScope, TCell, TColumn, TRow>>;
154
154
  }
@@ -157,6 +157,19 @@ export declare namespace System_TableSchema {
157
157
  *
158
158
  * @remarks
159
159
  *
160
+ * WARNING: These APIs are in preview and are subject to change.
161
+ * Until these APIs have stabilized, it is not recommended to use them in production code.
162
+ * There may be breaking changes to these APIs and their underlying data format.
163
+ * Using these APIs in production code may result in data loss or corruption.
164
+ *
165
+ * The primary APIs for create tabular data schema are:
166
+ *
167
+ * - {@link TableSchema.(table:1)}
168
+ *
169
+ * - {@link TableSchema.(column:1)}
170
+ *
171
+ * - {@link TableSchema.(row:1)}
172
+ *
160
173
  * Tables created using these APIs are...
161
174
  *
162
175
  * - sparse, meaning that cells may be omitted, and new rows are empty by default.
@@ -170,77 +183,111 @@ export declare namespace System_TableSchema {
170
183
  * Column and Row schema created using these APIs are extensible via the `props` field.
171
184
  * This allows association of additional properties with column and row nodes.
172
185
  *
173
- * Note: for now it is possible for table cells to become "orphaned".
186
+ * Cells in the table may become "orphaned."
174
187
  * That is, it is possible to enter a state where one or more rows contain cells with no corresponding column.
175
- * To help avoid this situation, you can manually remove corresponding cells when removing columns.
188
+ * To reduce the likelihood of this, you can manually remove corresponding cells when removing columns.
176
189
  * Either way, it is possible to enter such a state via the merging of edits.
177
190
  * For example: one client might add a row while another concurrently removes a column, orphaning the cell where the column and row intersected.
178
191
  *
179
- * @example Using default Column and Row schema
192
+ * @example Defining a Table schema
180
193
  *
181
194
  * ```typescript
182
- * class Cell extends schemaFactory.object("TableCell", {
183
- * value: schemaFactory.string,
184
- * }) {}
185
- *
186
- * class Table extends TableSchema.table({
195
+ * class MyTable extends TableSchema.table({
187
196
  * schemaFactory,
188
- * cell: Cell,
197
+ * cell: schemaFactory.string,
189
198
  * }) {}
190
199
  *
191
- * const table = new Table({
200
+ * const table = new MyTable({
192
201
  * columns: [{ id: "column-0" }],
193
- * rows: [{ id: "row-0", cells: {} }],
202
+ * rows: [{ id: "row-0", cells: { "column-0": "Hello world!" } }],
194
203
  * });
195
204
  * ```
196
205
  *
197
206
  * @example Customizing Column and Row schema
198
207
  *
199
208
  * ```typescript
200
- * class Cell extends schemaFactory.object("TableCell", {
201
- * value: schemaFactory.string,
202
- * }) {}
203
- *
204
- * class ColumnProps extends schemaFactory.object("TableColumnProps", {
205
- * // Column label to display.
206
- * label: schemaFactory.string,
207
- * // The type of data represented by the cells. Default: string.
208
- * dataType: schemaFactory.optional(schemaFactory.string),
209
- * }) {}
209
+ * const Cell = schemaFactory.string;
210
210
  *
211
- * class Column extends TableSchema.column({
211
+ * class MyColumn extends TableSchema.column({
212
212
  * schemaFactory,
213
213
  * cell: Cell,
214
- * props: ColumnProps,
214
+ * props: schemaFactory.object("TableColumnProps", {
215
+ * label: schemaFactory.string,
216
+ * }),
215
217
  * }) {}
216
218
  *
217
- * class Row extends TableSchema.row({
219
+ * class MyRow extends TableSchema.row({
218
220
  * schemaFactory,
219
221
  * cell: Cell,
220
222
  * }) {}
221
223
  *
222
- * class Table extends TableSchema.table({
224
+ * class MyTable extends TableSchema.table({
223
225
  * schemaFactory,
224
226
  * cell: Cell,
225
- * column: Column,
226
- * row: Row,
227
+ * column: MyColumn,
228
+ * row: MyRow,
227
229
  * }) {}
228
230
  *
229
- * const table = new Table({
231
+ * const table = new MyTable({
230
232
  * columns: [
231
- * new Column({ props: { label: "Entry", dataType: "string" } }),
232
- * new Column({ props: { label: "Date", dataType: "date" } }),
233
- * new Column({ props: { label: "Amount", dataType: "number" } }),
233
+ * new MyColumn({ props: { label: "Entry" } }),
234
+ * new MyColumn({ props: { label: "Date" } }),
235
+ * new MyColumn({ props: { label: "Amount" } }),
234
236
  * ],
235
237
  * rows: [],
236
238
  * });
237
239
  * ```
238
240
  *
241
+ * @example Listening for changes in the table
242
+ *
243
+ * ```typescript
244
+ * // Listen for any changes to the table and its children.
245
+ * // The "treeChanged" event will fire when the associated node or any of its descendants change.
246
+ * Tree.on(table, "treeChanged", () => {
247
+ * // Respond to the change.
248
+ * });
249
+ * ```
250
+ *
251
+ * @example Listening for changes to the rows list only
252
+ *
253
+ * ```typescript
254
+ * // Listen for any changes to the list of rows.
255
+ * // The "nodeChanged" event will fire only when the specified node itself changes (i.e., its own properties change).
256
+ * // In this case, the event will fire when a row is added or removed, or the order of the list is changed.
257
+ * // But it won't fire when a row's properties change, or when the row's cells change, etc.
258
+ * Tree.on(table.rows, "nodeChanged", () => {
259
+ * // Respond to the change.
260
+ * });
261
+ * ```
262
+ *
263
+ * @example Removing column and cells in a transaction
264
+ *
265
+ * When removing a column, if you wish to ensure that all of its corresponding cells are also removed (and not
266
+ * orphaned), you can remove the column and all of the relevant cells in a transaction.
267
+ * Note that there are performance implications to this.
268
+ *
269
+ * ```typescript
270
+ * // Remove column1 and all of its cells.
271
+ * // The "transaction" method will ensure that all changes are applied atomically.
272
+ * Tree.runTransaction(table, () => {
273
+ * // Remove column1.
274
+ * table.removeColumn(column1);
275
+ *
276
+ * // Remove the cell at column1 for each row.
277
+ * for (const row of table.rows) {
278
+ * table.removeCell({
279
+ * column: column1,
280
+ * row,
281
+ * });
282
+ * }
283
+ * });
284
+ * ```
285
+ *
239
286
  * @privateRemarks
240
287
  * The above examples are backed by tests in `tableSchema.spec.ts`.
241
288
  * Those tests and these examples should be kept in-sync to ensure that the examples are correct.
242
289
  *
243
- * @internal
290
+ * @alpha
244
291
  */
245
292
  export declare namespace TableSchema {
246
293
  /**
@@ -248,7 +295,7 @@ export declare namespace TableSchema {
248
295
  * @remarks Implemented by the schema class returned from {@link TableSchema.(column:2)}.
249
296
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
250
297
  * @typeParam TProps - Additional properties to associate with the column.
251
- * @sealed @internal
298
+ * @sealed @alpha
252
299
  */
253
300
  interface Column<TCell extends ImplicitAllowedTypes, TProps extends ImplicitAnnotatedFieldSchema = ImplicitAnnotatedFieldSchema> {
254
301
  /**
@@ -278,7 +325,7 @@ export declare namespace TableSchema {
278
325
  * Factory for creating new table column schema.
279
326
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
280
327
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
281
- * @internal
328
+ * @alpha
282
329
  */
283
330
  function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateColumnOptionsBase<SchemaFactoryAlpha<TScope>, TCell>): System_TableSchema.ColumnSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>;
284
331
  /**
@@ -286,7 +333,7 @@ export declare namespace TableSchema {
286
333
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
287
334
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
288
335
  * @typeParam TProps - Additional properties to associate with the column.
289
- * @internal
336
+ * @alpha
290
337
  */
291
338
  function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitAnnotatedFieldSchema>(params: System_TableSchema.CreateColumnOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
292
339
  /**
@@ -299,7 +346,7 @@ export declare namespace TableSchema {
299
346
  * @remarks Implemented by the schema class returned from {@link TableSchema.(row:2)}.
300
347
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
301
348
  * @typeParam TProps - Additional properties to associate with the row.
302
- * @sealed @internal
349
+ * @sealed @alpha
303
350
  */
304
351
  interface Row<TCell extends ImplicitAllowedTypes, TProps extends ImplicitAnnotatedFieldSchema = ImplicitAnnotatedFieldSchema> {
305
352
  /**
@@ -361,7 +408,7 @@ export declare namespace TableSchema {
361
408
  * Factory for creating new table column schema.
362
409
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
363
410
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
364
- * @internal
411
+ * @alpha
365
412
  */
366
413
  function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateRowOptionsBase<SchemaFactoryAlpha<TScope>, TCell>): System_TableSchema.RowSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>;
367
414
  /**
@@ -369,7 +416,7 @@ export declare namespace TableSchema {
369
416
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
370
417
  * @typeParam TCell - The type of the cells in the {@link TableSchema.Table}.
371
418
  * @typeParam TProps - Additional properties to associate with the row.
372
- * @internal
419
+ * @alpha
373
420
  */
374
421
  function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitAnnotatedFieldSchema>(params: System_TableSchema.CreateRowOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
375
422
  /**
@@ -379,7 +426,7 @@ export declare namespace TableSchema {
379
426
  }): System_TableSchema.RowSchemaBase<TScope, TCell, TProps>;
380
427
  /**
381
428
  * A key to uniquely identify a cell within a table.
382
- * @internal
429
+ * @alpha
383
430
  */
384
431
  interface CellKey<TColumn extends ImplicitAllowedTypes, TRow extends ImplicitAllowedTypes> {
385
432
  /**
@@ -393,7 +440,7 @@ export declare namespace TableSchema {
393
440
  }
394
441
  /**
395
442
  * {@link TableSchema.Table.insertColumn} parameters.
396
- * @internal
443
+ * @alpha
397
444
  */
398
445
  interface InsertColumnParameters<TColumn extends ImplicitAllowedTypes> {
399
446
  /**
@@ -408,7 +455,7 @@ export declare namespace TableSchema {
408
455
  }
409
456
  /**
410
457
  * {@link TableSchema.Table.insertColumns} parameters.
411
- * @internal
458
+ * @alpha
412
459
  */
413
460
  interface InsertColumnsParameters<TColumn extends ImplicitAllowedTypes> {
414
461
  /**
@@ -423,7 +470,7 @@ export declare namespace TableSchema {
423
470
  }
424
471
  /**
425
472
  * {@link TableSchema.Table.insertRow} parameters.
426
- * @internal
473
+ * @alpha
427
474
  */
428
475
  interface InsertRowParameters<TRow extends ImplicitAllowedTypes> {
429
476
  /**
@@ -438,7 +485,7 @@ export declare namespace TableSchema {
438
485
  }
439
486
  /**
440
487
  * {@link TableSchema.Table.insertRows} parameters.
441
- * @internal
488
+ * @alpha
442
489
  */
443
490
  interface InsertRowsParameters<TRow extends ImplicitAllowedTypes> {
444
491
  /**
@@ -453,7 +500,7 @@ export declare namespace TableSchema {
453
500
  }
454
501
  /**
455
502
  * {@link TableSchema.Table.setCell} parameters.
456
- * @internal
503
+ * @alpha
457
504
  */
458
505
  interface SetCellParameters<TCell extends ImplicitAllowedTypes, TColumn extends ImplicitAllowedTypes, TRow extends ImplicitAllowedTypes> {
459
506
  /**
@@ -471,7 +518,7 @@ export declare namespace TableSchema {
471
518
  * @typeParam TCell - The type of the cells in the table.
472
519
  * @typeParam TColumn - The type of the columns in the table.
473
520
  * @typeParam TRow - The type of the rows in the table.
474
- * @sealed @internal
521
+ * @sealed @alpha
475
522
  */
476
523
  interface Table<TScope extends string | undefined, TCell extends ImplicitAllowedTypes, TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>, TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>> {
477
524
  /**
@@ -619,7 +666,7 @@ export declare namespace TableSchema {
619
666
  * Factory for creating new table schema.
620
667
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
621
668
  * @typeParam TCell - The type of the cells in the table.
622
- * @internal
669
+ * @alpha
623
670
  */
624
671
  function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryAlpha<TScope>, TCell>): System_TableSchema.TableSchemaBase<TScope, TCell, System_TableSchema.ColumnSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>, System_TableSchema.RowSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>>;
625
672
  /**
@@ -627,7 +674,7 @@ export declare namespace TableSchema {
627
674
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
628
675
  * @typeParam TCell - The type of the cells in the table.
629
676
  * @typeParam TColumn - The type of the columns in the table.
630
- * @internal
677
+ * @alpha
631
678
  */
632
679
  function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
633
680
  readonly column: TColumn;
@@ -637,7 +684,7 @@ export declare namespace TableSchema {
637
684
  * @typeParam TScope - The {@link SchemaFactory.scope | schema factory scope}.
638
685
  * @typeParam TCell - The type of the cells in the table.
639
686
  * @typeParam TRow - The type of the rows in the table.
640
- * @internal
687
+ * @alpha
641
688
  */
642
689
  function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
643
690
  readonly row: TRow;
@@ -648,7 +695,7 @@ export declare namespace TableSchema {
648
695
  * @typeParam TCell - The type of the cells in the table.
649
696
  * @typeParam TColumn - The type of the columns in the table.
650
697
  * @typeParam TRow - The type of the rows in the table.
651
- * @internal
698
+ * @alpha
652
699
  */
653
700
  function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
654
701
  readonly column: TColumn;
@@ -1 +1 @@
1
- {"version":3,"file":"tableSchema.d.ts","sourceRoot":"","sources":["../src/tableSchema.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EACN,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAEzB,KAAK,0CAA0C,EAC/C,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,aAAa,EACb,KAAK,QAAQ,EACb,KAAK,gCAAgC,EAErC,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EACb,KAAK,0BAA0B,EAC/B,KAAK,oCAAoC,EACzC,KAAK,gBAAgB,EACrB,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAElC,MAAM,wBAAwB,CAAC;AA+DhC;;;;;;;;;GASG;AACH,yBAAiB,kBAAkB,CAAC;IACnC;;;;;;;OAOG;IACH,KAAY,gBAAgB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAE7E;;;;;OAKG;IACH,UAAiB,wBAAwB,CAAC,cAAc,SAAS,kBAAkB;QAClF;;;WAGG;QACH,QAAQ,CAAC,aAAa,EAAE,cAAc,CAAC;KACvC;IAED;;;;;OAKG;IACH,UAAiB,qBAAqB,CAAC,WAAW,SAAS,oBAAoB;QAC9E;;WAEG;QACH,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;KAC3B;IAID;;;;OAIG;IACH,KAAY,uBAAuB,CAClC,cAAc,SAAS,kBAAkB,GAAG,kBAAkB,EAC9D,KAAK,SAAS,oBAAoB,GAAG,oBAAoB,IACtD,wBAAwB,CAAC,cAAc,CAAC,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;IAE5E;;;OAGG;IAEH,SAAgB,kBAAkB,CACjC,KAAK,CAAC,WAAW,SAAS,MAAM,GAA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CAAC,MAAM,EAAE,KAAK,CAAC,EACxE,KAAK,CAAC,IAAI,SAAS,kBAAkB,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,EAElE,MAAM,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG;QACvF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;KACnB,GACC,kBAAkB,CAAC,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;CA4BpE"}
@@ -50,13 +50,13 @@ function isTableNode(node) {
50
50
  * This namespace should be strictly type-exported by the package.
51
51
  * All members should be tagged with `@system`.
52
52
  *
53
- * @system @internal
53
+ * @system @alpha
54
54
  */
55
55
  export var System_TableSchema;
56
56
  (function (System_TableSchema) {
57
57
  /**
58
58
  * Factory for creating column schema.
59
- * @system @internal
59
+ * @system @alpha
60
60
  */
61
61
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type -- Return type is too complex to be reasonable to specify
62
62
  function createColumnSchema(inputSchemaFactory, cellSchema, propsSchema) {
@@ -121,7 +121,7 @@ export var System_TableSchema;
121
121
  System_TableSchema.createColumnSchema = createColumnSchema;
122
122
  /**
123
123
  * Factory for creating row schema.
124
- * @sealed @internal
124
+ * @sealed @alpha
125
125
  */
126
126
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type -- Return type is too complex to be reasonable to specify
127
127
  function createRowSchema(inputSchemaFactory, cellSchema, propsSchema) {
@@ -202,7 +202,7 @@ export var System_TableSchema;
202
202
  System_TableSchema.createRowSchema = createRowSchema;
203
203
  /**
204
204
  * Factory for creating table schema.
205
- * @system @internal
205
+ * @system @alpha
206
206
  */
207
207
  // eslint-disable-next-line @typescript-eslint/explicit-function-return-type -- Return type is too complex to be reasonable to specify
208
208
  function createTableSchema(inputSchemaFactory, _cellSchema, columnSchema, rowSchema) {
@@ -486,6 +486,19 @@ export var System_TableSchema;
486
486
  *
487
487
  * @remarks
488
488
  *
489
+ * WARNING: These APIs are in preview and are subject to change.
490
+ * Until these APIs have stabilized, it is not recommended to use them in production code.
491
+ * There may be breaking changes to these APIs and their underlying data format.
492
+ * Using these APIs in production code may result in data loss or corruption.
493
+ *
494
+ * The primary APIs for create tabular data schema are:
495
+ *
496
+ * - {@link TableSchema.(table:1)}
497
+ *
498
+ * - {@link TableSchema.(column:1)}
499
+ *
500
+ * - {@link TableSchema.(row:1)}
501
+ *
489
502
  * Tables created using these APIs are...
490
503
  *
491
504
  * - sparse, meaning that cells may be omitted, and new rows are empty by default.
@@ -499,77 +512,111 @@ export var System_TableSchema;
499
512
  * Column and Row schema created using these APIs are extensible via the `props` field.
500
513
  * This allows association of additional properties with column and row nodes.
501
514
  *
502
- * Note: for now it is possible for table cells to become "orphaned".
515
+ * Cells in the table may become "orphaned."
503
516
  * That is, it is possible to enter a state where one or more rows contain cells with no corresponding column.
504
- * To help avoid this situation, you can manually remove corresponding cells when removing columns.
517
+ * To reduce the likelihood of this, you can manually remove corresponding cells when removing columns.
505
518
  * Either way, it is possible to enter such a state via the merging of edits.
506
519
  * For example: one client might add a row while another concurrently removes a column, orphaning the cell where the column and row intersected.
507
520
  *
508
- * @example Using default Column and Row schema
521
+ * @example Defining a Table schema
509
522
  *
510
523
  * ```typescript
511
- * class Cell extends schemaFactory.object("TableCell", {
512
- * value: schemaFactory.string,
513
- * }) {}
514
- *
515
- * class Table extends TableSchema.table({
524
+ * class MyTable extends TableSchema.table({
516
525
  * schemaFactory,
517
- * cell: Cell,
526
+ * cell: schemaFactory.string,
518
527
  * }) {}
519
528
  *
520
- * const table = new Table({
529
+ * const table = new MyTable({
521
530
  * columns: [{ id: "column-0" }],
522
- * rows: [{ id: "row-0", cells: {} }],
531
+ * rows: [{ id: "row-0", cells: { "column-0": "Hello world!" } }],
523
532
  * });
524
533
  * ```
525
534
  *
526
535
  * @example Customizing Column and Row schema
527
536
  *
528
537
  * ```typescript
529
- * class Cell extends schemaFactory.object("TableCell", {
530
- * value: schemaFactory.string,
531
- * }) {}
532
- *
533
- * class ColumnProps extends schemaFactory.object("TableColumnProps", {
534
- * // Column label to display.
535
- * label: schemaFactory.string,
536
- * // The type of data represented by the cells. Default: string.
537
- * dataType: schemaFactory.optional(schemaFactory.string),
538
- * }) {}
538
+ * const Cell = schemaFactory.string;
539
539
  *
540
- * class Column extends TableSchema.column({
540
+ * class MyColumn extends TableSchema.column({
541
541
  * schemaFactory,
542
542
  * cell: Cell,
543
- * props: ColumnProps,
543
+ * props: schemaFactory.object("TableColumnProps", {
544
+ * label: schemaFactory.string,
545
+ * }),
544
546
  * }) {}
545
547
  *
546
- * class Row extends TableSchema.row({
548
+ * class MyRow extends TableSchema.row({
547
549
  * schemaFactory,
548
550
  * cell: Cell,
549
551
  * }) {}
550
552
  *
551
- * class Table extends TableSchema.table({
553
+ * class MyTable extends TableSchema.table({
552
554
  * schemaFactory,
553
555
  * cell: Cell,
554
- * column: Column,
555
- * row: Row,
556
+ * column: MyColumn,
557
+ * row: MyRow,
556
558
  * }) {}
557
559
  *
558
- * const table = new Table({
560
+ * const table = new MyTable({
559
561
  * columns: [
560
- * new Column({ props: { label: "Entry", dataType: "string" } }),
561
- * new Column({ props: { label: "Date", dataType: "date" } }),
562
- * new Column({ props: { label: "Amount", dataType: "number" } }),
562
+ * new MyColumn({ props: { label: "Entry" } }),
563
+ * new MyColumn({ props: { label: "Date" } }),
564
+ * new MyColumn({ props: { label: "Amount" } }),
563
565
  * ],
564
566
  * rows: [],
565
567
  * });
566
568
  * ```
567
569
  *
570
+ * @example Listening for changes in the table
571
+ *
572
+ * ```typescript
573
+ * // Listen for any changes to the table and its children.
574
+ * // The "treeChanged" event will fire when the associated node or any of its descendants change.
575
+ * Tree.on(table, "treeChanged", () => {
576
+ * // Respond to the change.
577
+ * });
578
+ * ```
579
+ *
580
+ * @example Listening for changes to the rows list only
581
+ *
582
+ * ```typescript
583
+ * // Listen for any changes to the list of rows.
584
+ * // The "nodeChanged" event will fire only when the specified node itself changes (i.e., its own properties change).
585
+ * // In this case, the event will fire when a row is added or removed, or the order of the list is changed.
586
+ * // But it won't fire when a row's properties change, or when the row's cells change, etc.
587
+ * Tree.on(table.rows, "nodeChanged", () => {
588
+ * // Respond to the change.
589
+ * });
590
+ * ```
591
+ *
592
+ * @example Removing column and cells in a transaction
593
+ *
594
+ * When removing a column, if you wish to ensure that all of its corresponding cells are also removed (and not
595
+ * orphaned), you can remove the column and all of the relevant cells in a transaction.
596
+ * Note that there are performance implications to this.
597
+ *
598
+ * ```typescript
599
+ * // Remove column1 and all of its cells.
600
+ * // The "transaction" method will ensure that all changes are applied atomically.
601
+ * Tree.runTransaction(table, () => {
602
+ * // Remove column1.
603
+ * table.removeColumn(column1);
604
+ *
605
+ * // Remove the cell at column1 for each row.
606
+ * for (const row of table.rows) {
607
+ * table.removeCell({
608
+ * column: column1,
609
+ * row,
610
+ * });
611
+ * }
612
+ * });
613
+ * ```
614
+ *
568
615
  * @privateRemarks
569
616
  * The above examples are backed by tests in `tableSchema.spec.ts`.
570
617
  * Those tests and these examples should be kept in-sync to ensure that the examples are correct.
571
618
  *
572
- * @internal
619
+ * @alpha
573
620
  */
574
621
  export var TableSchema;
575
622
  (function (TableSchema) {