Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

refactor(api/schema): unexport 3 internal response types - #1026

Merged
shiba4life merged 1 commit into
mainfrom
kanban/14104-unexport-schema-types
May 12, 2026
Merged

refactor(api/schema): unexport 3 internal response types#1026
shiba4life merged 1 commit into
mainfrom
kanban/14104-unexport-schema-types

Conversation

@shiba4life

Copy link
Copy Markdown
Collaborator

Summary

SchemasByStateResponse, SchemasWithStateResponse, and SchemaStatusResponse in src/server/static-react/src/api/clients/schemaClient.ts are only used inside that file as return-type annotations on UnifiedSchemaClient methods. ts-unused-exports tsconfig.json flagged all three; git grep across src/server/static-react/src confirms zero external references.

This PR drops the export keyword on each declaration. Bodies, callers, and the exported function/class set (UnifiedSchemaClient, createSchemaClient, getSchemasByState, getAllSchemasWithState, getSchemaStatus, etc.) are unchanged.

Continues the dead-export cleanup from #1024 / #1025.

Diff

3 export keyword removals — same file, no behavior change.

Verification

SchemasByStateResponse, SchemasWithStateResponse, and SchemaStatusResponse
are only used inside schemaClient.ts as return-type annotations on
UnifiedSchemaClient methods. ts-unused-exports flagged them and grep
across src confirms zero external references. Drop the `export` keyword
on each; bodies, callers, and the exported function/class set are
unchanged. Same pattern as #1024 / #1025.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@shiba4life
shiba4life enabled auto-merge May 12, 2026 23:57
@shiba4life
shiba4life added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit 813270c May 12, 2026
12 checks passed
@shiba4life
shiba4life deleted the kanban/14104-unexport-schema-types branch May 12, 2026 23:59
github-merge-queue Bot pushed a commit that referenced this pull request May 13, 2026
…1027)

ts-unused-exports flagged UPGRADE_POLL_INTERVAL_MS, UPGRADE_POLL_MAX_MS,
and CANCELLED_BANNER_MS in CloudMigrationSettings.tsx. All four call
sites are inside the same file; the colocated test file does not import
them. Drop the `export` keyword on the three const declarations.

Behavior-preserving — pure dead-export sweep. Continues the cleanup
from #1014/#1015/#1017/#1018/#1022/#1023/#1024/#1025/#1026.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant