Updates
This commit is contained in:
Vendored
+22
@@ -1229,3 +1229,25 @@ export type ApiConnectBody = {
|
||||
type: "pull" | "push";
|
||||
user_id?: string | number;
|
||||
};
|
||||
|
||||
export type SuUserType = {
|
||||
email: string;
|
||||
password: string;
|
||||
authKey: string;
|
||||
logged_in_status: boolean;
|
||||
date: number;
|
||||
};
|
||||
|
||||
export type MariadbRemoteServerObject = {
|
||||
host: string;
|
||||
port: number;
|
||||
primary?: boolean;
|
||||
loadBalanced?: boolean;
|
||||
users?: MariadbRemoteServerUserObject[];
|
||||
};
|
||||
|
||||
export type MariadbRemoteServerUserObject = {
|
||||
name: string;
|
||||
password: string;
|
||||
host: string;
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* @param {string | null | number} string
|
||||
* @param {(this: any, key: string, value: any) => any} [reviver]
|
||||
* @returns {{ [key: string]: any } | { [key: string]: any }[] | undefined}
|
||||
* @returns {Object<string, any> | Object<string, any>[] | undefined}
|
||||
*/
|
||||
function parse(string, reviver) {
|
||||
if (!string) return undefined;
|
||||
@@ -18,7 +18,7 @@ function parse(string, reviver) {
|
||||
/**
|
||||
*
|
||||
* @param {any} value
|
||||
* @param {(this: any, key: string, value: any) => any} [replacer]
|
||||
* @param {((this: any, key: string, value: any) => any) | null} [replacer]
|
||||
* @param { string | number } [space]
|
||||
* @returns {string | undefined}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user