2026-07-06 12:43:40 +08:00

22 lines
788 B
Go

package user
const (
// UserIDTargetAllActive supports low-frequency full-App jobs without exposing profile fields.
UserIDTargetAllActiveUsers = "all_active_users"
// UserIDTargetAllRegistered selects every registered user in the current app, regardless of account status.
UserIDTargetAllRegistered = "all_registered_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
}