mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 10:32:40 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { LocalArtifactRetentionCursor } from '../domain/localArtifactRetention';
|
||||
import type { LocalArtifactRetentionCheckpoint } from '../domain/localArtifactRetentionCheckpoint';
|
||||
|
||||
export interface LocalArtifactRetentionCheckpointStore {
|
||||
load(): Promise<Readonly<LocalArtifactRetentionCheckpoint>>;
|
||||
compareAndSet(value: {
|
||||
expectedVersion: number;
|
||||
cursor?: LocalArtifactRetentionCursor;
|
||||
updatedAtMs: number;
|
||||
}): Promise<boolean>;
|
||||
}
|
||||
Reference in New Issue
Block a user