mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
fix(places): keep the places repository at its size baseline
The insert's note now says that a longitude is stored on the real world, in one line fewer.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"scripts/db-call-graph.mjs": 1036,
|
||||
"scripts/generate-entities.ts": 2259,
|
||||
"src/db/repositories/Places.repository.ts": 1438,
|
||||
"src/db/repositories/Places.repository.ts": 1437,
|
||||
"src/db/repositories/Reservations.repository.ts": 1604,
|
||||
"src/db/repositories/Trips.repository.ts": 1121,
|
||||
"src/db/repositories/Users.repository.ts": 1445,
|
||||
|
||||
@@ -348,10 +348,8 @@ export class PlacesRepository extends TrekRepository<Places> {
|
||||
* builds. Every value here is already fully coerced by the caller (the
|
||||
* `?? null` vs `|| null` split PL4's own legacy comment documents — 0 is
|
||||
* legitimate for `lat`/`lng`/`price`/`fill_percent`, and
|
||||
* `duration_minutes` defaults to 60 — stays the service's decision, this
|
||||
* writes exactly what it is handed, `DaysRepository.createDay`'s split).
|
||||
* `em.insert()` returns the generated PK (R6's `lastInsertRowid`
|
||||
* replacement).
|
||||
* `duration_minutes` defaults to 60 — stays the service's decision), but
|
||||
* `lng` is stored on the real world (#2976). Returns the generated PK.
|
||||
*/
|
||||
async insertPlace(input: {
|
||||
trip_id: number;
|
||||
|
||||
Reference in New Issue
Block a user