Add .d.ts files
This commit is contained in:
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
declare function _exports({ dbSchema }: {
|
||||
dbSchema: import("../../package-shared/types").DSQL_DatabaseSchemaType | undefined;
|
||||
}): Promise<any>;
|
||||
export = _exports;
|
||||
@@ -0,0 +1,12 @@
|
||||
export = camelJoinedtoCamelSpace;
|
||||
/**
|
||||
* Convert Camel Joined Text to Camel Spaced Text
|
||||
* ==============================================================================
|
||||
* @description this function takes a camel cased text without spaces, and returns
|
||||
* a camel-case-spaced text
|
||||
*
|
||||
* @param {string} text - text string without spaces
|
||||
*
|
||||
* @returns {string | null}
|
||||
*/
|
||||
declare function camelJoinedtoCamelSpace(text: string): string | null;
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
declare function _exports({ query, values, database, dbSchema, tableName, }: {
|
||||
query: string;
|
||||
values?: (string | number)[];
|
||||
dbSchema?: import("../../../package-shared/types").DSQL_DatabaseSchemaType;
|
||||
database?: string;
|
||||
tableName?: string;
|
||||
}): Promise<any>;
|
||||
export = _exports;
|
||||
@@ -0,0 +1,8 @@
|
||||
export = defaultFieldsRegexp;
|
||||
/**
|
||||
* Regular expression to match default fields
|
||||
*
|
||||
* @description Regular expression to match default fields
|
||||
* @type {RegExp}
|
||||
*/
|
||||
declare const defaultFieldsRegexp: RegExp;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
declare function _exports({ unparsedResults, tableSchema, }: {
|
||||
unparsedResults: any[];
|
||||
tableSchema?: import("../../../package-shared/types").DSQL_TableSchemaType;
|
||||
}): Promise<object[] | null>;
|
||||
export = _exports;
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
declare namespace _exports {
|
||||
export { VarDbHandlerParam };
|
||||
}
|
||||
declare function _exports({ queryString, queryValuesArray, database, tableSchema, }: VarDbHandlerParam): Promise<any>;
|
||||
export = _exports;
|
||||
type VarDbHandlerParam = {
|
||||
/**
|
||||
* - SQL string
|
||||
*/
|
||||
queryString: string;
|
||||
/**
|
||||
* - Values Array
|
||||
*/
|
||||
queryValuesArray?: string[];
|
||||
/**
|
||||
* - Database name
|
||||
*/
|
||||
database: string;
|
||||
/**
|
||||
* - Table schema
|
||||
*/
|
||||
tableSchema?: import("../../../package-shared/types").DSQL_TableSchemaType;
|
||||
};
|
||||
Reference in New Issue
Block a user