feat: Add player_configs feature and migrate user preferences

- Implemented player_configs table to store multiple player configurations per user.
- Migrated existing player settings from user_preferences to player_configs.
- Removed player-related columns from user_preferences.
- Added referral state fields to user for tracking referral rewards.
- Created migration scripts for database changes and data migration.
- Added test cases for app services and usage helpers.
- Introduced video job service interfaces and implementations.
This commit is contained in:
2026-03-24 16:08:36 +00:00
parent 91e5e3542b
commit e7fdd0e1ab
103 changed files with 9540 additions and 8446 deletions

View File

@@ -28,10 +28,18 @@ message CreatePaymentResponse {
string message = 5;
}
message ListPaymentHistoryRequest {}
message ListPaymentHistoryRequest {
int32 page = 1;
int32 limit = 2;
}
message ListPaymentHistoryResponse {
repeated PaymentHistoryItem payments = 1;
int64 total = 2;
int32 page = 3;
int32 limit = 4;
bool has_prev = 5;
bool has_next = 6;
}
message TopupWalletRequest {