From 0daa9121a57e61157189a29a72ce8c31391abf02 Mon Sep 17 00:00:00 2001 From: Tom Tang <4220945+shiba4life@users.noreply.github.com> Date: Tue, 12 May 2026 17:15:23 +0800 Subject: [PATCH] refactor(constants/redux): unexport 2 internal interfaces SchemaCacheMeta and DefaultSchemaState are used only inside redux.ts (as the type of the `cache` field and the annotation on DEFAULT_SCHEMA_STATE, respectively); the constants barrel doesn't re-export them. Continues the dead-export audit pattern from PRs #1014, #1015, #1016, #1017, and #1018. Interfaces are preserved as file-local typing. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/server/static-react/src/constants/redux.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/static-react/src/constants/redux.ts b/src/server/static-react/src/constants/redux.ts index a7ae4577..a3843a7f 100644 --- a/src/server/static-react/src/constants/redux.ts +++ b/src/server/static-react/src/constants/redux.ts @@ -47,13 +47,13 @@ export const SCHEMA_ACTION_TYPES = { // DEFAULT STATE VALUES // ============================================================================ -export interface SchemaCacheMeta { +interface SchemaCacheMeta { ttl: number; version: string; lastUpdated: number | null; } -export interface DefaultSchemaState { +interface DefaultSchemaState { schemas: Record; loading: { fetch: boolean;