MCPcopy Create free account
hub / github.com/dailydotdev/apps / canSetSquadButton

Function canSetSquadButton

packages/shared/src/features/squads/lib/features.ts:39–42  ·  view source on GitHub ↗
(
  source: Pick<Source, 'features'> | undefined,
)

Source from the content-addressed store, hash-verified

37// Verified squads get the full branding. The Startups Team plan gets only the
38// header button; the brand color stays an Enterprise feature.
39export const canSetSquadButton = (
40 source: Pick<Source, 'features'> | undefined,
41): boolean =>
42 hasSquadFeature(source, 'verified') || hasSquadFeature(source, 'cta');
43
44// Mirrors the API: only verified squads get the full products shelf
45export const getSquadProductsMax = (

Callers 3

useCompanyPageReadinessFunction · 0.90
SquadJoinButtonFunction · 0.90

Calls 1

hasSquadFeatureFunction · 0.70

Tested by

no test coverage detected