Merge pull request #562 from AutoMaker-Org/feature/v0.12.0rc-1768688900786-5ea1

refactor: standardize PR state representation across the application
This commit is contained in:
Shirone
2026-01-18 10:45:59 +00:00
committed by GitHub
7 changed files with 97 additions and 42 deletions

View File

@@ -1,10 +1,6 @@
export interface WorktreePRInfo {
number: number;
url: string;
title: string;
state: string;
createdAt: string;
}
// Re-export shared types from @automaker/types
export type { PRState, WorktreePRInfo } from '@automaker/types';
import type { PRState, WorktreePRInfo } from '@automaker/types';
export interface WorktreeInfo {
path: string;
@@ -43,7 +39,8 @@ export interface PRInfo {
number: number;
title: string;
url: string;
state: string;
/** PR state: OPEN, MERGED, or CLOSED */
state: PRState;
author: string;
body: string;
comments: Array<{