semantics update

This commit is contained in:
2026-04-01 15:30:13 +03:00
parent 03d46cb32a
commit ace77ed64c
22 changed files with 438 additions and 299 deletions

View File

@@ -1,11 +1,13 @@
// [DEF:ReportsApi:Module]
// @COMPLEXITY: 5
// @COMPLEXITY: 4
// @SEMANTICS: frontend, api_client, reports, wrapper
// @PURPOSE: Wrapper-based reports API client for list/detail retrieval without direct native fetch usage.
// @LAYER: Infra
// @RELATION: DEPENDS_ON -> [api_module]
// @PRE: Shared API wrapper is configured for the current frontend auth/session context.
// @POST: Report list and detail helpers return backend payloads or normalized UI-safe errors.
// @SIDE_EFFECT: Performs authenticated report HTTP requests through the shared API wrapper.
// @INVARIANT: Uses existing api wrapper methods and returns structured errors for UI-state mapping.
import { api } from '../api.js';
// [DEF:buildReportQueryString:Function]