refactor(api): use dto barrel imports

This commit is contained in:
2026-06-18 14:11:45 +08:00
parent 812a3e41b9
commit d190de4dda
5 changed files with 33 additions and 40 deletions
+1 -2
View File
@@ -7,8 +7,7 @@
import { httpClient } from "./http_client";
import { ApiPath } from "./api_path";
import { ApiEnvelope, unwrapOptional } from "./response_helper";
import { AppEvent } from "@/data/dto/metrics/app_event";
import { PwaEvent } from "@/data/dto/metrics/pwa_event";
import { AppEvent, PwaEvent } from "@/data/dto/metrics";
export class MetricsApi {
/**