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
Copy file name to clipboardExpand all lines: src/mapeo-manager.js
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,8 @@ export class MapeoManager extends TypedEmitter {
69
69
/** @type {import('./types.js').CoreStorage} */
70
70
#coreStorage
71
71
#dbFolder
72
+
/** @type {string} */
73
+
#projectMigrationsFolder
72
74
#deviceId
73
75
#localPeers
74
76
#invite
@@ -81,25 +83,33 @@ export class MapeoManager extends TypedEmitter {
81
83
* @param {Object} opts
82
84
* @param {Buffer} opts.rootKey 16-bytes of random data that uniquely identify the device, used to derive a 32-byte master key, which is used to derive all the keypairs used for Mapeo
83
85
* @param {string} opts.dbFolder Folder for sqlite Dbs. Folder must exist. Use ':memory:' to store everything in-memory
86
+
* @param {string} opts.projectMigrationsFolder path for drizzle migrations folder for project database
87
+
* @param {string} opts.clientMigrationsFolder path for drizzle migrations folder for client database
84
88
* @param {string | import('./types.js').CoreStorage} opts.coreStorage Folder for hypercore storage or a function that returns a RandomAccessStorage instance
0 commit comments