d262f734f0
* mobile: wire notification registration and listener
* implement backend components for push notifications
* refactor: agentic comment cleanup
* docs: use proper module name for particle processor
* set required env variables for push notifications
* bump version
* fix: always upsert push token on mobile start
* Revert "fix: always upsert push token on mobile start"
This reverts commit 90ff18a788.
* send push notifications regardless of online status
14 lines
305 B
Go
14 lines
305 B
Go
package billing
|
|
|
|
import "time"
|
|
|
|
// Per-network daily cap on the free plan. Unit-agnostic.
|
|
const FreemiumDailyLimit = 50
|
|
|
|
type Usage struct {
|
|
Plan Plan `json:"plan"`
|
|
Used int `json:"used"`
|
|
Limit *int `json:"limit"` // nil = unlimited (pro)
|
|
ResetAt time.Time `json:"reset_at"`
|
|
}
|