mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-01 12:44:06 +01:00
Add isMissing to Plugin model, add manifest version and name validation, create/update plugins table
This commit is contained in:
1 parent
5a96d8aeb3
commit
cfe3deff3b
5 files changed
+106
-7
No files matched your search
@@ -10,6 +10,8 @@ class Plugin extends Model {
|
||||
this.name
|
||||
/** @type {string} */
|
||||
this.version
|
||||
/** @type {boolean} */
|
||||
this.isMissing
|
||||
/** @type {Object} */
|
||||
this.config
|
||||
/** @type {Object} */
|
||||
@@ -34,6 +36,10 @@ class Plugin extends Model {
|
||||
},
|
||||
name: DataTypes.STRING,
|
||||
version: DataTypes.STRING,
|
||||
isMissing: {
|
||||
type: DataTypes.BOOLEAN,
|
||||
defaultValue: false
|
||||
},
|
||||
config: DataTypes.JSON,
|
||||
extraData: DataTypes.JSON
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user