import type { TojuPluginInstallScope, TojuPluginManifest } from '../../../../shared-kernel';

export function getPluginInstallScope(manifest: Pick<TojuPluginManifest, 'scope'>): TojuPluginInstallScope {
  return manifest.scope === 'server' ? 'server' : 'client';
}
