Add TypeScript integrations package

This commit is contained in:
2026-05-05 12:01:30 +00:00
commit e91176fb9b
5889 changed files with 53433 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
export interface IBluetoothAdvertisement {
id: string;
name?: string;
rssi?: number;
manufacturerData?: Record<string, string>;
}
+6
View File
@@ -0,0 +1,6 @@
export interface IHttpProbeResult {
url: string;
status: number;
headers: Record<string, string>;
body?: unknown;
}
+6
View File
@@ -0,0 +1,6 @@
export * as mdns from './mdns/index.js';
export * as ssdp from './ssdp/index.js';
export * as http from './http/index.js';
export * as mqtt from './mqtt/index.js';
export * as bluetooth from './bluetooth/index.js';
export * as usb from './usb/index.js';
+7
View File
@@ -0,0 +1,7 @@
export interface IMdnsRecord {
host?: string;
port?: number;
txt?: Record<string, string | undefined>;
name?: string;
type?: string;
}
+5
View File
@@ -0,0 +1,5 @@
export interface IMqttTopicSample {
topic: string;
payload: string;
retained?: boolean;
}
+7
View File
@@ -0,0 +1,7 @@
export interface ISsdpResponse {
location?: string;
server?: string;
st?: string;
usn?: string;
headers?: Record<string, string>;
}
+7
View File
@@ -0,0 +1,7 @@
export interface IUsbDeviceDescriptor {
vendorId: number;
productId: number;
manufacturer?: string;
product?: string;
serialNumber?: string;
}