Migrace na OpenAPI - TypeScript typy

This commit is contained in:
2025-03-05 21:05:21 +01:00
parent d144c55bf7
commit d69e09afee
40 changed files with 1295 additions and 550 deletions

View File

@@ -1,5 +1,3 @@
import { ClientData } from "../../../types";
/**
* Interface pro úložiště dat.
*
@@ -17,7 +15,7 @@ export interface StorageInterface {
* Vrátí veškerá data pro předaný klíč.
* @param key klíč, pro který vrátit data (typicky datum)
*/
getData<Type>(key: string): Promise<Type>;
getData<Type>(key: string): Promise<Type | undefined>;
/**
* Uloží data pod předaný klíč.