add new websocket http rest and notify components
This commit is contained in:
@@ -9,6 +9,7 @@ type Get = {
|
||||
rights?: string;
|
||||
value?: undefined;
|
||||
query?: Query;
|
||||
hasChild?: boolean;
|
||||
};
|
||||
|
||||
export type Gets = Get[];
|
||||
|
@@ -9,4 +9,6 @@ export type Response = {
|
||||
subscribe?: Subs;
|
||||
unsubscribe?: Subs;
|
||||
publish?: Pubs;
|
||||
error?: boolean;
|
||||
message?: string;
|
||||
};
|
||||
|
@@ -1,6 +1,9 @@
|
||||
export type Set = {
|
||||
uuid?: string | undefined;
|
||||
path: string;
|
||||
type?: string;
|
||||
value: number | boolean | undefined;
|
||||
create?: boolean;
|
||||
};
|
||||
|
||||
export type Sets = Set[];
|
||||
|
@@ -3,6 +3,7 @@ export type Subscribe = {
|
||||
path?: string | undefined;
|
||||
depth?: number;
|
||||
value?: string | number | boolean | undefined;
|
||||
hasChild?: boolean;
|
||||
};
|
||||
|
||||
export type Subs = Subscribe[];
|
||||
|
Reference in New Issue
Block a user