removed JSVM Collection class aliases

This commit is contained in:
Gani Georgiev
2024-11-02 22:00:58 +02:00
parent a446290a7a
commit fadb4e3d67
4 changed files with 4586 additions and 4777 deletions

View File

@@ -421,9 +421,6 @@ func baseBinds(vm *goja.Runtime) {
instance := &core.Collection{}
return structConstructorUnmarshal(vm, call, instance)
})
registerFactoryAsConstructor(vm, "BaseCollection", core.NewBaseCollection)
registerFactoryAsConstructor(vm, "AuthCollection", core.NewAuthCollection)
registerFactoryAsConstructor(vm, "ViewCollection", core.NewViewCollection)
vm.Set("FieldsList", func(call goja.ConstructorCall) *goja.Object {
instance := &core.FieldsList{}