Files
web/node_modules/moonlink.js/dist/src/@Utils/MoonlinkDatabase.d.ts
Raphix 2241136729
Some checks failed
Subsonics - Web/pipeline/head There was a failure building this commit
Subsonics - Web/pipeline/pr-main This commit looks good
Version 2.1.0 - Passage sur Lavalink V4 et Moonlink.js
2024-04-16 16:05:21 +02:00

16 lines
396 B
TypeScript

type Data = Record<string, any>;
export declare class MoonlinkDatabase {
data: Data;
id: string;
constructor(clientId: string);
set<T>(key: string, value: T): void;
get<T>(key: string): T | undefined;
push<T>(key: string, value: T): void;
delete(key: string): boolean;
private updateData;
private getFilePath;
fetch(): void;
private save;
}
export {};