refactor: clarify frontend model ownership
Frontend verify / commits (pull_request) Successful in 27s
Frontend verify / security (pull_request) Successful in 9s
Frontend verify / verify (pull_request) Successful in 8m20s

This commit is contained in:
2026-09-28 21:44:53 +03:00
parent 7e976c330c
commit 0865b35f93
44 changed files with 685 additions and 710 deletions
@@ -1,7 +1,4 @@
import type { paths } from "@/shared/api";
type Meta
= paths["/api/v1/tbank-sync/{id}"]["get"]["responses"][200]["content"]["application/json"]["resources"][number];
import type { InvestmentResourceMeta } from "@/shared/api";
type SectionState = {
error: boolean;
@@ -20,7 +17,7 @@ function section(
data: unknown;
isError: boolean;
isFetching: boolean;
meta?: Meta;
meta?: InvestmentResourceMeta;
refetch: () => unknown;
},
retry?: () => unknown,