mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-14 01:58:14 +02:00
unexport the filesystem hooks for now to avoid introducing breaking changes
This commit is contained in:
1 parent
0e9dcfe1ab
commit
654af12d17
7 files changed
+56
-31
No files matched your search
@@ -549,6 +549,21 @@ func NewTestAppWithConfig(config core.BaseAppConfig) (*TestApp, error) {
|
||||
Priority: -99999,
|
||||
})
|
||||
|
||||
// t.OnFilesystemDelete().Bind(&hook.Handler[*core.FilesystemDeleteEvent]{
|
||||
// Func: func(e *core.FilesystemDeleteEvent) error {
|
||||
// t.registerEventCall("OnFilesystemDelete")
|
||||
// return e.Next()
|
||||
// },
|
||||
// Priority: -99999,
|
||||
// })
|
||||
// t.OnFilesystemNewWriter().Bind(&hook.Handler[*core.FilesystemNewWriterEvent]{
|
||||
// Func: func(e *core.FilesystemNewWriterEvent) error {
|
||||
// t.registerEventCall("OnFilesystemNewWriter")
|
||||
// return e.Next()
|
||||
// },
|
||||
// Priority: -99999,
|
||||
// })
|
||||
|
||||
t.OnRealtimeConnectRequest().Bind(&hook.Handler[*core.RealtimeConnectRequestEvent]{
|
||||
Func: func(e *core.RealtimeConnectRequestEvent) error {
|
||||
t.registerEventCall("OnRealtimeConnectRequest")
|
||||
|
||||
Reference in new issue
Block a user