15 lines
		
	
	
		
			281 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			281 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import AstalNetwork from "gi://AstalNetwork?version=0.1";
 | 
						|
 | 
						|
interface CurrentWiFi {
 | 
						|
    ssid: string;
 | 
						|
    strength: number;
 | 
						|
    secured: boolean;
 | 
						|
}
 | 
						|
 | 
						|
interface WiFiDetails extends CurrentWiFi {
 | 
						|
    active: boolean;
 | 
						|
    accessPoint: AstalNetwork.AccessPoint;
 | 
						|
    iconName: string;
 | 
						|
}
 | 
						|
 |