PocketBase site
Preparing search index...
The search index is not available
PocketBase JSVM reference
PocketBase JSVM reference
core
ServeEvent
Interface ServeEvent
Hierarchy
_subTidDX
ServeEvent
Index
Methods
next
Properties
app
cert
Manager?
router?
server?
Methods
next
next
(
)
:
void
Next calls the next hook handler.
Returns
void
Properties
app
app
:
App
Optional
cert
Manager
cert
Manager
?:
any
Optional
router
router
?:
Router
<
RequestEvent
>
Optional
server
server
?:
Server
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
next
app
cert
Manager
router
server
Pocket
Base JSVM reference
PocketBase
$apis
$app
$dbx
$filepath
$filesystem
$http
$mails
$os
$security
$template
__hooks
array
Of
cron
Add
cron
Remove
migrate
on
Backup
Create
on
Backup
Restore
on
Batch
Request
on
Bootstrap
on
Collection
After
Create
Error
on
Collection
After
Create
Success
on
Collection
After
Delete
Error
on
Collection
After
Delete
Success
on
Collection
After
Update
Error
on
Collection
After
Update
Success
on
Collection
Create
on
Collection
Create
Execute
on
Collection
Create
Request
on
Collection
Delete
on
Collection
Delete
Execute
on
Collection
Delete
Request
on
Collection
Update
on
Collection
Update
Execute
on
Collection
Update
Request
on
Collection
Validate
on
Collection
View
Request
on
Collections
Import
Request
on
Collections
List
Request
on
File
Download
Request
on
File
Token
Request
on
Mailer
Record
Auth
Alert
Send
on
Mailer
Record
Email
Change
Send
on
Mailer
RecordOTPSend
on
Mailer
Record
Password
Reset
Send
on
Mailer
Record
Verification
Send
on
Mailer
Send
on
Model
After
Create
Error
on
Model
After
Create
Success
on
Model
After
Delete
Error
on
Model
After
Delete
Success
on
Model
After
Update
Error
on
Model
After
Update
Success
on
Model
Create
on
Model
Create
Execute
on
Model
Delete
on
Model
Delete
Execute
on
Model
Update
on
Model
Update
Execute
on
Model
Validate
on
Realtime
Connect
Request
on
Realtime
Message
Send
on
Realtime
Subscribe
Request
on
Record
After
Create
Error
on
Record
After
Create
Success
on
Record
After
Delete
Error
on
Record
After
Delete
Success
on
Record
After
Update
Error
on
Record
After
Update
Success
on
Record
Auth
Refresh
Request
on
Record
Auth
Request
on
Record
Auth
WithOAuth2
Request
on
Record
Auth
WithOTPRequest
on
Record
Auth
With
Password
Request
on
Record
Confirm
Email
Change
Request
on
Record
Confirm
Password
Reset
Request
on
Record
Confirm
Verification
Request
on
Record
Create
on
Record
Create
Execute
on
Record
Create
Request
on
Record
Delete
on
Record
Delete
Execute
on
Record
Delete
Request
on
Record
Enrich
on
Record
Request
Email
Change
Request
on
Record
RequestOTPRequest
on
Record
Request
Password
Reset
Request
on
Record
Request
Verification
Request
on
Record
Update
on
Record
Update
Execute
on
Record
Update
Request
on
Record
Validate
on
Record
View
Request
on
Records
List
Request
on
Settings
List
Request
on
Settings
Reload
on
Settings
Update
Request
on
Terminate
reader
To
String
router
Add
router
Use
sleep
Api
Error
Apple
Client
Secret
Create
Form
Autodate
Field
Bad
Request
Error
Bool
Field
Collection
Command
Context
Cookie
Date
Field
Date
Time
Dynamic
Model
Editor
Field
Email
Field
Field
Fields
List
File
Field
Forbidden
Error
Internal
Server
Error
JSONField
Mailer
Message
Middleware
Not
Found
Error
Number
Field
Password
Field
Record
Upsert
Form
Relation
Field
Select
Field
Subscription
Message
Test
Email
Send
Form
Test
S3
Filesystem
Form
Text
Field
Too
Many
Requests
Error
URLField
Unauthorized
Error
Validation
Error
Namespaces
apis
auth
blob
bufio
bytes
cobra
context
core
Interfaces
App
Auth
Alert
Config
Auth
Origin
Autodate
Field
Backup
Event
Backups
Config
Base
App
Base
App
Config
Base
Model
Base
Record
Proxy
Batch
Config
Batch
Request
Event
Bool
Field
Bootstrap
Event
Collection
Collection
Error
Event
Collection
Event
Collection
Request
Event
Collections
Import
Request
Event
Collections
List
Request
Event
DBConnect
Func
DBExporter
Date
Field
Driver
Valuer
Editor
Field
Email
Field
Email
Template
Expand
Fetch
Func
External
Auth
Field
Field
Factory
Func
Fields
List
File
Download
Request
Event
File
Field
File
Token
Request
Event
Files
Manager
Getter
Finder
Getter
Func
Hook
Tagger
Internal
Request
JSONField
Log
Logs
Config
Logs
Stats
Item
MFA
MFAConfig
Mailer
Event
Mailer
Record
Event
Max
Body
Size
Calculator
Meta
Config
Migration
Migrations
List
Migrations
Runner
Model
Model
Error
Event
Model
Event
Multi
Valuer
Number
Field
OAuth2
Config
OAuth2
Known
Fields
OAuth2
Provider
Config
OTP
OTPConfig
Param
Password
Auth
Config
Password
Field
Password
Field
Value
Post
Validator
Pre
Validator
Rate
Limit
Rule
Rate
Limits
Config
Realtime
Connect
Request
Event
Realtime
Message
Event
Realtime
Subscribe
Request
Event
Record
Record
Auth
Refresh
Request
Event
Record
Auth
Request
Event
Record
Auth
WithOAuth2
Request
Event
Record
Auth
WithOTPRequest
Event
Record
Auth
With
Password
Request
Event
Record
Confirm
Email
Change
Request
Event
Record
Confirm
Password
Reset
Request
Event
Record
Confirm
Verification
Request
Event
Record
CreateOTPRequest
Event
Record
Enrich
Event
Record
Error
Event
Record
Event
Record
Field
Resolver
Record
Interceptor
Record
Proxy
Record
Request
Email
Change
Request
Event
Record
Request
Event
Record
Request
Password
Reset
Request
Event
Record
Request
Verification
Request
Event
Records
List
Request
Event
Relation
Field
Request
Event
Request
Info
S3
Config
SMTPConfig
Select
Field
Serve
Event
Setter
Finder
Setter
Func
Settings
Settings
List
Request
Event
Settings
Reload
Event
Settings
Update
Request
Event
Table
Info
Row
Terminate
Event
Text
Field
Token
Config
Trusted
Proxy
Config
URLField
base
Collection
base
Collection
Event
Data
base
Model
Event
Data
base
Record
Event
Data
closer
collection
Auth
Options
collection
Base
Options
collection
Validator
collection
View
Options
defaultDBConnect
default
Field
Id
Validation
Rule
default
Field
Name
Validation
Rule
field
With
Type
generate
Default
Random
Id
identifier
identifiers
Parser
join
map
Extractor
multi
Match
Subquery
new
Auth
Collection
new
Auth
Origin
new
Base
App
new
Base
Collection
new
Collection
new
External
Auth
new
Fields
List
newMFA
new
Migrations
Runner
newOTP
new
Record
new
Record
Field
Resolver
new
View
Collection
only
Field
Type
options
Validator
query
Field
runner
settings
tx
App
Info
Type Aliases
_subAGovE
_subBPUDl
_sub
DbOTw
_subFSyZW
_sub
GmaFG
_sub
Ik
QfF
_sub
IsNWI
_sub
JsxFG
_subKMOhq
_sub
Kkqfo
_subLCXqT
_sub
Mam
Xy
_sub
Nuito
_subQEvjw
_sub
QkNMg
_sub
RsmwJ
_sub
Sf
XuN
_sub
Stpaz
_sub
TidDX
_subVXUiq
_sub
Vyg
Qv
_sub
WxypH
_sub
Wy
Mmf
_subXKKHb
_sub
ZtcLP
_subakizo
_subbENrr
_subbRBAV
_subd
LoyF
_subedGMy
_subey
Tup
_subfvVGy
_subgdl
Xm
_subiJTqF
_subjNVqY
_subj
QmJE
_subjk
GmP
_subjm
Umd
_subjyp
Ne
_sublEAjp
_sublETgG
_subnecEG
_subno
Yhn
_subo
Vdhi
_subqn
KuU
_subrFKIG
_subuQOdp
_subuRSwc
_subxACQR
_subyVGzA
_subylUCX
_subz
NzhS
cron
dbx
exec
filepath
filesystem
forms
fs
hook
http
io
jwt
mailer
mails
multipart
net
oauth2
os
ozzo_
validation
pocketbase
router
search
security
slog
sql
store
subscriptions
sync
syntax
syscall
template
textproto
time
types
url
Type Aliases
Core
App
Pocket
Base
_
Tygoja
Any
_
Tygoja
Dict
exclude
Hooks
Generated using
TypeDoc
Next calls the next hook handler.