This commit is contained in:
Benjamin Toby 2024-11-06 12:13:31 +01:00
parent 19155164c5
commit 06ff13c653
240 changed files with 574 additions and 694 deletions

View File

@ -1 +1 @@
NREYerEs5qQfLildNPdkY
OOStU7YHN7BswKmR5wkl4

View File

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

View File

@ -1,7 +1,7 @@
{
"telemetry": {
"notifiedAt": "1730886776810",
"anonymousId": "07dd651031cd863e527978788c6f5eb2f2e2528a2dc8b3f985f0376077b06cb1",
"salt": "1bdd0e59a6979297e7c6a715c5d9a504"
"notifiedAt": "1730891298908",
"anonymousId": "4ecd25cf5f62ac1b0f8ed6fd953196887fcc3baad25ba0c5d7389b307bb3c6d4",
"salt": "f53287de27b4ff86dd1fc1c88973f409"
}
}

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":3,"routes":{"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/gui-reference/getting-started.json"},"/docs/gui-reference/upload-media":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/gui-reference/upload-media.json"},"/docs/api-reference/get":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/api-reference/get.json"},"/docs/api-reference/post":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/api-reference/post.json"},"/docs/database-reference/data-types":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/database-reference/data-types.json"},"/docs/database-reference/querying-data":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/database-reference/querying-data.json"},"/docs/quick-start":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/quick-start.json"},"/docs/gui-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/gui-reference.json"},"/docs/api-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/api-reference.json"},"/docs/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/getting-started.json"},"/docs/database-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/database-reference.json"}},"dynamicRoutes":{"/docs/[page]/[sub-page]":{"routeRegex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/NREYerEs5qQfLildNPdkY/docs/([^/]+?)/([^/]+?)\\.json$"},"/docs/[page]":{"routeRegex":"^/docs/([^/]+?)(?:/)?$","dataRoute":"/_next/data/NREYerEs5qQfLildNPdkY/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/NREYerEs5qQfLildNPdkY/docs/([^/]+?)\\.json$"}},"notFoundRoutes":[],"preview":{"previewModeId":"d3734e69f97c4f2fb798976be6828223","previewModeSigningKey":"af89a4ffbb43653ee3ed893e7eddbfc0f48fb871ec6a7e055510ea1550e23d4d","previewModeEncryptionKey":"8c269aa00914fff7d9e60ca9e1bbe3a7e503085c65914427c00e1c78eb717ddf"}}
{"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"}}

File diff suppressed because one or more lines are too long

View File

@ -11,6 +11,7 @@ exports.modules = {
const fs = __webpack_require__(7147);
const decrypt = __webpack_require__(5425);
/** @type {import("@/package-shared/types").CheckApiCredentialsFn} */ const grabApiCred = ({ key , database , table })=>{
if (!key) return undefined;
try {
const allowedKeysPath = process.env.DSQL_API_KEYS_PATH;
if (!allowedKeysPath) throw new Error("process.env.DSQL_API_KEYS_PATH variable not found");

View File

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

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__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 _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3314);
/* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8345);
// @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__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 _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3314);
/* harmony import */ var _functions_frontend_inputFileToBase64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8345);
// @ts-check
/**
* ==============================================================================

View File

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

View File

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

View File

@ -20,7 +20,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
// EXTERNAL MODULE: ./components/general/LoadingBlock.jsx
var LoadingBlock = __webpack_require__(5264);
// EXTERNAL MODULE: ./functions/frontend/inputFileToBase64.js
var inputFileToBase64 = __webpack_require__(3314);
var inputFileToBase64 = __webpack_require__(8345);
// EXTERNAL MODULE: ./functions/frontend/fetchApi.js
var fetchApi = __webpack_require__(6729);
;// CONCATENATED MODULE: ./components/admin/databases/functions/import-export-handler.js

File diff suppressed because one or more lines are too long

View File

@ -7,32 +7,32 @@
"/api/acceptUserInvitation": "pages/api/acceptUserInvitation.js",
"/api/addAdminUserUser": "pages/api/addAdminUserUser.js",
"/api/addApiKey": "pages/api/addApiKey.js",
"/api/addNewMediaFolder": "pages/api/addNewMediaFolder.js",
"/api/addSocialLogin": "pages/api/addSocialLogin.js",
"/api/addTableEntry": "pages/api/addTableEntry.js",
"/api/addDbUser": "pages/api/addDbUser.js",
"/api/addUsersTableToDatabase": "pages/api/addUsersTableToDatabase.js",
"/api/addSocialLogin": "pages/api/addSocialLogin.js",
"/api/addNewMediaFolder": "pages/api/addNewMediaFolder.js",
"/api/addTableEntry": "pages/api/addTableEntry.js",
"/api/addUserUser": "pages/api/addUserUser.js",
"/api/addUserTable": "pages/api/addUserTable.js",
"/api/admin/addUserBackup": "pages/api/admin/addUserBackup.js",
"/api/addUsersTableToDatabase": "pages/api/addUsersTableToDatabase.js",
"/api/admin/clearErrorLogs": "pages/api/admin/clearErrorLogs.js",
"/api/admin/docs/[action]": "pages/api/admin/docs/[action].js",
"/api/admin/clientError": "pages/api/admin/clientError.js",
"/api/admin/getTablesForUserDatabase": "pages/api/admin/getTablesForUserDatabase.js",
"/api/admin/getUserBackups": "pages/api/admin/getUserBackups.js",
"/api/admin/addUserBackup": "pages/api/admin/addUserBackup.js",
"/api/admin/createNewBackup": "pages/api/admin/createNewBackup.js",
"/api/admin/getUserData": "pages/api/admin/getUserData.js",
"/api/admin/getUserBackups": "pages/api/admin/getUserBackups.js",
"/api/admin/getTablesForUserDatabase": "pages/api/admin/getTablesForUserDatabase.js",
"/api/admin/grabBackups": "pages/api/admin/grabBackups.js",
"/api/admin/getUserData": "pages/api/admin/getUserData.js",
"/api/admin/grabErrorLogs": "pages/api/admin/grabErrorLogs.js",
"/api/admin/loginSuUser": "pages/api/admin/loginSuUser.js",
"/api/admin/updateEnv": "pages/api/admin/updateEnv.js",
"/api/admin/docs/[action]": "pages/api/admin/docs/[action].js",
"/api/admin/grabFile": "pages/api/admin/grabFile.js",
"/api/admin/loginSuUser": "pages/api/admin/loginSuUser.js",
"/api/admin/runUserDbQuery": "pages/api/admin/runUserDbQuery.js",
"/api/changeDbUserPassword": "pages/api/changeDbUserPassword.js",
"/api/checkExistingFolder": "pages/api/checkExistingFolder.js",
"/api/clientSideAuth": "pages/api/clientSideAuth.js",
"/api/checkDuplicateData": "pages/api/checkDuplicateData.js",
"/api/admin/updateEnv": "pages/api/admin/updateEnv.js",
"/api/checkExistingFolder": "pages/api/checkExistingFolder.js",
"/api/connect/disconnect": "pages/api/connect/disconnect.js",
"/api/clientSideAuth": "pages/api/clientSideAuth.js",
"/api/connect": "pages/api/connect.js",
"/api/connect/handshake": "pages/api/connect/handshake.js",
"/api/connect/verify": "pages/api/connect/verify.js",
@ -46,44 +46,44 @@
"/api/deleteUser": "pages/api/deleteUser.js",
"/api/deleteUserDatabase": "pages/api/deleteUserDatabase.js",
"/api/deleteUserMedia": "pages/api/deleteUserMedia.js",
"/api/deleteUserTable": "pages/api/deleteUserTable.js",
"/api/deleteUserUser": "pages/api/deleteUserUser.js",
"/api/deleteUserTable": "pages/api/deleteUserTable.js",
"/api/downloadDatabaseSchema": "pages/api/downloadDatabaseSchema.js",
"/api/exportDatabase": "pages/api/exportDatabase.js",
"/api/get-authorized-databases": "pages/api/get-authorized-databases.js",
"/api/fetch-entries-basic": "pages/api/fetch-entries-basic.js",
"/api/get-authorized-databases": "pages/api/get-authorized-databases.js",
"/api/getDatabaseTables": "pages/api/getDatabaseTables.js",
"/api/getDelegatedDatabaseToken": "pages/api/getDelegatedDatabaseToken.js",
"/api/getDelegatedDatabases": "pages/api/getDelegatedDatabases.js",
"/api/getDiskUsage": "pages/api/getDiskUsage.js",
"/api/getUserDatabases": "pages/api/getUserDatabases.js",
"/api/getUserDatabaseTables": "pages/api/getUserDatabaseTables.js",
"/api/getUserDatabases": "pages/api/getUserDatabases.js",
"/api/getUserMedia": "pages/api/getUserMedia.js",
"/api/getUserSchemaData": "pages/api/getUserSchemaData.js",
"/api/healthcheck": "pages/api/healthcheck.js",
"/api/importDatabase": "pages/api/importDatabase.js",
"/api/getUserSchemaData": "pages/api/getUserSchemaData.js",
"/api/importDatabaseSchema": "pages/api/importDatabaseSchema.js",
"/api/loginUser": "pages/api/loginUser.js",
"/api/infiniteScroll": "pages/api/infiniteScroll.js",
"/api/loginUser": "pages/api/loginUser.js",
"/api/logoutUser": "pages/api/logoutUser.js",
"/api/media/addPrivateMedia": "pages/api/media/addPrivateMedia.js",
"/api/purgeDb": "pages/api/purgeDb.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": "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/queryEntriesSearchTerm": "pages/api/queryEntriesSearchTerm.js",
"/api/reAuthenticateUser": "pages/api/reAuthenticateUser.js",
"/api/renameMedia": "pages/api/renameMedia.js",
"/api/registerUser": "pages/api/registerUser.js",
"/api/refreshEntry": "pages/api/refreshEntry.js",
"/api/renameMedia": "pages/api/renameMedia.js",
"/api/resetDelegatedDatabaseToken": "pages/api/resetDelegatedDatabaseToken.js",
"/api/resetPassword": "pages/api/resetPassword.js",
"/api/runUserDbQuery": "pages/api/runUserDbQuery.js",
"/api/sendEmailVerificationLink": "pages/api/sendEmailVerificationLink.js",
"/api/sendPasswordResetLink": "pages/api/sendPasswordResetLink.js",
"/api/social-login/github-auth": "pages/api/social-login/github-auth.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/google-auth": "pages/api/social-login/google-auth.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",
@ -92,101 +92,101 @@
"/api/sql-users/delete": "pages/api/sql-users/delete.js",
"/api/stream/[path]": "pages/api/stream/[path].js",
"/api/sql-users/update": "pages/api/sql-users/update.js",
"/api/unsubscribe": "pages/api/unsubscribe.js",
"/api/test/mail": "pages/api/test/mail.js",
"/api/sync-table-data": "pages/api/sync-table-data.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/updateClonedTableForeignKeys": "pages/api/updateClonedTableForeignKeys.js",
"/api/updateDbSchemaDataForUser": "pages/api/updateDbSchemaDataForUser.js",
"/api/updateDbUser": "pages/api/updateDbUser.js",
"/api/updateTableEntry": "pages/api/updateTableEntry.js",
"/api/updateUserDatabase": "pages/api/updateUserDatabase.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/user-schema/replace-database-schema": "pages/api/user-schema/replace-database-schema.js",
"/api/user/delete-user": "pages/api/user/delete-user.js",
"/api/user/add-user": "pages/api/user/add-user.js",
"/api/user/delete-user": "pages/api/user/delete-user.js",
"/api/user/get-user": "pages/api/user/get-user.js",
"/api/user/github-login": "pages/api/user/github-login.js",
"/api/user/google-login": "pages/api/user/google-login.js",
"/api/user/reauth-user": "pages/api/user/reauth-user.js",
"/api/user/login-user": "pages/api/user/login-user.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/reauth-user": "pages/api/user/reauth-user.js",
"/api/user/send-email-code": "pages/api/user/send-email-code.js",
"/api/webhooks/github-push": "pages/api/webhooks/github-push.js",
"/api/user/update-user": "pages/api/user/update-user.js",
"/api/webhooks/github-push": "pages/api/webhooks/github-push.js",
"/": "pages/index.html",
"/privacy": "pages/privacy.html",
"/redirect": "pages/redirect.html",
"/terms": "pages/terms.html",
"/about": "pages/about.html",
"/admin/[user_id]/api-keys": "pages/admin/[user_id]/api-keys.js",
"/admin/[user_id]/databases/[single]": "pages/admin/[user_id]/databases/[single].js",
"/admin/[user_id]/databases/[single]/schema": "pages/admin/[user_id]/databases/[single]/schema.js",
"/admin/[user_id]/databases/[single]/shell": "pages/admin/[user_id]/databases/[single]/shell.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]/connect": "pages/admin/[user_id]/databases/[single]/connect.js",
"/admin/[user_id]/connect": "pages/admin/[user_id]/connect.js",
"/admin/[user_id]/databases/[single]/edit-database": "pages/admin/[user_id]/databases/[single]/edit-database.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]/entries/add-entry": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry.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]/databases/[single]/connect": "pages/admin/[user_id]/databases/[single]/connect.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]/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]/entries/[single_entry]": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry].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/[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]/entries": "pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries.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": "pages/admin/[user_id]/databases/[single]/tables.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]/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/[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/add-database": "pages/admin/[user_id]/databases/add-database.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]": "pages/admin/[user_id].js",
"/admin/[user_id]/schema": "pages/admin/[user_id]/schema.js",
"/admin/[user_id]/media/[...folder]": "pages/admin/[user_id]/media/[...folder].js",
"/admin/[user_id]/users/add-user": "pages/admin/[user_id]/users/add-user.js",
"/admin/[user_id]/media": "pages/admin/[user_id]/media.js",
"/admin/[user_id]/users/databases/[database]/[user]": "pages/admin/[user_id]/users/databases/[database]/[user].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/databases/[database]/[user]": "pages/admin/[user_id]/users/databases/[database]/[user].js",
"/admin/[user_id]/users/databases/[database]": "pages/admin/[user_id]/users/databases/[database].js",
"/admin/[user_id]/users": "pages/admin/[user_id]/users.js",
"/admin/[user_id]/users/databases": "pages/admin/[user_id]/users/databases.js",
"/admin": "pages/admin.js",
"/api/addUserMedia": "pages/api/addUserMedia.js",
"/admin/[user_id]/users": "pages/admin/[user_id]/users.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/add-file": "pages/api/query/add-file.js",
"/api/query/add-image": "pages/api/query/add-image.js",
"/api/query/delete-file": "pages/api/query/delete-file.js",
"/api/query/post": "pages/api/query/post.js",
"/api/query/add-image": "pages/api/query/add-image.js",
"/blog": "pages/blog.html",
"/contact": "pages/contact.html",
"/docs": "pages/docs.js",
"/docs/[page]": "pages/docs/[page].js",
"/docs/[page]/[sub-page]": "pages/docs/[page]/[sub-page].js",
"/create-account": "pages/create-account.js",
"/docs": "pages/docs.js",
"/login": "pages/login.js",
"/docs/[page]/[sub-page]": "pages/docs/[page]/[sub-page].js",
"/pricing": "pages/pricing.html",
"/send-password-reset-link": "pages/send-password-reset-link.js",
"/logout": "pages/logout.js",
"/email-verification": "pages/email-verification.js",
"/su/console": "pages/su/console.js",
"/su/backups": "pages/su/backups.js",
"/su/docs/create-page": "pages/su/docs/create-page.js",
"/su/docs": "pages/su/docs.js",
"/su/console": "pages/su/console.js",
"/logout": "pages/logout.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",
"/reset-password": "pages/reset-password.js",
"/su/docs/pages/[id]": "pages/su/docs/pages/[id].js",
"/su/error-logs": "pages/su/error-logs.js",
"/su": "pages/su.js",
"/su/docs/pages": "pages/su/docs/pages.js",
"/su/envar": "pages/su/envar.js",
"/su/users/[single]": "pages/su/users/[single].js",
"/su/users": "pages/su/users.js",
"/su/error-logs": "pages/su/error-logs.js",
"/su/docs/pages/[id]": "pages/su/docs/pages/[id].js",
"/su": "pages/su.js",
"/su/users/new": "pages/su/users/new.js",
"/su/login": "pages/su/login.js",
"/su/users": "pages/su/users.js",
"/su/users/[single]": "pages/su/users/[single].js",
"/unsubscribe": "pages/unsubscribe.js"
}

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-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/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/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.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.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"]}

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

@ -456,7 +456,7 @@ var FormSelect = __webpack_require__(4114);
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(2527);
var grabUserSchemaData = __webpack_require__(3314);
// EXTERNAL MODULE: ./package-shared/utils/backend/global-db/DB_HANDLER.js
var DB_HANDLER = __webpack_require__(9395);
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 = {};
exports.id = 3293;
exports.ids = [3293,2657,8105,3316,133,4135,4105,3314,2434];
exports.ids = [3293,2657,8105,133,3316,4135,4105,3314,2434];
exports.modules = {
/***/ 4417:
@ -401,7 +401,7 @@ exports.modules = {
/***/ }),
/***/ 2527:
/***/ 3314:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* 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_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(2527);
var grabUserSchemaData = __webpack_require__(3314);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/schema.jsx
// @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_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(2527);
var grabUserSchemaData = __webpack_require__(3314);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/shell.jsx
// @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 _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 _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2527);
/* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3314);
/* 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__);
// @ts-check
@ -390,7 +390,7 @@ exports.modules = {
/***/ }),
/***/ 2527:
/***/ 3314:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {

View File

@ -2,7 +2,7 @@
(() => {
var exports = {};
exports.id = 4504;
exports.ids = [4504,8105,3316,133,4135];
exports.ids = [4504,8105,133,3316,4135];
exports.modules = {
/***/ 8382:
@ -510,7 +510,7 @@ var grabDelegatedUserFromCookie_default = /*#__PURE__*/__webpack_require__.n(gra
var DB_HANDLER = __webpack_require__(9395);
var DB_HANDLER_default = /*#__PURE__*/__webpack_require__.n(DB_HANDLER);
// EXTERNAL MODULE: ./functions/backend/grabUserSchemaData.js
var grabUserSchemaData = __webpack_require__(2527);
var grabUserSchemaData = __webpack_require__(3314);
;// CONCATENATED MODULE: ./pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table.jsx
// @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 _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 _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2527);
/* harmony import */ var _grabUserSchemaData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3314);
/* 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__);
// @ts-check

View File

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

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-transport/index.js","../../../../../node_modules/nodemailer/lib/smtp-pool/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-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/xoauth2/index.js","../../../../../node_modules/nodemailer/lib/well-known/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/relaxed-body.js","../../../../../node_modules/nodemailer/lib/dkim/message-parser.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/qp/index.js","../../../../../node_modules/nodemailer/lib/addressparser/index.js","../../../../../node_modules/nodemailer/lib/base64/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/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"]}

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

@ -73,10 +73,12 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ });
/* harmony import */ var _functions_backend_serverError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2163);
/* harmony import */ var _functions_backend_serverError__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_functions_backend_serverError__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5425);
/* harmony import */ var _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1017);
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _package_shared_functions_backend_api_cred__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1007);
/* harmony import */ var _package_shared_functions_backend_api_cred__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_api_cred__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5425);
/* harmony import */ var _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1017);
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);
// @ts-check
/**
* ==============================================================================
@ -86,6 +88,7 @@ __webpack_require__.r(__webpack_exports__);
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
* API handler
* ==============================================================================
@ -113,26 +116,22 @@ __webpack_require__.r(__webpack_exports__);
* User auth
*
* @description Authenticate user
*/ const deletedKeys = fs.readFileSync("./apiKeys/deleted.txt", "utf8");
const authorization = key;
if (!authorization) return res.json({
success: false,
msg: "Unauthorized"
*/ const authorization = key;
const apiCred = _package_shared_functions_backend_api_cred__WEBPACK_IMPORTED_MODULE_1___default()({
key: key,
database: database?.db_slug
});
if (deletedKeys.includes(authorization)) {
return res.json({
success: false,
msg: "Key Inactive!"
});
if (!apiCred?.user_id) {
throw new Error("Api Credentials invalid!");
}
const userJSON = _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_1___default()(authorization);
const userJSON = _package_shared_functions_backend_decrypt__WEBPACK_IMPORTED_MODULE_2___default()(authorization);
const remoteUser = userJSON ? JSON.parse(userJSON) : null;
const { user_id , full_access , csrf } = remoteUser;
if (!full_access || !csrf) return res.json({
success: false,
msg: "Unauthorized"
});
const userSchemaPath = path__WEBPACK_IMPORTED_MODULE_2___default().resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH), `user-${user_id}`, "main.json");
const userSchemaPath = path__WEBPACK_IMPORTED_MODULE_3___default().resolve(String(process.env.DSQL_USER_DB_SCHEMA_PATH), `user-${user_id}`, "main.json");
if (!fs.existsSync(userSchemaPath)) throw new Error("User Shcema data file doesn't exist!");
const dbSchema1 = JSON.parse(fs.readFileSync(userSchemaPath, "utf-8"));
res.json({
@ -165,7 +164,7 @@ __webpack_require__.r(__webpack_exports__);
var __webpack_require__ = require("../../webpack-api-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [2163], () => (__webpack_exec__(8026)));
var __webpack_exports__ = __webpack_require__.X(0, [2163,1007], () => (__webpack_exec__(8026)));
module.exports = __webpack_exports__;
})();

View File

@ -1 +1 @@
{"version":1,"files":["../../webpack-api-runtime.js","../../chunks/2163.js","../../../package.json","../../../../package.json","../../../../jsonData/dbSchemas/users/user-10/main.json","../../../../jsonData/dbSchemas/users/user-1/main.json","../../../../jsonData/dbSchemas/users/user-12/main.json","../../../../jsonData/dbSchemas/users/user-13/main.json","../../../../jsonData/dbSchemas/users/user-14/main.json","../../../../jsonData/dbSchemas/users/user-18/main.json","../../../../jsonData/dbSchemas/users/user-11/main.json","../../../../jsonData/dbSchemas/users/user-19/main.json","../../../../jsonData/dbSchemas/users/user-20/main.json","../../../../jsonData/dbSchemas/users/user-22/main.json","../../../../jsonData/dbSchemas/users/user-3/main.json","../../../../jsonData/dbSchemas/users/user-21/main.json","../../../../jsonData/dbSchemas/users/user-4/main.json","../../../../jsonData/dbSchemas/users/user-6/main.json","../../../../jsonData/dbSchemas/users/user-9/main.json"]}
{"version":1,"files":["../../webpack-api-runtime.js","../../chunks/2163.js","../../chunks/1007.js","../../../package.json","../../../../package.json","../../../../jsonData/dbSchemas/users/user-1/main.json","../../../../jsonData/dbSchemas/users/user-12/main.json","../../../../jsonData/dbSchemas/users/user-13/main.json","../../../../jsonData/dbSchemas/users/user-14/main.json","../../../../jsonData/dbSchemas/users/user-11/main.json","../../../../jsonData/dbSchemas/users/user-18/main.json","../../../../jsonData/dbSchemas/users/user-19/main.json","../../../../jsonData/dbSchemas/users/user-10/main.json","../../../../jsonData/dbSchemas/users/user-21/main.json","../../../../jsonData/dbSchemas/users/user-20/main.json","../../../../jsonData/dbSchemas/users/user-22/main.json","../../../../jsonData/dbSchemas/users/user-3/main.json","../../../../jsonData/dbSchemas/users/user-4/main.json","../../../../jsonData/dbSchemas/users/user-6/main.json","../../../../jsonData/dbSchemas/users/user-9/main.json"]}

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/2163.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-transport/index.js","../../../../node_modules/nodemailer/lib/smtp-pool/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-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/xoauth2/index.js","../../../../node_modules/nodemailer/lib/well-known/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/relaxed-body.js","../../../../node_modules/nodemailer/lib/dkim/message-parser.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/qp/index.js","../../../../node_modules/nodemailer/lib/addressparser/index.js","../../../../node_modules/nodemailer/lib/base64/index.js","../../../../package.json"]}
{"version":1,"files":["../../webpack-api-runtime.js","../../chunks/2163.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"]}

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

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