You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
All: Utilities to create and encrypt master keys
This commit is contained in:
16
ReactNativeClient/lib/models/MasterKey.js
Normal file
16
ReactNativeClient/lib/models/MasterKey.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const { BaseModel } = require('lib/base-model.js');
|
||||
const { BaseItem } = require('lib/models/base-item.js');
|
||||
|
||||
class MasterKey extends BaseItem {
|
||||
|
||||
static tableName() {
|
||||
return 'master_keys';
|
||||
}
|
||||
|
||||
static modelType() {
|
||||
return BaseModel.TYPE_MASTER_KEY;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = MasterKey;
|
||||
Reference in New Issue
Block a user