mirror of
https://github.com/outline/outline.git
synced 2026-11-25 15:15:15 +03:00
* Add configurable MCP workspace guidance Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix Instructions passing, tweak UI --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
813 B
TypeScript
26 lines
813 B
TypeScript
import type { Team } from "@server/models";
|
|
|
|
export default function presentTeam(team: Team) {
|
|
return {
|
|
id: team.id,
|
|
name: team.name,
|
|
description: team.description,
|
|
avatarUrl: team.avatarUrl,
|
|
sharing: team.sharing,
|
|
memberCollectionCreate: team.memberCollectionCreate,
|
|
memberTeamCreate: team.memberTeamCreate,
|
|
defaultCollectionId: team.defaultCollectionId,
|
|
documentEmbeds: team.documentEmbeds,
|
|
guestSignin: team.emailSigninEnabled,
|
|
passkeysEnabled: team.passkeysEnabled,
|
|
subdomain: team.subdomain,
|
|
domain: team.domain,
|
|
url: team.url,
|
|
defaultUserRole: team.defaultUserRole,
|
|
inviteRequired: team.inviteRequired,
|
|
allowedDomains: team.allowedDomains?.map((d) => d.name),
|
|
preferences: team.preferences,
|
|
guidanceMCP: team.guidanceMCP,
|
|
};
|
|
}
|