semantics update
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user