UPDATE: Add raw API to nodejs bindings

This commit is contained in:
Nicolás Hatcher
2025-01-28 20:08:16 +01:00
committed by Nicolás Hatcher Andrés
parent 24fb87721f
commit 610b899f66
12 changed files with 1049 additions and 636 deletions

View File

@@ -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