mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-29 06:44:21 +00:00
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com> Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
9 lines
317 B
TypeScript
9 lines
317 B
TypeScript
import type { TourCompletionRecord, TourId } from "../tour-types";
|
|
|
|
// Persistence backend contract; swap the adapter without touching consumers.
|
|
export interface TourCompletionStore {
|
|
get(id: TourId): TourCompletionRecord | null;
|
|
set(id: TourId, record: TourCompletionRecord): void;
|
|
clear(id: TourId): void;
|
|
}
|