feat(task-017): implement git publishing dry-run and commit flow
This commit is contained in:
@@ -496,6 +496,15 @@ export type PlanUpdateRequest = {
|
||||
visual_needs?: string[] | null;
|
||||
};
|
||||
|
||||
export type PublishCommitCreateResponse = {
|
||||
article: ArticleSummary;
|
||||
publish_commit: PublishCommitSummary;
|
||||
};
|
||||
|
||||
export type PublishCommitListResponse = {
|
||||
commits?: PublishCommitSummary[];
|
||||
};
|
||||
|
||||
export type PublishCommitSummary = {
|
||||
article_id: string;
|
||||
branch: string;
|
||||
@@ -509,6 +518,14 @@ export type PublishCommitSummary = {
|
||||
target_site_id: string;
|
||||
};
|
||||
|
||||
export type PublishingDryRunResponse = {
|
||||
article: ArticleSummary;
|
||||
content_shape_valid: boolean;
|
||||
errors?: string[];
|
||||
publish_commit: PublishCommitSummary;
|
||||
validation_label: string;
|
||||
};
|
||||
|
||||
export type PublishingRules = {
|
||||
asset_path_template: string;
|
||||
content_format?: string;
|
||||
@@ -522,6 +539,13 @@ export type PublishingRules = {
|
||||
|
||||
export type PublishingStatus = "PUBLISH_NOT_STARTED" | "PUBLISH_DRY_RUN_REQUIRED" | "PUBLISH_DRY_RUN_RUNNING" | "PUBLISH_DRY_RUN_FAILED" | "PUBLISH_COMMIT_READY" | "PUBLISH_COMMIT_CREATED" | "PUBLISH_VERIFICATION_FAILED";
|
||||
|
||||
export type PublishingStatusResponse = {
|
||||
article: ArticleSummary;
|
||||
latest_dry_run?: PublishCommitSummary | null;
|
||||
latest_publish_commit?: PublishCommitSummary | null;
|
||||
validation_label: string;
|
||||
};
|
||||
|
||||
export type ResearchArtifactManifestSummary = {
|
||||
agent_job_id: string;
|
||||
article_id: string;
|
||||
|
||||
Reference in New Issue
Block a user