add new websocket http rest and notify components

This commit is contained in:
Adrian Zürcher
2025-05-28 21:54:43 +02:00
parent 491ca72140
commit d7565ed09c
10 changed files with 217 additions and 42 deletions

View File

@@ -9,6 +9,7 @@ type Get = {
rights?: string;
value?: undefined;
query?: Query;
hasChild?: boolean;
};
export type Gets = Get[];

View File

@@ -9,4 +9,6 @@ export type Response = {
subscribe?: Subs;
unsubscribe?: Subs;
publish?: Pubs;
error?: boolean;
message?: string;
};

View File

@@ -1,6 +1,9 @@
export type Set = {
uuid?: string | undefined;
path: string;
type?: string;
value: number | boolean | undefined;
create?: boolean;
};
export type Sets = Set[];

View File

@@ -3,6 +3,7 @@ export type Subscribe = {
path?: string | undefined;
depth?: number;
value?: string | number | boolean | undefined;
hasChild?: boolean;
};
export type Subs = Subscribe[];