misc: init
This commit is contained in:
1 parent
b091bd50e8
commit
ec2425f2b7
27 files changed
+2470
-709
No files matched your search
@@ -0,0 +1,50 @@
|
||||
export interface Device {
|
||||
id: string;
|
||||
collectionId: string;
|
||||
collectionName: string;
|
||||
name: string;
|
||||
mac: string;
|
||||
ip: string;
|
||||
netmask: string;
|
||||
broadcast: string;
|
||||
secureOnPassword: string;
|
||||
port: number;
|
||||
groups: string[];
|
||||
status: string;
|
||||
created: string;
|
||||
updated: string;
|
||||
}
|
||||
|
||||
export interface AuthResponse {
|
||||
token: string;
|
||||
record: User;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
id: string;
|
||||
collectionId: string;
|
||||
collectionName: string;
|
||||
username: string;
|
||||
verified: boolean;
|
||||
emailVisibility: boolean;
|
||||
email: string;
|
||||
created: string;
|
||||
updated: string;
|
||||
name: string;
|
||||
avatar: number;
|
||||
}
|
||||
|
||||
export interface DeviceGroup {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface NetworkScanResult {
|
||||
name?: string;
|
||||
hostname?: string;
|
||||
ip?: string;
|
||||
ip_address?: string;
|
||||
mac?: string;
|
||||
mac_address?: string;
|
||||
mac_vendor?: string;
|
||||
}
|
||||
Reference in new issue
Block a user