Skip to main content

Data overview

Application state lives in Cloud Firestore. TypeScript types are the source of truth for document shapes: apps/web/src/types/ (e.g. project.ts, person.ts, jira.ts, work-arrangement.ts).

Collections at a glance

CollectionDocument IDWhat it holds
projectsprojectKeyJira-linked project config and metadata
strategiesUUIDStrategy / planning entities
peopleEmail or custom IDTeam members, roles
issuesJira issue idSynced Jira issues
worklogsJira worklog idTime logged
commitsCommit hashBitbucket commits
pullRequestsrepoSlug-prIdBitbucket PRs
reportsUUIDGenerated reports
remindersUUIDScheduled reminders
workArrangementsUUIDSlack work-location entries
workArrangementQuotasengineerId-year-weekWeekly WFH quotas
engineerMetricsemail-periodAggregated engineer metrics
projectMetricsprojectKey-periodAggregated project metrics
syncHistoryUUIDSync run history
configurationconfig singletonApp configuration
syncStatussync-status singletonLast sync state
slackConfigurationslack-config singletonSlack bot settings
budgetsprojectKeyProject budget data

Where to read more

Config in repo: firebase.json (rules: firestore.rules, indexes: firestore.indexes.json).