feat: méthode WebSocket HA pour Lovelace + vue lumières créée

This commit is contained in:
Nox
2026-02-22 18:28:34 +00:00
parent 7d6605e33e
commit 917d1da7c0
668 changed files with 198094 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
export interface Map<K, V> {
clear(): void;
delete(key: K): boolean;
forEach(callbackfn: (value: V, index: K, map: Map<K, V>) => void, thisArg?: any): void;
get(key: K): V | undefined;
has(key: K): boolean;
set(key: K, value?: V): this;
readonly size: number;
}
export declare class BrowserHeaders {
headersMap: {
[key: string]: string[];
};
constructor(init?: BrowserHeaders.ConstructorArg, options?: {
splitValues: boolean;
});
appendFromString(str: string): void;
delete(key: string, value?: string): void;
append(key: string, value: string | string[]): void;
set(key: string, value: string | string[]): void;
has(key: string, value?: string): boolean;
get(key: string): string[];
forEach(callback: (key: string, values: string[]) => void): void;
toHeaders(): Headers;
}
export declare namespace BrowserHeaders {
type HeaderObject = {
[key: string]: string | string[];
};
type HeaderMap = Map<string, string | string[]>;
type ConstructorArg = HeaderObject | HeaderMap | BrowserHeaders | Headers | string;
}