MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getSeatLimits

Function getSeatLimits

server/src/db/organization-db.ts:181–184  ·  view source on GitHub ↗
(tier: string | null)

Source from the content-addressed store, hash-verified

179 * Get seat limits for a membership tier.
180 */
181export function getSeatLimits(tier: string | null): SeatLimits {
182 if (!tier) return DEFAULT_SEAT_LIMITS;
183 return SEAT_LIMITS[tier] || DEFAULT_SEAT_LIMITS;
184}
185
186/**
187 * Map Stripe price lookup key to membership tier.

Callers 5

setupRoutesMethod · 0.85
canAddSeatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected