Skip to content

Commit 5c7221a

Browse files
jirispilkaclaude
andauthored
refactor: Convert web UI interfaces to type (#643 Phase 5) (#1041)
## What we're solving `src/web/src/types.ts` declared `ActorStats`, `ActorDetails`, and `Actor` with `interface` where the project convention is `type`. This is Phase 5 of #643 (const & type convention alignment). --- Part of #643. No internal-repo impact (web-frontend types, not re-exported via `index_internals.ts`). Verified: `type-check`, `lint`, `format:check`, `test:unit` (999 passed), `check:agents` all pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01S2sHxyNZxqyQmgMUsesmZu --- _Generated by [Claude Code](https://claude.ai/code/session_01S2sHxyNZxqyQmgMUsesmZu)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 88e9025 commit 5c7221a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/web/src/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ export type StructuredPricingInfo = {
3232
eventDescriptionsNote?: string;
3333
};
3434

35-
export interface ActorStats {
35+
export type ActorStats = {
3636
totalUsers: number;
3737
actorReviewRating: number;
3838
actorReviewCount: number;
39-
}
39+
};
4040

41-
export interface ActorDetails {
41+
export type ActorDetails = {
4242
actorInfo: Actor;
4343
actorCard: string;
4444
readme: string;
4545
inputSchema?: {
4646
type: string;
4747
properties: Record<string, unknown>;
4848
};
49-
}
49+
};
5050

51-
export interface Actor {
51+
export type Actor = {
5252
id: string;
5353
name: string;
5454
username: string;
@@ -59,4 +59,4 @@ export interface Actor {
5959
pictureUrl?: string;
6060
stats?: ActorStats;
6161
currentPricingInfo?: StructuredPricingInfo;
62-
}
62+
};

0 commit comments

Comments
 (0)