mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
783c98f41e
A vote belongs to its person: cast or taken back on one copy of a place, it lands on every copy of that place in the lists and trips the person may vote on, in one transaction. A pass on the first start carries the existing votes over, and whoever joins a list or a trip brings their latest vote onto its copies of the places they voted on elsewhere, as inserts that never overwrite. An edit of the general facts of a place (name, description, address, position, category, picture, website, phone) on a trip place or a saved place is made on every other copy of it the editor may edit, with a history entry per copy and an announcement per trip and list. Notes, tags, status and votes stay with each copy, and a copy the editor may not edit is skipped. REST and MCP take the same path; a token reaches only the kinds of copies it holds write scope for. The entry rating names its voters, the library list filters by a lowest average vote and sorts by rating, and the tab counts honour the filter.
21 lines
892 B
JSON
21 lines
892 B
JSON
{
|
|
"scripts/db-call-graph.mjs": 1036,
|
|
"scripts/generate-entities.ts": 2259,
|
|
"src/db/repositories/Places.repository.ts": 1432,
|
|
"src/db/repositories/Reservations.repository.ts": 1550,
|
|
"src/db/repositories/Trips.repository.ts": 1120,
|
|
"src/db/repositories/Users.repository.ts": 1421,
|
|
"src/nest/atlas/atlas.service.ts": 1166,
|
|
"src/nest/auth/auth.service.ts": 1115,
|
|
"src/nest/budget/budget.service.ts": 1607,
|
|
"src/nest/collections/collections.service.ts": 1396,
|
|
"src/nest/doc-sync/doc-sync.service.ts": 1060,
|
|
"src/nest/doc-sync/providers/synology-drive.client.ts": 1160,
|
|
"src/nest/journey/journey-domain.service.ts": 1659,
|
|
"src/nest/places/places.service.ts": 1546,
|
|
"src/nest/plugins/plugin-runtime.service.ts": 1458,
|
|
"src/nest/plugins/runtime/plugin-sdk.ts": 1093,
|
|
"src/nest/reservations/reservations.service.ts": 1163,
|
|
"src/nest/vacay/vacay.service.ts": 1393
|
|
}
|