Migrace na OpenAPI - TypeScript typy

This commit is contained in:
mates committed 2025-03-05 21:05:21 +01:00
1 parent d144c55bf7
commit d69e09afee
40 files changed
+1295 -550

No files matched your search

+1 -3
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íč.