Skip to content

Commit 42441bc

Browse files
committed
[ids] Codegen for Id reuse
1 parent 7ced1bb commit 42441bc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/tools/api/core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ export const getStoreCoreApi = (
534534
ROW,
535535
ID + OR_UNDEFINED,
536536
'Add a new Row to ' + getTableDoc(tableId),
537-
'row: ' + rowWhenSetType,
538-
TABLE_ID + ', row',
537+
'row: ' + rowWhenSetType + ', reuseIds?: boolean',
538+
TABLE_ID + ', row, reuseIds',
539539
);
540540

541541
// getCellIds

src/tools/api/ui-react.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,9 @@ export const getStoreUiReactApi = (
746746
'store: Store',
747747
'row: ' + rowWhenSetType + ')' + RETURNS_VOID,
748748
'then' + DEPS_SUFFIX,
749-
),
750-
THEN_AND_THEN_DEPS_IN_CALL,
749+
) +
750+
', reuseRowIds?: boolean',
751+
THEN_AND_THEN_DEPS_IN_CALL + ', reuseRowIds',
751752
);
752753

753754
// useSetPartialRowCallback

0 commit comments

Comments
 (0)