mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 02:56:10 +00:00
af861e5816
On Postgres a check read before a transaction, or outside one, no longer holds at the write that follows: the pool runs other requests' writes in between. Moved into the unit of work that writes: - the last-admin guard of an admin's role edit and of an account deletion (deleteUserCompletely takes a precondition run in its transaction) - the login lockout guards of the auth settings save and the SSO settings save - the first-account check of an SSO sign-up, which starts over as an ordinary sign-up when another account won - the OAuth client caps, the token cap and the mail intake limits - the year check before a vacay year is opened, and the label name check of a rename A password sign-up that loses the last use of an invite is now refused, as the SSO sign-up already was, and a reset link is burned by one conditional update, so two resets with one link cannot both change the password.
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": 1435,
|
|
"src/db/repositories/Reservations.repository.ts": 1551,
|
|
"src/db/repositories/Trips.repository.ts": 1120,
|
|
"src/db/repositories/Users.repository.ts": 1421,
|
|
"src/nest/atlas/atlas.service.ts": 1174,
|
|
"src/nest/auth/auth.service.ts": 1141,
|
|
"src/nest/budget/budget.service.ts": 1607,
|
|
"src/nest/collections/collections.service.ts": 1414,
|
|
"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": 1460,
|
|
"src/nest/plugins/runtime/plugin-sdk.ts": 1093,
|
|
"src/nest/reservations/reservations.service.ts": 1168,
|
|
"src/nest/vacay/vacay.service.ts": 1393
|
|
}
|