Skip to content
Closed
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
a920d4f
refactor: Extract interface
Josmithr Jul 31, 2025
968c35a
docs: Update comments
Josmithr Jul 31, 2025
cbe3972
refactor: Small cleanup
Josmithr Jul 31, 2025
de9f281
refactor: Unify helpers
Josmithr Jul 31, 2025
9a7634f
style: Line break
Josmithr Jul 31, 2025
37691d7
refactor: Rename variables
Josmithr Jul 31, 2025
6a8b9db
test: Improve validation patterns
Josmithr Jul 31, 2025
e17f456
refactor: Remove duplicate assertion
Josmithr Aug 4, 2025
767fbaa
refactor: Use interface instead of class
Josmithr Aug 4, 2025
8f263ea
test: Add event listeners
Josmithr Aug 4, 2025
be4c707
refactor: Use interface instead of class
Josmithr Aug 4, 2025
3a99c23
refactor: Use common helper base
Josmithr Aug 4, 2025
81976cf
refactor: Remove unnecessary parameters
Josmithr Aug 4, 2025
7764ec1
refactor: Shared interface definitions
Josmithr Aug 4, 2025
7741eef
docs: TODOs
Josmithr Aug 4, 2025
2cfd250
Merge branch 'main' into table-perf-test-updates
Josmithr Aug 11, 2025
7a83a17
refactor: Unify argument names
Josmithr Aug 11, 2025
c9eeebd
refactor: Dedupe option properties
Josmithr Aug 11, 2025
8a946c4
refactor: Small initialization optimization
Josmithr Aug 11, 2025
37b5795
refactor: Add options type and allow sparse table
Josmithr Aug 11, 2025
3539e9e
docs: Add missing comment
Josmithr Aug 11, 2025
c82ed94
fix: Tests
Josmithr Aug 11, 2025
79490c4
refactor: Use single helper
Josmithr Aug 11, 2025
8d042c4
test: Clean up pre-post operation validation
Josmithr Aug 11, 2025
3911f4d
refactor: Remove unneeded return values
Josmithr Aug 11, 2025
81f0cc9
fix: Leverage shared helper
Josmithr Aug 11, 2025
2acc79c
test: Update pattern
Josmithr Aug 11, 2025
e0ec7b2
refactor: Unify variable naming
Josmithr Aug 11, 2025
80a099b
docs: Add comments
Josmithr Aug 11, 2025
ab6796d
Merge branch 'main' into table-perf-test-updates
Josmithr Aug 11, 2025
82a1169
fix: Dispose undo/redo manager
Josmithr Aug 12, 2025
542b029
WIP
Josmithr Aug 12, 2025
1183dc7
Merge branch 'table-perf-test-updates' into tree/table-insert-methods…
Josmithr Aug 12, 2025
c536733
fix: Tests
Josmithr Aug 12, 2025
6a1eb11
refactor: Remove single insert/remove methods and add range removal m…
Josmithr Aug 12, 2025
31695b2
fix: Index querying
Josmithr Aug 12, 2025
bbc3c61
fix: API and input validation
Josmithr Aug 12, 2025
f3a27bd
test: Add by-ID coverage
Josmithr Aug 12, 2025
44431ab
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 13, 2025
1edd336
docs: Update comments
Josmithr Aug 13, 2025
57bc97d
docs: Update comments
Josmithr Aug 13, 2025
cbe042e
test: Add perf tests for batch row and column insertion
Josmithr Aug 13, 2025
e31e385
docs: Update docs
Josmithr Aug 13, 2025
52cc631
docs: Update API report
Josmithr Aug 13, 2025
78eb83a
docs: Fix comment typo
Josmithr Aug 13, 2025
d960faa
fix: Call correct APIs
Josmithr Aug 13, 2025
814acd3
fix: Handling of ranges in transactions
Josmithr Aug 13, 2025
f349dd2
refactor: Use `count` instead of `end`
Josmithr Aug 13, 2025
c6dac4d
docs: Update API report
Josmithr Aug 13, 2025
37108bf
Merge branch 'tree/table-insert-methods-refactoring' of https://githu…
Josmithr Aug 13, 2025
3edc347
improvement(tree): Update `removeColumn` to remove cells as well
Josmithr Aug 13, 2025
480af16
docs: Update changeset
Josmithr Aug 13, 2025
6c6fd1a
improvement: Use removal API
Josmithr Aug 13, 2025
f5cfdbe
improvement: Use index overloads
Josmithr Aug 13, 2025
f0c1a83
fix: Make index parameter optional
Josmithr Aug 13, 2025
2983ee9
docs: Update API reports
Josmithr Aug 13, 2025
73193a3
docs: Add notes about perf concerns
Josmithr Aug 13, 2025
b1173c4
Merge branch 'main' into tree/table-column-deletion
Josmithr Aug 13, 2025
ffffef2
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 13, 2025
94346c3
Merge branch 'tree/table-column-deletion' into tree/table-insert-meth…
Josmithr Aug 13, 2025
716e643
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 15, 2025
daec8e2
refactor: Better index find pattern
Josmithr Aug 15, 2025
6ca61e2
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 15, 2025
8fae8e4
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 18, 2025
eaa244a
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 19, 2025
e008aa5
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 21, 2025
ada4bd5
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 27, 2025
6b5cf52
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 27, 2025
5d283b3
Merge branch 'main' into tree/table-insert-methods-refactoring
Josmithr Aug 28, 2025
9ea66fb
test: Remove `.only`
Josmithr Aug 28, 2025
e5fe282
docs: Remove stale TODO
Josmithr Aug 28, 2025
b335d8c
test: Remove duplicated tests
Josmithr Aug 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions packages/dds/tree/api-report/tree.alpha.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1150,18 +1150,10 @@ export namespace TableSchema {
export function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitAnnotatedFieldSchema>(params: System_TableSchema.CreateColumnOptionsBase<SchemaFactoryAlpha<TScope>, TCell> & {
readonly props: TProps;
}): System_TableSchema.ColumnSchemaBase<TScope, TCell, TProps>;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: add changeset

export interface InsertColumnParameters<TColumn extends ImplicitAllowedTypes> {
readonly column: InsertableTreeNodeFromImplicitAllowedTypes<TColumn>;
readonly index?: number | undefined;
}
export interface InsertColumnsParameters<TColumn extends ImplicitAllowedTypes> {
readonly columns: InsertableTreeNodeFromImplicitAllowedTypes<TColumn>[];
readonly index?: number | undefined;
}
export interface InsertRowParameters<TRow extends ImplicitAllowedTypes> {
readonly index?: number | undefined;
readonly row: InsertableTreeNodeFromImplicitAllowedTypes<TRow>;
}
export interface InsertRowsParameters<TRow extends ImplicitAllowedTypes> {
readonly index?: number | undefined;
readonly rows: InsertableTreeNodeFromImplicitAllowedTypes<TRow>[];
Expand Down Expand Up @@ -1196,17 +1188,13 @@ export namespace TableSchema {
getCell(key: CellKey<TColumn, TRow>): TreeNodeFromImplicitAllowedTypes<TCell> | undefined;
getColumn(id: string): TreeNodeFromImplicitAllowedTypes<TColumn> | undefined;
getRow(id: string): TreeNodeFromImplicitAllowedTypes<TRow> | undefined;
insertColumn(params: InsertColumnParameters<TColumn>): TreeNodeFromImplicitAllowedTypes<TColumn>;
insertColumns(params: InsertColumnsParameters<TColumn>): TreeNodeFromImplicitAllowedTypes<TColumn>[];
insertRow(params: InsertRowParameters<TRow>): TreeNodeFromImplicitAllowedTypes<TRow>;
insertRows(params: InsertRowsParameters<TRow>): TreeNodeFromImplicitAllowedTypes<TRow>[];
removeAllColumns(): TreeNodeFromImplicitAllowedTypes<TColumn>[];
removeAllRows(): TreeNodeFromImplicitAllowedTypes<TRow>[];
removeCell(key: CellKey<TColumn, TRow>): TreeNodeFromImplicitAllowedTypes<TCell> | undefined;
removeColumn(column: string | TreeNodeFromImplicitAllowedTypes<TColumn>): TreeNodeFromImplicitAllowedTypes<TColumn>;
removeColumns(index: number, end: number | undefined): TreeNodeFromImplicitAllowedTypes<TColumn>[];
removeColumns(columns: readonly TreeNodeFromImplicitAllowedTypes<TColumn>[]): TreeNodeFromImplicitAllowedTypes<TColumn>[];
removeColumns(columns: readonly string[]): TreeNodeFromImplicitAllowedTypes<TColumn>[];
removeRow(row: string | TreeNodeFromImplicitAllowedTypes<TRow>): TreeNodeFromImplicitAllowedTypes<TRow>;
removeRows(index: number, end: number | undefined): TreeNodeFromImplicitAllowedTypes<TRow>[];
removeRows(rows: readonly TreeNodeFromImplicitAllowedTypes<TRow>[]): TreeNodeFromImplicitAllowedTypes<TRow>[];
removeRows(rows: readonly string[]): TreeNodeFromImplicitAllowedTypes<TRow>[];
readonly rows: TreeArrayNode<TRow>;
Expand Down
Loading
Loading