Save before potential major change

This commit is contained in:
Benjamin Toby
2024-12-06 11:35:59 +01:00
parent 8ca2779741
commit 1ab41929b2
7 changed files with 1508 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
export = grabHostNames;
/**
* @typedef {object} GrabHostNamesReturn
* @property {string} host
* @property {number | string} port
* @property {typeof http | typeof https} scheme
* @property {string | number} user_id
*/
/**
* # Grab Names For Query
* @returns {GrabHostNamesReturn}
*/
declare function grabHostNames(): GrabHostNamesReturn;
declare namespace grabHostNames {
export { GrabHostNamesReturn };
}
type GrabHostNamesReturn = {
host: string;
port: number | string;
scheme: typeof http | typeof https;
user_id: string | number;
};
import http = require("http");
import https = require("https");