Skip to content

Commit b91cefa

Browse files
fix(objectql)!: a multi-row insert counts its earlier rows into the parent summary a field-level parent. predicate reads (#34612)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9CEK3WVYUqxMjpD1xegmPGF)_ Fixes #34466 Clause-②: no (narrowing) Metadata-protocol: none Skills-docs: none — skills/** teaches the parent. predicate (objectstack-formula SKILL.md, parent.status) but says nothing on how a multi-row insert reads a parent summary ## 维护者速读 - 改了什么:一次插入多行明细时,明细字段上读父记录汇总的 `requiredWhen`(例如 `parent.line_count >= 2`)现在把同批前面已通过的行算进汇总,和一行一行插入的结果一致;导入的试运行(预览)也一样。 - 为什么改:#25579 已裁「批量等于逐条」,当时只覆盖了通过引用读父记录汇总的校验规则,读 `parent.` 的字段级条件仍按批前的值判断,同一批三条空描述的明细会全部通过,逐条插入时第三条会被拒。 - 风险与回滚:收窄(BREAKING):今天一次批量能写进去的某些行,修后会被拒(只影响用 `parent.汇总字段` 写 `requiredWhen` 的明细对象,hotcrm 与示例应用里没找到)。读非汇总字段的条件(如 `parent.status`)、单行插入、更新都不变。回滚即撤回本 PR,无数据迁移。 - 先看:`packages/objectql/src/summary-batch-accumulation.ts`(新增 `overlayRow`)、`packages/objectql/src/engine-insert.ts`(`insertParentOf`)、`packages/objectql/src/summary-rollup.test.ts`(末尾 #34466 一组)。 - 两分钟验证:`pnpm --filter @objectstack/objectql exec vitest run --maxWorkers=2 src/summary-rollup.test.ts`,预期全过;其中 #34466 一组 7 条,去掉修复后 3 条变红。 - 需要你做的:无,席位落地(需契约档 L2 审核记录)。 ## What changes A multi-row insert reads the master-detail header once for the whole batch (`resolveMasterDetailParents`, for a detail object that declares a `parent`-scoped `requiredWhen`). Since #25579 the rows the rules admit are accumulated in memory and overlaid on the related binding a validation rule reads through a reference; the header a field-level `parent.` predicate reads was not overlaid, so every row judged `parent.SUMMARY` as it stood before the batch. #25579's dev report named this as outside its card. - `packages/objectql/src/summary-batch-accumulation.ts` — `BatchSummaryAccumulator.overlayRow(object, row)`: the same overlay for one stored row of the roll-up's parent object (a copy; an unbound header, `null` or `undefined`, is returned as it is). `overlay()` now shares its per-row body (`patchRow`); its behaviour does not move. - `packages/objectql/src/engine-insert.ts` — the validation loop binds `parent` through `insertParentOf`, which overlays the header when the batch has an accumulator and the object has one master-detail relation. - `packages/objectql/src/engine-validate.ts` — the multi-row insert preview binds `parent` the same way, so the import's dry run answers what the commit does (#25579 changed the preview and the write together). Added to the claim's file surface by the area (comment on #34466). - `content/docs/data-modeling/fields.mdx` — one sentence in the bulk-create paragraph: a detail object's `requiredWhen` reading the summary on `parent` reads it the same way. - `.changeset/34466-batch-insert-parent-summary-predicate.md` — `patch` on `@objectstack/objectql`, BREAKING, FROM → TO and the one-line fix, ADR-0087 `not-required (no-migration-prescription)`. The "Done when" fork of the card: the predicate analysis does name the field it reads (`summary-rule-reads.ts`, class (ii), landed with #34439), so this PR makes the insert equal one-by-one; no docs limit is written. ## Why Ruling 6377847361 (letter C, 「批量等于逐条,并发不保证」) and ruling record 6928862195 (B, 「被规则读到的合计不延后」): a rule's answer inside one batch is the answer one-by-one writes give. With `requiredWhen: 'parent.line_count >= 2'` on `description`, three bare lines inserted one at a time admit two and refuse the third; inserted in one batch they were all admitted. What narrows, named in the changeset: such a batch now refuses the row one-by-one inserts refuse (`insert(array)` refuses the whole batch; `insertMany` reports that row `ok: false`). Not moved: a `parent.` predicate reading a field that is no summary (`parent.status`), a single-row insert, an update, an unbound header, an `avg` summary (it keeps reading the stored value, as on the reference arm). ## Tests - `packages/objectql/src/summary-rollup.test.ts` — a new top-level `describe` (#34466) on the file's memory driver, where the roll-up recompute runs for real: the one-by-one reference answer; `insert(array)` refuses with `VALIDATION_FAILED` / 400 / `description: required` and writes nothing; `insertMany` lands the first two and reports the third; a refused row is not counted; two headers in one batch count separately; CONTROL `parent.status` answers as before (draft admits, sent refuses on `note`); the multi-row preview answers `[true, true, false]`. - `packages/objectql/src/summary-batch-accumulation.test.ts` — `overlayRow` moves the summary on a copy; leaves an unbound header, another parent id, another object and a header not handed the summary as they were. Ablation (`node scripts/ablation-replace.mjs`, one mutation): `overlayRow`'s `return (patchRow(object, row) as R | undefined) ?? row;` replaced with `return row;` (anchor x1 → x0, blob `6d5e97b4ab77` → `e61da8f1f2ce`). These suites import the engine from source, so no rebuild. Result: `Tests 4 failed | 82 passed (86)` — red: `insert(array)`, `insertMany`, the preview, and the `overlayRow` unit pin; green as predicted: one-by-one, refused-row, two-headers, CONTROL and the "leaves as it was" unit pin. Restore: blob `6d5e97b4ab77` == HEAD, `git diff HEAD` empty. ## Acceptance notes - PR #34503 (#34412, same area, still open) edits call-site comments in `engine-insert.ts`: `git merge-tree --write-tree` of this head against its head `ea224164` is clean. - Hooks and flow steps still read the pre-batch header inside one batch, as ruling record 6928862195 states for both doors. - The sibling #34465 (a predicate update, `multi: true`) is not touched here; it follows in its own PR. ## Verification Readings below were taken at `978472fc` (the fix commit, before `origin/main` was merged at `3b8da3ef`). The merge brings no change to `packages/objectql`; the full dogfood battery and the derived gate round are re-run on the final head and reported in the `os-dev-report` comment on #34466. <details><summary>Full dogfood battery (978472f)</summary> - Closure build: `pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build` under `os-verify-lock.sh`: `VERDICT command-exit 0`. - `bash scripts/pm/os-verify-lock.sh -c "pnpm --filter @objectstack/dogfood test"` (no shard, no path): `Test Files 478 passed | 3 skipped (481)`, `Tests 4054 passed | 68 skipped (4122)`, `VERDICT command-exit 0`. No failure. </details> <details><summary>Local runs (978472f)</summary> - `pnpm --filter @objectstack/objectql test`: `Test Files 605 passed (605)`, `Tests 13569 passed (13569)`. - `pnpm --filter @objectstack/objectql run typecheck`: exit 0 (`check:test-typecheck` OK, ledger held). - Pin files: `summary-rollup.test.ts` + `summary-batch-accumulation.test.ts`: `Tests 86 passed (86)`. - `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`: 97 families, each run with its exit recorded; four first exited 3 (prerequisite not met: the teardown fixture commit, `check:skill-examples`, `check:dual-build-cjs-loads`, and `check:type-check-debt` queued behind the battery) and were re-run after `git fetch` of the fixture and a full `pnpm build --concurrency=2` (119/119 tasks): all exit 0. `--ran`: `97 derived famil(ies) accounted for — 97 run, 0 NOT-MEASURED`. - `pnpm lint` and the rest of the farm: CI. </details> ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (`packages/spec` not touched) - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` is CI's run (not run locally). - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. (not touched) - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmPgdzD1Rp6LuxSPNpk)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmPgdzD1Rp6LuxSPNpk <!-- signed: repo:objectstack#2 · os-steve · session_01ADHkmSLi1reMd27fT62jJ3 --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 62d9d0d commit b91cefa

7 files changed

Lines changed: 227 additions & 17 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@objectstack/objectql': patch
3+
---
4+
5+
fix(objectql)!: a multi-row insert counts its earlier rows into the parent summary a field-level `parent.` predicate reads, as one-by-one inserts do
6+
7+
Clause-②: no (narrowing)
8+
Metadata-protocol: none
9+
10+
<!-- adr-0087: not-required (no-migration-prescription) No key of any schema is added, removed, renamed or re-shaped, and no export changes shape. What moves is the summary value a field-level parent. predicate reads during one multi-row insert: no stored row, registry key or authored value changes, so there is nothing for a migration to rewrite and no tombstone. -->
11+
12+
**BREAKING** for a multi-row insert under one master-detail header whose detail object declares a field-level `requiredWhen` that reads a roll-up `summary` of the header (`parent.line_count >= 2`). A bulk create already equals one-by-one creates for a validation rule that reads a parent summary through a reference; this extends that to the header a `requiredWhen` reads as `parent`.
13+
14+
- FROM: `insert(object, rows[])`, `insertMany`, the generic batch create and the import's batched creates read the header once for the batch, so every row judged the summary as it stood before the batch: three bare lines under a header with no lines, against `requiredWhen: 'parent.line_count >= 2'` on `description`, were all admitted.
15+
- TO: each row judges the summary as the batch's earlier admitted rows move it (`count`, and `sum` / `min` / `max` over numbers, the same set the reference arm accumulates): the third line is refused with `VALIDATION_FAILED` (`description`, `required`), as the third of three single inserts is. `insert(array)` refuses the whole batch; `insertMany` reports that row `ok: false` and writes the first two. The multi-row insert preview (`validate` with `mode: 'insert'`, the import's dry run) answers the same.
16+
17+
**Not moved.** A `parent.` predicate that reads a header field that is no summary (`parent.status == 'sent'`), a single-row insert, an update, an unbound header, and an `avg` summary (it keeps reading the stored value) answer as before.
18+
19+
The fix for a caller: supply the field on every row the requirement now names.

‎content/docs/data-modeling/fields.mdx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,11 @@ insert (an import batch, `createManyData`, `insertManyData`) each row's rules
425425
read the summary as it stands after the earlier rows of the same batch that the
426426
rules admitted, accumulated in memory, so two primary contacts in one import
427427
create one row and refuse the other with the rule's error. A row the rules
428-
refuse is not counted. This holds for `count`, and for `sum`, `min` and `max`
428+
refuse is not counted. A detail object's `requiredWhen` that reads the summary
429+
on `parent` (the master-detail header, for example
430+
`requiredWhen: 'parent.line_count >= 2'`) reads it the same way, so the third
431+
of three bare lines in one batch is refused as the third single insert is.
432+
This holds for `count`, and for `sum`, `min` and `max`
429433
over number values. An `avg` summary, a `sum`/`min`/`max` meeting a value that
430434
is not a number, and a summary whose `filter` reads a dotted path through
431435
another reference keep reading the stored value, as they did before.

‎packages/objectql/src/engine-insert.ts‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ import { coerceBooleanFields, normalizeBlankTypedValues, normalizeMultiValueFiel
6060
import { emitValidationAdvisories, evaluateValidationRules, hasParentScopedRequiredWhen, preserveAuditIgnoredOnInsertWarning, stripReadonlyFields, stripRuntimeOwnedFields } from './validation/rule-validator.js';
6161
import type { staticReadonlyInsertSubject } from './validation/rule-validator.js';
6262
import { createBatchSummaryAccumulator } from './summary-batch-accumulation.js';
63+
import { resolveMasterDetailRelation } from './master-detail.js';
6364
import { recordHookPayloadWrites } from './hook-write-provenance.js';
6465
import type { HookWriteRecording } from './hook-write-provenance.js';
6566
import { dispatchHooksExplainingWithheldReadonly } from './hook-withheld-readonly-fault.js';
@@ -1316,6 +1317,16 @@ export class InsertFacet {
13161317
const batchSummaries = rows.length > 1
13171318
? createBatchSummaryAccumulator(this.getSummaryDescriptors(object), (schemaForValidation as any)?.fields)
13181319
: undefined;
1320+
// [#34466] The same overlay for the master-detail header a field-level
1321+
// `parent.` predicate reads (`requiredWhen: parent.line_count >= 3`):
1322+
// `insertParentForRow` above was read once too, before the batch.
1323+
const insertParentMaster = batchSummaries && insertParentForRow
1324+
? resolveMasterDetailRelation(schemaForValidation as any)?.master
1325+
: undefined;
1326+
const insertParentOf = (row: Record<string, unknown>) => {
1327+
const header = insertParentForRow?.(row);
1328+
return insertParentMaster ? batchSummaries!.overlayRow(insertParentMaster, header) : header;
1329+
};
13191330
// [#18783] The subject's effective object permissions, for an option
13201331
// gated on `current_user.can(…)`: ONE resolution for the whole batch,
13211332
// and none at all unless a row picks such an option. A resolution
@@ -1349,7 +1360,7 @@ export class InsertFacet {
13491360
schemaForValidation, rows[i], suppliedPerRow[i], opCtx.context, msgCtx,
13501361
);
13511362
if (referencesFirst) await checkReferences();
1352-
emitValidationAdvisories(options?.onValidationAdvisory, evaluateValidationRules(schemaForValidation as any, rows[i], 'insert', { logger: this.logger, currentUser: this.buildEvalUser(opCtx.context), skipStateMachine: shouldSkipStateMachine(opCtx.context), messages: msgCtx, parent: insertParentForRow?.(rows[i]), related: batchSummaries ? batchSummaries.overlay(insertRelatedForRow(rows[i])) : insertRelatedForRow(rows[i]), permissions: insertPermissionsFor(rows[i]) }), this.logger, object);
1363+
emitValidationAdvisories(options?.onValidationAdvisory, evaluateValidationRules(schemaForValidation as any, rows[i], 'insert', { logger: this.logger, currentUser: this.buildEvalUser(opCtx.context), skipStateMachine: shouldSkipStateMachine(opCtx.context), messages: msgCtx, parent: insertParentOf(rows[i]), related: batchSummaries ? batchSummaries.overlay(insertRelatedForRow(rows[i])) : insertRelatedForRow(rows[i]), permissions: insertPermissionsFor(rows[i]) }), this.logger, object);
13531364
if (!referencesFirst) await checkReferences();
13541365
// [#25579] Admitted: a later row of this batch reads it in the summary.
13551366
batchSummaries?.accept(rows[i]);

‎packages/objectql/src/engine-validate.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ import type { WriteObservabilityOptions } from '@objectstack/spec/contracts';
5050
import { validateRecordInScope, normalizeBlankTypedValues, normalizeNumericStringValues, ValidationError, valueShapeStrictEffective, mediaStrictEffective } from './validation/record-validator.js';
5151
import { evaluateValidationRules, hasParentScopedRequiredWhen, stripReadonlyFields, stripRuntimeOwnedFields } from './validation/rule-validator.js';
5252
import { createBatchSummaryAccumulator } from './summary-batch-accumulation.js';
53+
import { resolveMasterDetailRelation } from './master-detail.js';
5354
import { assertRecordCurrencyCodes, followParentCurrencyCodes, parentCodeFieldServingOf, recordCurrencyPairs, RecordCurrencyCodeRequiredError, touchesRecordCurrency } from './validation/record-currency-code.js';
5455
import { assertFollowedCurrencyCodesUnchanged, parentCurrencyLockReads, touchesFollowedCurrencyCode } from './record-currency-parent-lock.js';
5556
import { isHomeAmountRefusal } from './home-amount-projection.js';
@@ -513,6 +514,11 @@ export async function validate(
513514
const batchSummaries = mode === 'insert' && rows.length > 1
514515
? createBatchSummaryAccumulator(this.getSummaryDescriptors(object), (schemaForValidation as any)?.fields)
515516
: undefined;
517+
// [#34466] And the master-detail header a field-level `parent.` predicate
518+
// reads, overlaid the way the write's `insertParentOf` overlays it.
519+
const previewParentMaster = batchSummaries && previewParents
520+
? resolveMasterDetailRelation(schemaForValidation as any)?.master
521+
: undefined;
516522

517523
// [#26684] Judged one row after another, as the write's validation loop
518524
// judges them: a row's admission (the reference check below) is awaited
@@ -628,7 +634,7 @@ export async function validate(
628634
// [#22474] The header the write binds: the insert's
629635
// `insertParentForRow`, the update's landing header and, for a
630636
// repoint, `roWhenPreviousParent`.
631-
parent: previewParents?.parents[i],
637+
parent: previewParentMaster ? batchSummaries!.overlayRow(previewParentMaster, previewParents?.parents[i]) : previewParents?.parents[i],
632638
previousParent: previewParents?.previousParents[i],
633639
related: batchSummaries ? batchSummaries.overlay(previewRelatedForRow(judgedViews[i])) : previewRelatedForRow(judgedViews[i]),
634640
permissions: previewPermissionsFor(row),

‎packages/objectql/src/summary-batch-accumulation.test.ts‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,27 @@ describe('[#25579] createBatchSummaryAccumulator — what it leaves as it was',
130130
expect(acc.overlay(undefined)).toBeUndefined();
131131
});
132132
});
133+
134+
describe('[#34466] overlayRow — the master-detail header a field-level parent. predicate reads', () => {
135+
it('moves the summary on a header row of the roll-up\'s parent object, on a copy', () => {
136+
const acc = createBatchSummaryAccumulator([desc({ summaryField: 'lines', fn: 'count', sourceField: undefined })], CHILD_FIELDS)!;
137+
const header = { id: 'o1', lines: 1, status: 'draft' };
138+
acc.accept({ order: 'o1' });
139+
acc.accept({ order: 'o1' });
140+
expect(acc.overlayRow('xt_order', header)).toEqual({ id: 'o1', lines: 3, status: 'draft' });
141+
expect(header.lines).toBe(1);
142+
});
143+
144+
it('leaves as it was: an unbound header, another parent, another object, a header not handed the summary', () => {
145+
const acc = createBatchSummaryAccumulator([desc({ summaryField: 'lines', fn: 'count', sourceField: undefined })], CHILD_FIELDS)!;
146+
acc.accept({ order: 'o1' });
147+
expect(acc.overlayRow('xt_order', null)).toBeNull();
148+
expect(acc.overlayRow('xt_order', undefined)).toBeUndefined();
149+
const other = { id: 'o2', lines: 0 };
150+
expect(acc.overlayRow('xt_order', other)).toBe(other);
151+
const elsewhere = { id: 'o1', lines: 0 };
152+
expect(acc.overlayRow('xt_quote', elsewhere)).toBe(elsewhere);
153+
const narrow = { id: 'o1', status: 'draft' };
154+
expect(acc.overlayRow('xt_order', narrow)).toBe(narrow);
155+
});
156+
});

‎packages/objectql/src/summary-batch-accumulation.ts‎

Lines changed: 39 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
* aggregation's own walker ({@link matchesAggregationFilter}), so a row the
3232
* filter excludes counts for nothing, as it counts for nothing in the
3333
* recompute.
34+
* - [#34466] The same value reaches a field-level `parent.` predicate
35+
* (`requiredWhen: parent.line_count >= 3`): the master-detail header it
36+
* reads is one row, not a related binding, and {@link
37+
* BatchSummaryAccumulator.overlayRow} overlays it the same way. An unbound
38+
* header stays unbound.
3439
*
3540
* ## Which roll-ups accumulate exactly
3641
*
@@ -69,6 +74,15 @@ export interface BatchSummaryAccumulator {
6974
* row moves is returned as it is.
7075
*/
7176
overlay(binding: RelatedRecordBinding | undefined): RelatedRecordBinding | undefined;
77+
/**
78+
* [#34466] `row`, a stored row of `object`, carrying the summary values the
79+
* batch's admitted rows move it to: the master-detail header a field-level
80+
* `parent.` predicate (`requiredWhen`) reads, which reaches the rules as one
81+
* row and not as a related binding. A copy; `row` itself is never mutated.
82+
* A row no admitted row moves, and an unbound header (`null` /
83+
* `undefined`, the fail-closed signal), are returned as they are.
84+
*/
85+
overlayRow<R extends Record<string, unknown> | null | undefined>(object: string, row: R): R;
7286
/** Count `row` in. Call it only once the row's rules have admitted it. */
7387
accept(row: Record<string, unknown>): void;
7488
}
@@ -167,25 +181,31 @@ export function createBatchSummaryAccumulator(
167181
}
168182
};
169183

184+
/** A copy of `row` (a stored row of `object`) with every summary the admitted rows move, or `undefined` when none moves. */
185+
const patchRow = (object: string, row: Record<string, unknown>): Record<string, unknown> | undefined => {
186+
const parentId = singleId(row.id);
187+
if (parentId === undefined) return undefined;
188+
let patched: Record<string, unknown> | undefined;
189+
for (const [desc, byParent] of deltas) {
190+
if (dropped.has(desc) || desc.parentObject !== object) continue;
191+
if (!(desc.summaryField in row)) continue; // the reader was not handed this roll-up
192+
const delta = byParent.get(parentId);
193+
if (!delta) continue;
194+
const value = moved(desc, row[desc.summaryField], delta);
195+
if (value === undefined) continue;
196+
patched ??= { ...row };
197+
patched[desc.summaryField] = value;
198+
}
199+
return patched;
200+
};
201+
170202
const overlay = (binding: RelatedRecordBinding | undefined): RelatedRecordBinding | undefined => {
171203
if (!binding || deltas.size === 0) return binding;
172204
let out: Record<string, RelatedFieldBinding> | undefined;
173205
for (const [fk, entry] of Object.entries(binding)) {
174206
const related = entry.row;
175207
if (!related) continue;
176-
const parentId = singleId(related.id);
177-
if (parentId === undefined) continue;
178-
let patched: Record<string, unknown> | undefined;
179-
for (const [desc, byParent] of deltas) {
180-
if (dropped.has(desc) || desc.parentObject !== entry.object) continue;
181-
if (!(desc.summaryField in related)) continue; // the rule does not read this roll-up
182-
const delta = byParent.get(parentId);
183-
if (!delta) continue;
184-
const value = moved(desc, related[desc.summaryField], delta);
185-
if (value === undefined) continue;
186-
patched ??= { ...related };
187-
patched[desc.summaryField] = value;
188-
}
208+
const patched = patchRow(entry.object, related);
189209
if (patched) {
190210
out ??= { ...binding };
191211
out[fk] = { ...entry, row: patched };
@@ -194,5 +214,10 @@ export function createBatchSummaryAccumulator(
194214
return out ?? binding;
195215
};
196216

197-
return { accept, overlay };
217+
const overlayRow = <R extends Record<string, unknown> | null | undefined>(object: string, row: R): R => {
218+
if (!row || deltas.size === 0) return row;
219+
return (patchRow(object, row) as R | undefined) ?? row;
220+
};
221+
222+
return { accept, overlay, overlayRow };
198223
}

0 commit comments

Comments
 (0)