mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
import type { Team } from "@server/models";
|
|
|
|
export default function presentAvailableTeam(team: Team, isSignedIn = false) {
|
|
return {
|
|
id: team.id,
|
|
name: team.name,
|
|
avatarUrl: team.avatarUrl,
|
|
url: team.url,
|
|
isSignedIn,
|
|
};
|
|
}
|