mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-28 07:17:42 +02:00
fix(manacore-web): add missing packages to Dockerfile
Add shared-pwa, qr-export, and wallpaper-generator packages to the Docker build context for manacore-web. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
03d90f2bda
commit
1d44f918c5
33 changed files with 19 additions and 5538 deletions
|
|
@ -522,8 +522,8 @@ Drizzle ORM does not support automatic rollbacks. Plan your migrations carefully
|
|||
|
||||
```
|
||||
src/db/migrations/
|
||||
├── 001_add_referrals.up.sql
|
||||
├── 001_add_referrals.down.sql # Manual rollback script
|
||||
├── 001_add_feature.up.sql
|
||||
├── 001_add_feature.down.sql # Manual rollback script
|
||||
```
|
||||
|
||||
2. **Execute rollback manually**:
|
||||
|
|
@ -533,7 +533,7 @@ src/db/migrations/
|
|||
docker compose exec -T postgres psql -U postgres -d manacore_auth
|
||||
|
||||
# Run down migration
|
||||
\i /path/to/001_add_referrals.down.sql
|
||||
\i /path/to/001_add_feature.down.sql
|
||||
```
|
||||
|
||||
### Rollback Checklist
|
||||
|
|
|
|||
|
|
@ -10,14 +10,13 @@ Konzept für fraud-resistente Mechanismen, durch die Nutzer Mana Credits verdien
|
|||
|
||||
## Übersicht
|
||||
|
||||
Das Earning-System besteht aus vier Säulen:
|
||||
Das Earning-System besteht aus drei Säulen:
|
||||
|
||||
| Säule | Beschreibung | Reward-Typ |
|
||||
|-------|--------------|------------|
|
||||
| **Karma/XP System** | Gamification ohne monetären Wert | XP, Badges, Levels |
|
||||
| **Creator Rewards** | Social-Proof-basierte Content-Belohnung | Credits (delayed) |
|
||||
| **Community Bounties** | Kuratierte Belohnungen für Contributions | Credits (manual) |
|
||||
| **Referral Program** | Bestehendes System | Credits |
|
||||
|
||||
### Design-Prinzipien
|
||||
|
||||
|
|
@ -497,31 +496,6 @@ CREATE TABLE community.bounty_pool (
|
|||
|
||||
---
|
||||
|
||||
## 4. Referral Program (Bestehend)
|
||||
|
||||
Das bestehende Referral-System bleibt unverändert. Dokumentation siehe `services/mana-core-auth/src/referrals/`.
|
||||
|
||||
### Zusammenfassung
|
||||
|
||||
| Event | Referee bekommt | Referrer bekommt |
|
||||
|-------|-----------------|------------------|
|
||||
| Registration | 25 Credits | 5 × Tier-Multiplier |
|
||||
| Activation | - | 10 × Tier-Multiplier |
|
||||
| Qualification (1. Kauf) | - | 50 × Tier-Multiplier |
|
||||
| Cross-App Usage | - | 5 × Tier-Multiplier (pro App) |
|
||||
| Retention (30 Tage) | - | 25 × Tier-Multiplier |
|
||||
|
||||
### Tier-Multiplikatoren
|
||||
|
||||
| Tier | Qualifizierte Referrals | Multiplier |
|
||||
|------|------------------------|------------|
|
||||
| Bronze | 0 | 1.0x |
|
||||
| Silver | 1-5 | 1.5x |
|
||||
| Gold | 6-15 | 2.0x |
|
||||
| Platinum | 16+ | 3.0x |
|
||||
|
||||
---
|
||||
|
||||
## Implementation Roadmap
|
||||
|
||||
### Phase 1: Karma/XP System
|
||||
|
|
@ -804,5 +778,4 @@ bugs_triage_queue_size // Gauge: Pending triage
|
|||
## Related Documents
|
||||
|
||||
- [Credit System (bestehend)](../services/mana-core-auth/src/credits/)
|
||||
- [Referral System (bestehend)](../services/mana-core-auth/src/referrals/)
|
||||
- [Credit Operations Registry](../packages/credit-operations/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue