major fixes
This commit is contained in:
1 parent
0ff24b1534
commit
0c154254c3
36 files changed
+2212
-42
No files matched your search
@@ -58,6 +58,10 @@ type CreditsOverview struct {
|
||||
Sections map[string]bool `json:"sections,omitempty"`
|
||||
DisabledFeatures []string `json:"disabled_features,omitempty"`
|
||||
FeatureETag string `json:"feature_etag,omitempty"`
|
||||
// Per-member access overlay (settings > team). Set by the /me handler so the
|
||||
// dashboard can say "ask your administrator" rather than "upgrade your plan".
|
||||
MemberRestricted bool `json:"member_restricted,omitempty"`
|
||||
MemberDeniedFeatures []string `json:"member_denied_features,omitempty"`
|
||||
}
|
||||
|
||||
func (s *Service) CreditsOverview(ctx context.Context, companyID uuid.UUID, lowThreshold int) (CreditsOverview, error) {
|
||||
|
||||
Reference in new issue
Block a user