First Commit
This commit is contained in:
commit
09ae0dd3fe
141
.gitignore
vendored
Normal file
141
.gitignore
vendored
Normal file
@ -0,0 +1,141 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
*.pid.lock
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# Bower dependency directory (https://bower.io/)
|
||||
bower_components
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
# TypeScript cache
|
||||
*.tsbuildinfo
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Microbundle cache
|
||||
.rpt2_cache/
|
||||
.rts2_cache_cjs/
|
||||
.rts2_cache_es/
|
||||
.rts2_cache_umd/
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
|
||||
# Next.js build output
|
||||
.next
|
||||
|
||||
# Nuxt.js build / generate output
|
||||
.nuxt
|
||||
|
||||
dist/dev
|
||||
dist/build.js
|
||||
dist/kill*
|
||||
|
||||
# Gatsby files
|
||||
.cache/
|
||||
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||
# public
|
||||
|
||||
# vuepress build output
|
||||
.vuepress/dist
|
||||
|
||||
# Serverless directories
|
||||
.serverless/
|
||||
|
||||
# FuseBox cache
|
||||
.fusebox/
|
||||
|
||||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
# Other folders
|
||||
/dsql-app/node_shell
|
||||
dump/
|
||||
/dsql-app/webhook-server
|
||||
/dsql-app/cache
|
||||
/dsql-app/websocket
|
||||
apiKeys
|
||||
/dsql-app/jsonData/dbSchemas/users
|
||||
/dsql-app/public/tinymce/
|
||||
/dsql-app/public/images/user-images
|
||||
/dsql-app/public/images/user_images/*
|
||||
tmpDbFile.sql
|
||||
/dsql-app/package-lock.json
|
||||
/dsql-app/.dist
|
||||
|
||||
# logs
|
||||
.tmp
|
||||
|
||||
# SHell scrips
|
||||
.sh
|
||||
|
||||
/dsql-app/test
|
||||
|
||||
*flight.sh
|
||||
REDEPLOY
|
||||
*client-cert.pem
|
||||
*client-key.pem
|
||||
|
||||
/dsql-data/*
|
||||
!/dsql-data/static-config
|
||||
!/dsql-data/db-config
|
||||
|
||||
new-user.json
|
||||
update-user.json
|
3
dsql-app/.dockerignore
Normal file
3
dsql-app/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
jsonData/dbSchemas/users
|
||||
.git
|
||||
node_modules
|
1
dsql-app/.local_dist/BUILD_ID
Normal file
1
dsql-app/.local_dist/BUILD_ID
Normal file
@ -0,0 +1 @@
|
||||
vsppBJBDbOVrlLfYIAYwv
|
629
dsql-app/.local_dist/build-manifest.json
Normal file
629
dsql-app/.local_dist/build-manifest.json
Normal file
@ -0,0 +1,629 @@
|
||||
{
|
||||
"polyfillFiles": [
|
||||
"static/chunks/polyfills-c67a75d1b6f99dc8.js"
|
||||
],
|
||||
"devFiles": [],
|
||||
"ampDevFiles": [],
|
||||
"lowPriorityFiles": [
|
||||
"static/vsppBJBDbOVrlLfYIAYwv/_buildManifest.js",
|
||||
"static/vsppBJBDbOVrlLfYIAYwv/_ssgManifest.js"
|
||||
],
|
||||
"rootMainFiles": [],
|
||||
"pages": {
|
||||
"/": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/3935-eea593fa60dfd620.js",
|
||||
"static/css/65efe10b506f9812.css",
|
||||
"static/chunks/pages/index-c2ab88c2111475dd.js"
|
||||
],
|
||||
"/404": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/404-d04d8d42f75218d9.js"
|
||||
],
|
||||
"/500": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/500-7db225cc6b4dea2c.js"
|
||||
],
|
||||
"/_app": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/css/c83c1473ba7928cd.css",
|
||||
"static/chunks/pages/_app-881c4f419bb13dab.js"
|
||||
],
|
||||
"/_error": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/_error-f2496e8b9fdedb89.js"
|
||||
],
|
||||
"/about": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/3935-eea593fa60dfd620.js",
|
||||
"static/chunks/pages/about-76deaa37497c062c.js"
|
||||
],
|
||||
"/admin": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/3181-e628e642754b0f35.js",
|
||||
"static/chunks/5667-9e7b94f8ce529764.js",
|
||||
"static/chunks/pages/admin-81e2733c0d783481.js"
|
||||
],
|
||||
"/admin/[user_id]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/3181-e628e642754b0f35.js",
|
||||
"static/chunks/5667-9e7b94f8ce529764.js",
|
||||
"static/chunks/pages/admin/[user_id]-e36cc5d13c2aa929.js"
|
||||
],
|
||||
"/admin/[user_id]/api-keys": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/pages/admin/[user_id]/api-keys-ad926df40536b287.js"
|
||||
],
|
||||
"/admin/[user_id]/connect": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/pages/admin/[user_id]/connect-8973f4ea35b17adf.js"
|
||||
],
|
||||
"/admin/[user_id]/databases": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/3181-e628e642754b0f35.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases-2ede91ae9bfe108a.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]-35266a148b439139.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/connect": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/connect-6fe32fdcf255139c.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/edit-database": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/8887-5917115e54cd417b.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/edit-database-a60b50dd21c29ae2.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/schema": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/8473-1a1faf3d4d34beef.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/8887-5917115e54cd417b.js",
|
||||
"static/chunks/7200-4c384098300f07db.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/schema-7b76b5c228e273d4.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/shell": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/3795-b7a314b891092ea4.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/shell-cb2910aa3bd12a22.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables-512e452212994e35.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/94726e6d-f5320de901b4c44f.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/9572-f67b1194a0e6ae72.js",
|
||||
"static/chunks/1502-965711da5f99a5c8.js",
|
||||
"static/chunks/8446-a36a685092b53a06.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/4893-e30c16360c86c67d.js",
|
||||
"static/chunks/9788-84477f8e20625988.js",
|
||||
"static/chunks/9035-b11038b244e852f0.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]-0d9a8a82c8b584d3.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/94726e6d-f5320de901b4c44f.js",
|
||||
"static/chunks/9572-f67b1194a0e6ae72.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/4893-e30c16360c86c67d.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/edit-table-4d03eae9a64fe6a7.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/1502-965711da5f99a5c8.js",
|
||||
"static/chunks/8446-a36a685092b53a06.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9788-84477f8e20625988.js",
|
||||
"static/chunks/9035-b11038b244e852f0.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries-3a14a471d2dc7b00.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/1502-965711da5f99a5c8.js",
|
||||
"static/chunks/8446-a36a685092b53a06.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9788-84477f8e20625988.js",
|
||||
"static/chunks/9035-b11038b244e852f0.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/[single_entry]-a15e553c68e1ca23.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/1502-965711da5f99a5c8.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9788-84477f8e20625988.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/entries/add-entry-0ecd226005afec57.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/[single_table]/fields": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/94726e6d-f5320de901b4c44f.js",
|
||||
"static/chunks/9572-f67b1194a0e6ae72.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/4893-e30c16360c86c67d.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/[single_table]/fields-ab993bc50ce1e800.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/tables/add-table": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/94726e6d-f5320de901b4c44f.js",
|
||||
"static/chunks/9572-f67b1194a0e6ae72.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/4893-e30c16360c86c67d.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/tables/add-table-09cebcb0b429f6de.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/users": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/8264-5901ddfeb3cb03ce.js",
|
||||
"static/chunks/5949-b1c68b62cd5dbfee.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/users-0afdf841aae9f757.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/users/[user]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/2870-8e302171aed920f8.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]-f7cdffc0b0c094c6.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/users/[user]/change-password": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/users/[user]/change-password-21db218c89054e75.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/users/add-social-logins": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/2870-8e302171aed920f8.js",
|
||||
"static/chunks/9719-14cc8b76a1deed3c.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-social-logins-3e4d353e902f53ae.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/[single]/users/add-user": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/2870-8e302171aed920f8.js",
|
||||
"static/chunks/9719-14cc8b76a1deed3c.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/[single]/users/add-user-36cc73c2fdadfc25.js"
|
||||
],
|
||||
"/admin/[user_id]/databases/add-database": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/8887-5917115e54cd417b.js",
|
||||
"static/chunks/pages/admin/[user_id]/databases/add-database-e3a5509e700b0e80.js"
|
||||
],
|
||||
"/admin/[user_id]/media": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/4156-a7c42d729046e9bc.js",
|
||||
"static/chunks/pages/admin/[user_id]/media-922d349166d14d18.js"
|
||||
],
|
||||
"/admin/[user_id]/media/[...folder]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/4156-a7c42d729046e9bc.js",
|
||||
"static/chunks/pages/admin/[user_id]/media/[...folder]-773d7108b2688df4.js"
|
||||
],
|
||||
"/admin/[user_id]/schema": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/8473-1a1faf3d4d34beef.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/194-da10d06ed5c55a8f.js",
|
||||
"static/chunks/7200-4c384098300f07db.js",
|
||||
"static/chunks/pages/admin/[user_id]/schema-d264203c84a34e72.js"
|
||||
],
|
||||
"/admin/[user_id]/settings": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/9967-c027b915261dae19.js",
|
||||
"static/chunks/3181-e628e642754b0f35.js",
|
||||
"static/chunks/8374-f28680e628b18bd5.js",
|
||||
"static/chunks/5667-9e7b94f8ce529764.js",
|
||||
"static/chunks/5114-a70f18877cc7f8bc.js",
|
||||
"static/chunks/pages/admin/[user_id]/settings-7a69db8bd70bed09.js"
|
||||
],
|
||||
"/admin/[user_id]/users": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/5949-b1c68b62cd5dbfee.js",
|
||||
"static/chunks/pages/admin/[user_id]/users-8b4f68a1fd38c9b3.js"
|
||||
],
|
||||
"/admin/[user_id]/users/add-user": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/pages/admin/[user_id]/users/add-user-c50fb941e687320a.js"
|
||||
],
|
||||
"/admin/[user_id]/users/databases": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/5949-b1c68b62cd5dbfee.js",
|
||||
"static/chunks/pages/admin/[user_id]/users/databases-ee8daf5a492656f7.js"
|
||||
],
|
||||
"/admin/[user_id]/users/databases/[database]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/5949-b1c68b62cd5dbfee.js",
|
||||
"static/chunks/pages/admin/[user_id]/users/databases/[database]-28052313a8523fc1.js"
|
||||
],
|
||||
"/admin/[user_id]/users/databases/[database]/[user]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/9365-101d5c9d637cef9a.js",
|
||||
"static/chunks/2870-8e302171aed920f8.js",
|
||||
"static/chunks/pages/admin/[user_id]/users/databases/[database]/[user]-1922bb43b40f7cbb.js"
|
||||
],
|
||||
"/blog": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/blog-be6db5dd2389f8c4.js"
|
||||
],
|
||||
"/contact": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/contact-513427eea0db408d.js"
|
||||
],
|
||||
"/create-account": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/8374-f28680e628b18bd5.js",
|
||||
"static/chunks/5114-a70f18877cc7f8bc.js",
|
||||
"static/chunks/pages/create-account-c97da041b7809649.js"
|
||||
],
|
||||
"/docs": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/docs-de42203d30b1880d.js"
|
||||
],
|
||||
"/docs/[page]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/docs/[page]-3602862f9a9542f8.js"
|
||||
],
|
||||
"/docs/[page]/[sub-page]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/docs/[page]/[sub-page]-b3641ae1942e2312.js"
|
||||
],
|
||||
"/email-verification": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/email-verification-2643dd10f1b54d59.js"
|
||||
],
|
||||
"/login": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/8374-f28680e628b18bd5.js",
|
||||
"static/chunks/pages/login-5453e8ec28f13db7.js"
|
||||
],
|
||||
"/logout": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/logout-043abd512c88b3d5.js"
|
||||
],
|
||||
"/pricing": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/pricing-e193043fd895ccd5.js"
|
||||
],
|
||||
"/privacy": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/privacy-6a6371ab4eda9c15.js"
|
||||
],
|
||||
"/redirect": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/redirect-f189e8f0d6ae1482.js"
|
||||
],
|
||||
"/reset-password": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/29107295-4a69275373f23f88.js",
|
||||
"static/chunks/pages/reset-password-a754110c3b3e20fb.js"
|
||||
],
|
||||
"/send-password-reset-link": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/send-password-reset-link-62def12808387ec7.js"
|
||||
],
|
||||
"/su": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/3695-c03f5685e1b79345.js",
|
||||
"static/chunks/pages/su-0929bdda8a625d2f.js"
|
||||
],
|
||||
"/su/backups": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/pages/su/backups-4a9e96c30acc4626.js"
|
||||
],
|
||||
"/su/console": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/ed150ef9-713e0b995a8779c6.js",
|
||||
"static/chunks/493-ec86d71e0fece010.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/css/85fa6dafca566008.css",
|
||||
"static/chunks/pages/su/console-46c6d0d0303e04b9.js"
|
||||
],
|
||||
"/su/docs": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/5622-0b01b71a2de3acf8.js",
|
||||
"static/chunks/pages/su/docs-b48cfe163578ba42.js"
|
||||
],
|
||||
"/su/docs/create-page": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/2452-ed265b549204d978.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/2378-3a97fbefe0f48bac.js",
|
||||
"static/chunks/pages/su/docs/create-page-9be0d237216b00cd.js"
|
||||
],
|
||||
"/su/docs/edit-page": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/2452-ed265b549204d978.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/2378-3a97fbefe0f48bac.js",
|
||||
"static/chunks/pages/su/docs/edit-page-4892c3a874c645b3.js"
|
||||
],
|
||||
"/su/docs/pages": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/5622-0b01b71a2de3acf8.js",
|
||||
"static/chunks/pages/su/docs/pages-5eee4e47bc092505.js"
|
||||
],
|
||||
"/su/docs/pages/[id]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/1179-5a248a7a76a74928.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/2452-ed265b549204d978.js",
|
||||
"static/chunks/7901-841b99c96481dd31.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/2378-3a97fbefe0f48bac.js",
|
||||
"static/chunks/pages/su/docs/pages/[id]-abedeaddb98ac372.js"
|
||||
],
|
||||
"/su/envar": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/pages/su/envar-42f3065b06c71be8.js"
|
||||
],
|
||||
"/su/error-logs": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/3695-c03f5685e1b79345.js",
|
||||
"static/chunks/pages/su/error-logs-5c9265bc2ac8176f.js"
|
||||
],
|
||||
"/su/login": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/su/login-522c70b6952cc65b.js"
|
||||
],
|
||||
"/su/users": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/pages/su/users-464900047fbc0228.js"
|
||||
],
|
||||
"/su/users/[single]": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/4185-b4c9a571bd713be6.js",
|
||||
"static/chunks/8473-1a1faf3d4d34beef.js",
|
||||
"static/chunks/3795-b7a314b891092ea4.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/pages/su/users/[single]-65b1051395f52052.js"
|
||||
],
|
||||
"/su/users/new": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/5313-e7700a25826b1c4d.js",
|
||||
"static/chunks/pages/su/users/new-6cf4001cfdd2ec66.js"
|
||||
],
|
||||
"/terms": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/terms-da8c5b5b6b17b132.js"
|
||||
],
|
||||
"/unsubscribe": [
|
||||
"static/chunks/webpack-309fbebe2073f18c.js",
|
||||
"static/chunks/framework-4ed89e9640adfb9e.js",
|
||||
"static/chunks/main-fd9fe2eccf11c307.js",
|
||||
"static/chunks/pages/unsubscribe-b9517fbaaacff29b.js"
|
||||
]
|
||||
},
|
||||
"ampFirstPages": []
|
||||
}
|
7
dsql-app/.local_dist/cache/config.json
vendored
Normal file
7
dsql-app/.local_dist/cache/config.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"telemetry": {
|
||||
"notifiedAt": "1730731713743",
|
||||
"anonymousId": "ea369d7f933d2d9fe75cda12feeac792a2b65ee0f3d9ef16d88da00403f387b5",
|
||||
"salt": "79cdffc555380403b2af7e5f967075d9"
|
||||
}
|
||||
}
|
1
dsql-app/.local_dist/cache/next-server.js.nft.json
vendored
Normal file
1
dsql-app/.local_dist/cache/next-server.js.nft.json
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
dsql-app/.local_dist/cache/webpack/client-development-fallback/0.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development-fallback/0.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development-fallback/index.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development-fallback/index.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/0.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/0.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/1.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/1.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/10.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/10.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/11.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/11.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/12.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/12.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/13.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/13.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/14.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/14.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/15.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/15.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/16.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/16.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/17.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/17.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/18.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/18.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/19.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/19.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/2.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/2.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/20.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/20.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/21.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/21.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/3.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/3.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/4.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/4.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/5.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/5.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/6.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/6.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/7.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/7.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/8.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/8.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/9.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/9.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/index.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/index.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-development/index.pack.old
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-development/index.pack.old
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/0.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/0.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/1.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/1.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/2.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/2.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/3.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/3.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/4.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/4.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/5.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/5.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/6.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/6.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/7.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/7.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/index.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/index.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/client-production/index.pack.old
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/client-production/index.pack.old
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/0.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/0.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/1.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/1.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/10.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/10.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/11.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/11.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/12.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/12.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/13.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/13.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/14.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/14.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/15.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/15.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/16.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/16.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/17.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/17.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/18.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/18.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/19.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/19.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/2.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/2.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/20.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/20.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/21.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/21.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/22.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/22.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/23.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/23.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/24.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/24.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/25.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/25.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/26.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/26.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/27.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/27.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/3.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/3.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/4.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/4.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/5.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/5.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/6.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/6.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/7.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/7.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/8.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/8.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/9.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/9.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/index.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/index.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-development/index.pack.old
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-development/index.pack.old
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/0.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/0.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/1.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/1.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/2.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/2.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/3.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/3.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/4.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/4.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/5.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/5.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/6.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/6.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/7.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/7.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/index.pack
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/index.pack
vendored
Normal file
Binary file not shown.
BIN
dsql-app/.local_dist/cache/webpack/server-production/index.pack.old
vendored
Normal file
BIN
dsql-app/.local_dist/cache/webpack/server-production/index.pack.old
vendored
Normal file
Binary file not shown.
1
dsql-app/.local_dist/export-marker.json
Normal file
1
dsql-app/.local_dist/export-marker.json
Normal file
@ -0,0 +1 @@
|
||||
{"version":1,"hasExportPathMap":false,"exportTrailingSlash":false,"isNextImageImported":false}
|
1
dsql-app/.local_dist/images-manifest.json
Normal file
1
dsql-app/.local_dist/images-manifest.json
Normal file
@ -0,0 +1 @@
|
||||
{"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]}}
|
1
dsql-app/.local_dist/next-server.js.nft.json
Normal file
1
dsql-app/.local_dist/next-server.js.nft.json
Normal file
File diff suppressed because one or more lines are too long
1
dsql-app/.local_dist/package.json
Normal file
1
dsql-app/.local_dist/package.json
Normal file
@ -0,0 +1 @@
|
||||
{"type": "commonjs"}
|
1
dsql-app/.local_dist/prerender-manifest.json
Normal file
1
dsql-app/.local_dist/prerender-manifest.json
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"routes":{"/docs/gui-reference/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/gui-reference/getting-started.json"},"/docs/gui-reference/upload-media":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/gui-reference/upload-media.json"},"/docs/api-reference/get":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/api-reference/get.json"},"/docs/api-reference/post":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/api-reference/post.json"},"/docs/database-reference/data-types":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/database-reference/data-types.json"},"/docs/database-reference/querying-data":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]/[sub-page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/database-reference/querying-data.json"},"/docs/quick-start":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/quick-start.json"},"/docs/gui-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/gui-reference.json"},"/docs/api-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/api-reference.json"},"/docs/getting-started":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/getting-started.json"},"/docs/database-reference":{"initialRevalidateSeconds":false,"srcRoute":"/docs/[page]","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/database-reference.json"}},"dynamicRoutes":{"/docs/[page]/[sub-page]":{"routeRegex":"^/docs/([^/]+?)/([^/]+?)(?:/)?$","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/[page]/[sub-page].json","fallback":false,"dataRouteRegex":"^/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/([^/]+?)/([^/]+?)\\.json$"},"/docs/[page]":{"routeRegex":"^/docs/([^/]+?)(?:/)?$","dataRoute":"/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/[page].json","fallback":false,"dataRouteRegex":"^/_next/data/vsppBJBDbOVrlLfYIAYwv/docs/([^/]+?)\\.json$"}},"notFoundRoutes":[],"preview":{"previewModeId":"9c59e033bcb45d11654ebd76b3799dc6","previewModeSigningKey":"29052237ee0b07d7aadc4b19d504ad089f772e7bf8b39bd18c4179b9179c0dac","previewModeEncryptionKey":"15c7d14816ae70c1971507cab9f741ec628262d518f4ddb4fc6bab3ce74d18d5"}}
|
1
dsql-app/.local_dist/react-loadable-manifest.json
Normal file
1
dsql-app/.local_dist/react-loadable-manifest.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
1
dsql-app/.local_dist/required-server-files.json
Normal file
1
dsql-app/.local_dist/required-server-files.json
Normal file
@ -0,0 +1 @@
|
||||
{"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/**/*"]}
|
1
dsql-app/.local_dist/routes-manifest.json
Normal file
1
dsql-app/.local_dist/routes-manifest.json
Normal file
File diff suppressed because one or more lines are too long
39
dsql-app/.local_dist/server/chunks/1007.js
Normal file
39
dsql-app/.local_dist/server/chunks/1007.js
Normal file
@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
exports.id = 1007;
|
||||
exports.ids = [1007];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1007:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
|
||||
const fs = __webpack_require__(7147);
|
||||
const decrypt = __webpack_require__(5425);
|
||||
/** @type {import("@/package-shared/types").CheckApiCredentialsFn} */ const grabApiCred = ({ key , database , table })=>{
|
||||
try {
|
||||
const allowedKeysPath = process.env.DSQL_API_KEYS_PATH;
|
||||
if (!allowedKeysPath) throw new Error("process.env.DSQL_API_KEYS_PATH variable not found");
|
||||
const ApiJSON = decrypt(key);
|
||||
/** @type {import("@/package-shared/types").ApiKeyObject} */ const ApiObject = JSON.parse(ApiJSON || "");
|
||||
const isApiKeyValid = fs.existsSync(`${allowedKeysPath}/${ApiObject.sign}`);
|
||||
if (!isApiKeyValid) return null;
|
||||
if (!ApiObject.target_database) return ApiObject;
|
||||
if (!database && ApiObject.target_database) return null;
|
||||
const isDatabaseAllowed = ApiObject.target_database?.split(",").includes(String(database));
|
||||
if (isDatabaseAllowed && !ApiObject.target_table) return ApiObject;
|
||||
if (isDatabaseAllowed && !table && ApiObject.target_table) return null;
|
||||
const isTableAllowed = ApiObject.target_table?.split(",").includes(String(table));
|
||||
if (isTableAllowed) return ApiObject;
|
||||
return null;
|
||||
} catch (error) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
module.exports = grabApiCred;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
182
dsql-app/.local_dist/server/chunks/1206.js
Normal file
182
dsql-app/.local_dist/server/chunks/1206.js
Normal file
@ -0,0 +1,182 @@
|
||||
"use strict";
|
||||
exports.id = 1206;
|
||||
exports.ids = [1206];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 7410:
|
||||
/***/ ((module) => {
|
||||
|
||||
// @ts-check
|
||||
/**
|
||||
* Regular expression to match default fields
|
||||
*
|
||||
* @description Regular expression to match default fields
|
||||
*/
|
||||
const defaultFieldsRegexp = /^id$|^uuid$|^date_created$|^date_created_code$|^date_created_timestamp$|^date_updated$|^date_updated_code$|^date_updated_timestamp$/;
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
module.exports = defaultFieldsRegexp;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7432:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
|
||||
const decrypt = __webpack_require__(5304);
|
||||
const defaultFieldsRegexp = __webpack_require__(7410);
|
||||
/**
|
||||
* Parse Database results
|
||||
* ==============================================================================
|
||||
* @description this function takes a database results array gotten from a DB handler
|
||||
* function, decrypts encrypted fields, and returns an updated array with no encrypted
|
||||
* fields
|
||||
*
|
||||
* @param {object} params - Single object params
|
||||
* @param {any[]} params.unparsedResults - Array of data objects containing Fields(keys)
|
||||
* and corresponding values of the fields(values)
|
||||
* @param {import("../../types").DSQL_TableSchemaType} [params.tableSchema] - Table schema
|
||||
* @returns {Promise<object[]|null>}
|
||||
*/ module.exports = async function parseDbResults({ unparsedResults , tableSchema , }) {
|
||||
/**
|
||||
* Declare variables
|
||||
*
|
||||
* @description Declare "results" variable
|
||||
*/ let parsedResults = [];
|
||||
try {
|
||||
/**
|
||||
* Declare variables
|
||||
*
|
||||
* @description Declare "results" variable
|
||||
*/ for(let pr = 0; pr < unparsedResults.length; pr++){
|
||||
let result = unparsedResults[pr];
|
||||
let resultFieldNames = Object.keys(result);
|
||||
for(let i = 0; i < resultFieldNames.length; i++){
|
||||
const resultFieldName = resultFieldNames[i];
|
||||
let resultFieldSchema = tableSchema?.fields[i];
|
||||
if (resultFieldName?.match(defaultFieldsRegexp)) {
|
||||
continue;
|
||||
}
|
||||
let value = result[resultFieldName];
|
||||
if (typeof value !== "number" && !value) {
|
||||
continue;
|
||||
}
|
||||
if (resultFieldSchema?.encrypted) {
|
||||
if (value?.match(/./)) {
|
||||
result[resultFieldName] = decrypt(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
parsedResults.push(result);
|
||||
}
|
||||
/**
|
||||
* Declare variables
|
||||
*
|
||||
* @description Declare "results" variable
|
||||
*/ return parsedResults;
|
||||
} catch (/** @type {any} */ error) {
|
||||
console.log("ERROR in parseDbResults Function =>", error.message);
|
||||
return unparsedResults;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1206:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
|
||||
const fs = __webpack_require__(7147);
|
||||
const parseDbResults = __webpack_require__(7432);
|
||||
const serverError = __webpack_require__(7023);
|
||||
const DB_HANDLER = __webpack_require__(9395);
|
||||
const DSQL_USER_DB_HANDLER = __webpack_require__(8682);
|
||||
/**
|
||||
* DB handler for specific database
|
||||
* ==============================================================================
|
||||
* @async
|
||||
* @param {object} params - Single object params
|
||||
* @param {string} params.queryString - SQL string
|
||||
* @param {*[]} [params.queryValuesArray] - Values Array
|
||||
* @param {string} [params.database] - Database name
|
||||
* @param {import("../../types").DSQL_TableSchemaType} [params.tableSchema] - Table schema
|
||||
* @returns {Promise<any>}
|
||||
*/ module.exports = async function varDatabaseDbHandler({ queryString , queryValuesArray , database , tableSchema , }) {
|
||||
/**
|
||||
* Declare variables
|
||||
*
|
||||
* @description Declare "results" variable
|
||||
*/ const isMaster = database?.match(/^datasquirel$/) ? true : false;
|
||||
/** @type {any} */ const FINAL_DB_HANDLER = isMaster ? DB_HANDLER : DSQL_USER_DB_HANDLER;
|
||||
let results;
|
||||
/**
|
||||
* Fetch from db
|
||||
*
|
||||
* @description Fetch data from db if no cache
|
||||
*/ try {
|
||||
if (queryString && queryValuesArray && Array.isArray(queryValuesArray) && queryValuesArray[0]) {
|
||||
results = isMaster ? await FINAL_DB_HANDLER(queryString, queryValuesArray) : await FINAL_DB_HANDLER({
|
||||
paradigm: "Full Access",
|
||||
database,
|
||||
queryString,
|
||||
queryValues: queryValuesArray
|
||||
});
|
||||
} else {
|
||||
results = isMaster ? await FINAL_DB_HANDLER(queryString) : await FINAL_DB_HANDLER({
|
||||
paradigm: "Full Access",
|
||||
database,
|
||||
queryString
|
||||
});
|
||||
}
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} catch (/** @type {any} */ error) {
|
||||
serverError({
|
||||
component: "varDatabaseDbHandler/lines-29-32",
|
||||
message: error.message
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Return results
|
||||
*
|
||||
* @description Return results add to cache if "req" param is passed
|
||||
*/ if (results && tableSchema) {
|
||||
try {
|
||||
const unparsedResults = results;
|
||||
const parsedResults = await parseDbResults({
|
||||
unparsedResults: unparsedResults,
|
||||
tableSchema: tableSchema
|
||||
});
|
||||
return parsedResults;
|
||||
} catch (/** @type {any} */ error1) {
|
||||
console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>", database, error1);
|
||||
serverError({
|
||||
component: "varDatabaseDbHandler/lines-52-53",
|
||||
message: error1.message
|
||||
});
|
||||
return null;
|
||||
}
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} else if (results) {
|
||||
return results;
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
99
dsql-app/.local_dist/server/chunks/1311.js
Normal file
99
dsql-app/.local_dist/server/chunks/1311.js
Normal file
@ -0,0 +1,99 @@
|
||||
"use strict";
|
||||
exports.id = 1311;
|
||||
exports.ids = [1311];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1311:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
|
||||
const fs = __webpack_require__(7147);
|
||||
const parseDbResults = __webpack_require__(8326);
|
||||
const serverError = __webpack_require__(3017);
|
||||
const DB_HANDLER = __webpack_require__(2224);
|
||||
const DSQL_USER_DB_HANDLER = __webpack_require__(3403);
|
||||
/**
|
||||
* DB handler for specific database
|
||||
* ==============================================================================
|
||||
* @async
|
||||
* @param {object} params - Single object params
|
||||
* @param {string} params.queryString - SQL string
|
||||
* @param {*[]} [params.queryValuesArray] - Values Array
|
||||
* @param {string} [params.database] - Database name
|
||||
* @param {import("../../types").DSQL_TableSchemaType} [params.tableSchema] - Table schema
|
||||
* @returns {Promise<any>}
|
||||
*/ module.exports = async function varDatabaseDbHandler({ queryString , queryValuesArray , database , tableSchema , }) {
|
||||
/**
|
||||
* Declare variables
|
||||
*
|
||||
* @description Declare "results" variable
|
||||
*/ const isMaster = database?.match(/^datasquirel$/) ? true : false;
|
||||
/** @type {any} */ const FINAL_DB_HANDLER = isMaster ? DB_HANDLER : DSQL_USER_DB_HANDLER;
|
||||
let results;
|
||||
/**
|
||||
* Fetch from db
|
||||
*
|
||||
* @description Fetch data from db if no cache
|
||||
*/ try {
|
||||
if (queryString && queryValuesArray && Array.isArray(queryValuesArray) && queryValuesArray[0]) {
|
||||
results = isMaster ? await FINAL_DB_HANDLER(queryString, queryValuesArray) : await FINAL_DB_HANDLER({
|
||||
paradigm: "Full Access",
|
||||
database,
|
||||
queryString,
|
||||
queryValues: queryValuesArray
|
||||
});
|
||||
} else {
|
||||
results = isMaster ? await FINAL_DB_HANDLER(queryString) : await FINAL_DB_HANDLER({
|
||||
paradigm: "Full Access",
|
||||
database,
|
||||
queryString
|
||||
});
|
||||
}
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} catch (/** @type {any} */ error) {
|
||||
serverError({
|
||||
component: "varDatabaseDbHandler/lines-29-32",
|
||||
message: error.message
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Return results
|
||||
*
|
||||
* @description Return results add to cache if "req" param is passed
|
||||
*/ if (results && tableSchema) {
|
||||
try {
|
||||
const unparsedResults = results;
|
||||
const parsedResults = await parseDbResults({
|
||||
unparsedResults: unparsedResults,
|
||||
tableSchema: tableSchema
|
||||
});
|
||||
return parsedResults;
|
||||
} catch (/** @type {any} */ error1) {
|
||||
console.log("\x1b[31mvarDatabaseDbHandler ERROR\x1b[0m =>", database, error1);
|
||||
serverError({
|
||||
component: "varDatabaseDbHandler/lines-52-53",
|
||||
message: error1.message
|
||||
});
|
||||
return null;
|
||||
}
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} else if (results) {
|
||||
return results;
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
158
dsql-app/.local_dist/server/chunks/1336.js
Normal file
158
dsql-app/.local_dist/server/chunks/1336.js
Normal file
@ -0,0 +1,158 @@
|
||||
"use strict";
|
||||
exports.id = 1336;
|
||||
exports.ids = [1336];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1336:
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "Z": () => (/* binding */ UserCard)
|
||||
/* 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__);
|
||||
// @ts-check
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Main Component { Functional }
|
||||
* ==============================================================================
|
||||
* @param {object} props - Server props
|
||||
* @param {import("@/package-shared/types").UserType} props.userObject
|
||||
* @param {boolean} [props.userPage]
|
||||
*/ function UserCard({ userObject , userPage }) {
|
||||
/**
|
||||
* Get Contexts
|
||||
*
|
||||
* @abstract { React.useContext }
|
||||
*/ ////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
/**
|
||||
* Javascript Variables
|
||||
*
|
||||
* @abstract Non hook variables and functions
|
||||
*/ const userTitles = Object.keys(userObject);
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
/**
|
||||
* React Hooks
|
||||
*
|
||||
* @abstract { useState, useEffect, useRef, etc ... }
|
||||
*/ const [loading, setLoading] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);
|
||||
const [refresh, setRefresh] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(0);
|
||||
const [collapsed, setCollapsed] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(userPage ? false : true);
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
/**
|
||||
* Function Return
|
||||
*
|
||||
* @description Main Function Return
|
||||
*/ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "card col green w-full overflow-hidden" + (collapsed ? userPage ? " h-[100px]" : " h-[85px]" : " "),
|
||||
children: [
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "items-center w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("img", {
|
||||
src: userObject["image_thumbnail"],
|
||||
alt: "",
|
||||
className: "rounded-full object-cover" + (userPage ? " w-16 h-16" : " w-12 h-12")
|
||||
}),
|
||||
!userPage && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("h3", {
|
||||
className: "m-0 text-xl",
|
||||
children: [
|
||||
userObject["first_name"],
|
||||
" ",
|
||||
userObject["last_name"],
|
||||
" "
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "ml-auto",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
className: "outlined gray small-text",
|
||||
onClick: (e)=>{
|
||||
if (collapsed) {
|
||||
setCollapsed(false);
|
||||
} else {
|
||||
setCollapsed(true);
|
||||
}
|
||||
},
|
||||
children: collapsed ? "More Details" : "Collapse"
|
||||
}),
|
||||
!userPage && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("a", {
|
||||
href: `/su/users/${userObject.id}`,
|
||||
className: "button outlined gray small-text",
|
||||
children: "View User"
|
||||
})
|
||||
]
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
|
||||
className: "card no-hover col w-full light-gray-bg",
|
||||
children: userTitles.map((userTitle, utIndex)=>{
|
||||
return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
|
||||
children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
|
||||
style: {
|
||||
wordBreak: "break-all"
|
||||
},
|
||||
children: [
|
||||
userTitle,
|
||||
":",
|
||||
" ",
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("b", {
|
||||
children: // @ts-ignore
|
||||
userObject[userTitle]
|
||||
})
|
||||
]
|
||||
})
|
||||
}),
|
||||
utIndex < userTitles.length - 1 && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("hr", {})
|
||||
]
|
||||
}, utIndex + 1);
|
||||
})
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
className: "outlined gray small-text w-full",
|
||||
onClick: (e)=>{
|
||||
setCollapsed(true);
|
||||
},
|
||||
children: "Collapse"
|
||||
})
|
||||
]
|
||||
});
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////
|
||||
} //////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
99
dsql-app/.local_dist/server/chunks/1352.js
Normal file
99
dsql-app/.local_dist/server/chunks/1352.js
Normal file
@ -0,0 +1,99 @@
|
||||
"use strict";
|
||||
exports.id = 1352;
|
||||
exports.ids = [1352];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1352:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
const http = __webpack_require__(3685);
|
||||
const decrypt = __webpack_require__(5425);
|
||||
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
|
||||
* @typedef {object} grabDelegatedUserFromCookieReturn
|
||||
* @property {number} dbUserId
|
||||
* @property {number} [dbUserId]
|
||||
* @property {number} [rootUserId]
|
||||
* @property {string} [rootUserName]
|
||||
* @property {string} [rootUserEmail]
|
||||
* @property {string} [rootUserImage]
|
||||
* @property {string} [databaseFullName]
|
||||
* @property {string} [databaseSlug]
|
||||
* @property {string[]} [allowedTables]
|
||||
* @property {string} [priviledges]
|
||||
* @property {string} [database]
|
||||
* @property {boolean} [delegated]
|
||||
*/ /**
|
||||
* @param {object} params - user id
|
||||
* @param {import("next").NextApiRequest | http.IncomingMessage & { cookies: Partial<{ [key: string]: string; }>}} params.request - HTTPS request object
|
||||
* @param {string | string[]} params.databaseSlug - Database name slug
|
||||
* @param {{ id: number, first_name: string, last_name: string }} params.user
|
||||
* @param {any} params.query - query params
|
||||
*
|
||||
* @returns {Promise<grabDelegatedUserFromCookieReturn | null>} new user auth object payload
|
||||
*/ module.exports = async function grabDelegatedUserFromCookie({ request , databaseSlug , user , query , }) {
|
||||
try {
|
||||
/**
|
||||
* Fetch user
|
||||
*
|
||||
* @description Fetch user from db
|
||||
*/ let dbUserId = user.id;
|
||||
let delegatedUserObject = null;
|
||||
if (!query?.delegated) return {
|
||||
dbUserId
|
||||
};
|
||||
const rootUserId = query.dbUserId;
|
||||
const dbFullName = `${process.env.DSQL_USER_DB_PREFIX}${rootUserId}_${databaseSlug}`;
|
||||
const tokenName = `${process.env.DSQL_USER_DELEGATED_DB_COOKIE_PREFIX}${dbFullName}`;
|
||||
try {
|
||||
if (!request.cookies?.[tokenName]) throw new Error("Cookie not present");
|
||||
// @ts-ignore
|
||||
const decryptedToken = decrypt(request.cookies[tokenName]);
|
||||
if (!decryptedToken) throw new Error("Invalid Token");
|
||||
delegatedUserObject = JSON.parse(decryptedToken);
|
||||
if (delegatedUserObject.databaseSlug === databaseSlug) {
|
||||
dbUserId = delegatedUserObject.rootUserId;
|
||||
return {
|
||||
dbUserId: dbUserId,
|
||||
rootUserId: delegatedUserObject.rootUserId,
|
||||
rootUserName: delegatedUserObject.rootUserName,
|
||||
rootUserEmail: delegatedUserObject.rootUserEmail,
|
||||
rootUserImage: delegatedUserObject.rootUserImage,
|
||||
databaseFullName: delegatedUserObject.databaseFullName,
|
||||
databaseSlug: delegatedUserObject.databaseSlug,
|
||||
allowedTables: delegatedUserObject.allowedTables,
|
||||
priviledges: delegatedUserObject.priviledges,
|
||||
database: delegatedUserObject.databaseSlug,
|
||||
delegated: true
|
||||
};
|
||||
}
|
||||
} catch (error) {
|
||||
// serverError({
|
||||
// component: "grabDelegatedUserFromCookie",
|
||||
// message: error.message,
|
||||
// user: user,
|
||||
// });
|
||||
}
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
return {
|
||||
dbUserId
|
||||
};
|
||||
} catch (error1) {
|
||||
return null;
|
||||
}
|
||||
}; ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
124
dsql-app/.local_dist/server/chunks/1500.js
Normal file
124
dsql-app/.local_dist/server/chunks/1500.js
Normal file
@ -0,0 +1,124 @@
|
||||
"use strict";
|
||||
exports.id = 1500;
|
||||
exports.ids = [1500];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 5012:
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "Z": () => (/* binding */ DeleteDatabaseConfirmationPopup)
|
||||
/* 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 _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6729);
|
||||
/* harmony import */ var _general_GeneralPopup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5472);
|
||||
/* harmony import */ var _general_LoadingBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5264);
|
||||
// @ts-check
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
|
||||
* ==============================================================================
|
||||
* Main Component { Functional }
|
||||
* ==============================================================================
|
||||
* @param {Object} props - Server props
|
||||
* @param {DSQL_MYSQL_user_databases_Type | undefined} props.targetDatabase
|
||||
*/ function DeleteDatabaseConfirmationPopup({ targetDatabase }) {
|
||||
/**
|
||||
* Get Contexts
|
||||
*
|
||||
* @abstract { React.useContext }
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Javascript Variables
|
||||
*
|
||||
* @abstract Non hook variables and functions
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* React Hooks
|
||||
*
|
||||
* @abstract { useState, useEffect, useRef, etc ... }
|
||||
*/ const [loading, setLoading] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Function Return
|
||||
*
|
||||
* @abstract Main Function Return
|
||||
*/ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_general_GeneralPopup__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, {
|
||||
title: "delete-database-confirmation",
|
||||
children: [
|
||||
loading && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
|
||||
width: "20px"
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("h4", {
|
||||
className: "m-0",
|
||||
children: [
|
||||
"Delete '",
|
||||
targetDatabase?.db_name ? targetDatabase.db_name : "This Database",
|
||||
"' database?"
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
className: "outlined" + (loading ? " pointer-events-none opacity-40" : ""),
|
||||
onClick: (e)=>{
|
||||
if (!targetDatabase) {
|
||||
alert("No Target Database Selected!");
|
||||
return;
|
||||
}
|
||||
setLoading(true);
|
||||
if (window.confirm(`Note that you will loose all data in this database. Continue?`)) {
|
||||
(0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)("/api/deleteUserDatabase", {
|
||||
method: "post",
|
||||
body: targetDatabase
|
||||
}, true).then((res)=>{
|
||||
if (res.success) {
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
setLoading(false);
|
||||
}
|
||||
},
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
||||
children: "Yes"
|
||||
})
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
onClick: (e)=>{
|
||||
(0,_general_GeneralPopup__WEBPACK_IMPORTED_MODULE_2__/* .closePopup */ .j4)();
|
||||
},
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
||||
children: "Cancel"
|
||||
})
|
||||
})
|
||||
]
|
||||
})
|
||||
]
|
||||
});
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
37
dsql-app/.local_dist/server/chunks/1503.js
Normal file
37
dsql-app/.local_dist/server/chunks/1503.js
Normal file
@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
exports.id = 1503;
|
||||
exports.ids = [1503];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1503:
|
||||
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
||||
|
||||
// @ts-check
|
||||
|
||||
const { IncomingMessage } = __webpack_require__(3685);
|
||||
const decrypt = __webpack_require__(5304);
|
||||
/**
|
||||
* @async
|
||||
* @param {import("next").NextApiRequest | IncomingMessage & { cookies: Partial<{ [key: string]: string; }>} } req - https request object
|
||||
*
|
||||
* @returns {Promise<({ email: string, password: string, authKey: string, logged_in_status: boolean, date: number } | null)>}
|
||||
*/ module.exports = async function(req) {
|
||||
/** ********************* Check for existence of required cookie */ if (!req.cookies?.datasquirelSuAdminUserAuthKey) {
|
||||
return null;
|
||||
}
|
||||
/** ********************* Grab the payload */ let userPayload = decrypt(req.cookies.datasquirelSuAdminUserAuthKey);
|
||||
/** ********************* Return if no payload */ if (!userPayload) return null;
|
||||
/** ********************* Parse the payload */ let userObject = JSON.parse(userPayload);
|
||||
if (userObject.password !== process.env.DSQL_USER_KEY) return null;
|
||||
if (userObject.authKey !== process.env.DSQL_SPECIAL_KEY) return null;
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/** ********************* return user object */ return userObject;
|
||||
};
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
122
dsql-app/.local_dist/server/chunks/1674.js
Normal file
122
dsql-app/.local_dist/server/chunks/1674.js
Normal file
@ -0,0 +1,122 @@
|
||||
"use strict";
|
||||
exports.id = 1674;
|
||||
exports.ids = [1674];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1674:
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "Z": () => (/* binding */ DeleteTableConfirmationPopup)
|
||||
/* 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 _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6729);
|
||||
/* harmony import */ var _general_Breadcrumbs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(424);
|
||||
/* harmony import */ var _general_GeneralPopup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5472);
|
||||
/* harmony import */ var _components_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5264);
|
||||
// @ts-check
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
|
||||
* ==============================================================================
|
||||
* Main Component { Functional }
|
||||
* ==============================================================================
|
||||
* @param {Object} props - Server props
|
||||
* @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} props.database
|
||||
* @param {import("@/package-shared/types").MYSQL_user_database_tables_table_def | null} [props.targetTable]
|
||||
*/ function DeleteTableConfirmationPopup({ targetTable , database , }) {
|
||||
/**
|
||||
* Get Contexts
|
||||
*
|
||||
* @abstract { React.useContext }
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Javascript Variables
|
||||
*
|
||||
* @abstract Non hook variables and functions
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* React Hooks
|
||||
*
|
||||
* @abstract { useState, useEffect, useRef, etc ... }
|
||||
*/ const [loading, setLoading] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Function Return
|
||||
*
|
||||
* @abstract Main Function Return
|
||||
*/ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_general_GeneralPopup__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP, {
|
||||
title: "delete-table-confirmation",
|
||||
children: [
|
||||
loading && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
width: "20px"
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("h4", {
|
||||
className: "m-0",
|
||||
children: [
|
||||
"Delete '",
|
||||
targetTable?.table_name ? targetTable.table_name : "This Database",
|
||||
"' Table?"
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
className: "outlined" + (loading ? " pointer-events-none opacity-40" : ""),
|
||||
onClick: (e)=>{
|
||||
setLoading(true);
|
||||
(0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)("/api/deleteUserTable", {
|
||||
method: "post",
|
||||
body: {
|
||||
database: database,
|
||||
table: targetTable
|
||||
}
|
||||
}, true).then((res)=>{
|
||||
if (res.success) {
|
||||
window.location.reload();
|
||||
}
|
||||
});
|
||||
},
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
||||
children: "Yes"
|
||||
})
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
onClick: (e)=>{
|
||||
(0,_general_GeneralPopup__WEBPACK_IMPORTED_MODULE_3__/* .closePopup */ .j4)();
|
||||
},
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
|
||||
children: "Cancel"
|
||||
})
|
||||
})
|
||||
]
|
||||
})
|
||||
]
|
||||
});
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
46
dsql-app/.local_dist/server/chunks/1781.js
Normal file
46
dsql-app/.local_dist/server/chunks/1781.js
Normal file
@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
exports.id = 1781;
|
||||
exports.ids = [1781];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1781:
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "Z": () => (/* binding */ BackButton)
|
||||
/* 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 _mui_icons_material_ArrowBackIosRounded__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3257);
|
||||
/* harmony import */ var _mui_icons_material_ArrowBackIosRounded__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_mui_icons_material_ArrowBackIosRounded__WEBPACK_IMPORTED_MODULE_2__);
|
||||
// @ts-check
|
||||
/**
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
|
||||
|
||||
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
|
||||
* Main Component { Functional }
|
||||
* ==============================================================================
|
||||
*/ function BackButton() {
|
||||
return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
|
||||
className: "outlined gray p-2 w-9 h-9 flex items-center justify-center rounded-full",
|
||||
onClick: (e)=>{
|
||||
window.history.back();
|
||||
},
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((_mui_icons_material_ArrowBackIosRounded__WEBPACK_IMPORTED_MODULE_2___default()), {
|
||||
color: "inherit",
|
||||
className: "opacity-50 text-black",
|
||||
fontSize: "small"
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
309
dsql-app/.local_dist/server/chunks/1926.js
Normal file
309
dsql-app/.local_dist/server/chunks/1926.js
Normal file
@ -0,0 +1,309 @@
|
||||
"use strict";
|
||||
exports.id = 1926;
|
||||
exports.ids = [1926];
|
||||
exports.modules = {
|
||||
|
||||
/***/ 1926:
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "Z": () => (/* binding */ DbCreateDbUserForm)
|
||||
/* 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 _functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6729);
|
||||
/* harmony import */ var _general_FormAlertBlock__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7037);
|
||||
/* harmony import */ var _general_LoadingBlock__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5264);
|
||||
/* harmony import */ var _form_FormInput__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7901);
|
||||
/* harmony import */ var _UserImage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2733);
|
||||
// @ts-check
|
||||
/**
|
||||
* ==============================================================================
|
||||
* Imports
|
||||
* ==============================================================================
|
||||
*/
|
||||
|
||||
////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////
|
||||
/** @type {any} */ let timeout;
|
||||
/** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /**
|
||||
* ==============================================================================
|
||||
* Main Component { Functional }
|
||||
* ==============================================================================
|
||||
* @param {Object} props - Server props
|
||||
* @param {string} props.targetDb
|
||||
* @param {import("@/package-shared/types").DSQL_MYSQL_user_databases_Type} [props.database]
|
||||
* @param {import("@/package-shared/types").UserType} [props.user]
|
||||
* @param {any} props.userImage
|
||||
* @param {React.Dispatch<React.SetStateAction<any>>} props.setUserImage
|
||||
*/ function DbCreateDbUserForm({ targetDb , database , user , userImage , setUserImage , }) {
|
||||
/**
|
||||
* Get Contexts
|
||||
*
|
||||
* @abstract { React.useContext }
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Javascript Variables
|
||||
*
|
||||
* @abstract Non hook variables and functions
|
||||
*/ ////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* React Hooks
|
||||
*
|
||||
* @abstract { useState, useEffect, useRef, etc ... }
|
||||
*/ /** @type {[ alert: string | null, setAlert: React.Dispatch<React.SetStateAction<string | null>> ]} */ // @ts-ignore
|
||||
const [alert, setAlert] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(null);
|
||||
const [loading, setLoading] = react__WEBPACK_IMPORTED_MODULE_1___default().useState(false);
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
/**
|
||||
* Function Return
|
||||
*
|
||||
* @abstract Main Function Return
|
||||
*/ return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), {
|
||||
children: [
|
||||
loading && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_general_LoadingBlock__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {}),
|
||||
alert && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_general_FormAlertBlock__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
|
||||
message: alert
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h3", {
|
||||
className: "m-0 text-lg font-semibold mb-1 text-slate-600 mt-4",
|
||||
children: "User information"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "First Name",
|
||||
inputType: "text",
|
||||
name: "first_name",
|
||||
autoComplete: "given-name",
|
||||
onInputHandler: (e)=>{
|
||||
/** @type {HTMLInputElement} */ // @ts-ignore
|
||||
const inputEl = e.target;
|
||||
if (inputEl.value.match(/./)) {
|
||||
inputEl.classList.remove("warning");
|
||||
setAlert(null);
|
||||
} else {
|
||||
inputEl.classList.add("warning");
|
||||
}
|
||||
},
|
||||
required: true
|
||||
})
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("label", {
|
||||
htmlFor: "last_name",
|
||||
children: "Last Name"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("input", {
|
||||
type: "text",
|
||||
name: "last_name",
|
||||
id: "last_name",
|
||||
placeholder: "Last Name",
|
||||
autoComplete: "family-name",
|
||||
onInput: (e)=>{
|
||||
/** @type {HTMLInputElement} */ // @ts-ignore
|
||||
const inputEl = e.target;
|
||||
if (inputEl.value.match(/./)) {
|
||||
inputEl.classList.remove("warning");
|
||||
setAlert(null);
|
||||
} else {
|
||||
inputEl.classList.add("warning");
|
||||
}
|
||||
},
|
||||
required: true
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("label", {
|
||||
htmlFor: "username",
|
||||
children: "Username"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("input", {
|
||||
type: "text",
|
||||
name: "username",
|
||||
id: "username",
|
||||
placeholder: "Username",
|
||||
autoComplete: "username",
|
||||
onInput: (e)=>{
|
||||
/** @type {HTMLInputElement} */ // @ts-ignore
|
||||
const inputEl = e.target;
|
||||
if (inputEl.value.match(/./)) {
|
||||
inputEl.classList.remove("warning");
|
||||
setAlert(null);
|
||||
} else {
|
||||
inputEl.classList.add("warning");
|
||||
}
|
||||
window.clearTimeout(timeout);
|
||||
timeout = setTimeout(()=>{
|
||||
(0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(`/api/checkDuplicateData?type=username&value=${inputEl.value}&tableName=users&dbFullName=${targetDb}`).then((res)=>{
|
||||
// console.log(res);
|
||||
if (res?.result) {
|
||||
setAlert("Username Already Exists");
|
||||
inputEl.classList.add("warning");
|
||||
} else {
|
||||
setAlert(null);
|
||||
inputEl.classList.remove("warning");
|
||||
}
|
||||
});
|
||||
}, 300);
|
||||
}
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("label", {
|
||||
htmlFor: "email_address",
|
||||
children: "Email Address"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("input", {
|
||||
type: "email",
|
||||
name: "email_address",
|
||||
id: "email_address",
|
||||
placeholder: "Email Address",
|
||||
autoComplete: "email",
|
||||
onInput: (e)=>{
|
||||
window.clearTimeout(timeout);
|
||||
/** @type {HTMLInputElement} */ // @ts-ignore
|
||||
const inputEl = e.target;
|
||||
timeout = setTimeout(()=>{
|
||||
(0,_functions_frontend_fetchApi__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(`/api/checkDuplicateData?type=email&value=${inputEl.value}&tableName=users&dbFullName=${targetDb}`).then((res)=>{
|
||||
// console.log(res);
|
||||
if (res?.result) {
|
||||
setAlert("Email Already Exists");
|
||||
inputEl.classList.add("warning");
|
||||
} else {
|
||||
setAlert(null);
|
||||
inputEl.classList.remove("warning");
|
||||
}
|
||||
});
|
||||
}, 300);
|
||||
},
|
||||
required: true
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "Phone Number",
|
||||
inputType: "text",
|
||||
name: "phone",
|
||||
autoComplete: "tel"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "Address",
|
||||
name: "address",
|
||||
autoComplete: "address"
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex-wrap xl:flex-nowrap",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "City",
|
||||
name: "city",
|
||||
autoComplete: "city"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "State",
|
||||
name: "state",
|
||||
autoComplete: "state"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "Country",
|
||||
name: "country",
|
||||
autoComplete: "country"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_form_FormInput__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
|
||||
title: "Zip Code",
|
||||
name: "zip_code",
|
||||
autoComplete: "zip_code"
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("label", {
|
||||
htmlFor: "password",
|
||||
children: "Password"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("input", {
|
||||
type: "password",
|
||||
name: "password",
|
||||
id: "password",
|
||||
placeholder: "Password",
|
||||
required: true
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "flex flex-col items-start gap-0.5 w-full",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("label", {
|
||||
htmlFor: "confirm_password",
|
||||
children: "Confirm Password"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("input", {
|
||||
type: "password",
|
||||
name: "confirm_password",
|
||||
id: "confirm_password",
|
||||
placeholder: "Confirm Password",
|
||||
onInput: (e)=>{
|
||||
/** @type {HTMLInputElement} */ // @ts-ignore
|
||||
const inputEl = e.target;
|
||||
let passwordInput = inputEl.closest("form")?.["password"].value;
|
||||
let passwordRepeatInput = inputEl.value;
|
||||
if (passwordInput === passwordRepeatInput) {
|
||||
inputEl.classList.remove("warning");
|
||||
} else {
|
||||
inputEl.classList.add("warning");
|
||||
}
|
||||
},
|
||||
required: true
|
||||
})
|
||||
]
|
||||
}),
|
||||
/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
|
||||
className: "paper",
|
||||
children: [
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("h3", {
|
||||
className: "m-0 text-lg font-semibold mb-1 text-slate-600",
|
||||
children: "User Image"
|
||||
}),
|
||||
/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_UserImage__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
|
||||
userImage: userImage,
|
||||
setUserImage: setUserImage,
|
||||
className: "w-full"
|
||||
})
|
||||
]
|
||||
})
|
||||
]
|
||||
});
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
} /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */ /** ****************************************************************************** */
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
};
|
||||
;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user