Add oauth token failure model and notification

This will allow me to mark when an oauth token fails and surface it to
the user so that they can re-up on their auth token.
This commit is contained in:
Eli Ribble 2025-11-11 20:09:11 +00:00
parent 0a74bd8345
commit a2e67e3d60
No known key found for this signature in database
28 changed files with 2375 additions and 246 deletions

View file

@ -73,6 +73,7 @@ func Where[Q psql.Filterable]() struct {
HistoryTreatmentareas historyTreatmentareaWhere[Q]
HistoryZones historyZoneWhere[Q]
HistoryZones2s historyZones2Where[Q]
Notifications notificationWhere[Q]
OauthTokens oauthTokenWhere[Q]
Organizations organizationWhere[Q]
Sessions sessionWhere[Q]
@ -135,6 +136,7 @@ func Where[Q psql.Filterable]() struct {
HistoryTreatmentareas historyTreatmentareaWhere[Q]
HistoryZones historyZoneWhere[Q]
HistoryZones2s historyZones2Where[Q]
Notifications notificationWhere[Q]
OauthTokens oauthTokenWhere[Q]
Organizations organizationWhere[Q]
Sessions sessionWhere[Q]
@ -196,6 +198,7 @@ func Where[Q psql.Filterable]() struct {
HistoryTreatmentareas: buildHistoryTreatmentareaWhere[Q](HistoryTreatmentareas.Columns),
HistoryZones: buildHistoryZoneWhere[Q](HistoryZones.Columns),
HistoryZones2s: buildHistoryZones2Where[Q](HistoryZones2s.Columns),
Notifications: buildNotificationWhere[Q](Notifications.Columns),
OauthTokens: buildOauthTokenWhere[Q](OauthTokens.Columns),
Organizations: buildOrganizationWhere[Q](Organizations.Columns),
Sessions: buildSessionWhere[Q](Sessions.Columns),