mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-10 07:53:52 -07:00
3033ee0067
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
559 B
TypeScript
20 lines
559 B
TypeScript
/**
|
|
* Persistent sync state for incremental workspace updates.
|
|
* Stored on the runner to track what has already been synced.
|
|
*/
|
|
export interface SyncState {
|
|
/** Last successfully synced git commit SHA */
|
|
lastSyncCommit: string;
|
|
|
|
/** ISO 8601 timestamp of last sync */
|
|
lastSyncTimestamp: string;
|
|
|
|
/** SHA-256 hash of workspace state (optional) */
|
|
workspaceHash?: string;
|
|
|
|
/** List of overlay paths that haven't been reverted */
|
|
pendingOverlays: string[];
|
|
}
|
|
|
|
export type SyncStrategy = 'full' | 'git-delta' | 'direct-input' | 'storage-pull';
|