Skip to content

feat: Add pre_extraction_item_counts to EventData for sync duration estimation#224

Draft
i-arnavra3 wants to merge 1 commit into
mainfrom
ASFND-360/propagate-counts
Draft

feat: Add pre_extraction_item_counts to EventData for sync duration estimation#224
i-arnavra3 wants to merge 1 commit into
mainfrom
ASFND-360/propagate-counts

Conversation

@i-arnavra3

@i-arnavra3 i-arnavra3 commented Jul 21, 2026

Copy link
Copy Markdown

Description

Adds an optional pre_extraction_item_counts field to EventData so ADaaS snap-ins can report per-record-type counts on the MetadataExtractionDone event. Adds the ItemTypeCount interface and ItemInputType enum (main or users) and exports both. The field is optional, so existing snap-ins are unaffected.

Design doc: ADaaS estimated duration extension

Connected Issues

ASFND-360

Checklist

  • Tests added/updated and ran with npm run test OR no tests needed.
  • Ran backwards compatibility tests with npm run test:backwards-compatibility.
  • Code formatted and checked with npm run lint.
  • Tested airdrop-template linked to this PR.
  • Documentation updated and provided a link to PR / new docs OR no docs needed.

…stimation

Add ItemInputType enum ('main'/'users') and ItemTypeCount interface, and an
optional pre_extraction_item_counts field on EventData so ADaaS snap-ins can
report per-record-type counts on the metadata-done event. The field is optional
and passes through emit unchanged, so existing snap-ins are unaffected.

ASFND-360

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@radovanjorgic
radovanjorgic marked this pull request as draft July 22, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant