This commit is contained in:
Benjamin Toby 2024-11-06 13:06:51 +01:00
parent 06ff13c653
commit eb341a7845
276 changed files with 4197 additions and 510 deletions

View File

@ -1 +0,0 @@
OOStU7YHN7BswKmR5wkl4

View File

@ -5,8 +5,8 @@
"devFiles": [], "devFiles": [],
"ampDevFiles": [], "ampDevFiles": [],
"lowPriorityFiles": [ "lowPriorityFiles": [
"static/OOStU7YHN7BswKmR5wkl4/_buildManifest.js", "static/-7sHEJMM3_ea_p_I2QYW6/_buildManifest.js",
"static/OOStU7YHN7BswKmR5wkl4/_ssgManifest.js" "static/-7sHEJMM3_ea_p_I2QYW6/_ssgManifest.js"
], ],
"rootMainFiles": [], "rootMainFiles": [],
"pages": { "pages": {

View File

@ -1,7 +1,7 @@
{ {
"telemetry": { "telemetry": {
"notifiedAt": "1730891298908", "notifiedAt": "1730894710128",
"anonymousId": "4ecd25cf5f62ac1b0f8ed6fd953196887fcc3baad25ba0c5d7389b307bb3c6d4", "anonymousId": "8919fc5eaeb169fb0951be049494520a943f44ae04778474685f15372bf1c071",
"salt": "f53287de27b4ff86dd1fc1c88973f409" "salt": "557401ce23b7d4d958128bb21333f85f"
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":1,"hasExportPathMap":false,"exportTrailingSlash":false,"isNextImageImported":false}

View File

@ -1 +0,0 @@
{"version":1,"images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","remotePatterns":[],"unoptimized":false,"sizes":[640,750,828,1080,1200,1920,2048,3840,16,32,48,64,96,128,256,384]}}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"version":3,"routes":{"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/gui-reference/getting-started.json"},"/docs/gui-reference/upload-media":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/gui-reference/upload-media.json"},"/docs/api-reference/get":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/api-reference/get.json"},"/docs/api-reference/post":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/api-reference/post.json"},"/docs/database-reference/data-types":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/database-reference/data-types.json"},"/docs/database-reference/querying-data":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/database-reference/querying-data.json"},"/docs/quick-start":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/quick-start.json"},"/docs/gui-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/gui-reference.json"},"/docs/api-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/api-reference.json"},"/docs/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/getting-started.json"},"/docs/database-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/database-reference.json"}},"dynamicRoutes":{"/docs/[page]/[sub-page]":{"routeRegex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/OOStU7YHN7BswKmR5wkl4/docs/([^/]+?)/([^/]+?)\\.json$"},"/docs/[page]":{"routeRegex":"^/docs/([^/]+?)(?:/)?$","dataRoute":"/_next/data/OOStU7YHN7BswKmR5wkl4/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/OOStU7YHN7BswKmR5wkl4/docs/([^/]+?)\\.json$"}},"notFoundRoutes":[],"preview":{"previewModeId":"efc93c9a6e6f2f7de527b99d9f04fff0","previewModeSigningKey":"c68cdf2165dcc32e1c3f7f2ecd9c838936916bb467d45ee6f63506cf062c6c16","previewModeEncryptionKey":"5e2880c21bba7e7cb2a2dcd81a28d23250664e508ab1d0b47862f8e6f00ad2e6"}}

View File

@ -1 +0,0 @@
{"version":1,"config":{"env":{},"webpack":null,"webpackDevMiddleware":null,"eslint":{"ignoreDuringBuilds":true},"typescript":{"ignoreBuildErrors":true,"tsconfigPath":"tsconfig.json"},"distDir":".local_dist","cleanDistDir":true,"assetPrefix":"","configOrigin":"next.config.js","useFileSystemPublicRoutes":true,"generateEtags":true,"pageExtensions":["tsx","ts","jsx","js"],"target":"server","poweredByHeader":true,"compress":true,"analyticsId":"","images":{"deviceSizes":[640,750,828,1080,1200,1920,2048,3840],"imageSizes":[16,32,48,64,96,128,256,384],"path":"/_next/image","loader":"default","domains":[],"disableStaticImages":false,"minimumCacheTTL":60,"formats":["image/webp"],"dangerouslyAllowSVG":false,"contentSecurityPolicy":"script-src 'none'; frame-src 'none'; sandbox;","remotePatterns":[],"unoptimized":false},"devIndicators":{"buildActivity":true,"buildActivityPosition":"bottom-right"},"onDemandEntries":{"maxInactiveAge":15000,"pagesBufferLength":2},"amp":{"canonicalBase":""},"basePath":"","sassOptions":{},"trailingSlash":false,"i18n":null,"productionBrowserSourceMaps":false,"optimizeFonts":true,"excludeDefaultMomentLocales":true,"serverRuntimeConfig":{},"publicRuntimeConfig":{},"reactStrictMode":true,"httpAgentOptions":{"keepAlive":true},"outputFileTracing":true,"staticPageGenerationTimeout":60,"swcMinify":false,"experimental":{"optimisticClientCache":true,"manualClientBasePath":false,"legacyBrowsers":true,"browsersListForSwc":false,"newNextLinkBehavior":false,"cpus":15,"sharedPool":true,"profiling":false,"isrFlushToDisk":true,"workerThreads":false,"pageEnv":false,"optimizeCss":false,"nextScriptWorkers":false,"scrollRestoration":false,"externalDir":false,"disableOptimizedLoading":false,"gzipSize":true,"swcFileReading":true,"craCompat":false,"esmExternals":true,"appDir":false,"isrMemoryCacheSize":52428800,"serverComponents":false,"fullySpecified":false,"outputFileTracingRoot":"","swcTraceProfiling":false,"forceSwcTransforms":false,"largePageDataBytes":128000,"adjustFontFallbacks":false,"trustHostHeader":false},"configFileName":"next.config.js"},"appDir":"/app","files":[".local_dist/routes-manifest.json",".local_dist/server/pages-manifest.json",".local_dist/build-manifest.json",".local_dist/prerender-manifest.json",".local_dist/server/middleware-manifest.json",".local_dist/react-loadable-manifest.json",".local_dist/server/font-manifest.json",".local_dist/BUILD_ID"],"ignore":["node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*"]}

File diff suppressed because one or more lines are too long

View File

@ -10,13 +10,13 @@ exports.modules = {
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const decrypt = __webpack_require__(5425); const decrypt = __webpack_require__(5425);
/** @type {import("@/package-shared/types").CheckApiCredentialsFn} */ const grabApiCred = ({ key , database , table })=>{ /** @type {import("../../types").CheckApiCredentialsFn} */ const grabApiCred = ({ key , database , table })=>{
if (!key) return undefined; if (!key) return null;
try { try {
const allowedKeysPath = process.env.DSQL_API_KEYS_PATH; const allowedKeysPath = process.env.DSQL_API_KEYS_PATH;
if (!allowedKeysPath) throw new Error("process.env.DSQL_API_KEYS_PATH variable not found"); if (!allowedKeysPath) throw new Error("process.env.DSQL_API_KEYS_PATH variable not found");
const ApiJSON = decrypt(key); const ApiJSON = decrypt(key);
/** @type {import("@/package-shared/types").ApiKeyObject} */ const ApiObject = JSON.parse(ApiJSON || ""); /** @type {import("../../types").ApiKeyObject} */ const ApiObject = JSON.parse(ApiJSON || "");
const isApiKeyValid = fs.existsSync(`${allowedKeysPath}/${ApiObject.sign}`); const isApiKeyValid = fs.existsSync(`${allowedKeysPath}/${ApiObject.sign}`);
if (!isApiKeyValid) return null; if (!isApiKeyValid) return null;
if (!ApiObject.target_database) return ApiObject; if (!ApiObject.target_database) return ApiObject;

View File

@ -31,7 +31,7 @@ exports.modules = {
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} props - Server props * @param {Object} props - Server props
* @param {DSQL_MYSQL_user_databases_Type | undefined} props.targetDatabase * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type | undefined} props.targetDatabase
*/ function DeleteDatabaseConfirmationPopup({ targetDatabase }) { */ function DeleteDatabaseConfirmationPopup({ targetDatabase }) {
/** /**
* Get Contexts * Get Contexts

View File

@ -11,14 +11,14 @@ exports.modules = {
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
const MASTER = mysql({ const MASTER = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,
user: process.env.DSQL_DB_USERNAME, user: process.env.DSQL_DB_USERNAME,
password: process.env.DSQL_DB_PASSWORD, password: process.env.DSQL_DB_PASSWORD,
database: process.env.DSQL_DB_NAME, database: process.env.DSQL_DB_NAME,
port: process.env.DB_PORT ? Number(process.env.DB_PORT) : undefined, port: process.env.DSQL_DB_PORT ? Number(process.env.DSQL_DB_PORT) : undefined,
charset: "utf8mb4", charset: "utf8mb4",
ssl: { ssl: {
ca: fs.readFileSync(`${SSL_DIR}/ca-cert.pem`) ca: fs.readFileSync(`${SSL_DIR}/ca-cert.pem`)

View File

@ -102,7 +102,7 @@ const fs = __webpack_require__(7147);
const serverError = __webpack_require__(7023); const serverError = __webpack_require__(7023);
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../ssl");
const connection = mysql({ const connection = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

View File

@ -3,7 +3,7 @@ exports.id = 3314;
exports.ids = [3314]; exports.ids = [3314];
exports.modules = { exports.modules = {
/***/ 3314: /***/ 2527:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __webpack_require__.d(__webpack_exports__, {

View File

@ -11,7 +11,7 @@ exports.modules = {
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
let DSQL_USER = mysql({ let DSQL_USER = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

View File

@ -861,15 +861,8 @@ const NO_DB_HANDLER = __webpack_require__(2020);
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
// const mysql = require("mysql");
// const NO_DB = mysql.createConnection({
// host: process.env.DSQL_DB_HOST,
// user: process.env.DSQL_DB_USERNAME,
// password: process.env.DSQL_DB_PASSWORD,
// charset: "utf8mb4",
// });
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
let NO_DB = mysql({ let NO_DB = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

View File

@ -42,14 +42,14 @@ module.exports = decrypt;
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
const MASTER = mysql({ const MASTER = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,
user: process.env.DSQL_DB_USERNAME, user: process.env.DSQL_DB_USERNAME,
password: process.env.DSQL_DB_PASSWORD, password: process.env.DSQL_DB_PASSWORD,
database: process.env.DSQL_DB_NAME, database: process.env.DSQL_DB_NAME,
port: process.env.DB_PORT ? Number(process.env.DB_PORT) : undefined, port: process.env.DSQL_DB_PORT ? Number(process.env.DSQL_DB_PORT) : undefined,
charset: "utf8mb4", charset: "utf8mb4",
ssl: { ssl: {
ca: fs.readFileSync(`${SSL_DIR}/ca-cert.pem`) ca: fs.readFileSync(`${SSL_DIR}/ca-cert.pem`)

View File

@ -28,7 +28,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} params * @param {Object} params
* @param {DSQL_FieldSchemaType} params.fieldObject * @param {import("@/package-shared/types").DSQL_FieldSchemaType} params.fieldObject
* @param {any} params.dataTypeSchema * @param {any} params.dataTypeSchema
* @param {React.MutableRefObject<any>} params.elementRef * @param {React.MutableRefObject<any>} params.elementRef
* @param {any} params.entry * @param {any} params.entry

View File

@ -22,6 +22,8 @@ const serverError = __webpack_require__(3017);
const addDbEntry = __webpack_require__(5338); const addDbEntry = __webpack_require__(5338);
const updateDbEntry = __webpack_require__(5886); const updateDbEntry = __webpack_require__(5886);
const deleteDbEntry = __webpack_require__(6147); const deleteDbEntry = __webpack_require__(6147);
const DB_HANDLER = __webpack_require__(2224);
const parseDbResults = __webpack_require__(8326);
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* Run DSQL users queries * Run DSQL users queries
* ============================================================================== * ==============================================================================
@ -29,12 +31,13 @@ const deleteDbEntry = __webpack_require__(6147);
* @param {string} params.dbFullName - Database full name. Eg. "datasquire_user_2_test" * @param {string} params.dbFullName - Database full name. Eg. "datasquire_user_2_test"
* @param {string | any} params.query - Query string or object * @param {string | any} params.query - Query string or object
* @param {boolean} [params.readOnly] - Is this operation read only? * @param {boolean} [params.readOnly] - Is this operation read only?
* @param {boolean} [params.local] - Is this operation read only?
* @param {import("../../../types").DSQL_DatabaseSchemaType} [params.dbSchema] - Database schema * @param {import("../../../types").DSQL_DatabaseSchemaType} [params.dbSchema] - Database schema
* @param {string[]} [params.queryValuesArray] - An optional array of query values if "?" is used in the query string * @param {string[]} [params.queryValuesArray] - An optional array of query values if "?" is used in the query string
* @param {string} [params.tableName] - Table Name * @param {string} [params.tableName] - Table Name
* *
* @return {Promise<any>} * @return {Promise<any>}
*/ async function runQuery({ dbFullName , query , readOnly , dbSchema , queryValuesArray , tableName , }) { */ async function runQuery({ dbFullName , query , readOnly , dbSchema , queryValuesArray , tableName , local , }) {
/** /**
* Declare variables * Declare variables
* *
@ -57,7 +60,13 @@ const deleteDbEntry = __webpack_require__(6147);
* @description Declare "results" variable * @description Declare "results" variable
*/ try { */ try {
if (typeof query === "string") { if (typeof query === "string") {
if (readOnly) { if (local) {
const rawResults = await DB_HANDLER(query, queryValuesArray);
result = tableSchema ? parseDbResults({
unparsedResults: rawResults,
tableSchema
}) : rawResults;
} else if (readOnly) {
result = await varReadOnlyDatabaseDbHandler({ result = await varReadOnlyDatabaseDbHandler({
queryString: query, queryString: query,
queryValuesArray, queryValuesArray,
@ -81,7 +90,7 @@ const deleteDbEntry = __webpack_require__(6147);
switch(action.toLowerCase()){ switch(action.toLowerCase()){
case "insert": case "insert":
result = await addDbEntry({ result = await addDbEntry({
dbContext: "Dsql User", dbContext: local ? "Master" : "Dsql User",
paradigm: "Full Access", paradigm: "Full Access",
dbFullName: dbFullName, dbFullName: dbFullName,
tableName: table1, tableName: table1,
@ -97,7 +106,7 @@ const deleteDbEntry = __webpack_require__(6147);
break; break;
case "update": case "update":
result = await updateDbEntry({ result = await updateDbEntry({
dbContext: "Dsql User", dbContext: local ? "Master" : "Dsql User",
paradigm: "Full Access", paradigm: "Full Access",
dbFullName: dbFullName, dbFullName: dbFullName,
tableName: table1, tableName: table1,
@ -109,7 +118,7 @@ const deleteDbEntry = __webpack_require__(6147);
break; break;
case "delete": case "delete":
result = await deleteDbEntry({ result = await deleteDbEntry({
dbContext: "Dsql User", dbContext: local ? "Master" : "Dsql User",
paradigm: "Full Access", paradigm: "Full Access",
dbFullName: dbFullName, dbFullName: dbFullName,
tableName: table1, tableName: table1,
@ -194,10 +203,11 @@ const serverError = __webpack_require__(3017);
* @param {object} param0 * @param {object} param0
* @param {string} param0.queryString * @param {string} param0.queryString
* @param {string} param0.database * @param {string} param0.database
* @param {boolean} [param0.local]
* @param {import("../../types").DSQL_TableSchemaType | null} [param0.tableSchema] * @param {import("../../types").DSQL_TableSchemaType | null} [param0.tableSchema]
* @param {string[]} [param0.queryValuesArray] * @param {string[]} [param0.queryValuesArray]
* @returns * @returns
*/ module.exports = async function fullAccessDbHandler({ queryString , database , tableSchema , queryValuesArray , }) { */ module.exports = async function fullAccessDbHandler({ queryString , database , tableSchema , queryValuesArray , local , }) {
/** /**
* Declare variables * Declare variables
* *

View File

@ -32,8 +32,8 @@ var external_gsap_default = /*#__PURE__*/__webpack_require__.n(external_gsap_);
* Auth user on client side * Auth user on client side
* ============================================================================== * ==============================================================================
* @param {object} params * @param {object} params
* @param {DSQL_FieldSchemaType[]} params.tableFields * @param {import("@/package-shared/types").DSQL_FieldSchemaType[]} params.tableFields
* @param {React.Dispatch<React.SetStateAction<DSQL_FieldSchemaType[]>>} params.setTableFields * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_FieldSchemaType[]>>} params.setTableFields
* @param {React.Dispatch<React.SetStateAction<number>>} [params.setRefresh] * @param {React.Dispatch<React.SetStateAction<number>>} [params.setRefresh]
* @param {React.Dispatch<React.SetStateAction<number>>} [params.setPageRefresh] * @param {React.Dispatch<React.SetStateAction<number>>} [params.setPageRefresh]
* @param {React.MutableRefObject<React.Dispatch<React.SetStateAction<number>> | undefined>} params.refreshFieldsListRef * @param {React.MutableRefObject<React.Dispatch<React.SetStateAction<number>> | undefined>} params.refreshFieldsListRef
@ -78,11 +78,11 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} params * @param {Object} params
* @param {DSQL_FieldSchemaType[]} params.tableFields * @param {import("@/package-shared/types").DSQL_FieldSchemaType[]} params.tableFields
* @param {React.Dispatch<React.SetStateAction<DSQL_FieldSchemaType[]>>} params.setTableFields * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_FieldSchemaType[]>>} params.setTableFields
* @param {React.MutableRefObject<React.Dispatch<React.SetStateAction<number>> | undefined>} params.refreshFieldsListRef * @param {React.MutableRefObject<React.Dispatch<React.SetStateAction<number>> | undefined>} params.refreshFieldsListRef
* @param {"up" | "down"} params.order * @param {"up" | "down"} params.order
* @param {DSQL_FieldSchemaType} params.field * @param {import("@/package-shared/types").DSQL_FieldSchemaType} params.field
* @param {any} params.e * @param {any} params.e
*/ function reorderField({ tableFields , setTableFields , refreshFieldsListRef , order , field , e , }) { */ function reorderField({ tableFields , setTableFields , refreshFieldsListRef , order , field , e , }) {
/** /**

View File

@ -1927,7 +1927,7 @@ var AssignmentTwoTone_default = /*#__PURE__*/__webpack_require__.n(AssignmentTwo
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8345); /* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3314);
// @ts-check // @ts-check
/** /**
* ============================================================================== * ==============================================================================
@ -2125,7 +2125,7 @@ var AssignmentTwoTone_default = /*#__PURE__*/__webpack_require__.n(AssignmentTwo
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8345); /* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3314);
// @ts-check // @ts-check
/** /**
* ============================================================================== * ==============================================================================

View File

@ -10,15 +10,8 @@ exports.modules = {
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
// const mysql = require("mysql");
// const NO_DB = mysql.createConnection({
// host: process.env.DSQL_DB_HOST,
// user: process.env.DSQL_DB_USERNAME,
// password: process.env.DSQL_DB_PASSWORD,
// charset: "utf8mb4",
// });
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
let NO_DB = mysql({ let NO_DB = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

View File

@ -347,7 +347,7 @@ var TableViewTwoTone_default = /*#__PURE__*/__webpack_require__.n(TableViewTwoTo
// EXTERNAL MODULE: ./functions/frontend/fetchApi.js // EXTERNAL MODULE: ./functions/frontend/fetchApi.js
var fetchApi = __webpack_require__(6729); var fetchApi = __webpack_require__(6729);
// EXTERNAL MODULE: ./functions/frontend/inputFileToBase64.js // EXTERNAL MODULE: ./functions/frontend/inputFileToBase64.js
var inputFileToBase64 = __webpack_require__(8345); var inputFileToBase64 = __webpack_require__(3314);
// EXTERNAL MODULE: ./components/general/LoadingBlock.jsx // EXTERNAL MODULE: ./components/general/LoadingBlock.jsx
var LoadingBlock = __webpack_require__(5264); var LoadingBlock = __webpack_require__(5264);
;// CONCATENATED MODULE: ./components/admin/databases/ImportDbComponent.jsx ;// CONCATENATED MODULE: ./components/admin/databases/ImportDbComponent.jsx

View File

@ -3,7 +3,7 @@ exports.id = 8345;
exports.ids = [8345]; exports.ids = [8345];
exports.modules = { exports.modules = {
/***/ 8345: /***/ 3314:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __webpack_require__.d(__webpack_exports__, {

View File

@ -11,7 +11,7 @@ exports.modules = {
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
let DSQL_USER = mysql({ let DSQL_USER = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

View File

@ -20,7 +20,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
// EXTERNAL MODULE: ./components/general/LoadingBlock.jsx // EXTERNAL MODULE: ./components/general/LoadingBlock.jsx
var LoadingBlock = __webpack_require__(5264); var LoadingBlock = __webpack_require__(5264);
// EXTERNAL MODULE: ./functions/frontend/inputFileToBase64.js // EXTERNAL MODULE: ./functions/frontend/inputFileToBase64.js
var inputFileToBase64 = __webpack_require__(8345); var inputFileToBase64 = __webpack_require__(3314);
// EXTERNAL MODULE: ./functions/frontend/fetchApi.js // EXTERNAL MODULE: ./functions/frontend/fetchApi.js
var fetchApi = __webpack_require__(6729); var fetchApi = __webpack_require__(6729);
;// CONCATENATED MODULE: ./components/admin/databases/functions/import-export-handler.js ;// CONCATENATED MODULE: ./components/admin/databases/functions/import-export-handler.js
@ -34,8 +34,8 @@ var fetchApi = __webpack_require__(6729);
* @param {"import" | "export"} param0.paradigm * @param {"import" | "export"} param0.paradigm
* @param {any} [param0.payload] * @param {any} [param0.payload]
* @param {any} param0.setLoading * @param {any} param0.setLoading
* @param {DSQL_TableSchemaType} param0.table * @param {import("@/package-shared/types").DSQL_TableSchemaType} param0.table
* @param {DSQL_MYSQL_user_databases_Type} param0.database * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} param0.database
*/ function importExportHandler({ paradigm , payload , setLoading , table , database , }) { */ function importExportHandler({ paradigm , payload , setLoading , table , database , }) {
setLoading(true); setLoading(true);
if (paradigm === "import") {} if (paradigm === "import") {}
@ -94,8 +94,8 @@ var fetchApi = __webpack_require__(6729);
* # Import Export Entries * # Import Export Entries
* =================================================== * ===================================================
* @param {object} props * @param {object} props
* @param {DSQL_MYSQL_user_databases_Type} props.database * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} props.database
* @param {DSQL_TableSchemaType} props.table * @param {import("@/package-shared/types").DSQL_TableSchemaType} props.table
* @returns * @returns
*/ function ImportExportEntries({ database , table }) { */ function ImportExportEntries({ database , table }) {
const [loading, setLoading] = external_react_default().useState(false); const [loading, setLoading] = external_react_default().useState(false);

View File

@ -385,7 +385,7 @@ var external_lucide_react_ = __webpack_require__(2423);
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} props - Server props * @param {Object} props - Server props
* @param {DSQL_FieldSchemaType} props.targetField - Field object * @param {import("@/package-shared/types").DSQL_FieldSchemaType} props.targetField - Field object
*/ function CSSFiles({ targetField }) { */ function CSSFiles({ targetField }) {
/** /**
* Get Contexts * Get Contexts
@ -496,8 +496,8 @@ var external_lucide_react_ = __webpack_require__(2423);
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} props - Server props * @param {Object} props - Server props
* @param {DSQL_FieldSchemaType} props.targetField - Field object * @param {import("@/package-shared/types").DSQL_FieldSchemaType} props.targetField - Field object
* @param {React.Dispatch<React.SetStateAction<DSQL_FieldSchemaType>>} props.setFieldData - React state dispatch function * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_FieldSchemaType>>} props.setFieldData - React state dispatch function
*/ function EncryptionSelect({ targetField , setFieldData }) { */ function EncryptionSelect({ targetField , setFieldData }) {
/** /**
* Get Contexts * Get Contexts
@ -587,8 +587,8 @@ var ForeignKey = __webpack_require__(3699);
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} props - Server props * @param {Object} props - Server props
* @param {DSQL_FieldSchemaType} props.targetField - Field object * @param {import("@/package-shared/types").DSQL_FieldSchemaType} props.targetField - Field object
* @param {React.Dispatch<React.SetStateAction<DSQL_FieldSchemaType>>} [props.setFieldData] - React state dispatch function * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_FieldSchemaType>>} [props.setFieldData] - React state dispatch function
*/ function AutoIncrement({ targetField , setFieldData }) { */ function AutoIncrement({ targetField , setFieldData }) {
/** /**
* Get Contexts * Get Contexts
@ -675,7 +675,7 @@ var ForeignKey = __webpack_require__(3699);
* Main Component { Functional } * Main Component { Functional }
* ============================================================================== * ==============================================================================
* @param {Object} props - Server props * @param {Object} props - Server props
* @param {DSQL_FieldSchemaType} props.targetField - Field object * @param {import("@/package-shared/types").DSQL_FieldSchemaType} props.targetField - Field object
*/ function RegexPattern({ targetField }) { */ function RegexPattern({ targetField }) {
/** /**
* Get Contexts * Get Contexts

File diff suppressed because one or more lines are too long

View File

@ -1,192 +1,192 @@
{ {
"/_app": "pages/_app.js", "/_app": "pages/_app.js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js", "/_document": "pages/_document.js",
"/404": "pages/404.html", "/500": "pages/500.js",
"/500": "pages/500.html", "/404": "pages/404.js",
"/api/acceptUserInvitation": "pages/api/acceptUserInvitation.js", "/api/acceptUserInvitation": "pages/api/acceptUserInvitation.js",
"/api/addAdminUserUser": "pages/api/addAdminUserUser.js",
"/api/addApiKey": "pages/api/addApiKey.js", "/api/addApiKey": "pages/api/addApiKey.js",
"/api/addAdminUserUser": "pages/api/addAdminUserUser.js",
"/api/addDbUser": "pages/api/addDbUser.js", "/api/addDbUser": "pages/api/addDbUser.js",
"/api/addSocialLogin": "pages/api/addSocialLogin.js",
"/api/addNewMediaFolder": "pages/api/addNewMediaFolder.js", "/api/addNewMediaFolder": "pages/api/addNewMediaFolder.js",
"/api/addTableEntry": "pages/api/addTableEntry.js", "/api/addTableEntry": "pages/api/addTableEntry.js",
"/api/addUserUser": "pages/api/addUserUser.js", "/api/addSocialLogin": "pages/api/addSocialLogin.js",
"/api/addUserTable": "pages/api/addUserTable.js", "/api/addUserTable": "pages/api/addUserTable.js",
"/api/addUserUser": "pages/api/addUserUser.js",
"/api/addUsersTableToDatabase": "pages/api/addUsersTableToDatabase.js", "/api/addUsersTableToDatabase": "pages/api/addUsersTableToDatabase.js",
"/api/admin/clearErrorLogs": "pages/api/admin/clearErrorLogs.js",
"/api/admin/clientError": "pages/api/admin/clientError.js", "/api/admin/clientError": "pages/api/admin/clientError.js",
"/api/admin/addUserBackup": "pages/api/admin/addUserBackup.js", "/api/admin/addUserBackup": "pages/api/admin/addUserBackup.js",
"/api/admin/clearErrorLogs": "pages/api/admin/clearErrorLogs.js",
"/api/admin/createNewBackup": "pages/api/admin/createNewBackup.js", "/api/admin/createNewBackup": "pages/api/admin/createNewBackup.js",
"/api/admin/getUserBackups": "pages/api/admin/getUserBackups.js", "/api/admin/getUserBackups": "pages/api/admin/getUserBackups.js",
"/api/admin/docs/[action]": "pages/api/admin/docs/[action].js",
"/api/admin/getTablesForUserDatabase": "pages/api/admin/getTablesForUserDatabase.js", "/api/admin/getTablesForUserDatabase": "pages/api/admin/getTablesForUserDatabase.js",
"/api/admin/grabBackups": "pages/api/admin/grabBackups.js", "/api/admin/grabBackups": "pages/api/admin/grabBackups.js",
"/api/admin/getUserData": "pages/api/admin/getUserData.js", "/api/admin/getUserData": "pages/api/admin/getUserData.js",
"/api/admin/grabErrorLogs": "pages/api/admin/grabErrorLogs.js", "/api/admin/grabErrorLogs": "pages/api/admin/grabErrorLogs.js",
"/api/admin/docs/[action]": "pages/api/admin/docs/[action].js",
"/api/admin/grabFile": "pages/api/admin/grabFile.js", "/api/admin/grabFile": "pages/api/admin/grabFile.js",
"/api/admin/loginSuUser": "pages/api/admin/loginSuUser.js", "/api/admin/loginSuUser": "pages/api/admin/loginSuUser.js",
"/api/admin/runUserDbQuery": "pages/api/admin/runUserDbQuery.js", "/api/admin/runUserDbQuery": "pages/api/admin/runUserDbQuery.js",
"/api/changeDbUserPassword": "pages/api/changeDbUserPassword.js", "/api/changeDbUserPassword": "pages/api/changeDbUserPassword.js",
"/api/checkDuplicateData": "pages/api/checkDuplicateData.js", "/api/checkDuplicateData": "pages/api/checkDuplicateData.js",
"/api/admin/updateEnv": "pages/api/admin/updateEnv.js",
"/api/checkExistingFolder": "pages/api/checkExistingFolder.js", "/api/checkExistingFolder": "pages/api/checkExistingFolder.js",
"/api/connect/disconnect": "pages/api/connect/disconnect.js",
"/api/clientSideAuth": "pages/api/clientSideAuth.js", "/api/clientSideAuth": "pages/api/clientSideAuth.js",
"/api/connect": "pages/api/connect.js",
"/api/connect/handshake": "pages/api/connect/handshake.js", "/api/connect/handshake": "pages/api/connect/handshake.js",
"/api/connect/disconnect": "pages/api/connect/disconnect.js",
"/api/connect": "pages/api/connect.js",
"/api/connect/verify": "pages/api/connect/verify.js", "/api/connect/verify": "pages/api/connect/verify.js",
"/api/contact": "pages/api/contact.js", "/api/contact": "pages/api/contact.js",
"/api/createUserDatabase": "pages/api/createUserDatabase.js",
"/api/deleteApiKey": "pages/api/deleteApiKey.js", "/api/deleteApiKey": "pages/api/deleteApiKey.js",
"/api/deleteDbUser": "pages/api/deleteDbUser.js", "/api/createUserDatabase": "pages/api/createUserDatabase.js",
"/api/deleteInvitation": "pages/api/deleteInvitation.js", "/api/deleteInvitation": "pages/api/deleteInvitation.js",
"/api/deleteDbUser": "pages/api/deleteDbUser.js",
"/api/deleteMediaFolder": "pages/api/deleteMediaFolder.js", "/api/deleteMediaFolder": "pages/api/deleteMediaFolder.js",
"/api/deleteTableEntry": "pages/api/deleteTableEntry.js", "/api/deleteTableEntry": "pages/api/deleteTableEntry.js",
"/api/deleteUser": "pages/api/deleteUser.js",
"/api/deleteUserDatabase": "pages/api/deleteUserDatabase.js", "/api/deleteUserDatabase": "pages/api/deleteUserDatabase.js",
"/api/deleteUser": "pages/api/deleteUser.js",
"/api/deleteUserMedia": "pages/api/deleteUserMedia.js", "/api/deleteUserMedia": "pages/api/deleteUserMedia.js",
"/api/deleteUserUser": "pages/api/deleteUserUser.js",
"/api/deleteUserTable": "pages/api/deleteUserTable.js", "/api/deleteUserTable": "pages/api/deleteUserTable.js",
"/api/deleteUserUser": "pages/api/deleteUserUser.js",
"/api/admin/updateEnv": "pages/api/admin/updateEnv.js",
"/api/downloadDatabaseSchema": "pages/api/downloadDatabaseSchema.js", "/api/downloadDatabaseSchema": "pages/api/downloadDatabaseSchema.js",
"/api/exportDatabase": "pages/api/exportDatabase.js", "/api/exportDatabase": "pages/api/exportDatabase.js",
"/api/fetch-entries-basic": "pages/api/fetch-entries-basic.js",
"/api/get-authorized-databases": "pages/api/get-authorized-databases.js", "/api/get-authorized-databases": "pages/api/get-authorized-databases.js",
"/api/getDatabaseTables": "pages/api/getDatabaseTables.js", "/api/getDatabaseTables": "pages/api/getDatabaseTables.js",
"/api/fetch-entries-basic": "pages/api/fetch-entries-basic.js",
"/api/getDelegatedDatabaseToken": "pages/api/getDelegatedDatabaseToken.js", "/api/getDelegatedDatabaseToken": "pages/api/getDelegatedDatabaseToken.js",
"/api/getDelegatedDatabases": "pages/api/getDelegatedDatabases.js",
"/api/getDiskUsage": "pages/api/getDiskUsage.js", "/api/getDiskUsage": "pages/api/getDiskUsage.js",
"/api/getDelegatedDatabases": "pages/api/getDelegatedDatabases.js",
"/api/getUserDatabaseTables": "pages/api/getUserDatabaseTables.js", "/api/getUserDatabaseTables": "pages/api/getUserDatabaseTables.js",
"/api/getUserDatabases": "pages/api/getUserDatabases.js", "/api/getUserDatabases": "pages/api/getUserDatabases.js",
"/api/getUserMedia": "pages/api/getUserMedia.js", "/api/getUserMedia": "pages/api/getUserMedia.js",
"/api/getUserSchemaData": "pages/api/getUserSchemaData.js", "/api/getUserSchemaData": "pages/api/getUserSchemaData.js",
"/api/healthcheck": "pages/api/healthcheck.js",
"/api/importDatabase": "pages/api/importDatabase.js", "/api/importDatabase": "pages/api/importDatabase.js",
"/api/healthcheck": "pages/api/healthcheck.js",
"/api/importDatabaseSchema": "pages/api/importDatabaseSchema.js",
"/api/infiniteScroll": "pages/api/infiniteScroll.js", "/api/infiniteScroll": "pages/api/infiniteScroll.js",
"/api/loginUser": "pages/api/loginUser.js",
"/api/logoutUser": "pages/api/logoutUser.js", "/api/logoutUser": "pages/api/logoutUser.js",
"/api/loginUser": "pages/api/loginUser.js",
"/api/media/addPrivateMedia": "pages/api/media/addPrivateMedia.js",
"/api/purgeDb": "pages/api/purgeDb.js", "/api/purgeDb": "pages/api/purgeDb.js",
"/api/media/getPrivateMedia": "pages/api/media/getPrivateMedia.js", "/api/media/getPrivateMedia": "pages/api/media/getPrivateMedia.js",
"/api/media/addPrivateMedia": "pages/api/media/addPrivateMedia.js",
"/api/query/get-schema": "pages/api/query/get-schema.js", "/api/query/get-schema": "pages/api/query/get-schema.js",
"/api/query/get": "pages/api/query/get.js", "/api/query/get": "pages/api/query/get.js",
"/api/importDatabaseSchema": "pages/api/importDatabaseSchema.js",
"/api/query/update-schema-from-single-database": "pages/api/query/update-schema-from-single-database.js", "/api/query/update-schema-from-single-database": "pages/api/query/update-schema-from-single-database.js",
"/api/queryEntriesSearchTerm": "pages/api/queryEntriesSearchTerm.js",
"/api/reAuthenticateUser": "pages/api/reAuthenticateUser.js", "/api/reAuthenticateUser": "pages/api/reAuthenticateUser.js",
"/api/queryEntriesSearchTerm": "pages/api/queryEntriesSearchTerm.js",
"/api/renameMedia": "pages/api/renameMedia.js", "/api/renameMedia": "pages/api/renameMedia.js",
"/api/registerUser": "pages/api/registerUser.js",
"/api/refreshEntry": "pages/api/refreshEntry.js", "/api/refreshEntry": "pages/api/refreshEntry.js",
"/api/registerUser": "pages/api/registerUser.js",
"/api/resetDelegatedDatabaseToken": "pages/api/resetDelegatedDatabaseToken.js", "/api/resetDelegatedDatabaseToken": "pages/api/resetDelegatedDatabaseToken.js",
"/api/resetPassword": "pages/api/resetPassword.js", "/api/resetPassword": "pages/api/resetPassword.js",
"/api/runUserDbQuery": "pages/api/runUserDbQuery.js", "/api/runUserDbQuery": "pages/api/runUserDbQuery.js",
"/api/sendEmailVerificationLink": "pages/api/sendEmailVerificationLink.js", "/api/sendEmailVerificationLink": "pages/api/sendEmailVerificationLink.js",
"/api/sendPasswordResetLink": "pages/api/sendPasswordResetLink.js", "/api/sendPasswordResetLink": "pages/api/sendPasswordResetLink.js",
"/api/social-login/facebook-auth": "pages/api/social-login/facebook-auth.js",
"/api/social-login/github-auth": "pages/api/social-login/github-auth.js", "/api/social-login/github-auth": "pages/api/social-login/github-auth.js",
"/api/social-login/google-auth": "pages/api/social-login/google-auth.js", "/api/social-login/facebook-auth": "pages/api/social-login/facebook-auth.js",
"/api/social-login/utils/checkEmail": "pages/api/social-login/utils/checkEmail.js", "/api/social-login/utils/checkEmail": "pages/api/social-login/utils/checkEmail.js",
"/api/social-login/utils/getEmailFromSocialId": "pages/api/social-login/utils/getEmailFromSocialId.js", "/api/social-login/google-auth": "pages/api/social-login/google-auth.js",
"/api/social-login/utils/checkSocialId": "pages/api/social-login/utils/checkSocialId.js", "/api/social-login/utils/checkSocialId": "pages/api/social-login/utils/checkSocialId.js",
"/api/social-login/utils/getEmailFromSocialId": "pages/api/social-login/utils/getEmailFromSocialId.js",
"/api/sql-users/update": "pages/api/sql-users/update.js",
"/api/sql-users/create": "pages/api/sql-users/create.js", "/api/sql-users/create": "pages/api/sql-users/create.js",
"/api/sql-users/delete": "pages/api/sql-users/delete.js", "/api/sql-users/delete": "pages/api/sql-users/delete.js",
"/api/stream/[path]": "pages/api/stream/[path].js", "/api/stream/[path]": "pages/api/stream/[path].js",
"/api/sql-users/update": "pages/api/sql-users/update.js",
"/api/sync-table-data": "pages/api/sync-table-data.js", "/api/sync-table-data": "pages/api/sync-table-data.js",
"/api/test/cors": "pages/api/test/cors.js", "/api/test/cors": "pages/api/test/cors.js",
"/api/test/mail": "pages/api/test/mail.js",
"/api/unsubscribe": "pages/api/unsubscribe.js",
"/api/updateAdminUserAccess": "pages/api/updateAdminUserAccess.js", "/api/updateAdminUserAccess": "pages/api/updateAdminUserAccess.js",
"/api/unsubscribe": "pages/api/unsubscribe.js",
"/api/updateClonedTableForeignKeys": "pages/api/updateClonedTableForeignKeys.js", "/api/updateClonedTableForeignKeys": "pages/api/updateClonedTableForeignKeys.js",
"/api/updateDbSchemaDataForUser": "pages/api/updateDbSchemaDataForUser.js", "/api/updateDbSchemaDataForUser": "pages/api/updateDbSchemaDataForUser.js",
"/api/updateDbUser": "pages/api/updateDbUser.js", "/api/updateDbUser": "pages/api/updateDbUser.js",
"/api/updateTableEntry": "pages/api/updateTableEntry.js", "/api/updateTableEntry": "pages/api/updateTableEntry.js",
"/api/updateUser": "pages/api/updateUser.js", "/api/updateUser": "pages/api/updateUser.js",
"/api/updateUserDatabase": "pages/api/updateUserDatabase.js",
"/api/updateUserTable": "pages/api/updateUserTable.js",
"/api/updateUserUser": "pages/api/updateUserUser.js", "/api/updateUserUser": "pages/api/updateUserUser.js",
"/api/updateUserTable": "pages/api/updateUserTable.js",
"/api/updateUserDatabase": "pages/api/updateUserDatabase.js",
"/api/user-schema/replace-database-schema": "pages/api/user-schema/replace-database-schema.js", "/api/user-schema/replace-database-schema": "pages/api/user-schema/replace-database-schema.js",
"/api/user/add-user": "pages/api/user/add-user.js", "/api/user/add-user": "pages/api/user/add-user.js",
"/api/user/delete-user": "pages/api/user/delete-user.js", "/api/user/delete-user": "pages/api/user/delete-user.js",
"/api/user/get-user": "pages/api/user/get-user.js", "/api/user/get-user": "pages/api/user/get-user.js",
"/api/test/mail": "pages/api/test/mail.js",
"/api/user/github-login": "pages/api/user/github-login.js", "/api/user/github-login": "pages/api/user/github-login.js",
"/api/user/google-login": "pages/api/user/google-login.js", "/api/user/google-login": "pages/api/user/google-login.js",
"/api/user/grab-google-user-from-token": "pages/api/user/grab-google-user-from-token.js", "/api/user/grab-google-user-from-token": "pages/api/user/grab-google-user-from-token.js",
"/api/user/login-user": "pages/api/user/login-user.js", "/api/user/login-user": "pages/api/user/login-user.js",
"/api/user/reauth-user": "pages/api/user/reauth-user.js", "/api/user/reauth-user": "pages/api/user/reauth-user.js",
"/api/user/send-email-code": "pages/api/user/send-email-code.js", "/api/user/send-email-code": "pages/api/user/send-email-code.js",
"/api/user/update-user": "pages/api/user/update-user.js",
"/api/webhooks/github-push": "pages/api/webhooks/github-push.js", "/api/webhooks/github-push": "pages/api/webhooks/github-push.js",
"/": "pages/index.html", "/api/user/update-user": "pages/api/user/update-user.js",
"/privacy": "pages/privacy.html", "/": "pages/index.js",
"/redirect": "pages/redirect.html", "/privacy": "pages/privacy.js",
"/terms": "pages/terms.html", "/redirect": "pages/redirect.js",
"/about": "pages/about.html", "/terms": "pages/terms.js",
"/admin/[user_id]/databases/[single]/edit-database": "pages/admin/[user_id]/databases/[single]/edit-database.js",
"/admin/[user_id]/api-keys": "pages/admin/[user_id]/api-keys.js", "/admin/[user_id]/api-keys": "pages/admin/[user_id]/api-keys.js",
"/admin/[user_id]/connect": "pages/admin/[user_id]/connect.js", "/admin/[user_id]/connect": "pages/admin/[user_id]/connect.js",
"/admin/[user_id]/databases/[single]/connect": "pages/admin/[user_id]/databases/[single]/connect.js", "/admin/[user_id]/databases/[single]/edit-database": "pages/admin/[user_id]/databases/[single]/edit-database.js",
"/about": "pages/about.js",
"/admin/[user_id]/databases/[single]": "pages/admin/[user_id]/databases/[single].js", "/admin/[user_id]/databases/[single]": "pages/admin/[user_id]/databases/[single].js",
"/admin/[user_id]/databases/[single]/shell": "pages/admin/[user_id]/databases/[single]/shell.js", "/admin/[user_id]/databases/[single]/shell": "pages/admin/[user_id]/databases/[single]/shell.js",
"/admin/[user_id]/databases/[single]/schema": "pages/admin/[user_id]/databases/[single]/schema.js", "/admin/[user_id]/databases/[single]/schema": "pages/admin/[user_id]/databases/[single]/schema.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js", "/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/fields": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js", "/admin/[user_id]/databases/[single]/tables/[single_table]/fields": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields.js",
"/admin/[user_id]/databases/[single]/connect": "pages/admin/[user_id]/databases/[single]/connect.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js", "/admin/[user_id]/databases/[single]/tables/[single_table]/entries": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].js",
"/admin/[user_id]/databases/[single]/tables/add-table": "pages/admin/[user_id]/databases/[single]/tables/add-table.js", "/admin/[user_id]/databases/[single]/tables/add-table": "pages/admin/[user_id]/databases/[single]/tables/add-table.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]": "pages/admin/[user_id]/databases/[single]/tables/[single_table].js",
"/admin/[user_id]/databases/[single]/users/[user]/change-password": "pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js", "/admin/[user_id]/databases/[single]/users/[user]/change-password": "pages/admin/[user_id]/databases/[single]/users/[user]/change-password.js",
"/admin/[user_id]/databases/[single]/tables/[single_table]": "pages/admin/[user_id]/databases/[single]/tables/[single_table].js",
"/admin/[user_id]/databases/[single]/tables": "pages/admin/[user_id]/databases/[single]/tables.js", "/admin/[user_id]/databases/[single]/tables": "pages/admin/[user_id]/databases/[single]/tables.js",
"/admin/[user_id]/databases/[single]/users/add-social-logins": "pages/admin/[user_id]/databases/[single]/users/add-social-logins.js", "/admin/[user_id]/databases/[single]/users/add-social-logins": "pages/admin/[user_id]/databases/[single]/users/add-social-logins.js",
"/admin/[user_id]/databases/[single]/users/[user]": "pages/admin/[user_id]/databases/[single]/users/[user].js",
"/admin/[user_id]/databases/[single]/users/add-user": "pages/admin/[user_id]/databases/[single]/users/add-user.js", "/admin/[user_id]/databases/[single]/users/add-user": "pages/admin/[user_id]/databases/[single]/users/add-user.js",
"/admin/[user_id]/databases/[single]/users/[user]": "pages/admin/[user_id]/databases/[single]/users/[user].js",
"/admin/[user_id]/databases/[single]/users": "pages/admin/[user_id]/databases/[single]/users.js", "/admin/[user_id]/databases/[single]/users": "pages/admin/[user_id]/databases/[single]/users.js",
"/admin/[user_id]/databases": "pages/admin/[user_id]/databases.js",
"/admin/[user_id]/databases/add-database": "pages/admin/[user_id]/databases/add-database.js", "/admin/[user_id]/databases/add-database": "pages/admin/[user_id]/databases/add-database.js",
"/admin/[user_id]/databases": "pages/admin/[user_id]/databases.js",
"/admin/[user_id]": "pages/admin/[user_id].js", "/admin/[user_id]": "pages/admin/[user_id].js",
"/admin/[user_id]/media/[...folder]": "pages/admin/[user_id]/media/[...folder].js",
"/admin/[user_id]/schema": "pages/admin/[user_id]/schema.js", "/admin/[user_id]/schema": "pages/admin/[user_id]/schema.js",
"/admin/[user_id]/settings": "pages/admin/[user_id]/settings.js",
"/admin/[user_id]/media": "pages/admin/[user_id]/media.js",
"/admin/[user_id]/users/add-user": "pages/admin/[user_id]/users/add-user.js", "/admin/[user_id]/users/add-user": "pages/admin/[user_id]/users/add-user.js",
"/admin/[user_id]/users/databases/[database]/[user]": "pages/admin/[user_id]/users/databases/[database]/[user].js", "/admin/[user_id]/media": "pages/admin/[user_id]/media.js",
"/admin/[user_id]/media/[...folder]": "pages/admin/[user_id]/media/[...folder].js",
"/admin/[user_id]/users/databases/[database]": "pages/admin/[user_id]/users/databases/[database].js", "/admin/[user_id]/users/databases/[database]": "pages/admin/[user_id]/users/databases/[database].js",
"/admin/[user_id]/settings": "pages/admin/[user_id]/settings.js",
"/admin/[user_id]/users/databases": "pages/admin/[user_id]/users/databases.js", "/admin/[user_id]/users/databases": "pages/admin/[user_id]/users/databases.js",
"/admin/[user_id]/users/databases/[database]/[user]": "pages/admin/[user_id]/users/databases/[database]/[user].js",
"/admin": "pages/admin.js", "/admin": "pages/admin.js",
"/admin/[user_id]/users": "pages/admin/[user_id]/users.js", "/admin/[user_id]/users": "pages/admin/[user_id]/users.js",
"/api/exportTableData": "pages/api/exportTableData.js", "/api/exportTableData": "pages/api/exportTableData.js",
"/api/addUserMedia": "pages/api/addUserMedia.js",
"/api/query/get-private-file": "pages/api/query/get-private-file.js", "/api/query/get-private-file": "pages/api/query/get-private-file.js",
"/api/query/add-file": "pages/api/query/add-file.js", "/api/query/add-file": "pages/api/query/add-file.js",
"/api/query/delete-file": "pages/api/query/delete-file.js", "/api/query/delete-file": "pages/api/query/delete-file.js",
"/api/query/post": "pages/api/query/post.js", "/api/addUserMedia": "pages/api/addUserMedia.js",
"/api/query/add-image": "pages/api/query/add-image.js", "/api/query/add-image": "pages/api/query/add-image.js",
"/blog": "pages/blog.html", "/api/query/post": "pages/api/query/post.js",
"/contact": "pages/contact.html", "/contact": "pages/contact.js",
"/blog": "pages/blog.js",
"/docs/[page]": "pages/docs/[page].js", "/docs/[page]": "pages/docs/[page].js",
"/create-account": "pages/create-account.js", "/create-account": "pages/create-account.js",
"/docs/[page]/[sub-page]": "pages/docs/[page]/[sub-page].js",
"/docs": "pages/docs.js", "/docs": "pages/docs.js",
"/login": "pages/login.js", "/login": "pages/login.js",
"/docs/[page]/[sub-page]": "pages/docs/[page]/[sub-page].js", "/pricing": "pages/pricing.js",
"/pricing": "pages/pricing.html",
"/email-verification": "pages/email-verification.js", "/email-verification": "pages/email-verification.js",
"/su/backups": "pages/su/backups.js",
"/su/console": "pages/su/console.js",
"/logout": "pages/logout.js", "/logout": "pages/logout.js",
"/su/console": "pages/su/console.js",
"/su/backups": "pages/su/backups.js",
"/send-password-reset-link": "pages/send-password-reset-link.js", "/send-password-reset-link": "pages/send-password-reset-link.js",
"/su/docs/edit-page": "pages/su/docs/edit-page.js",
"/su/docs": "pages/su/docs.js",
"/su/docs/create-page": "pages/su/docs/create-page.js", "/su/docs/create-page": "pages/su/docs/create-page.js",
"/su/docs/edit-page": "pages/su/docs/edit-page.js",
"/reset-password": "pages/reset-password.js", "/reset-password": "pages/reset-password.js",
"/su/docs/pages": "pages/su/docs/pages.js",
"/su/envar": "pages/su/envar.js", "/su/envar": "pages/su/envar.js",
"/su/docs": "pages/su/docs.js",
"/su/docs/pages": "pages/su/docs/pages.js",
"/su/error-logs": "pages/su/error-logs.js", "/su/error-logs": "pages/su/error-logs.js",
"/su/docs/pages/[id]": "pages/su/docs/pages/[id].js",
"/su": "pages/su.js", "/su": "pages/su.js",
"/su/users/new": "pages/su/users/new.js",
"/su/login": "pages/su/login.js", "/su/login": "pages/su/login.js",
"/su/users": "pages/su/users.js", "/su/docs/pages/[id]": "pages/su/docs/pages/[id].js",
"/_error": "pages/_error.js",
"/su/users/[single]": "pages/su/users/[single].js", "/su/users/[single]": "pages/su/users/[single].js",
"/su/users": "pages/su/users.js",
"/su/users/new": "pages/su/users/new.js",
"/unsubscribe": "pages/unsubscribe.js" "/unsubscribe": "pages/unsubscribe.js"
} }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,213 @@
"use strict";
(() => {
var exports = {};
exports.id = 2197;
exports.ids = [2197];
exports.modules = {
/***/ 461:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": () => (/* binding */ NotFoundPage)
});
// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
// EXTERNAL MODULE: ./layouts/GeneralLayout.jsx + 1 modules
var GeneralLayout = __webpack_require__(6217);
// EXTERNAL MODULE: ./components/general/PageHeadTags.jsx
var PageHeadTags = __webpack_require__(4097);
// EXTERNAL MODULE: ./functions/frontend/clientAuthUser.js
var clientAuthUser = __webpack_require__(9922);
;// CONCATENATED MODULE: external "@mui/icons-material/RailwayAlertTwoTone"
const RailwayAlertTwoTone_namespaceObject = require("@mui/icons-material/RailwayAlertTwoTone");
var RailwayAlertTwoTone_default = /*#__PURE__*/__webpack_require__.n(RailwayAlertTwoTone_namespaceObject);
;// CONCATENATED MODULE: ./pages/404.jsx
// @ts-check
/**
* ==============================================================================
* Imports
* ==============================================================================
*/
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* ==============================================================================
* Main Component { Functional }
* ==============================================================================
* @param {Object} props - Server props
*/ function NotFoundPage(props) {
/**
* Get Contexts
*
* @abstract { React.useContext }
*/ if (true) {
external_react_default().useEffect(()=>{
window.location.href = "https://datasquirel.com";
}, []);
return null;
}
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Javascript Variables
*
* @abstract Non hook variables and functions
*/ const pageTitle = "Cloudbased SQL data management system | Datasquirel";
const pageDescription = "Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.";
let head = /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
children: [
/*#__PURE__*/ jsx_runtime_.jsx("title", {
children: pageTitle
}),
/*#__PURE__*/ jsx_runtime_.jsx("meta", {
name: "description",
content: pageDescription
}),
/*#__PURE__*/ jsx_runtime_.jsx(PageHeadTags/* default */.Z, {
pageTitle: pageTitle,
pageDescription: pageDescription,
pagePathname: "/"
})
]
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* React Hooks
*
* @abstract { useState, useEffect, useRef, etc ... }
*/ const [user, setUser] = external_react_default().useState(null);
external_react_default().useEffect(()=>{
// @ts-ignore
(0,clientAuthUser/* default */.Z)({
setUser
});
}, []);
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Function Return
*
* @abstract Main Function Return
*/ return /*#__PURE__*/ jsx_runtime_.jsx(GeneralLayout/* default */.Z, {
head: head,
user: user,
children: /*#__PURE__*/ jsx_runtime_.jsx("main", {
children: /*#__PURE__*/ jsx_runtime_.jsx("section", {
children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
className: "paper items-center px-20 gap-2",
children: [
/*#__PURE__*/ jsx_runtime_.jsx("h2", {
className: "text-base m-0 text-slate-400",
children: "Ooops ..."
}),
/*#__PURE__*/ jsx_runtime_.jsx("h1", {
className: "text-2xl m-0",
children: "Page Not Found"
}),
/*#__PURE__*/ jsx_runtime_.jsx((RailwayAlertTwoTone_default()), {
color: "primary",
sx: {
fontSize: 200
},
className: "opacity-40"
}),
/*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
children: [
/*#__PURE__*/ jsx_runtime_.jsx("a", {
href: "/",
className: "button outlined",
children: "Home"
}),
/*#__PURE__*/ jsx_runtime_.jsx("button", {
onClick: (e)=>{
window.history.back();
},
children: "Go Back"
})
]
})
]
})
})
})
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
/***/ }),
/***/ 386:
/***/ ((module) => {
module.exports = require("@mui/icons-material/CottageTwoTone");
/***/ }),
/***/ 5557:
/***/ ((module) => {
module.exports = require("@mui/icons-material/MenuBookTwoTone");
/***/ }),
/***/ 2423:
/***/ ((module) => {
module.exports = require("lucide-react");
/***/ }),
/***/ 968:
/***/ ((module) => {
module.exports = require("next/head");
/***/ }),
/***/ 6689:
/***/ ((module) => {
module.exports = require("react");
/***/ }),
/***/ 997:
/***/ ((module) => {
module.exports = require("react/jsx-runtime");
/***/ })
};
;
// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5449,913,9360,6217,4097,9922], () => (__webpack_exec__(461)));
module.exports = __webpack_exports__;
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,208 @@
"use strict";
(() => {
var exports = {};
exports.id = 8573;
exports.ids = [8573];
exports.modules = {
/***/ 5494:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ ErrorPage)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(997);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6217);
/* harmony import */ var _components_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4097);
/* harmony import */ var _functions_frontend_clientAuthUser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9922);
/* harmony import */ var _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6729);
// @ts-check
/**
* ==============================================================================
* Imports
* ==============================================================================
*/
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* ==============================================================================
* Main Component { Functional }
* ==============================================================================
* @param {Object} props - Server props
*/ function ErrorPage(props) {
/**
* Get Contexts
*
* @abstract { React.useContext }
*/ if (true) {
react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(()=>{
window.location.href = "https://datasquirel.com";
}, []);
return null;
}
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Javascript Variables
*
* @abstract Non hook variables and functions
*/ const pageTitle = "Datasquire app error | Datasquirel";
const pageDescription = "Sorry we encountered and error";
let head = /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
children: [
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("title", {
children: pageTitle
}),
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("meta", {
name: "description",
content: pageDescription
}),
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_general_PageHeadTags__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
pageTitle: pageTitle,
pageDescription: pageDescription,
pagePathname: "/"
})
]
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* React Hooks
*
* @abstract { useState, useEffect, useRef, etc ... }
*/ const [user, setUser] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(null);
react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(()=>{
// @ts-ignore
(0,_functions_frontend_clientAuthUser__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({
setUser
});
}, []);
react__WEBPACK_IMPORTED_MODULE_1___default().useEffect(()=>{
if (!user) return;
(0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)("/api/admin/clientError", {
method: "post",
body: {
component: "ErrorBoundary-class-component",
message: "Application Error!!!",
user: user
}
});
}, [
user
]);
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Function Return
*
* @abstract Main Function Return
*/ return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_layouts_GeneralLayout__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
head: head,
user: user,
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("main", {
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("section", {
children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
className: "paper items-center px-20",
children: [
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h2", {
className: "text-base text-slate-400 m-0",
children: "Application Error"
}),
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h1", {
className: "text-2xl m-0 mb-4",
children: "Please try again!"
}),
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
children: [
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("a", {
href: "/",
className: "button outlined",
children: "Home"
}),
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
onClick: (e)=>{
window.history.back();
},
children: "Go Back"
})
]
})
]
})
})
})
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
/***/ }),
/***/ 386:
/***/ ((module) => {
module.exports = require("@mui/icons-material/CottageTwoTone");
/***/ }),
/***/ 5557:
/***/ ((module) => {
module.exports = require("@mui/icons-material/MenuBookTwoTone");
/***/ }),
/***/ 2423:
/***/ ((module) => {
module.exports = require("lucide-react");
/***/ }),
/***/ 968:
/***/ ((module) => {
module.exports = require("next/head");
/***/ }),
/***/ 6689:
/***/ ((module) => {
module.exports = require("react");
/***/ }),
/***/ 997:
/***/ ((module) => {
module.exports = require("react/jsx-runtime");
/***/ })
};
;
// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5449,913,9360,6217,4097,9922], () => (__webpack_exec__(5494)));
module.exports = __webpack_exports__;
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":1,"files":["../webpack-runtime.js","../chunks/6859.js","../../package.json","../../../node_modules/next/dist/server/get-page-files.js","../../../node_modules/next/dist/server/htmlescape.js","../../../node_modules/next/dist/server/utils.js","../../../node_modules/next/dist/shared/lib/constants.js","../../../node_modules/next/dist/shared/lib/html-context.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/package.json","../../../node_modules/react/package.json","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../package.json"]} {"version":1,"files":["../webpack-runtime.js","../chunks/6859.js","../../package.json","../../../node_modules/next/dist/server/get-page-files.js","../../../node_modules/next/dist/server/htmlescape.js","../../../node_modules/next/dist/server/utils.js","../../../node_modules/next/dist/shared/lib/constants.js","../../../node_modules/next/dist/shared/lib/html-context.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/package.json","../../../node_modules/react/package.json","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../node_modules/next/dist/shared/lib/router/utils/index.js","../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../package.json"]}

View File

@ -1 +1 @@
{"version":1,"files":["../webpack-runtime.js","../../package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/head-manager-context.js","../../../node_modules/next/package.json","../../../node_modules/react/package.json","../../../node_modules/react/index.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/next/dist/shared/lib/side-effect.js","../../../node_modules/next/dist/shared/lib/amp-context.js","../../../node_modules/next/dist/shared/lib/amp-mode.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/@swc/helpers/lib/_extends.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_interop_require_default.js","../../../node_modules/@swc/helpers/lib/_interop_require_wildcard.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../package.json"]} {"version":1,"files":["../webpack-runtime.js","../../package.json","../../../node_modules/next/dist/shared/lib/head.js","../../../node_modules/next/dist/shared/lib/head-manager-context.js","../../../node_modules/next/package.json","../../../node_modules/react/package.json","../../../node_modules/react/index.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/next/dist/shared/lib/side-effect.js","../../../node_modules/next/dist/shared/lib/amp-context.js","../../../node_modules/next/dist/shared/lib/amp-mode.js","../../../node_modules/next/dist/shared/lib/utils.js","../../../node_modules/@swc/helpers/lib/_extends.js","../../../node_modules/@swc/helpers/package.json","../../../node_modules/@swc/helpers/lib/_interop_require_wildcard.js","../../../node_modules/@swc/helpers/lib/_interop_require_default.js","../../../node_modules/@swc/helpers/lib/_async_to_generator.js","../../../package.json"]}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,330 @@
"use strict";
(() => {
var exports = {};
exports.id = 2521;
exports.ids = [2521];
exports.modules = {
/***/ 2939:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"HomepageContext": () => (/* binding */ HomepageContext),
"default": () => (/* binding */ Homepage)
});
// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(997);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(6689);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
// EXTERNAL MODULE: ./layouts/GeneralLayout.jsx + 1 modules
var GeneralLayout = __webpack_require__(6217);
;// CONCATENATED MODULE: ./components/pages/about/Hero.jsx
// @ts-check
/**
* ==============================================================================
* Imports
* ==============================================================================
*/
////////////////////////////////////////
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* ==============================================================================
* Main Component { Functional }
* ==============================================================================
* @param {Object} props - Server props
* @param {import("@/package-shared/types").UserType} [props.user]
*/ function Hero({ user }) {
/**
* Get Contexts
*
* @abstract { React.useContext }
*/ ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Javascript Variables
*
* @abstract Non hook variables and functions
*/ ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* React Hooks
*
* @abstract { useState, useEffect, useRef, etc ... }
*/ ////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Function Return
*
* @abstract Main Function Return
*/ return /*#__PURE__*/ (0,jsx_runtime_.jsxs)("section", {
className: "pb-44 lg:pb-28 pt-44 -mt-24 bg-slate-100 dark:bg-slate-950",
children: [
/*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
className: "main-container gap-10 justify-between flex-col lg:flex-row relative z-10",
children: [
/*#__PURE__*/ (0,jsx_runtime_.jsxs)("div", {
className: "flex-col items-center lg:items-start max-w-lg text-center lg:text-left",
style: {
minWidth: "45%"
},
children: [
/*#__PURE__*/ jsx_runtime_.jsx("h1", {
className: "m-0",
children: "Easy data administration."
}),
/*#__PURE__*/ jsx_runtime_.jsx("span", {
className: "text-lg font-normal",
children: "Create, store, retrieve data with ease. The database hassle ends here. Now you have everything in one place."
})
]
}),
/*#__PURE__*/ jsx_runtime_.jsx("div", {
className: "relative flex items-center justify-center w-full translate-y-10"
})
]
}),
/*#__PURE__*/ jsx_runtime_.jsx("img", {
src: "/images/grid.webp",
alt: "Dotted image background",
className: "absolute top-0 left-0 w-full h-full object-cover opacity-80 dark:opacity-20 z-0"
})
]
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
// EXTERNAL MODULE: ./components/general/PageHeadTags.jsx
var PageHeadTags = __webpack_require__(4097);
// EXTERNAL MODULE: ./functions/frontend/clientAuthUser.js
var clientAuthUser = __webpack_require__(9922);
// EXTERNAL MODULE: ./components/pages/homepage/BriefIntroSection.jsx + 2 modules
var BriefIntroSection = __webpack_require__(7335);
// EXTERNAL MODULE: ./components/pages/homepage/FooterCta.jsx
var FooterCta = __webpack_require__(3987);
// EXTERNAL MODULE: ./components/pages/homepage/MainFeaturesSection.jsx
var MainFeaturesSection = __webpack_require__(662);
;// CONCATENATED MODULE: ./pages/about.jsx
// @ts-check
/**
* ==============================================================================
* Imports
* ==============================================================================
*/
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/** ****************************************************************************** */ const HomepageContext = /*#__PURE__*/ external_react_default().createContext({});
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* ==============================================================================
* Main Component { Functional }
* ==============================================================================
* @param {Object} props - Server props
*/ function Homepage(props) {
/**
* Get Contexts
*
* @abstract { React.useContext }
*/ if (true) {
external_react_default().useEffect(()=>{
window.location.href = "https://datasquirel.com/about";
}, []);
return null;
}
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Javascript Variables
*
* @abstract Non hook variables and functions
*/ const pageTitle = "About Us | Datasquirel";
const pageDescription = "Cloudbased SQL data management system. Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.";
let head = /*#__PURE__*/ (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
children: [
/*#__PURE__*/ jsx_runtime_.jsx("title", {
children: pageTitle
}),
/*#__PURE__*/ jsx_runtime_.jsx("meta", {
name: "description",
content: pageDescription
}),
/*#__PURE__*/ jsx_runtime_.jsx(PageHeadTags/* default */.Z, {
pageTitle: pageTitle,
pageDescription: pageDescription,
pagePathname: "/"
})
]
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* React Hooks
*
* @abstract { useState, useEffect, useRef, etc ... }
*/ const [user, setUser] = external_react_default().useState(null);
external_react_default().useEffect(()=>{
(0,clientAuthUser/* default */.Z)({
setUser
});
}, []);
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
/**
* Function Return
*
* @abstract Main Function Return
*/ return /*#__PURE__*/ jsx_runtime_.jsx(GeneralLayout/* default */.Z, {
head: head,
transparentHeader: true,
user: user,
children: /*#__PURE__*/ jsx_runtime_.jsx(HomepageContext.Provider, {
value: {
user
},
children: /*#__PURE__*/ (0,jsx_runtime_.jsxs)("main", {
children: [
/*#__PURE__*/ jsx_runtime_.jsx(Hero, {}),
/*#__PURE__*/ jsx_runtime_.jsx(BriefIntroSection/* default */.Z, {}),
/*#__PURE__*/ jsx_runtime_.jsx(FooterCta/* default */.Z, {
user: user
})
]
})
})
});
////////////////////////////////////////
////////////////////////////////////////
////////////////////////////////////////
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* ==============================================================================
* Server Side Props or Static Props
* ==============================================================================
* @type {import("next").GetStaticProps}
*/ // export async function getStaticProps() {
// /**
// * User Auth
// *
// * @description User Auth
// */
// if (process.env.NEXT_PUBLIC_DSQL_LOCAL) {
// return {
// redirect: {
// destination: "https://datasquirel.com/about",
// permanent: false,
// },
// };
// }
// ////////////////////////////////////////
// ////////////////////////////////////////
// ////////////////////////////////////////
// /**
// * Server props return
// *
// * @description Return data fetched on the server side
// */
// return {
// props: {},
// };
// ////////////////////////////////////////
// ////////////////////////////////////////
// ////////////////////////////////////////
// }
/***/ }),
/***/ 1891:
/***/ ((module) => {
module.exports = require("@mui/icons-material/ArticleTwoTone");
/***/ }),
/***/ 5891:
/***/ ((module) => {
module.exports = require("@mui/icons-material/CloudDoneTwoTone");
/***/ }),
/***/ 386:
/***/ ((module) => {
module.exports = require("@mui/icons-material/CottageTwoTone");
/***/ }),
/***/ 5557:
/***/ ((module) => {
module.exports = require("@mui/icons-material/MenuBookTwoTone");
/***/ }),
/***/ 5768:
/***/ ((module) => {
module.exports = require("@mui/icons-material/ThumbUpAltTwoTone");
/***/ }),
/***/ 2423:
/***/ ((module) => {
module.exports = require("lucide-react");
/***/ }),
/***/ 968:
/***/ ((module) => {
module.exports = require("next/head");
/***/ }),
/***/ 6689:
/***/ ((module) => {
module.exports = require("react");
/***/ }),
/***/ 997:
/***/ ((module) => {
module.exports = require("react/jsx-runtime");
/***/ })
};
;
// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5449,913,9360,6217,4097,9922,8095], () => (__webpack_exec__(2939)));
module.exports = __webpack_exports__;
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -456,7 +456,7 @@ var FormSelect = __webpack_require__(4114);
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ } /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js // EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(3314); var grabUserSchemaData = __webpack_require__(2527);
// EXTERNAL MODULE: ./package-shared/utils/backend/global-db/DB_HANDLER.js // EXTERNAL MODULE: ./package-shared/utils/backend/global-db/DB_HANDLER.js
var DB_HANDLER = __webpack_require__(9395); var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER); var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
(() => { (() => {
var exports = {}; var exports = {};
exports.id = 3293; exports.id = 3293;
exports.ids = [3293,2657,8105,133,3316,4135,4105,3314,2434]; exports.ids = [3293,2657,8105,3316,133,4135,4105,3314,2434];
exports.modules = { exports.modules = {
/***/ 4417: /***/ 4417:
@ -401,7 +401,7 @@ exports.modules = {
/***/ }), /***/ }),
/***/ 3314: /***/ 2527:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@ -1318,7 +1318,7 @@ var varDatabaseDbHandler_default = /*#__PURE__*/__webpack_require__.n(varDatabas
var DB_HANDLER = __webpack_require__(9395); var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER); var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js // EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(3314); var grabUserSchemaData = __webpack_require__(2527);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/schema.jsx ;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/schema.jsx
// @ts-check // @ts-check
/** /**

File diff suppressed because one or more lines are too long

View File

@ -430,7 +430,7 @@ var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
var DB_HANDLER = __webpack_require__(9395); var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER); var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js // EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(3314); var grabUserSchemaData = __webpack_require__(2527);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/shell.jsx ;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/shell.jsx
// @ts-check // @ts-check
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -256,7 +256,7 @@ exports.modules = {
/* harmony import */ var _package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5116); /* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5116);
/* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3314); /* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2527);
/* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1206); /* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1206);
/* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__);
// @ts-check // @ts-check
@ -390,7 +390,7 @@ exports.modules = {
/***/ }), /***/ }),
/***/ 3314: /***/ 2527:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@ -450,11 +450,11 @@ const path = __webpack_require__(1017);
* ============================================================================== * ==============================================================================
* @param {object} params - Single object parameters * @param {object} params - Single object parameters
* @param {{delegated: boolean}} [params.query] - Query object * @param {{delegated: boolean}} [params.query] - Query object
* @param {DSQL_TableSchemaType} params.table - Target table object * @param {import("@/package-shared/types").DSQL_TableSchemaType} params.table - Target table object
* @param {DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object
* @param {DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema * @param {import("@/package-shared/types").DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema
* @param {DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields * @param {import("@/package-shared/types").DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields
* @param {DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes * @param {import("@/package-shared/types").DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes
* @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading] * @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading]
*/ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) { */ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) {
/** /**
@ -565,8 +565,8 @@ var TableFields = __webpack_require__(4893);
* Auth user on client side * Auth user on client side
* ============================================================================== * ==============================================================================
* @param {object} params * @param {object} params
* @param {DSQL_IndexSchemaType[]} params.tableIndexes * @param {import("@/package-shared/types").DSQL_IndexSchemaType[]} params.tableIndexes
* @param {React.Dispatch<React.SetStateAction<DSQL_IndexSchemaType[]>>} params.setTableIndexes * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_IndexSchemaType[]>>} params.setTableIndexes
* @param {React.Dispatch<React.SetStateAction<number>>} [params.setRefresh] * @param {React.Dispatch<React.SetStateAction<number>>} [params.setRefresh]
* @param {React.Dispatch<React.SetStateAction<number>>} [params.setPageRefresh] * @param {React.Dispatch<React.SetStateAction<number>>} [params.setPageRefresh]
* *
@ -606,9 +606,9 @@ var TableFields = __webpack_require__(4893);
* ============================================================================== * ==============================================================================
* @param {object} params * @param {object} params
* @param {number} params.fieldIndex * @param {number} params.fieldIndex
* @param {React.Dispatch<React.SetStateAction<DSQL_IndexSchemaType[]>>} params.setTableIndexes * @param {React.Dispatch<React.SetStateAction<import("@/package-shared/types").DSQL_IndexSchemaType[]>>} params.setTableIndexes
* @param {React.Dispatch<React.SetStateAction<number>>} params.setRefresh * @param {React.Dispatch<React.SetStateAction<number>>} params.setRefresh
* @param {DSQL_IndexSchemaType} params.payload * @param {import("@/package-shared/types").DSQL_IndexSchemaType} params.payload
* @requires search-field name attribute * @requires search-field name attribute
*/ function addNewIndex({ fieldIndex , setTableIndexes , setRefresh , payload , }) { */ function addNewIndex({ fieldIndex , setTableIndexes , setRefresh , payload , }) {
/** /**

View File

@ -2,7 +2,7 @@
(() => { (() => {
var exports = {}; var exports = {};
exports.id = 4504; exports.id = 4504;
exports.ids = [4504,8105,133,3316,4135]; exports.ids = [4504,8105,3316,133,4135];
exports.modules = { exports.modules = {
/***/ 8382: /***/ 8382:
@ -33,11 +33,11 @@ exports.modules = {
* ============================================================================== * ==============================================================================
* @param {object} params - Single object parameters * @param {object} params - Single object parameters
* @param {{delegated: boolean}} [params.query] - Query object * @param {{delegated: boolean}} [params.query] - Query object
* @param {DSQL_TableSchemaType} params.table - Target table object * @param {import("@/package-shared/types").DSQL_TableSchemaType} params.table - Target table object
* @param {DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object
* @param {DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema * @param {import("@/package-shared/types").DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema
* @param {DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields * @param {import("@/package-shared/types").DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields
* @param {DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes * @param {import("@/package-shared/types").DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes
* @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading] * @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading]
*/ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) { */ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) {
/** /**
@ -510,7 +510,7 @@ var grabDelegatedUserFromCookie_default = /*#__PURE__*/__webpack_require__.n(gra
var DB_HANDLER = __webpack_require__(9395); var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER); var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js // EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(3314); var grabUserSchemaData = __webpack_require__(2527);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx ;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx
// @ts-check // @ts-check
/** /**

View File

@ -134,7 +134,7 @@ exports.modules = {
/* harmony import */ var _package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_package_shared_utils_backend_global_db_DB_HANDLER__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5116); /* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5116);
/* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var _grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_grabDelegatedUserFromCookie__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3314); /* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2527);
/* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1206); /* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1206);
/* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var _package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_varDatabaseDbHandler__WEBPACK_IMPORTED_MODULE_5__);
// @ts-check // @ts-check
@ -296,11 +296,11 @@ exports.modules = {
* ============================================================================== * ==============================================================================
* @param {object} params - Single object parameters * @param {object} params - Single object parameters
* @param {{delegated: boolean}} [params.query] - Query object * @param {{delegated: boolean}} [params.query] - Query object
* @param {DSQL_TableSchemaType} params.table - Target table object * @param {import("@/package-shared/types").DSQL_TableSchemaType} params.table - Target table object
* @param {DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object * @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} params.database - Target MYSQL database record object
* @param {DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema * @param {import("@/package-shared/types").DSQL_DatabaseSchemaType[]} params.dbSchemaData - DSQL db schema
* @param {DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields * @param {import("@/package-shared/types").DSQL_FieldSchemaType[]} [params.tableFields] - Table Fields
* @param {DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes * @param {import("@/package-shared/types").DSQL_IndexSchemaType[]} [params.tableIndexes] - Table INdexes
* @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading] * @param {React.Dispatch<React.SetStateAction<boolean>>} [params.setLoading]
*/ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) { */ function updateTableAfterFieldsUpdateFunctionExt({ query , table , database , dbSchemaData , tableFields , tableIndexes , setLoading , }) {
/** /**

View File

@ -859,7 +859,7 @@ var ExtraContentDatabase = __webpack_require__(4941);
var DB_HANDLER = __webpack_require__(9395); var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER); var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js // EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(3314); var grabUserSchemaData = __webpack_require__(2527);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/tables/add-table.jsx ;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/tables/add-table.jsx
// @ts-check // @ts-check
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -165,15 +165,8 @@ const NO_DB_HANDLER = __webpack_require__(2020);
const fs = __webpack_require__(7147); const fs = __webpack_require__(7147);
const path = __webpack_require__(1017); const path = __webpack_require__(1017);
// const mysql = require("mysql");
// const NO_DB = mysql.createConnection({
// host: process.env.DSQL_DB_HOST,
// user: process.env.DSQL_DB_USERNAME,
// password: process.env.DSQL_DB_PASSWORD,
// charset: "utf8mb4",
// });
const mysql = __webpack_require__(2261); const mysql = __webpack_require__(2261);
const SSL_DIR = "/app/ssl"; const SSL_DIR = process.env.DSQL_SSL_DIR || path.resolve(__dirname, "../../../../ssl");
let NO_DB = mysql({ let NO_DB = mysql({
config: { config: {
host: process.env.DSQL_DB_HOST, host: process.env.DSQL_DB_HOST,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":1,"files":["../../../webpack-api-runtime.js","../../../chunks/6926.js","../../../../package.json","../../../../../node_modules/nodemailer/package.json","../../../../../node_modules/nodemailer/lib/nodemailer.js","../../../../../node_modules/nodemailer/lib/mailer/index.js","../../../../../node_modules/nodemailer/lib/shared/index.js","../../../../../node_modules/nodemailer/lib/smtp-pool/index.js","../../../../../node_modules/nodemailer/lib/smtp-transport/index.js","../../../../../node_modules/nodemailer/lib/sendmail-transport/index.js","../../../../../node_modules/nodemailer/lib/stream-transport/index.js","../../../../../node_modules/nodemailer/lib/json-transport/index.js","../../../../../node_modules/nodemailer/lib/ses-transport/index.js","../../../../../node_modules/nodemailer/lib/fetch/index.js","../../../../../node_modules/nodemailer/lib/mailer/mail-message.js","../../../../../node_modules/nodemailer/lib/smtp-pool/pool-resource.js","../../../../../node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js","../../../../../node_modules/nodemailer/lib/fetch/cookies.js","../../../../../node_modules/nodemailer/lib/mime-funcs/mime-types.js","../../../../../node_modules/nodemailer/lib/mime-node/le-windows.js","../../../../../node_modules/nodemailer/lib/dkim/index.js","../../../../../node_modules/nodemailer/lib/mail-composer/index.js","../../../../../node_modules/nodemailer/lib/smtp-connection/index.js","../../../../../node_modules/nodemailer/lib/well-known/index.js","../../../../../node_modules/nodemailer/lib/xoauth2/index.js","../../../../../node_modules/nodemailer/lib/mime-node/index.js","../../../../../node_modules/nodemailer/lib/mime-funcs/index.js","../../../../../node_modules/nodemailer/lib/well-known/services.json","../../../../../node_modules/nodemailer/lib/smtp-connection/data-stream.js","../../../../../node_modules/nodemailer/lib/dkim/message-parser.js","../../../../../node_modules/nodemailer/lib/dkim/relaxed-body.js","../../../../../node_modules/nodemailer/lib/dkim/sign.js","../../../../../node_modules/nodemailer/lib/mime-node/last-newline.js","../../../../../node_modules/nodemailer/lib/mime-node/le-unix.js","../../../../../node_modules/nodemailer/lib/punycode/index.js","../../../../../node_modules/nodemailer/lib/base64/index.js","../../../../../node_modules/nodemailer/lib/qp/index.js","../../../../../node_modules/nodemailer/lib/addressparser/index.js","../../../../../package.json"]} {"version":1,"files":["../../../webpack-api-runtime.js","../../../chunks/6926.js","../../../../package.json","../../../../../node_modules/nodemailer/package.json","../../../../../node_modules/nodemailer/lib/nodemailer.js","../../../../../node_modules/nodemailer/lib/mailer/index.js","../../../../../node_modules/nodemailer/lib/shared/index.js","../../../../../node_modules/nodemailer/lib/smtp-pool/index.js","../../../../../node_modules/nodemailer/lib/smtp-transport/index.js","../../../../../node_modules/nodemailer/lib/sendmail-transport/index.js","../../../../../node_modules/nodemailer/lib/json-transport/index.js","../../../../../node_modules/nodemailer/lib/stream-transport/index.js","../../../../../node_modules/nodemailer/lib/ses-transport/index.js","../../../../../node_modules/nodemailer/lib/fetch/index.js","../../../../../node_modules/nodemailer/lib/mailer/mail-message.js","../../../../../node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js","../../../../../node_modules/nodemailer/lib/smtp-pool/pool-resource.js","../../../../../node_modules/nodemailer/lib/fetch/cookies.js","../../../../../node_modules/nodemailer/lib/mime-funcs/mime-types.js","../../../../../node_modules/nodemailer/lib/mime-node/le-windows.js","../../../../../node_modules/nodemailer/lib/mail-composer/index.js","../../../../../node_modules/nodemailer/lib/dkim/index.js","../../../../../node_modules/nodemailer/lib/smtp-connection/index.js","../../../../../node_modules/nodemailer/lib/well-known/index.js","../../../../../node_modules/nodemailer/lib/xoauth2/index.js","../../../../../node_modules/nodemailer/lib/mime-node/index.js","../../../../../node_modules/nodemailer/lib/mime-funcs/index.js","../../../../../node_modules/nodemailer/lib/well-known/services.json","../../../../../node_modules/nodemailer/lib/smtp-connection/data-stream.js","../../../../../node_modules/nodemailer/lib/dkim/message-parser.js","../../../../../node_modules/nodemailer/lib/dkim/relaxed-body.js","../../../../../node_modules/nodemailer/lib/dkim/sign.js","../../../../../node_modules/nodemailer/lib/mime-node/le-unix.js","../../../../../node_modules/nodemailer/lib/mime-node/last-newline.js","../../../../../node_modules/nodemailer/lib/punycode/index.js","../../../../../node_modules/nodemailer/lib/qp/index.js","../../../../../node_modules/nodemailer/lib/base64/index.js","../../../../../node_modules/nodemailer/lib/addressparser/index.js","../../../../../package.json"]}

Some files were not shown because too many files have changed in this diff Show More