feat: added connected chain ad sound into timer

This commit is contained in:
Arduinum
2026-05-14 23:23:57 +03:00
committed by Arduinum628
parent 35061a44f8
commit f45e23b440
3 changed files with 102 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ export type TimerRow = {
/** Параметры инициализации обратного отсчёта */
export type CountdownOptions = {
seconds: number;
timers: TypeTimer[];
onFinish?: () => void;
}
@@ -36,4 +36,13 @@ export type CountdownReturn = {
start: () => void;
stop: () => void;
pause: () => void;
timerNow: Ref<TypeTimer | undefined>;
isFinished: ComputedRef<boolean>;
}
/** Тип таймеров */
export type TypeTimer = {
title: string;
time: number;
typeTimer: string;
}