Skip to content

chore(db): pass biome lint#374

Open
rezk2ll wants to merge 1 commit into
devfrom
chore/db-biome-pass
Open

chore(db): pass biome lint#374
rezk2ll wants to merge 1 commit into
devfrom
chore/db-biome-pass

Conversation

@rezk2ll
Copy link
Copy Markdown
Member

@rezk2ll rezk2ll commented May 26, 2026

Summary

Replaces any with unknown in sql/sql.ts and _createTables.ts, types the pg query callback with QueryResult instead of any, narrows the createDatabases signature on DbBackend so the interface actually reflects what the implementations accept (now constrained as T extends string to match the rest of the package), and annotates the multi-parameter helpers (_get, _getMinMax, the WhereEqualAnd* family, createTables) with biome-ignore for useMaxParams because changing those signatures would break every downstream caller.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Warning

Review limit reached

@rezk2ll, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 18 minutes and 25 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 000053c9-d6a0-468a-a150-239c32e4b053

📥 Commits

Reviewing files that changed from the base of the PR and between 93e11b7 and 90f7ee2.

📒 Files selected for processing (6)
  • packages/db/src/database.ts
  • packages/db/src/sql/_createTables.ts
  • packages/db/src/sql/pg.ts
  • packages/db/src/sql/sql.ts
  • packages/db/src/sql/sqlite.ts
  • packages/db/src/types.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 26, 2026

View your CI Pipeline Execution ↗ for commit 90f7ee2

Command Status Duration Result
nx affected -t test ✅ Succeeded 11s View ↗
nx affected -t build ✅ Succeeded 7s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-26 18:08:47 UTC

@rezk2ll rezk2ll requested a review from pm-McFly May 26, 2026 19:04
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