mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-29 16:20:27 +00:00
8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
export const normalizeSupportedModelScopesForPlatform = (
|
|
platform: string,
|
|
scopes: string[] | undefined,
|
|
): string[] => {
|
|
if (platform !== "antigravity") return [];
|
|
return scopes ?? [];
|
|
};
|