@@ -34,6 +34,10 @@ Encryption keys for each namespace
3434
3535• ** opts.getMediaBaseUrl**
3636
37+ • ** opts.isArchiveDevice** : ` boolean `
38+
39+ Whether this device is an archive device
40+
3741• ** opts.keyManager** : ` KeyManager `
3842
3943mapeo/crypto KeyManager instance
@@ -142,7 +146,7 @@ DataTypes object mappings, used for tests
142146
143147##### observation
144148
145- > ** observation** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
149+ > ** observation** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
146150
147151##### preset
148152
@@ -152,20 +156,34 @@ DataTypes object mappings, used for tests
152156
153157> ** projectSettings** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "config" ` , ` "translation" ` \| ` "preset" ` \| ` "field" ` \| ` "projectSettings" ` \| ` "deviceInfo" ` \| ` "icon" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "projectSettings" ` , ` object ` , ` object ` \>
154158
159+ ##### remoteDetectionAlert
160+
161+ > ** remoteDetectionAlert** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "remoteDetectionAlert" ` , ` object ` , ` object ` \>
162+
155163##### role
156164
157165> ** role** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "auth" ` , ` "coreOwnership" ` \| ` "role" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "role" ` , ` object ` , ` object ` \>
158166
159167##### track
160168
161- > ** track** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
169+ > ** track** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
162170
163171##### translation
164172
165173> ** translation** : [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "config" ` , ` "translation" ` \| ` "preset" ` \| ` "field" ` \| ` "projectSettings" ` \| ` "deviceInfo" ` \| ` "icon" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "translation" ` , ` object ` , ` object ` \>
166174
167175***
168176
177+ ### \[ kIsArchiveDevice\]
178+
179+ > ` get ` ** \[ kIsArchiveDevice\] ** (): ` boolean `
180+
181+ #### Returns
182+
183+ ` boolean `
184+
185+ ***
186+
169187### $icons
170188
171189> ` get ` ** $icons** (): [ ` IconApi ` ] ( IconApi.md )
@@ -228,11 +246,11 @@ DataTypes object mappings, used for tests
228246
229247### observation
230248
231- > ` get ` ** observation** (): [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
249+ > ` get ` ** observation** (): [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
232250
233251#### Returns
234252
235- [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
253+ [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "observation" ` , ` object ` , ` object ` \>
236254
237255***
238256
@@ -246,13 +264,23 @@ DataTypes object mappings, used for tests
246264
247265***
248266
267+ ### remoteDetectionAlert
268+
269+ > ` get ` ** remoteDetectionAlert** (): [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "remoteDetectionAlert" ` , ` object ` , ` object ` \>
270+
271+ #### Returns
272+
273+ [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "remoteDetectionAlert" ` , ` object ` , ` object ` \>
274+
275+ ***
276+
249277### track
250278
251- > ` get ` ** track** (): [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
279+ > ` get ` ** track** (): [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
252280
253281#### Returns
254282
255- [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
283+ [ ` DataType ` ] ( DataType.md ) \< [ ` DataStore ` ] ( DataStore.md ) \< ` "data" ` , ` "observation" ` \| ` "track" ` \| ` "remoteDetectionAlert" ` \> , ` SQLiteTableWithColumns ` \< ` object ` \> , ` "track" ` , ` object ` , ` object ` \>
256284
257285## Methods
258286
@@ -280,22 +308,33 @@ Clear data if we've left the project. No-op if you're still in the project.
280308
281309### \[ kProjectReplicate\] ()
282310
283- > ** \[ kProjectReplicate\] ** (` stream ` ): ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\> & ` object ` & [ ` Protomux ` ] ( Protomux. md) \< ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\>\>
311+ > ** \[ kProjectReplicate\] ** (` isInitiatorOrStream ` ): [ ` ReplicationStream ` ] ( ../type-aliases/ReplicationStream. md)
284312
285313Replicate a project to a @hyperswarm/secret-stream . Invites will not
286314function because the RPC channel is not connected for project replication,
287- and only this project will replicate (to replicate multiple projects you
288- need to replicate the manager instance via manager[ kManagerReplicate] )
315+ and only this project will replicate.
289316
290317#### Parameters
291318
292- • ** stream** : [ ` Protomux ` ] ( Protomux.md ) \< ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\>\>
319+ • ** isInitiatorOrStream** : ` boolean ` \| ` Duplex ` \| ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\>
320+
321+ #### Returns
322+
323+ [ ` ReplicationStream ` ] ( ../type-aliases/ReplicationStream.md )
293324
294- A duplex stream, a @hyperswarm/secret-stream , or a Protomux instance
325+ ***
326+
327+ ### \[ kSetIsArchiveDevice\] ()
328+
329+ > ** \[ kSetIsArchiveDevice\] ** (` isArchiveDevice ` ): ` Promise ` \< ` void ` \>
330+
331+ #### Parameters
332+
333+ • ** isArchiveDevice** : ` boolean `
295334
296335#### Returns
297336
298- ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\> & ` object ` & [ ` Protomux ` ] ( Protomux.md ) \< ` Duplex ` \< ` any ` , ` any ` , ` any ` , ` any ` , ` true ` , ` true ` , ` DuplexEvents ` \< ` any ` , ` any ` \>\> \>
337+ ` Promise ` \< ` void ` \>
299338
300339***
301340
@@ -305,7 +344,7 @@ A duplex stream, a @hyperswarm/secret-stream, or a Protomux instance
305344
306345#### Parameters
307346
308- • ** value** : ` Pick ` \< ` object ` , ` "name" ` \| ` "deviceType" ` \>
347+ • ** value** : ` Pick ` \< ` object ` , ` "name" ` \| ` "deviceType" ` \| ` "selfHostedServerDetails" ` \>
309348
310349#### Returns
311350
0 commit comments