mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 02:27:44 +08:00
feat(ql3): establish 3.0 incubation baseline
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { CompletionReceipt } from '../domain/completionReceipt';
|
||||
|
||||
export interface CompletionReceiptStore {
|
||||
publish(receipt: CompletionReceipt): Promise<void>;
|
||||
read(attemptId: string): Promise<CompletionReceipt | undefined>;
|
||||
remove(attemptId: string): Promise<boolean>;
|
||||
quarantineReference(attemptId: string): string;
|
||||
/** Moves an untrusted receipt out of the replay path for later inspection. */
|
||||
quarantine(attemptId: string): Promise<string | undefined>;
|
||||
purgeQuarantine(attemptId: string): Promise<boolean>;
|
||||
}
|
||||
Reference in New Issue
Block a user