summaryrefslogtreecommitdiff
path: root/server/web/src/interfaces/components
diff options
context:
space:
mode:
Diffstat (limited to 'server/web/src/interfaces/components')
-rw-r--r--server/web/src/interfaces/components/Card.interface.ts7
-rw-r--r--server/web/src/interfaces/components/Footer.interface.ts8
-rw-r--r--server/web/src/interfaces/components/Select.interface.ts12
-rw-r--r--server/web/src/interfaces/components/Server.interface.ts15
-rw-r--r--server/web/src/interfaces/components/Sidebar.interface.ts8
-rw-r--r--server/web/src/interfaces/components/Window.interface.ts22
6 files changed, 72 insertions, 0 deletions
diff --git a/server/web/src/interfaces/components/Card.interface.ts b/server/web/src/interfaces/components/Card.interface.ts
new file mode 100644
index 0000000..911f1ee
--- /dev/null
+++ b/server/web/src/interfaces/components/Card.interface.ts
@@ -0,0 +1,7 @@
+export interface IProps {
+ removeStream: any;
+ source: string;
+ title: string;
+}
+
+export interface IState {}
diff --git a/server/web/src/interfaces/components/Footer.interface.ts b/server/web/src/interfaces/components/Footer.interface.ts
new file mode 100644
index 0000000..20d9956
--- /dev/null
+++ b/server/web/src/interfaces/components/Footer.interface.ts
@@ -0,0 +1,8 @@
+export interface IProps {}
+
+export interface IState {
+ showHelp: boolean;
+ address: string;
+ windows: any;
+ help: object;
+}
diff --git a/server/web/src/interfaces/components/Select.interface.ts b/server/web/src/interfaces/components/Select.interface.ts
new file mode 100644
index 0000000..994a5a4
--- /dev/null
+++ b/server/web/src/interfaces/components/Select.interface.ts
@@ -0,0 +1,12 @@
+export interface ISelect {
+ blacklistRemove?: any;
+ sessionRemove?: any;
+ blacklistAdd?: any;
+ clientRemove?: any;
+ sessionAdd?: any;
+ left?: number;
+ show: boolean;
+ top?: number;
+}
+
+export interface IState {}
diff --git a/server/web/src/interfaces/components/Server.interface.ts b/server/web/src/interfaces/components/Server.interface.ts
new file mode 100644
index 0000000..67502c9
--- /dev/null
+++ b/server/web/src/interfaces/components/Server.interface.ts
@@ -0,0 +1,15 @@
+import { IClient } from '../Client.interface';
+import { ISelect } from './Select.interface';
+
+export interface IProps {
+ clients: Map<string, IClient>;
+ session: Set<string>;
+ clientsLoad?: any;
+ sessionLoad?: any;
+}
+
+export interface IState {
+ clients: Map<string, IClient>;
+ session: Set<string>;
+ selectData: ISelect;
+}
diff --git a/server/web/src/interfaces/components/Sidebar.interface.ts b/server/web/src/interfaces/components/Sidebar.interface.ts
new file mode 100644
index 0000000..d270713
--- /dev/null
+++ b/server/web/src/interfaces/components/Sidebar.interface.ts
@@ -0,0 +1,8 @@
+import { IStream } from '../Stream.interface';
+
+export interface IProps {}
+
+export interface IState {
+ showContent: boolean;
+ streams: IStream[];
+}
diff --git a/server/web/src/interfaces/components/Window.interface.ts b/server/web/src/interfaces/components/Window.interface.ts
new file mode 100644
index 0000000..7bfe7db
--- /dev/null
+++ b/server/web/src/interfaces/components/Window.interface.ts
@@ -0,0 +1,22 @@
+interface IPos {
+ x: number;
+ y: number;
+}
+
+export interface IProps {
+ requestType: string;
+ requestArgs: any;
+ hightlight: any;
+ data?: string[];
+ destroy: any;
+ toggle: any;
+ pos: IPos;
+}
+
+export interface IState {
+ fullscreen: boolean;
+ dragging: boolean;
+ result: string[];
+ pos: IPos;
+ rel: any;
+}