Files
sub2api-overdraft/frontend/src/views/admin/groupsSupportedModelScopes.ts
T

8 lines
198 B
TypeScript

export const normalizeSupportedModelScopesForPlatform = (
platform: string,
scopes: string[] | undefined,
): string[] => {
if (platform !== "antigravity") return [];
return scopes ?? [];
};