add: add seedData

This commit is contained in:
손승우
2023-02-16 19:08:13 +09:00
parent 469362c664
commit 2e96c3a8dc
25 changed files with 2037 additions and 212 deletions

18
backend-api/ormconfig.ts Normal file
View File

@@ -0,0 +1,18 @@
import {TypeOrmModuleOptions} from '@nestjs/typeorm';
import * as dotenv from 'dotenv'; // 무조건 상대경로로 가져와야 시딩됨
dotenv.config();
const config: TypeOrmModuleOptions = {
type: 'sqlite',
database: 'sqlite.db',
autoLoadEntities: true,
entities: ['src/**/*.entity{.ts,.js}', 'src/**/*.enum{.ts,.js}'],
synchronize: true, // 자동으로 테이블 생성, 한번 작동 후 false
retryAttempts: 1,
logging: true,
keepConnectionAlive: true,
};
export = config;

View File

@@ -6419,8 +6419,7 @@
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
},
"caniuse-lite": {
"version": "1.0.30001408",
@@ -6643,7 +6642,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
"integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
"dev": true,
"requires": {
"restore-cursor": "^3.1.0"
}
@@ -6700,8 +6698,7 @@
"cli-spinners": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz",
"integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==",
"dev": true
"integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw=="
},
"cli-sprintf-format": {
"version": "1.1.1",
@@ -6761,8 +6758,7 @@
"clone": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
"dev": true
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg=="
},
"clone-response": {
"version": "1.0.3",
@@ -7282,6 +7278,14 @@
"integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==",
"dev": true
},
"data-api-client": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/data-api-client/-/data-api-client-1.3.0.tgz",
"integrity": "sha512-+Q+lChhl5PBogsB7nO/VZFF3X0WJe8y93dyft50HIg2Bg+c765wM/sXkfBz5pjmGoRESkB/GLesQJLTMBbK4dQ==",
"requires": {
"sqlstring": "^2.3.2"
}
},
"data-uri-to-buffer": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz",
@@ -7306,6 +7310,11 @@
"ms": "2.0.0"
}
},
"decamelize": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA=="
},
"decimal.js": {
"version": "10.4.3",
"resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz",
@@ -7537,7 +7546,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
"integrity": "sha512-s82itHOnYrN0Ib8r+z7laQz3sdE+4FP3d9Q7VLO7U+KRT+CR0GsWuyHxzdAY82I7cXv0G/twrqomTJLOssO5HA==",
"dev": true,
"requires": {
"clone": "^1.0.2"
}
@@ -8237,8 +8245,7 @@
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
"dev": true
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg=="
},
"escodegen": {
"version": "1.14.3",
@@ -8849,6 +8856,11 @@
}
}
},
"faker": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/faker/-/faker-4.1.0.tgz",
"integrity": "sha512-ILKg69P6y/D8/wSmDXw35Ly0re8QzQ8pMfBCflsGiZG2ZjMUNLYNexA6lz5pkmJlepVdsiDFUxYAzPQ9/+iGLA=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -8901,6 +8913,106 @@
"integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==",
"dev": true
},
"fastify-plugin": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.1.tgz",
"integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA=="
},
"fastify-static": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/fastify-static/-/fastify-static-4.7.0.tgz",
"integrity": "sha512-zZhCfJv/hkmud2qhWqpU3K9XVAuy3+IV8Tp9BC5J5U+GyA2XwoB6h8lh9GqpEIqdXOw01WyWQllV7dOWVyAlXg==",
"requires": {
"fastify-static-deprecated": "npm:fastify-static@4.6.1",
"process-warning": "^1.0.0"
}
},
"fastify-static-deprecated": {
"version": "npm:fastify-static@4.6.1",
"resolved": "https://registry.npmjs.org/fastify-static/-/fastify-static-4.6.1.tgz",
"integrity": "sha512-vy7N28U4AMhuOim12ZZWHulEE6OQKtzZbHgiB8Zj4llUuUQXPka0WHAQI3njm1jTCx4W6fixUHfpITxweMtAIA==",
"requires": {
"content-disposition": "^0.5.3",
"encoding-negotiator": "^2.0.1",
"fastify-plugin": "^3.0.0",
"glob": "^7.1.4",
"p-limit": "^3.1.0",
"readable-stream": "^3.4.0",
"send": "^0.17.1"
},
"dependencies": {
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
"integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ=="
},
"destroy": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
"integrity": "sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg=="
},
"http-errors": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz",
"integrity": "sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g==",
"requires": {
"depd": "~1.1.2",
"inherits": "2.0.4",
"setprototypeof": "1.2.0",
"statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.1"
}
},
"ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
},
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
"integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==",
"requires": {
"ee-first": "1.1.1"
}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"send": {
"version": "0.17.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.17.2.tgz",
"integrity": "sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww==",
"requires": {
"debug": "2.6.9",
"depd": "~1.1.2",
"destroy": "~1.0.4",
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
"http-errors": "1.8.1",
"mime": "1.6.0",
"ms": "2.1.3",
"on-finished": "~2.3.0",
"range-parser": "~1.2.1",
"statuses": "~1.5.0"
}
},
"statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
"integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA=="
}
}
},
"fastify-swagger": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/fastify-swagger/-/fastify-swagger-5.2.0.tgz",
@@ -8931,71 +9043,6 @@
"json-schema-resolver": "^1.3.0",
"openapi-types": "^10.0.0",
"rfdc": "^1.3.0"
},
"dependencies": {
"debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
"requires": {
"ms": "2.1.2"
}
},
"fastify-plugin": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/fastify-plugin/-/fastify-plugin-3.0.1.tgz",
"integrity": "sha512-qKcDXmuZadJqdTm6vlCqioEbyewF60b/0LOFCcYN1B6BIZGlYJumWWOYs70SFYLDAH4YqdE1cxH/RKMG7rFxgA=="
},
"fastify-static": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/fastify-static/-/fastify-static-4.7.0.tgz",
"integrity": "sha512-zZhCfJv/hkmud2qhWqpU3K9XVAuy3+IV8Tp9BC5J5U+GyA2XwoB6h8lh9GqpEIqdXOw01WyWQllV7dOWVyAlXg==",
"requires": {
"fastify-static-deprecated": "npm:fastify-static@4.6.1",
"process-warning": "^1.0.0"
},
"dependencies": {
"fastify-static-deprecated": {
"version": "npm:fastify-static@4.6.1",
"resolved": "https://registry.npmjs.org/fastify-static/-/fastify-static-4.6.1.tgz",
"integrity": "sha512-vy7N28U4AMhuOim12ZZWHulEE6OQKtzZbHgiB8Zj4llUuUQXPka0WHAQI3njm1jTCx4W6fixUHfpITxweMtAIA==",
"requires": {
"content-disposition": "^0.5.3",
"encoding-negotiator": "^2.0.1",
"fastify-plugin": "^3.0.0",
"glob": "^7.1.4",
"p-limit": "^3.1.0",
"readable-stream": "^3.4.0",
"send": "^0.17.1"
}
}
}
},
"json-schema-resolver": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/json-schema-resolver/-/json-schema-resolver-1.3.0.tgz",
"integrity": "sha512-EX7W1r8aZ/T3j8GbbBxPXi60bnsELfT90OiA1QrbGMvwzVSbyMNOAzvMFcFb8m7gKCXZLJpGe+cJOvWgoFl29A==",
"requires": {
"debug": "^4.1.1",
"rfdc": "^1.1.4",
"uri-js": "^4.2.2"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"openapi-types": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz",
"integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ=="
},
"rfdc": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz",
"integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA=="
}
}
},
"http-errors": {
@@ -9182,6 +9229,15 @@
"esniff": "^1.1.0"
}
},
"find-up": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
"requires": {
"locate-path": "^5.0.0",
"path-exists": "^4.0.0"
}
},
"findup-sync": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz",
@@ -10799,8 +10855,7 @@
"is-interactive": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz",
"integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==",
"dev": true
"integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w=="
},
"is-lambda": {
"version": "1.0.1",
@@ -11750,6 +11805,31 @@
}
}
},
"json-schema-resolver": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/json-schema-resolver/-/json-schema-resolver-1.3.0.tgz",
"integrity": "sha512-EX7W1r8aZ/T3j8GbbBxPXi60bnsELfT90OiA1QrbGMvwzVSbyMNOAzvMFcFb8m7gKCXZLJpGe+cJOvWgoFl29A==",
"requires": {
"debug": "^4.1.1",
"rfdc": "^1.1.4",
"uri-js": "^4.2.2"
},
"dependencies": {
"debug": {
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
"requires": {
"ms": "2.1.2"
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
}
}
},
"json-schema-traverse": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
@@ -12348,6 +12428,14 @@
"integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",
"dev": true
},
"locate-path": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"requires": {
"p-locate": "^4.1.0"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
@@ -12793,8 +12881,7 @@
"mimic-fn": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
"dev": true
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
},
"mimic-response": {
"version": "1.0.1",
@@ -13010,8 +13097,7 @@
"mute-stream": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
"dev": true
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
},
"mysql2": {
"version": "2.3.3",
@@ -13555,7 +13641,6 @@
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
"dev": true,
"requires": {
"mimic-fn": "^2.1.0"
}
@@ -13569,6 +13654,11 @@
"is-wsl": "^2.1.1"
}
},
"openapi-types": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-10.0.0.tgz",
"integrity": "sha512-Y8xOCT2eiKGYDzMW9R4x5cmfc3vGaaI4EL2pwhDmodWw1HlK18YcZ4uJxc7Rdp7/gGzAygzH9SXr6GKYIXbRcQ=="
},
"optional": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/optional/-/optional-0.1.4.tgz",
@@ -13681,6 +13771,24 @@
"yocto-queue": "^0.1.0"
}
},
"p-locate": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"requires": {
"p-limit": "^2.2.0"
},
"dependencies": {
"p-limit": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
"requires": {
"p-try": "^2.0.0"
}
}
}
},
"p-map": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
@@ -13775,8 +13883,7 @@
"p-try": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
"dev": true
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
},
"pac-proxy-agent": {
"version": "5.0.0",
@@ -14062,8 +14169,7 @@
"path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
"dev": true
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
},
"path-is-absolute": {
"version": "1.0.1",
@@ -15094,6 +15200,11 @@
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
"dev": true
},
"require-main-filename": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
},
"requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
@@ -15171,7 +15282,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
"integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
"dev": true,
"requires": {
"onetime": "^5.1.0",
"signal-exit": "^3.0.2"
@@ -15223,6 +15333,11 @@
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
"dev": true
},
"rfdc": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz",
"integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA=="
},
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@@ -16641,6 +16756,11 @@
"tar": "^6.1.11"
}
},
"sqlstring": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz",
"integrity": "sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg=="
},
"ssri": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
@@ -18065,11 +18185,179 @@
}
}
},
"typeorm-aurora-data-api-driver": {
"version": "2.4.4",
"resolved": "https://registry.npmjs.org/typeorm-aurora-data-api-driver/-/typeorm-aurora-data-api-driver-2.4.4.tgz",
"integrity": "sha512-EqrdoXr0FbUrAMmkNQQuPwlhUGM7SJnpwUlWTWNlK2mOhOUyM+33fhm1f1hz3nnJJV8fTxzS3kTDq6pkVASLAw==",
"requires": {
"data-api-client": "^1.3.0"
}
},
"typeorm-naming-strategies": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/typeorm-naming-strategies/-/typeorm-naming-strategies-4.1.0.tgz",
"integrity": "sha512-vPekJXzZOTZrdDvTl1YoM+w+sUIfQHG4kZTpbFYoTsufyv9NIBRe4Q+PdzhEAFA2std3D9LZHEb1EjE9zhRpiQ=="
},
"typeorm-seeding": {
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/typeorm-seeding/-/typeorm-seeding-1.6.1.tgz",
"integrity": "sha512-xJIW1pp72hv6npPqbQ7xDvawcDmS60EDUjK++UCfiqT0WE4xTzCn+QK1ZijLkD3GYCqFPuFt4nmeyRJn6VO2Vw==",
"requires": {
"chalk": "^4.0.0",
"faker": "4.1.0",
"glob": "7.1.6",
"ora": "4.0.3",
"reflect-metadata": "0.1.13",
"yargs": "15.3.1"
},
"dependencies": {
"cliui": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
"requires": {
"string-width": "^4.2.0",
"strip-ansi": "^6.0.0",
"wrap-ansi": "^6.2.0"
}
},
"color-convert": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
"requires": {
"color-name": "1.1.3"
}
},
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
},
"glob": {
"version": "7.1.6",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw=="
},
"log-symbols": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz",
"integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==",
"requires": {
"chalk": "^2.4.2"
},
"dependencies": {
"ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"requires": {
"color-convert": "^1.9.0"
}
},
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
}
},
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"requires": {
"has-flag": "^3.0.0"
}
}
}
},
"ora": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/ora/-/ora-4.0.3.tgz",
"integrity": "sha512-fnDebVFyz309A73cqCipVL1fBZewq4vwgSHfxh43vVy31mbyoQ8sCH3Oeaog/owYOs/lLlGVPCISQonTneg6Pg==",
"requires": {
"chalk": "^3.0.0",
"cli-cursor": "^3.1.0",
"cli-spinners": "^2.2.0",
"is-interactive": "^1.0.0",
"log-symbols": "^3.0.0",
"mute-stream": "0.0.8",
"strip-ansi": "^6.0.0",
"wcwidth": "^1.0.1"
},
"dependencies": {
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
}
}
},
"wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
"requires": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
"strip-ansi": "^6.0.0"
}
},
"y18n": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
},
"yargs": {
"version": "15.3.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz",
"integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==",
"requires": {
"cliui": "^6.0.0",
"decamelize": "^1.2.0",
"find-up": "^4.1.0",
"get-caller-file": "^2.0.1",
"require-directory": "^2.1.1",
"require-main-filename": "^2.0.0",
"set-blocking": "^2.0.0",
"string-width": "^4.2.0",
"which-module": "^2.0.0",
"y18n": "^4.0.0",
"yargs-parser": "^18.1.1"
}
},
"yargs-parser": {
"version": "18.1.3",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
"requires": {
"camelcase": "^5.0.0",
"decamelize": "^1.2.0"
}
}
}
},
"typescript": {
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
@@ -18497,7 +18785,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
"integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==",
"dev": true,
"requires": {
"defaults": "^1.0.3"
}
@@ -18580,6 +18867,11 @@
"is-symbol": "^1.0.3"
}
},
"which-module": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
"integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q=="
},
"which-pm-runs": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz",

View File

@@ -20,6 +20,8 @@
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"deploy": "serverless deploy --stage prod",
"seed:config": "ts-node ./node_modules/typeorm-seeding/dist/cli.js config",
"seed:run": "ts-node ./node_modules/typeorm-seeding/dist/cli.js seed",
"deploy:dev": "serverless deploy --stage dev",
"deploy:prod": "serverless deploy --stage prod"
},
@@ -77,6 +79,7 @@
"ts-jenum": "^2.2.2",
"typeorm": "^0.3.9",
"typeorm-naming-strategies": "^4.1.0",
"typeorm-seeding": "^1.6.1",
"uuid": "^9.0.0",
"winston": "^3.8.2"
},

Binary file not shown.

View File

@@ -15,6 +15,7 @@ import { UserModule } from './user/user.module';
import { AuthModule } from './auth/auth.module';
import { LoginModule } from './login/login.module';
import { ShareUrlModule } from './share-url/share-url.module';
import * as ormconfig from '../ormconfig';
@Module({
imports: [
@@ -22,6 +23,7 @@ import { ShareUrlModule } from './share-url/share-url.module';
isGlobal: true,
envFilePath: process.env.NODE_ENV == 'dev' ? '.env.dev' : '.env.ci',
}),
TypeOrmModule.forRoot({
type: 'sqlite',
database: 'sqlite.db',
@@ -31,7 +33,10 @@ import { ShareUrlModule } from './share-url/share-url.module';
logging: process.env.NODE_ENV == 'dev',
retryAttempts: 1,
dropSchema: false, // 매번 실행시마다 테이블 drop false
}),
// TypeOrmModule.forRoot({
// type: 'mysql',
// host: process.env.DB_HOST,
@@ -57,6 +62,7 @@ import { ShareUrlModule } from './share-url/share-url.module';
AuthModule,
LoginModule,
ShareUrlModule,
],
controllers: [AppController],
providers: [AppService],

View File

@@ -2,10 +2,11 @@ import { CreateDateColumn, UpdateDateColumn } from 'typeorm';
export abstract class BaseEntity {
@CreateDateColumn({
nullable: true,
comment: '생성일',
})
createdAt: Date;
@UpdateDateColumn({ comment: '수정일' })
@UpdateDateColumn({ nullable: true, comment: '수정일' })
updatedAt: Date;
}

View File

@@ -1,4 +1,5 @@
export enum YesNo {
YES = 'Y',
NO = 'N'
export const YesNo = {
YES: 'Y',
NO: 'N'
}

View File

@@ -31,6 +31,6 @@ export class CreateComponentDto {
@IsString()
@IsOptional()
useYn: YesNo
useYn: string
}

View File

@@ -30,7 +30,7 @@ export class Component extends BaseEntity {
seq: number;
@Column({ length: 1, comment: '사용여부', default: YesNo.YES })
useYn: YesNo;
useYn: string;
@OneToMany(type => Widget, widget => widget.componentId)
widgets!: Widget[];

View File

@@ -13,7 +13,7 @@ import { User } from 'src/user/entities/user.entity';
import { UserMapping } from 'src/user/entities/user-mapping.entity';
import { JwtService } from '@nestjs/jwt';
import { RefreshToken } from 'src/auth/entites/refresh_token.entity';
import { DashboardShare } from './entities/dashboard_share';
import { DashboardShare } from 'src/dashboard/entities/dashboard_share.entity';
@Module({
imports: [TypeOrmModule.forFeature([Dashboard, DashboardWidget, Widget, Component, User, UserMapping, DashboardShare,RefreshToken])],

View File

@@ -10,7 +10,7 @@ import { UserService } from 'src/user/user.service';
import { AuthService } from 'src/auth/auth.service';
import { User } from '../user/entities/user.entity.js';
import { YesNo } from 'src/common/enum/yn.enum';
import { DashboardShare } from './entities/dashboard_share';
import { DashboardShare } from 'src/dashboard/entities/dashboard_share.entity';
import { UserMapping } from 'src/user/entities/user-mapping.entity';
import { v4 as uuidv4 } from 'uuid';
@@ -93,10 +93,12 @@ export class DashboardService {
if (!findUser) {
return 'not exist user';
}
console.log(findUser)
const findId = findUser.map(el => el['dashboardId']);
if (findId === null) {
throw new HttpException('not found', HttpStatus.NOT_FOUND);
}
console.log(findId)
const find_all = [];
for (let i = 0; findId.length > i; i++) {
find_all.push(

View File

@@ -28,5 +28,5 @@ export class Dashboard extends BaseEntity {
@Optional()
@Column({ length: 1, default: YesNo.NO, comment: '삭제여부' })
delYn: YesNo;
delYn: string;
}

View File

@@ -15,8 +15,8 @@ export class DashboardShare extends BaseEntity {
shareToken: string;
@Optional()
@Column({ default: YesNo.NO, nullable: false, comment: '공유사용 여브' })
shareYn: YesNo;
@Column({ default: 'N', nullable: false, comment: '공유사용 여브' })
shareYn: string;
@Optional()
@Column({ nullable: true, comment: '유효기한 날짜'})

View File

@@ -20,5 +20,5 @@ export class DatabaseType extends BaseEntity {
seq: number;
@Column({ length: 1, comment: '사용여부', default: YesNo.YES })
useYn: YesNo;
useYn: string;
}

File diff suppressed because it is too large Load Diff

View File

@@ -28,7 +28,7 @@ export class LoginHistory {
length: 1,
comment: '로그인 성공 유무',
})
loginSuccYn: YesNo;
loginSuccYn: string;
@CreateDateColumn({ nullable: true, comment: '등록 일시' })
createdAt: Date;

View File

@@ -2,8 +2,8 @@ import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common';
import { ShareUrlService } from './share-url.service';
import { ShareUrlController } from './share-url.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from '../user/entities/user.entity.js';
import { Dashboard } from '../dashboard/entities/dashboard.entity.js';
import { User } from '../user/entities/user.entity';
import { Dashboard } from '../dashboard/entities/dashboard.entity';
import { AuthService } from '../auth/auth.service';
import { JwtModule } from '@nestjs/jwt';
import { RefreshToken } from 'src/auth/entites/refresh_token.entity';
@@ -16,7 +16,7 @@ import { Widget } from 'src/widget/entities/widget.entity';
import { Component } from 'src/component/entities/component.entity';
import { UserService } from 'src/user/user.service';
import { UserMapping } from 'src/user/entities/user-mapping.entity';
import { DashboardShare } from 'src/dashboard/entities/dashboard_share';
import { DashboardShare } from 'src/dashboard/entities/dashboard_share.entity';
@Module({
imports: [

View File

@@ -6,8 +6,8 @@ import { User } from '../user/entities/user.entity.js';
import { Repository } from 'typeorm';
import { YesNo } from '../common/enum/yn.enum.js';
import { ShareUrlOnDto } from './dto/create-share-url.dto';
import { DashboardService } from '../dashboard/dashboard.service.js';
import { DashboardShare } from '../dashboard/entities/dashboard_share.js';
import { DashboardService } from '../dashboard/dashboard.service';
import { DashboardShare } from 'src/dashboard/entities/dashboard_share.entity';
@Injectable()
export class ShareUrlService {

View File

@@ -19,7 +19,7 @@ export class Template extends BaseEntity {
// layout: string
@Column({length: 1, default: YesNo.YES, comment: '사용여부'})
useYn: YesNo
useYn: string

View File

@@ -19,7 +19,7 @@ export class User {
@ApiProperty({ description: '유저Id' })
userId: string;
@Column()
@Column({nullable: true})
@ApiProperty({ description: 'refreshTokenId' })
jwtId: number;

View File

@@ -37,5 +37,5 @@ export class CreateWidgetDto {
@IsString()
@IsOptional()
delYn: YesNo;
delYn: string;
}

View File

@@ -29,7 +29,7 @@ export class Widget extends BaseEntity {
option: string;
@Column({ length: 1, default: YesNo.NO, comment: '삭제여부' })
delYn: YesNo;
delYn: string;
// @ManyToMany(type => Dashboard)
// @JoinTable({

View File

@@ -4,7 +4,7 @@
"description": "Score Board",
"databaseId": 113,
"componentId": 12,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 27,
"option": {
"header": {
@@ -27,7 +27,7 @@
"description": "Data Grid",
"databaseId": 114,
"componentId": 13,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"columns": [
@@ -57,7 +57,7 @@
"description": "Line Chart",
"databaseId": 108,
"componentId": 1,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -92,7 +92,7 @@
"description": "Area Chart",
"databaseId": 108,
"componentId": 2,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -127,7 +127,7 @@
"description": "Bar Chart",
"databaseId": 108,
"componentId": 3,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -162,7 +162,7 @@
"description": "Column Chart",
"databaseId": 108,
"componentId": 4,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -197,7 +197,7 @@
"description": "Mixed Line and Bar Chart",
"databaseId": 114,
"componentId": 5,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -231,7 +231,7 @@
"description": "Stacked Line Chart",
"databaseId": 113,
"componentId": 14,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -272,7 +272,7 @@
"description": "Stacked Area Chart",
"databaseId": 113,
"componentId": 15,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -313,7 +313,7 @@
"description": "Stacked Column Chart",
"databaseId": 113,
"componentId": 16,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -354,7 +354,7 @@
"description": "Stacked Bar Chart",
"databaseId": 113,
"componentId": 17,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -395,7 +395,7 @@
"description": "Mixed Line and Stacked-Bar Chart",
"databaseId": 113,
"componentId": 43,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -435,7 +435,7 @@
"description": "Pie Chart",
"databaseId": 108,
"componentId": 6,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": {
@@ -453,7 +453,7 @@
"description": "Donut Chart",
"databaseId": 108,
"componentId": 11,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 29,
"option": {
"series": {
@@ -523,7 +523,7 @@
"description": "Nightingale Chart",
"databaseId": 108,
"componentId": 7,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 29,
"option": {
"series": {
@@ -593,7 +593,7 @@
"description": "Radar Chart",
"databaseId": 108,
"componentId": 9,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -623,7 +623,7 @@
"description": "Scatter Chart",
"databaseId": 114,
"componentId": 10,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -658,7 +658,7 @@
"description": "Bubble Chart",
"databaseId": 113,
"componentId": 8,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -685,7 +685,7 @@
"description": "Treemap Chart",
"databaseId": 108,
"componentId": 19,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": {
@@ -702,7 +702,7 @@
"description": "Sunburst Chart",
"databaseId": 108,
"componentId": 22,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": {
@@ -719,7 +719,7 @@
"description": "Heatmap Chart",
"databaseId": 108,
"componentId": 23,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"color": ["#2870c4", "#4ecef6", "#ffd43b", "#fa5a5a"],
@@ -734,7 +734,7 @@
"description": "Candlestick Chart",
"databaseId": 108,
"componentId": 20,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 37,
"option": {
"series": [
@@ -767,7 +767,7 @@
"description": "Gauge Chart",
"databaseId": 88,
"componentId": 21,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"color": "#6aa7eb",
@@ -781,7 +781,7 @@
"description": "Funnel Chart",
"databaseId": 108,
"componentId": 24,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": {
@@ -799,7 +799,7 @@
"description": "Polar Bar Chart",
"databaseId": 88,
"componentId": 31,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -830,7 +830,7 @@
"description": "Polar Stacked Bar Chart",
"databaseId": 88,
"componentId": 33,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -861,7 +861,7 @@
"description": "3D Line Chart",
"databaseId": 113,
"componentId": 26,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 27,
"option": {
"series": [
@@ -885,7 +885,7 @@
"description": "3D Bar Chart",
"databaseId": 113,
"componentId": 25,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -912,7 +912,7 @@
"description": "3D Scatter Chart",
"databaseId": 113,
"componentId": 27,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 30,
"option": {
"series": [
@@ -940,7 +940,7 @@
"description": "3D Bubble Chart",
"databaseId": 108,
"componentId": 28,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 26,
"option": {
"series": [
@@ -968,7 +968,7 @@
"description": "Mixed Line and Pie Chart",
"databaseId": 83,
"componentId": 32,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": [
@@ -1007,7 +1007,7 @@
"description": "Mixed Area and Pie Chart",
"databaseId": 83,
"componentId": 34,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": [
@@ -1046,7 +1046,7 @@
"description": "Mixed Bar and Pie Chart",
"databaseId": 83,
"componentId": 35,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": [
@@ -1085,7 +1085,7 @@
"description": "Mixed Column and Pie Chart",
"databaseId": 83,
"componentId": 36,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": [
@@ -1124,7 +1124,7 @@
"description": "Mixed Stacked-Bar and Pie Chart",
"databaseId": 88,
"componentId": 37,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -1169,7 +1169,7 @@
"description": "Mixed Stacked-Column and Pie Chart",
"databaseId": 88,
"componentId": 38,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -1214,7 +1214,7 @@
"description": "Mixed Stacked-Line and Pie Chart",
"databaseId": 88,
"componentId": 39,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -1259,7 +1259,7 @@
"description": "Mixed Stacked-Area and Pie Chart",
"databaseId": 88,
"componentId": 40,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 31,
"option": {
"series": [
@@ -1304,7 +1304,7 @@
"description": "Mixed Donut and Pie Chart",
"databaseId": 83,
"componentId": 41,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": {
@@ -1349,7 +1349,7 @@
"description": "Mixed Nightingale and Pie Chart",
"databaseId": 83,
"componentId": 42,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 25,
"option": {
"series": {
@@ -1394,7 +1394,7 @@
"description": "Line Chart and Score Board",
"databaseId": 114,
"componentId": 44,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1438,7 +1438,7 @@
"description": "Area Chart and Score Board",
"databaseId": 114,
"componentId": 45,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1482,7 +1482,7 @@
"description": "Bar Chart and Score Board",
"databaseId": 114,
"componentId": 46,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1526,7 +1526,7 @@
"description": "Column Chart and Score Board",
"databaseId": 114,
"componentId": 47,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1570,7 +1570,7 @@
"description": "Stacked Line Chart and Score Board",
"databaseId": 114,
"componentId": 48,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1614,7 +1614,7 @@
"description": "Stacked Area Chart and Score Board",
"databaseId": 114,
"componentId": 49,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1658,7 +1658,7 @@
"description": "Stacked Bar Chart and Score Board",
"databaseId": 114,
"componentId": 50,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1702,7 +1702,7 @@
"description": "Stacked Column Chart and Score Board",
"databaseId": 114,
"componentId": 51,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 28,
"option": {
"series": [
@@ -1746,7 +1746,7 @@
"description": "Donut Chart and Score Board",
"databaseId": 113,
"componentId": 52,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 27,
"option": {
"series": {
@@ -1776,7 +1776,7 @@
"description": "Nightingale Chart and Score Board",
"databaseId": 113,
"componentId": 53,
"datasetType": "DATASET",
"datasetType": DatasetType.DATASET,
"datasetId": 27,
"option": {
"series": {
@@ -1807,7 +1807,7 @@
"databaseId": 119,
"componentId": 12,
"datasetId": 1,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SportsCards",
"option": {
"header": {
@@ -1829,7 +1829,7 @@
"databaseId": 108,
"componentId": 13,
"datasetId": 2,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TravelMode",
"option": {
"columns": [
@@ -1860,7 +1860,7 @@
"databaseId": 119,
"componentId": 1,
"datasetId": 3,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -1906,7 +1906,7 @@
"databaseId": 119,
"componentId": 2,
"datasetId": 4,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -1952,7 +1952,7 @@
"databaseId": 119,
"componentId": 3,
"datasetId": 5,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -1998,7 +1998,7 @@
"databaseId": 119,
"componentId": 4,
"datasetId": 6,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -2044,7 +2044,7 @@
"databaseId": 118,
"componentId": 5,
"datasetId": 7,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -2078,7 +2078,7 @@
"databaseId": 119,
"componentId": 14,
"datasetId": 8,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -2124,7 +2124,7 @@
"databaseId": 119,
"componentId": 15,
"datasetId": 9,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -2170,7 +2170,7 @@
"databaseId": 119,
"componentId": 16,
"datasetId": 10,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -2216,7 +2216,7 @@
"databaseId": 119,
"componentId": 17,
"datasetId": 11,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "memberInfo",
"option": {
"series": [
@@ -2262,7 +2262,7 @@
"databaseId": 118,
"componentId": 43,
"datasetId": 12,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -2296,7 +2296,7 @@
"databaseId": 118,
"componentId": 6,
"datasetId": 13,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "confirmation",
"option": {
"series": {
@@ -2366,7 +2366,7 @@
"databaseId": 108,
"componentId": 11,
"datasetId": 14,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TravelMode",
"option": {
"series": {
@@ -2386,7 +2386,7 @@
"databaseId": 108,
"componentId": 7,
"datasetId": 15,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TravelMode",
"option": {
"series": {
@@ -2406,7 +2406,7 @@
"databaseId": 108,
"componentId": 9,
"datasetId": 16,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TravelMode",
"option": {
"series": [
@@ -2437,7 +2437,7 @@
"databaseId": 113,
"componentId": 10,
"datasetId": 17,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "crime",
"option": {
"series": [
@@ -2480,7 +2480,7 @@
"databaseId": 108,
"componentId": 8,
"datasetId": 18,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "CPS1985",
"option": {
"series": [
@@ -2509,7 +2509,7 @@
"databaseId": 137,
"componentId": 19,
"datasetId": 19,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "boston",
"option": {
"series": {
@@ -2527,7 +2527,7 @@
"databaseId": 139,
"componentId": 22,
"datasetId": 20,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"series": {
@@ -2545,7 +2545,7 @@
"databaseId": 138,
"componentId": 23,
"datasetId": 21,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NCBIRTHS",
"option": {
"color": ["#2870c4", "#4ecef6", "#ffd43b", "#fa5a5a"],
@@ -2562,7 +2562,7 @@
"databaseId": 108,
"componentId": 20,
"datasetId": 22,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "candlestickData",
"option": {
"series": [
@@ -2598,7 +2598,7 @@
"databaseId": 139,
"componentId": 21,
"datasetId": 23,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"color": "#6aa7eb",
@@ -2613,7 +2613,7 @@
"databaseId": 113,
"componentId": 24,
"datasetId": 24,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "employee",
"option": {
"series": {
@@ -2631,7 +2631,7 @@
"databaseId": 118,
"componentId": 31,
"datasetId": 25,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -2662,7 +2662,7 @@
"databaseId": 118,
"componentId": 33,
"datasetId": 26,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -2693,7 +2693,7 @@
"databaseId": 138,
"componentId": 26,
"datasetId": 27,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -2723,7 +2723,7 @@
"databaseId": 113,
"componentId": 25,
"datasetId": 28,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "crime",
"option": {
"series": [
@@ -2750,7 +2750,7 @@
"databaseId": 114,
"componentId": 27,
"datasetId": 29,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "auto",
"option": {
"series": [
@@ -2779,7 +2779,7 @@
"databaseId": 88,
"componentId": 28,
"datasetId": 30,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "fishing",
"option": {
"series": [
@@ -2809,7 +2809,7 @@
"databaseId": 138,
"componentId": 32,
"datasetId": 31,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -2862,7 +2862,7 @@
"databaseId": 138,
"componentId": 34,
"datasetId": 32,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -2915,7 +2915,7 @@
"databaseId": 138,
"componentId": 35,
"datasetId": 33,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -2968,7 +2968,7 @@
"databaseId": 138,
"componentId": 36,
"datasetId": 34,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -3021,7 +3021,7 @@
"databaseId": 138,
"componentId": 37,
"datasetId": 35,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -3074,7 +3074,7 @@
"databaseId": 138,
"componentId": 38,
"datasetId": 36,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -3127,7 +3127,7 @@
"databaseId": 138,
"componentId": 39,
"datasetId": 37,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -3180,7 +3180,7 @@
"databaseId": 138,
"componentId": 40,
"datasetId": 38,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NYCFLIGHTS",
"option": {
"series": [
@@ -3233,7 +3233,7 @@
"databaseId": 139,
"componentId": 41,
"datasetId": 39,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TINTING",
"option": {
"series": {
@@ -3290,7 +3290,7 @@
"databaseId": 139,
"componentId": 42,
"datasetId": 40,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "TINTING",
"option": {
"series": {
@@ -3347,7 +3347,7 @@
"databaseId": 118,
"componentId": 44,
"datasetId": 41,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -3385,7 +3385,7 @@
"databaseId": 118,
"componentId": 45,
"datasetId": 42,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -3423,7 +3423,7 @@
"databaseId": 118,
"componentId": 46,
"datasetId": 43,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -3461,7 +3461,7 @@
"databaseId": 118,
"componentId": 47,
"datasetId": 44,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "french_fries",
"option": {
"series": [
@@ -3499,7 +3499,7 @@
"databaseId": 139,
"componentId": 48,
"datasetId": 45,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"series": [
@@ -3542,7 +3542,7 @@
"databaseId": 139,
"componentId": 49,
"datasetId": 46,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"series": [
@@ -3585,7 +3585,7 @@
"databaseId": 139,
"componentId": 50,
"datasetId": 47,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"series": [
@@ -3628,7 +3628,7 @@
"databaseId": 139,
"componentId": 51,
"datasetId": 48,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "SEATBELTS",
"option": {
"series": [
@@ -3671,7 +3671,7 @@
"databaseId": 138,
"componentId": 52,
"datasetId": 49,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NCBIRTHS",
"option": {
"series": {
@@ -3702,7 +3702,7 @@
"databaseId": 138,
"componentId": 53,
"datasetId": 50,
"datasetType": "TABLE",
"datasetType": DatasetType.TABLE,
"tableName": "NCBIRTHS",
"option": {
"series": {

View File

@@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
},
"exclude": ["node_modules", "dist"]
}