Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

647 B
Raw Blame
// Names of the change-marker scopes a screen can watch, mirroring the kinds the
// API accepts on GET /sync/rev. The inbox is asked for by project, or for every
// project at once — the server answers with the session user's own, so the user id
// never appears here.
export const revScope = {
  runnerQueue: 'runnerQueue:1',
  board: (projectId: number) => `board:${projectId}`,
  issue: (issueId: number) => `issue:${issueId}`,
  initiative: (initiativeId: number) => `initiative:${initiativeId}`,
  inbox: (projectId: number) => `inbox:${projectId}`,
  inboxAll: 'inbox:all',
  documents: (projectId: number) => `documents:${projectId}`,
};