feat: implement core backend architecture and project management services for the History API
Build and Release / release (push) Successful in 1m33s

This commit is contained in:
2026-06-05 14:18:55 +07:00
parent 420a9ad43a
commit fdcd44cc00
70 changed files with 944 additions and 734 deletions
+3
View File
@@ -545,6 +545,7 @@ WHERE g.is_deleted = false
g.bound_with IS NULL
)
ORDER BY g.id DESC
LIMIT NULLIF($10::int, 0)
`
type SearchGeometriesParams struct {
@@ -557,6 +558,7 @@ type SearchGeometriesParams struct {
TimeRange pgtype.Int4 `json:"time_range"`
EntityID pgtype.UUID `json:"entity_id"`
HasBound pgtype.Bool `json:"has_bound"`
LimitCount int32 `json:"limit_count"`
}
type SearchGeometriesRow struct {
@@ -587,6 +589,7 @@ func (q *Queries) SearchGeometries(ctx context.Context, arg SearchGeometriesPara
arg.TimeRange,
arg.EntityID,
arg.HasBound,
arg.LimitCount,
)
if err != nil {
return nil, err