Skip to content

Entity: Teams — data-farm #7649

Description

@n-lark

Entity: Teams — data-farm

Parent: Data Farm — Centralized Entity Data Layer · Pilot — sets the shared conventions the other entities reuse

Teams is the pilot entity — its realtime topics already exist (t/updated, u/<userId>/membership, published by app.comms.team.notify/notifyMembership), so it proves the full loop with no backend task required. Three PRs: store+first-consumer → subscriber → remaining-vue (see PR shape in 00 (overview)).

Current state

  • Team data lives in two places that can diverge: stores/context.js (single current team, teamMembership) and stores/account.js (teams[]).
  • Fetched via teamApi.getTeams(), getTeam(), getTeamUserMembership() across account-auth.js, account.js, and context.js refreshTeam().
  • team-channel.subscriber.ts already handles t/updatedcontext.refreshTeam() and membership → context.onTeamChannelMembership().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions