MCPcopy Create free account
hub / github.com/pollinations/pollinations / isCommunityModelAllowedGithubId

Function isCommunityModelAllowedGithubId

shared/auth/github-id-list.ts:33–40  ·  view source on GitHub ↗
(
    githubId: number | null | undefined,
)

Source from the content-addressed store, hash-verified

31);
32
33export function isCommunityModelAllowedGithubId(
34 githubId: number | null | undefined,
35): boolean {
36 return (
37 typeof githubId === "number" &&
38 COMMUNITY_MODEL_ALLOWED_GITHUB_ID_SET.has(githubId)
39 );
40}
41
42/**
43 * Parse a comma-separated list of numeric GitHub user IDs.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected