feat: add API rules and hooks

Add PocketBase hooks for group management and real-time notifications:
- Groups collection with owner/members permissions
- Team Sessions with group member verification
- Invitations with real-time notifications
- Helper functions for group ownership and membership checks

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
congsh
2026-04-17 14:16:56 +08:00
parent b79046ec63
commit 8d4b9a167c
2 changed files with 149 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
module gamegroup-hooks
go 1.21
require github.com/pocketbase/pocketbase v0.22.4