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
+2
View File
@@ -0,0 +1,2 @@
declare const _exports: import("../../../types").APIGetUserFunction;
export = _exports;
+14
View File
@@ -0,0 +1,14 @@
declare function _exports({ user, message, component, noMail, req, }: {
user?: {
id?: number | string;
first_name?: string;
last_name?: string;
email?: string;
} & any;
message: string;
component?: string;
noMail?: boolean;
req?: import("next").NextApiRequest & IncomingMessage;
}): Promise<void>;
export = _exports;
import { IncomingMessage } from "http";
@@ -0,0 +1,7 @@
declare function _exports({ queryString, queryValuesArray, database, tableSchema, }: {
queryString: string;
queryValuesArray?: any[];
database?: string;
tableSchema?: import("../../types").DSQL_TableSchemaType;
}): Promise<any>;
export = _exports;
File diff suppressed because it is too large Load Diff
+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");