MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / getSeatCap

Function getSeatCap

packages/shared/src/entitlements.ts:203–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203export const getSeatCap = (): number | undefined => {
204 const offlineLicense = getValidOfflineLicense();
205 if (offlineLicense?.seats && offlineLicense.seats > 0) {
206 return offlineLicense.seats;
207 }
208
209 return undefined;
210}

Callers 2

orgHasAvailabilityFunction · 0.90
page.tsxFile · 0.90

Calls 1

getValidOfflineLicenseFunction · 0.85

Tested by

no test coverage detected