mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-02 02:10:29 +01:00
added JSVM GeoPointField constructor
This commit is contained in:
1 parent
33abc0a802
commit
0426722e99
5 files changed
+3545
-3510
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user