-
Notifications
You must be signed in to change notification settings - Fork 2
Better auth type errors #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit refactors how FileMaker adapter configurations are accessed, making it more robust. It also updates various dependencies, including rolldown and its related packages, to their latest versions. Co-authored-by: eric.luce <[email protected]>
|
Cursor Agent can help with this pull request. Just |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@proofkit/better-auth
@proofkit/cli
create-proofkit
@proofkit/fmdapi
@proofkit/fmodata
@proofkit/typegen
@proofkit/webviewer
commit: |
|
@cursor add a changeset for this update |
|
Added. I’ll include a changeset for Learn more about Cursor Agents |
Co-authored-by: eric.luce <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
Handles array types like ["boolean", "null"] → "boolean|null" Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Use DBAdapterDebugLogOption/DBFieldAttribute from better-auth - Use filemakerConfig property instead of helper function - Keep normalizeBetterAuthFieldType for array type handling Co-Authored-By: Claude Opus 4.5 <[email protected]>
Fixes TypeScript build errors in
@proofkit/better-authby updating type imports and adapter option parsing to be resilient to upstream changes.The build was failing due to several TypeScript errors in
@proofkit/better-authrelated to type mismatches and missing exports from thebetter-authdependency. These changes address those issues by:AdapterDebugLogs,BetterAuthDbSchema) with stable local definitions.adapter.optionsto handle variations in thebetter-authpackage's internal structure.src/migrate.tsto correctly handle array-based types frombetter-auth.This ensures the
@proofkit/better-authpackage builds successfully with the currentbetter-authdependency.Note
Improves resilience of migration type handling to upstream Better Auth changes.
normalizeBetterAuthFieldTypeand updates field-to-FM type mapping inmigrate.tsto support string/array union types viaincludes()checks@proofkit/better-authWritten by Cursor Bugbot for commit a3dcb04. This will update automatically on new commits. Configure here.