2026-05-06 21:22:39 +08:00

20 lines
626 B
Go

package user
const (
// UserIDTargetAllActive supports low-frequency full-App jobs without exposing profile fields.
UserIDTargetAllActiveUsers = "all_active_users"
// UserIDTargetRegion selects active users by their materialized region_id snapshot.
UserIDTargetRegion = "region"
// UserIDTargetCountry selects active users by their current country code snapshot.
UserIDTargetCountry = "country"
)
// UserIDPageFilter is the minimal user-service target query used by async fanout jobs.
type UserIDPageFilter struct {
TargetScope string
CursorUserID int64
PageSize int
RegionID int64
Country string
}