Correct typing in the conditions compatibility file.

Review Request #14732 — Created Dec. 9, 2025 and submitted

Information

rbintegrations
release-4.x

Reviewers

We recently added a conditions compatibility file to Review Bot
(/r/14705/), and in those reviews we decided on a new best pattern
for compatibility imports that keep the type checker happy. This change
updates the compatibility file here to use that pattern.

The pattern ensures that we're giving the type checker one path to check
based on the upstream, making sure we're always typing against the
formal API instead of the compatibility stubs.
  • Saw things are typed properly when I import and use the conditions
    field into another file.
  • Looked at an integration config page on an RB 7.1 server.
Summary ID
Correct typing in the conditions compatibility file.
We recently added a conditions compatibility file to Review Bot (/r/14705/), and in those reviews we decided on a new best pattern for compatibility imports that keep the type checker happy. This change updates the compatibility file here to use that pattern. The pattern ensures that we're giving the type checker one path to check based on the upstream, making sure we're always typing against the formal API instead of the compatibility stubs.
c3cd412e4ebe1bb6b5cbdd48d8c9e7519b9604d2
chipx86
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.x (de6a741)