Centralise setup tool Commonlib selection

This commit is contained in:
vorotamoroz
2026-07-21 04:31:09 +00:00
parent b44a7fa50f
commit 04b5734089
10 changed files with 70 additions and 12 deletions
+18
View File
@@ -0,0 +1,18 @@
// Keep Setup URI generation on its own static Commonlib module graph. This is
// intentionally separate from the CouchDB facade so that a raw-URL invocation
// does not load the PouchDB browser adapter.
export {
decodeSettingsFromSetupURI,
encodeSettingsToSetupURI,
} from "npm:@vrtmrz/livesync-commonlib@0.1.0-rc.4/compat/API/processSetting";
export { generateP2PRoomId } from "npm:@vrtmrz/livesync-commonlib@0.1.0-rc.4/compat/common/utils";
export { upsertRemoteConfigurationInPlace } from "npm:@vrtmrz/livesync-commonlib@0.1.0-rc.4/remote-configurations";
export {
createNewVaultSettings,
DEFAULT_SETTINGS,
P2P_DEFAULT_SETTINGS,
PREFERRED_BASE,
PREFERRED_JOURNAL_SYNC,
PREFERRED_SETTING_SELF_HOSTED,
} from "npm:@vrtmrz/livesync-commonlib@0.1.0-rc.4/settings";
export type { ObsidianLiveSyncSettings } from "npm:@vrtmrz/livesync-commonlib@0.1.0-rc.4/settings";