* Prechecks for if user can access guest passes feature
()
| 69 | * Prechecks for if user can access guest passes feature |
| 70 | */ |
| 71 | function shouldCheckForPasses(): boolean { |
| 72 | return !!( |
| 73 | getOauthAccountInfo()?.organizationUuid && |
| 74 | isClaudeAISubscriber() && |
| 75 | getSubscriptionType() === 'max' |
| 76 | ) |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Check cached passes eligibility from GlobalConfig |
no test coverage detected