You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Add a remote peer device by its device ID. Use dynamic addressing for automatic discovery, metadata compression, and auto-accept any folders the peer shares.',
71
+
configs: [{
72
+
type: 'syncthing-device',
73
+
deviceId: '<Replace me here!>',
74
+
deviceName: 'My Laptop',
75
+
addresses: ['dynamic'],
76
+
autoAcceptFolders: true,
77
+
paused: false,
78
+
compression: 'metadata',
79
+
}]
80
+
}
81
+
59
82
/** Raw JSON shape returned by `syncthing cli config devices <id>` */
60
83
interfaceRawDevice{
61
84
deviceID: string;
@@ -72,6 +95,11 @@ export class SyncthingDeviceResource extends Resource<SyncthingDeviceConfig> {
description: 'Share a local directory with one or more peer devices. Uses sendreceive mode so changes flow in both directions, with filesystem watching for fast change detection.',
77
+
configs: [{
78
+
type: 'syncthing-folder',
79
+
id: 'my-docs',
80
+
path: '~/Documents',
81
+
label: 'My Documents',
82
+
folderType: 'sendreceive',
83
+
devices: ['<Replace with device ID>'],
84
+
fsWatcherEnabled: true,
85
+
rescanIntervalS: 3600,
86
+
maxConflicts: 10,
87
+
paused: false,
88
+
}]
89
+
}
90
+
64
91
/** Raw JSON shape returned by `syncthing cli config folders <id>` */
65
92
interfaceRawFolder{
66
93
id: string;
@@ -78,6 +105,11 @@ export class SyncthingFolderResource extends Resource<SyncthingFolderConfig> {
description: 'Install Syncthing with sensible defaults: launch at startup, local and global discovery enabled, relays on, no browser auto-open, and usage reporting opted out.',
0 commit comments