UPDATE: Add raw API to nodejs bindings
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
24fb87721f
commit
610b899f66
@@ -310,6 +310,7 @@ if (!nativeBinding) {
|
||||
throw new Error(`Failed to load native binding`)
|
||||
}
|
||||
|
||||
const { Model } = nativeBinding
|
||||
const { Model, UserModel } = nativeBinding
|
||||
|
||||
module.exports.Model = Model
|
||||
module.exports.UserModel = UserModel
|
||||
|
||||
Reference in New Issue
Block a user