Files
outline/server/presenters/team.ts
T
Tom MoorandClaude Opus 4.6 fddf630e49 Add configurable MCP workspace guidance (#11839)
* 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>
2026-03-22 10:45:09 -04:00

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,
};
}