vault-cortex 0.10.7 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/env.js +13 -2
- package/dist/optional-settings.js +3 -3
- package/package.json +1 -1
package/dist/env.js
CHANGED
|
@@ -250,16 +250,27 @@ LOG_RETENTION_DAYS=90
|
|
|
250
250
|
PUID=1000
|
|
251
251
|
PGID=1000
|
|
252
252
|
|
|
253
|
-
# Device name
|
|
253
|
+
# Device name the container reports to Obsidian Sync — labels its changes in the sync log.
|
|
254
254
|
DEVICE_NAME=vault-cortex
|
|
255
255
|
|
|
256
256
|
# Obsidian Sync conflict resolution: merge | conflict (default: merge).
|
|
257
257
|
# 'merge' integrates changes automatically; 'conflict' writes a separate conflict file.
|
|
258
258
|
CONFLICT_STRATEGY=merge
|
|
259
259
|
|
|
260
|
-
# Sync direction: bidirectional | pull-only |
|
|
260
|
+
# Sync direction: bidirectional | pull-only | mirror-remote (default: bidirectional).
|
|
261
|
+
# 'pull-only': server edits are kept locally but never uploaded;
|
|
262
|
+
# 'mirror-remote': server edits are undone, so the server is an exact copy.
|
|
261
263
|
SYNC_MODE=bidirectional
|
|
262
264
|
|
|
265
|
+
# Folders to leave out of sync, comma-separated — the same list as Obsidian's
|
|
266
|
+
# Sync → "Excluded folders". Empty keeps the Sync client's default (nothing excluded).
|
|
267
|
+
SYNC_EXCLUDED_FOLDERS=
|
|
268
|
+
|
|
269
|
+
# Attachment types to sync, comma-separated: image, audio, video, pdf, unsupported —
|
|
270
|
+
# the same toggles as Obsidian's Sync → "Selective sync". Empty keeps the Sync
|
|
271
|
+
# client's default.
|
|
272
|
+
SYNC_FILE_TYPES=
|
|
273
|
+
|
|
263
274
|
# Obsidian settings categories to sync into the server's .obsidian/ folder
|
|
264
275
|
# (default: the two the server reads — daily notes settings and community
|
|
265
276
|
# plugin settings such as the Tasks plugin's format; "none" disables).
|
|
@@ -69,9 +69,9 @@ const OPTIONAL_SETTINGS = [
|
|
|
69
69
|
hint: "receive changes but never push",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
value: "
|
|
73
|
-
label: "
|
|
74
|
-
hint: "
|
|
72
|
+
value: "mirror-remote",
|
|
73
|
+
label: "Mirror remote",
|
|
74
|
+
hint: "receive changes and revert any server-side edit",
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
defaultValue: "bidirectional",
|