Skip to content

Sync from docs: add @powersync/common as canonical API reference (powersync-docs #542) - #61

Open
bean1352 wants to merge 1 commit into
mainfrom
drift/docs-542-js-api-interface-refs
Open

Sync from docs: add @powersync/common as canonical API reference (powersync-docs #542)#61
bean1352 wants to merge 1 commit into
mainfrom
drift/docs-542-js-api-interface-refs

Conversation

@bean1352

Copy link
Copy Markdown
Collaborator

Generated by Claude. Review carefully before merging.

Source docs PR: powersync-ja/powersync-docs#542

What changed in docs

In JS SDK v2, PowerSyncDatabase and SyncStatus are exported as interfaces from @powersync/common (CommonPowerSyncDatabase and SyncStatus) rather than as concrete classes in each SDK package. The docs PR updated all API documentation links to point to these canonical @powersync/common interface pages.

Skill updates in this PR

  • skills/powersync/references/sdks/powersync-js.md: Added a row for the @powersync/common package API reference to the resource table, noting it is the canonical source for CommonPowerSyncDatabase (the public database interface) and SyncStatus in SDK v2.

Notes for reviewer

The docs PR also renamed WASQLiteDBAdapter to WASQLiteOpenFactory in the documentation, but powersync-js.md already uses WASQLiteOpenFactory, so no change was needed there.

An open PR (#60) for docs PR #524 already updates powersync-js.md with broader v2 API changes (logger API, dataFlowStatus flattening, VFS config). The change in this PR is additive and does not conflict with those edits.

No other skill files contain the affected URL patterns or class names. The production-readiness-guide.mdx change (consolidating three SyncStatus links into one) does not have a skill counterpart.


Generated by Claude Code

In JS SDK v2, PowerSyncDatabase and SyncStatus are exported as
interfaces from @powersync/common (CommonPowerSyncDatabase and
SyncStatus) rather than as classes in SDK-specific packages.
The canonical API docs for these types are now at
https://powersync-ja.github.io/powersync-js/common.

Mirrors docs change from powersync-docs PR #542.
@bean1352
bean1352 requested a review from michaelbarnes July 23, 2026 15:55
@bean1352 bean1352 self-assigned this Jul 23, 2026
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.

2 participants