You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-24 23:24:00 +02:00
refactored installer and removed RequireSuperuserAuthOnlyIfAny
This commit is contained in:
@@ -728,7 +728,6 @@ func apisBinds(vm *goja.Runtime) {
|
||||
obj.Set("requireGuestOnly", apis.RequireGuestOnly)
|
||||
obj.Set("requireAuth", apis.RequireAuth)
|
||||
obj.Set("requireSuperuserAuth", apis.RequireSuperuserAuth)
|
||||
obj.Set("requireSuperuserAuthOnlyIfAny", apis.RequireSuperuserAuthOnlyIfAny)
|
||||
obj.Set("requireSuperuserOrOwnerAuth", apis.RequireSuperuserOrOwnerAuth)
|
||||
obj.Set("skipSuccessActivityLog", apis.SkipSuccessActivityLog)
|
||||
obj.Set("gzip", apis.Gzip)
|
||||
|
||||
@@ -998,7 +998,7 @@ func TestApisBindsCount(t *testing.T) {
|
||||
apisBinds(vm)
|
||||
|
||||
testBindsCount(vm, "this", 8, t)
|
||||
testBindsCount(vm, "$apis", 12, t)
|
||||
testBindsCount(vm, "$apis", 11, t)
|
||||
}
|
||||
|
||||
func TestApisBindsApiError(t *testing.T) {
|
||||
|
||||
7133
plugins/jsvm/internal/types/generated/types.d.ts
vendored
7133
plugins/jsvm/internal/types/generated/types.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -998,7 +998,6 @@ declare namespace $apis {
|
||||
let requireGuestOnly: apis.requireGuestOnly
|
||||
let requireAuth: apis.requireAuth
|
||||
let requireSuperuserAuth: apis.requireSuperuserAuth
|
||||
let requireSuperuserAuthOnlyIfAny: apis.requireSuperuserAuthOnlyIfAny
|
||||
let requireSuperuserOrOwnerAuth: apis.requireSuperuserOrOwnerAuth
|
||||
let skipSuccessActivityLog: apis.skipSuccessActivityLog
|
||||
let gzip: apis.gzip
|
||||
|
||||
Reference in New Issue
Block a user