mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 17:05:48 +00:00
fix(sync): address package review feedback
This commit is contained in:
parent
f0706ac779
commit
3bb07fc6d0
16 changed files with 79 additions and 25 deletions
|
|
@ -134,7 +134,7 @@ packages/sync-providers/src/
|
|||
├── file-based/dropbox/ # Dropbox provider implementation
|
||||
├── file-based/webdav/ # WebDAV + Nextcloud providers
|
||||
├── file-based/local-file/ # LocalFile provider classes
|
||||
└── provider.types.ts # Provider-neutral contracts
|
||||
└── provider-types.ts # Provider-neutral contracts
|
||||
```
|
||||
|
||||
### App Sync Wiring
|
||||
|
|
|
|||
|
|
@ -111,10 +111,11 @@ the package barrel deliberately and check that it is not app-owned.
|
|||
The root `@sp/sync-providers` barrel has been removed; consumers MUST import
|
||||
from focused subpath barrels: `@sp/sync-providers/dropbox`, `/webdav`,
|
||||
`/super-sync`, `/local-file`, `/http`, `/errors`, `/file-based`, `/pkce`,
|
||||
`/platform`, `/provider-types`, and `/credential-store`. Provider classes and
|
||||
provider-owned string constants are exported there, but app enums such as
|
||||
`SyncProviderId` are not. Internal helpers such as WebDAV API/adapter classes
|
||||
stay unexported unless a second host needs them.
|
||||
`/platform`, `/provider-types`, `/credential-store`, and `/log`. Provider
|
||||
classes, provider-owned string constants, and shared privacy-boundary logging
|
||||
helpers are exported there, but app enums such as `SyncProviderId` are not.
|
||||
Internal helpers such as WebDAV API/adapter classes stay unexported unless a
|
||||
second host needs them.
|
||||
|
||||
`@sp/sync-core` still exports deprecated full-state op compatibility defaults
|
||||
and host-defined `OpType.SyncImport` / `BackupImport` / `Repair` strings for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue