1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-27 00:20:27 +02:00

added JSVM GeoPointField constructor

This commit is contained in:
Gani Georgiev
2025-04-16 09:12:44 +03:00
parent 33abc0a802
commit 0426722e99
5 changed files with 3545 additions and 3510 deletions

View File

@@ -495,6 +495,10 @@ func baseBinds(vm *goja.Runtime) {
instance := &core.FileField{}
return structConstructorUnmarshal(vm, call, instance)
})
vm.Set("GeoPointField", func(call goja.ConstructorCall) *goja.Object {
instance := &core.GeoPointField{}
return structConstructorUnmarshal(vm, call, instance)
})
// ---
vm.Set("MailerMessage", func(call goja.ConstructorCall) *goja.Object {