chore: add comments for types and constants

This commit is contained in:
Ilia Mashkov
2026-01-09 16:13:47 +03:00
parent 09111a7c61
commit 13509a4145
2 changed files with 33 additions and 0 deletions

View File

@@ -4,16 +4,40 @@ import {
} from '$shared/lib/utils';
export interface ControlDataModel {
/**
* Control value
*/
value: number;
/**
* Minimal possible value
*/
min: number;
/**
* Maximal possible value
*/
max: number;
/**
* Step size for increase/decrease
*/
step: number;
}
export interface ControlModel extends ControlDataModel {
/**
* Control identifier
*/
id: string;
/**
* Area label for increase button
*/
increaseLabel: string;
/**
* Area label for decrease button
*/
decreaseLabel: string;
/**
* Control area label
*/
controlLabel: string;
}