Add launcher analytics (#661)

* Add more analytics

* finish hydra move

* Finish websocket flow

* add minecraft account flow

* Finish playtime vals + payout automation
This commit is contained in:
Geometrically
2023-08-02 14:43:04 -07:00
committed by GitHub
parent 4bb47d7e01
commit 039d26feeb
49 changed files with 2636 additions and 743 deletions

View File

@@ -82,7 +82,10 @@ bitflags::bitflags! {
// delete a session
const SESSION_DELETE = 1 << 29;
const ALL = 0b111111111111111111111111111111;
// perform analytics action
const PERFORM_ANALYTICS = 1 << 30;
const ALL = 0b1111111111111111111111111111111;
const NOT_RESTRICTED = 0b00000011111111111111100111;
const NONE = 0b0;
}
@@ -99,7 +102,8 @@ impl Scopes {
| Scopes::SESSION_READ
| Scopes::SESSION_DELETE
| Scopes::USER_AUTH_WRITE
| Scopes::USER_DELETE,
| Scopes::USER_DELETE
| Scopes::PERFORM_ANALYTICS,
)
}
}