diff --git a/backend-api/.env.ci b/backend-api/.env.ci index 854e99f..36e82e7 100644 --- a/backend-api/.env.ci +++ b/backend-api/.env.ci @@ -3,4 +3,4 @@ ACCESS_SECRET=plzInsert REFRESH_SECRET=plzInsert JWT_ACCESS_SECRET=true URL_ACCESS_SECRET=plzInsert -CORS_ORIGIN = [http://localhost:3000', 'undefined'] \ No newline at end of file +CORS_ORIGIN = [http://localhost:3000', 'undefined'] diff --git a/backend-api/ormconfig.ts b/backend-api/ormconfig.ts new file mode 100644 index 0000000..57472e7 --- /dev/null +++ b/backend-api/ormconfig.ts @@ -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; \ No newline at end of file diff --git a/backend-api/package-lock.json b/backend-api/package-lock.json index cb520dc..112b6bf 100644 --- a/backend-api/package-lock.json +++ b/backend-api/package-lock.json @@ -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", diff --git a/backend-api/package.json b/backend-api/package.json index d8d424f..8e38fc6 100644 --- a/backend-api/package.json +++ b/backend-api/package.json @@ -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" }, diff --git a/backend-api/sqlite.db b/backend-api/sqlite.db deleted file mode 100644 index 6cdba93..0000000 Binary files a/backend-api/sqlite.db and /dev/null differ diff --git a/backend-api/src/app.module.ts b/backend-api/src/app.module.ts index ee9dd30..574dbc8 100644 --- a/backend-api/src/app.module.ts +++ b/backend-api/src/app.module.ts @@ -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], diff --git a/backend-api/src/common/entities/base.entity.ts b/backend-api/src/common/entities/base.entity.ts index d8cc47f..dd89c4e 100644 --- a/backend-api/src/common/entities/base.entity.ts +++ b/backend-api/src/common/entities/base.entity.ts @@ -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; } diff --git a/backend-api/src/common/enum/yn.enum.ts b/backend-api/src/common/enum/yn.enum.ts index d88eef9..c91e6b7 100644 --- a/backend-api/src/common/enum/yn.enum.ts +++ b/backend-api/src/common/enum/yn.enum.ts @@ -1,4 +1,5 @@ -export enum YesNo { - YES = 'Y', - NO = 'N' +export const YesNo = { + YES: 'Y', + NO: 'N' } + diff --git a/backend-api/src/component/dto/create-component.dto.ts b/backend-api/src/component/dto/create-component.dto.ts index d988746..c6139bc 100644 --- a/backend-api/src/component/dto/create-component.dto.ts +++ b/backend-api/src/component/dto/create-component.dto.ts @@ -31,6 +31,6 @@ export class CreateComponentDto { @IsString() @IsOptional() - useYn: YesNo + useYn: string } \ No newline at end of file diff --git a/backend-api/src/component/entities/component.entity.ts b/backend-api/src/component/entities/component.entity.ts index a9c389a..64c89a4 100644 --- a/backend-api/src/component/entities/component.entity.ts +++ b/backend-api/src/component/entities/component.entity.ts @@ -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[]; diff --git a/backend-api/src/dashboard/dashboard.module.ts b/backend-api/src/dashboard/dashboard.module.ts index 55a3b99..8e452dc 100644 --- a/backend-api/src/dashboard/dashboard.module.ts +++ b/backend-api/src/dashboard/dashboard.module.ts @@ -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])], diff --git a/backend-api/src/dashboard/dashboard.service.ts b/backend-api/src/dashboard/dashboard.service.ts index 2934620..943f140 100644 --- a/backend-api/src/dashboard/dashboard.service.ts +++ b/backend-api/src/dashboard/dashboard.service.ts @@ -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( diff --git a/backend-api/src/dashboard/entities/dashboard.entity.ts b/backend-api/src/dashboard/entities/dashboard.entity.ts index b6346d0..2233061 100644 --- a/backend-api/src/dashboard/entities/dashboard.entity.ts +++ b/backend-api/src/dashboard/entities/dashboard.entity.ts @@ -28,5 +28,5 @@ export class Dashboard extends BaseEntity { @Optional() @Column({ length: 1, default: YesNo.NO, comment: '삭제여부' }) - delYn: YesNo; + delYn: string; } diff --git a/backend-api/src/dashboard/entities/dashboard_share.ts b/backend-api/src/dashboard/entities/dashboard_share.entity.ts similarity index 85% rename from backend-api/src/dashboard/entities/dashboard_share.ts rename to backend-api/src/dashboard/entities/dashboard_share.entity.ts index ef22983..c4e5361 100644 --- a/backend-api/src/dashboard/entities/dashboard_share.ts +++ b/backend-api/src/dashboard/entities/dashboard_share.entity.ts @@ -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: '유효기한 날짜'}) diff --git a/backend-api/src/database/entities/database_type.entity.ts b/backend-api/src/database/entities/database_type.entity.ts index f05dfc4..3cf40c7 100644 --- a/backend-api/src/database/entities/database_type.entity.ts +++ b/backend-api/src/database/entities/database_type.entity.ts @@ -20,5 +20,5 @@ export class DatabaseType extends BaseEntity { seq: number; @Column({ length: 1, comment: '사용여부', default: YesNo.YES }) - useYn: YesNo; + useYn: string; } diff --git a/backend-api/src/database/seeds/create-initial-data.ts b/backend-api/src/database/seeds/create-initial-data.ts new file mode 100644 index 0000000..cb6a407 --- /dev/null +++ b/backend-api/src/database/seeds/create-initial-data.ts @@ -0,0 +1,1502 @@ +import { Connection } from "typeorm"; +import { Seeder,Factory } from "typeorm-seeding" +import { Component } from "../../component/entities/component.entity"; +import { DatabaseType } from "../../database/entities/database_type.entity"; +import { Template } from "../../template/entities/template.entity"; +import { TemplateItem } from "../../template/entities/template-item.entity"; +import { User } from "../../user/entities/user.entity" +import { YesNo } from '../../common/enum/yn.enum'; + + +export class CreateInitialData implements Seeder { + public async run(factory:Factory , connection:Connection) : Promise{ + await connection + .createQueryBuilder() + .insert() + .into(Component) + .values( + [ + { + "createdAt": "2022-09-28 19:55:38", + "updatedAt": "2022-11-04 11:08:50.607012", + "id": 1, + "type": "CHART_LINE", + "title": "선형 차트", + "description": "Line Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true}", + "icon": "icon/ct-line.svg", + "seq": 3, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.111257", + "updatedAt": "2022-11-04 11:08:49.711362", + "id": 2, + "type": "CHART_AREA", + "title": "영역형 차트", + "description": "Area Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true}", + "icon": "icon/ct-area.svg", + "seq": 4, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.129862", + "updatedAt": "2022-11-04 11:08:50.132245", + "id": 3, + "type": "CHART_BAR", + "title": "세로 막대형 차트", + "description": "Bar Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true}", + "icon": "icon/ct-bar.svg", + "seq": 5, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.147718", + "updatedAt": "2022-11-04 11:08:49.982346", + "id": 4, + "type": "CHART_COLUMN", + "title": "가로 막대형 차트", + "description": "Column Chart", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true}", + "icon": "icon/ct-column.svg", + "seq": 6, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.165671", + "updatedAt": "2022-11-04 11:08:50.534356", + "id": 5, + "type": "MIXED_CHART_LINE_BAR", + "title": "선형과 세로 막대형 복합 차트", + "description": "Mixed Line and Bar Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\",\"type\":\"line\"},{\"color\":\"#47a8ea\",\"aggregation\":\"sum\",\"type\":\"bar\"}],\"label\":true}", + "icon": "icon/ct-mixed-line-bar.svg", + "seq": 7, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.183978", + "updatedAt": "2022-11-04 11:08:50.479527", + "id": 6, + "type": "CHART_PIE", + "title": "원형 차트", + "description": "Pie Chart", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\",\"label\":\"{b}\"}}", + "icon": "icon/ct-pie.svg", + "seq": 13, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.201009", + "updatedAt": "2022-11-04 11:08:50.775726", + "id": 7, + "type": "CHART_NIGHTINGALE", + "title": "나이팅게일 차트", + "description": "Nightingale Chart", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\",\"label\":\"{b}\",\"radius\":[\"20%\",\"75%\"]}}", + "icon": "icon/ct-nightingale.svg", + "seq": 15, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.218438", + "updatedAt": "2022-11-10 13:20:14.402150", + "id": 8, + "type": "CHART_BUBBLE", + "title": "거품형 차트", + "description": "Bubble Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"title\":\"이름 1\",\"color\":\"#6aa7eb\"}]}", + "icon": "icon/ct-bubble.svg", + "seq": 18, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.235656", + "updatedAt": "2022-11-04 19:00:32.350241", + "id": 9, + "type": "CHART_RADAR", + "title": "방사형 차트", + "description": "Radar Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"color\":\"#2870c5\",\"aggregation\":\"sum\"}],\"label\":true}", + "icon": "icon/ct-radar.svg", + "seq": 16, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 15:16:18.253510", + "updatedAt": "2022-11-10 13:20:14.433608", + "id": 10, + "type": "CHART_SCATTER", + "title": "분산형 차트", + "description": "Scatter Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"title\":\"이름 1\",\"symbolSize\":\"20\",\"color\":\"#6aa7eb\"}]}", + "icon": "icon/ct-scatter.svg", + "seq": 17, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-28 19:48:20", + "updatedAt": "2022-11-04 11:08:50.231885", + "id": 11, + "type": "CHART_DONUT", + "title": "도넛형 차트", + "description": "Donut Chart", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\",\"label\":\"{b}\",\"radius\":[\"30%\",\"75%\"]}}", + "icon": "icon/ct-donut.svg", + "seq": 14, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 10:51:13.436536", + "updatedAt": "2022-11-04 11:17:47.101383", + "id": 12, + "type": "BOARD_NUMERIC", + "title": "숫자판", + "description": "Score Board", + "category": "SCORE", + "option": "{\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score.svg", + "seq": 1, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 10:51:34.693945", + "updatedAt": "2022-11-04 11:17:47.127512", + "id": 13, + "type": "BOARD_TABLE", + "title": "표", + "description": "Data Grid", + "category": "TABLE", + "option": "{\"columns\":[]}", + "icon": "icon/ct-grid.svg", + "seq": 2, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 10:51:34.783042", + "updatedAt": "2022-11-04 18:47:23.099317", + "id": 14, + "type": "CHART_STACKED_LINE", + "title": "누적 선형 차트", + "description": "Stacked Line Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true}", + "icon": "icon/ct-stacked-line.svg", + "seq": 8, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 10:51:35.033840", + "updatedAt": "2022-11-04 18:47:23.078565", + "id": 15, + "type": "CHART_STACKED_AREA", + "title": "누적 영역형 차트", + "description": "Stacked Area Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true}", + "icon": "icon/ct-stacked-area.svg", + "seq": 9, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 10:58:46.125790", + "updatedAt": "2022-11-04 18:47:23.053801", + "id": 16, + "type": "CHART_STACKED_COLUMN", + "title": "누적 가로 막대형 차트", + "description": "Stacked Column Chart", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true}", + "icon": "icon/ct-stacked-column.svg", + "seq": 10, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-29 11:02:11.889462", + "updatedAt": "2022-11-04 18:47:23.021322", + "id": 17, + "type": "CHART_STACKED_BAR", + "title": "누적 세로 막대형 차트", + "description": "Stacked Bar Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true}", + "icon": "icon/ct-stacked-bar.svg", + "seq": 11, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-30 14:26:41.497188", + "updatedAt": "2022-11-04 11:08:50.710132", + "id": 19, + "type": "CHART_TREEMAP", + "title": "트리맵 차트", + "description": "Treemap Chart", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[\"#2870c4\",\"#4ecef6\",\"#ffd43b\",\"#fa5a5a\"],\"aggregation\":\"sum\"},\"label\":true}", + "icon": "icon/ct-treemap.svg", + "seq": 19, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-30 14:27:25.459299", + "updatedAt": "2022-11-04 11:08:50.732909", + "id": 20, + "type": "CHART_CANDLESTICK", + "title": "캔들스틱 차트", + "description": "Candlestick Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#FA5A5A\",\"aggregation\":\"sum\"},{\"color\":\"#2870C4\",\"aggregation\":\"sum\"},{\"color\":\"#E03B3B\",\"aggregation\":\"sum\"},{\"color\":\"#215DA3\",\"aggregation\":\"sum\"}]}", + "icon": "icon/ct-candlestick.svg", + "seq": 22, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-09-30 14:30:15.042412", + "updatedAt": "2022-11-04 11:08:49.598809", + "id": 21, + "type": "CHART_GAUGE", + "title": "계기판 차트", + "description": "Gauge Chart", + "category": "SQUARE", + "option": "{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}", + "icon": "icon/ct-gauge.svg", + "seq": 23, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-04 16:53:01.371721", + "updatedAt": "2022-11-04 11:08:49.805040", + "id": 22, + "type": "CHART_SUNBURST", + "title": "선버스트 차트", + "description": "Sunburst Chart", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[\"#2870c4\",\"#4ecef6\",\"#ffd43b\",\"#fa5a5a\"],\"aggregation\":\"sum\"},\"label\":true}", + "icon": "icon/ct-sunburst.svg", + "seq": 20, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-05 14:45:50.362534", + "updatedAt": "2022-11-04 11:08:50.336550", + "id": 23, + "type": "CHART_HEATMAP", + "title": "히트맵 차트", + "description": "Heatmap Chart", + "category": "SQUARE", + "option": "{\"color\":[\"#2870c4\",\"#4ecef6\",\"#ffd43b\",\"#fa5a5a\"],\"aggregation\":\"sum\"}", + "icon": "icon/ct-heatmap.svg", + "seq": 21, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-05 15:06:18.415655", + "updatedAt": "2022-11-04 11:08:50.582746", + "id": 24, + "type": "CHART_FUNNEL", + "title": "깔때기형 차트", + "description": "Funnel Chart", + "category": "VERTICAL", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\"}}", + "icon": "icon/ct-funnel.svg", + "seq": 24, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-07 18:02:26.568254", + "updatedAt": "2022-11-04 11:08:50.058784", + "id": 25, + "type": "CHART_3D_BAR", + "title": "3D 막대형 차트", + "description": "3D Bar Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"aggregation\":\"sum\"}],\"color\":[\"#2870c4\",\"#4ecef6\",\"#ffd43b\",\"#fa5a5a\"]}", + "icon": "icon/ct-3d-bar.svg", + "seq": 28, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-12 16:45:23.767491", + "updatedAt": "2022-11-04 11:08:50.313869", + "id": 26, + "type": "CHART_3D_LINE", + "title": "3D 선형 차트", + "description": "3D Line Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}]}", + "icon": "icon/ct-3d-line.svg", + "seq": 27, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-13 11:23:31.980147", + "updatedAt": "2022-11-10 13:12:21.063112", + "id": 27, + "type": "CHART_3D_SCATTER", + "title": "3D 분산형 차트", + "description": "3D Scatter Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"title\":\"이름 1\",\"symbolSize\":\"20\",\"color\":\"#6aa7eb\"}]}", + "icon": "icon/ct-3d-scatter.svg", + "seq": 29, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-13 21:23:06.474435", + "updatedAt": "2022-11-10 13:20:14.376403", + "id": 28, + "type": "CHART_3D_BUBBLE", + "title": "3D 거품형 차트", + "description": "3D Bubble Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"title\":\"이름 1\",\"color\":\"#6aa7eb\"}]}", + "icon": "icon/ct-3d-bubble.svg", + "seq": 30, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-14 14:50:41.667043", + "updatedAt": "2022-10-30 19:39:25.164231", + "id": 29, + "type": "CHART_WATERFALL_BAR", + "title": "폭포수 세로 차트", + "description": "Waterfall Bar Chart", + "category": "VERTICAL", + "option": "{\"series\":[{\"aggregation\":\"sum\"}],\"color\":[\"#6aa7eb\",\"#fa5a5a\"],\"mark\":true}", + "icon": "", + "seq": null, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-14 14:53:02.853952", + "updatedAt": "2022-10-30 19:39:25.132789", + "id": 30, + "type": "CHART_WATERFALL_COLUMN", + "title": "폭포수 가로 차트", + "description": "Waterfall Column Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"aggregation\":\"sum\"}],\"color\":[\"#6aa7eb\",\"#fa5a5a\"],\"mark\":true}", + "icon": "", + "seq": null, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-14 15:21:20.186899", + "updatedAt": "2022-11-04 11:08:50.082534", + "id": 31, + "type": "CHART_POLAR_BAR", + "title": "극좌표 막대형 차트", + "description": "Polar Bar Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"radius\":[\"10%\",\"75%\"]}", + "icon": "icon/ct-polar-bar.svg", + "seq": 25, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-14 16:07:18.347330", + "updatedAt": "2022-11-04 11:08:50.183963", + "id": 32, + "type": "MIXED_CHART_LINE_PIE", + "title": "선형과 원형 복합 차트", + "description": "Mixed Line and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"mark\":true}", + "icon": "icon/ct-pie-line.svg", + "seq": 31, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-15 20:09:47.754250", + "updatedAt": "2022-11-04 11:08:50.456889", + "id": 33, + "type": "CHART_POLAR_STACKED_BAR", + "title": "극좌표 누적 막대형 차트", + "description": "Polar Stacked Bar Chart", + "category": "SQUARE", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"radius\":[\"10%\",\"75%\"]}", + "icon": "icon/ct-polar-stacked-bar.svg", + "seq": 26, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 16:22:43.859648", + "updatedAt": "2022-11-04 11:08:50.383235", + "id": 34, + "type": "MIXED_CHART_AREA_PIE", + "title": "영역형과 원형 복합 차트", + "description": "Mixed Area and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"mark\":true}", + "icon": "icon/ct-pie-area.svg", + "seq": 32, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 16:23:33.681125", + "updatedAt": "2022-11-04 11:08:50.407190", + "id": 35, + "type": "MIXED_CHART_BAR_PIE", + "title": "세로 막대형과 원형 복합 차트", + "description": "Mixed Bar and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"mark\":true}", + "icon": "icon/ct-pie-bar.svg", + "seq": 33, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 16:24:04.783798", + "updatedAt": "2022-11-04 11:08:50.756074", + "id": 36, + "type": "MIXED_CHART_COLUMN_PIE", + "title": "가로 막대형과 원형 복합 차트", + "description": "Mixed Column and Pie Chart", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"mark\":true}", + "icon": "icon/ct-pie-column.svg", + "seq": 34, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 16:34:32.081057", + "updatedAt": "2022-11-04 11:08:49.933337", + "id": 37, + "type": "MIXED_CHART_STACKED_BAR_PIE", + "title": "누적 세로 막대형과 원형 복합 차트", + "description": "Mixed Stacked-Bar and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"label\":true}", + "icon": "icon/ct-pie-stacked-bar.svg", + "seq": 35, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 16:35:01.816820", + "updatedAt": "2022-11-04 11:08:49.735548", + "id": 38, + "type": "MIXED_CHART_STACKED_COLUMN_PIE", + "title": "누적 가로 막대형과 원형 복합 차트", + "description": "Mixed Stacked-Column and Pie Chart", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"label\":true}", + "icon": "icon/ct-pie-stacked-column.svg", + "seq": 36, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 17:00:01.525246", + "updatedAt": "2022-11-04 11:08:50.153933", + "id": 39, + "type": "MIXED_CHART_STACKED_LINE_PIE", + "title": "누적 선형과 원형 복합 차트", + "description": "Mixed Stacked-Line and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"label\":true}", + "icon": "icon/ct-pie-stacked-line.svg", + "seq": 37, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 17:00:18.251377", + "updatedAt": "2022-11-04 11:08:50.006063", + "id": 40, + "type": "MIXED_CHART_STACKED_AREA_PIE", + "title": "누적 영역형과 원형 복합 차트", + "description": "Mixed Stacked-Area and Pie Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"pie\":{\"color\":[],\"center\":[\"80%\",\"20%\"],\"radius\":\"20%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"label\":true}", + "icon": "icon/ct-pie-stacked-area.svg", + "seq": 38, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-17 17:36:30.244205", + "updatedAt": "2022-11-04 11:08:50.558645", + "id": 41, + "type": "MIXED_CHART_DONUT_PIE", + "title": "도넛형과 원형 복합 차트", + "description": "Mixed Donut and Pie Chart", + "category": "SQUARE", + "option": "{\"series\":{\"aggregation\":\"sum\",\"radius\":[\"45%\",\"60%\"],\"label\":\"{b}\"},\"pie\":{\"radius\":\"30%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"color\":[]}", + "icon": "icon/ct-pie-donut.svg", + "seq": 39, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 18:20:30.428782", + "updatedAt": "2022-11-04 11:08:50.256753", + "id": 42, + "type": "MIXED_CHART_NIGHTINGALE_PIE", + "title": "나이팅게일과 원형 복합 차트", + "description": "Mixed Nightingale and Pie Chart", + "category": "SQUARE", + "option": "{\"series\":{\"aggregation\":\"sum\",\"radius\":[\"45%\",\"60%\"],\"label\":\"{b}\"},\"pie\":{\"radius\":\"30%\",\"aggregation\":\"sum\",\"label\":\"{b}\"},\"color\":[]}", + "icon": "icon/ct-pie-nightingale.svg", + "seq": 40, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 09:53:24.023311", + "updatedAt": "2022-11-04 11:08:50.944108", + "id": 43, + "type": "MIXED_CHART_LINE_STACKED_BAR", + "title": "선형과 누적 세로 막대형 복합 차트", + "description": "Mixed Line and Stacked-Bar Chart", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\",\"type\":\"line\"},{\"color\":\"#47a8ea\",\"aggregation\":\"sum\",\"type\":\"bar\"}],\"label\":true}", + "icon": "icon/ct-mixed-line-stacked-bar.svg", + "seq": 12, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 15:26:58.627116", + "updatedAt": "2022-11-04 11:08:49.956963", + "id": 44, + "type": "MIXED_CHART_LINE_BOARD_NUMERIC", + "title": "선형 차트와 숫자 보드", + "description": "Line Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-line.svg", + "seq": 41, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:27.549154", + "updatedAt": "2022-11-04 11:08:49.685616", + "id": 45, + "type": "MIXED_CHART_AREA_BOARD_NUMERIC", + "title": "영역형 차트와 숫자 보드", + "description": "Area Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-area.svg", + "seq": 42, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:33.904190", + "updatedAt": "2022-11-04 11:08:50.206872", + "id": 46, + "type": "MIXED_CHART_BAR_BOARD_NUMERIC", + "title": "세로 막대형 차트와 숫자 보드", + "description": "Bar Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-bar.svg", + "seq": 43, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:40.386273", + "updatedAt": "2022-11-04 11:08:50.359830", + "id": 47, + "type": "MIXED_CHART_COLUMN_BOARD_NUMERIC", + "title": "가로 막대형 차트와 숫자 보드", + "description": "Column Chart and Score Board", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"mark\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-column.svg", + "seq": 44, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:46.271170", + "updatedAt": "2022-11-04 11:08:50.033882", + "id": 48, + "type": "MIXED_CHART_STACKED_LINE_BOARD_NUMERIC", + "title": "누적 선형 차트와 숫자 보드", + "description": "Stacked Line Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-stacked-line.svg", + "seq": 45, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:51.695465", + "updatedAt": "2022-11-04 11:08:50.282899", + "id": 49, + "type": "MIXED_CHART_STACKED_AREA_BOARD_NUMERIC", + "title": "누적 영역형 차트와 숫자 보드", + "description": "Stacked Area Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-stacked-area.svg", + "seq": 46, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:37:57.135223", + "updatedAt": "2022-11-04 11:08:50.687986", + "id": 50, + "type": "MIXED_CHART_STACKED_BAR_BOARD_NUMERIC", + "title": "누적 세로 막대형 차트와 숫자 보드", + "description": "Stacked Bar Chart and Score Board", + "category": "HORIZONTAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-stacked-bar.svg", + "seq": 47, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:38:03.095468", + "updatedAt": "2022-11-04 11:08:50.503672", + "id": 51, + "type": "MIXED_CHART_STACKED_COLUMN_BOARD_NUMERIC", + "title": "누적 가로 막대형 차트와 숫자 보드", + "description": "Stacked Column Chart and Score Board", + "category": "VERTICAL", + "option": "{\"series\":[{\"color\":\"#6aa7eb\",\"aggregation\":\"sum\"}],\"label\":true,\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-stacked-column.svg", + "seq": 48, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-19 20:38:49.744062", + "updatedAt": "2022-11-04 11:08:49.761182", + "id": 52, + "type": "MIXED_CHART_DONUT_BOARD_NUMERIC", + "title": "도넛형 차트와 숫자 보드", + "description": "Donut Chart and Score Board", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\",\"label\":\"{b}\",\"radius\":[\"40%\",\"75%\"]},\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-donut.svg", + "seq": 49, + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-20 20:03:57.496413", + "updatedAt": "2022-11-04 11:08:50.841390", + "id": 53, + "type": "MIXED_CHART_NIGHTINGALE_BOARD_NUMERIC", + "title": "나이팅게일 차트와 숫자 보드", + "description": "Nightingale Chart and Score Board", + "category": "SQUARE", + "option": "{\"series\":{\"color\":[],\"aggregation\":\"sum\",\"label\":\"{b}\",\"radius\":[\"40%\",\"75%\"]},\"header\":{\"title\":\"타이틀을 입력하세요\",\"fontSize\":20,\"color\":\"#4A4A4A\"},\"content\":{\"aggregation\":\"sum\",\"fontSize\":50,\"color\":\"#4A4A4A\"}}", + "icon": "icon/ct-score-nightingale.svg", + "seq": 50, + "useYn": YesNo.YES + } + ] + + ) + .execute() + + await connection + .createQueryBuilder() + .insert() + .into(DatabaseType) + .values([ + { + "id": 1, + "engine": "mysql2", + "type": "mysql", + "title": "MySQL", + "seq": 1, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:44:18.946447", + "updatedAt": "2022-11-02 14:38:54.469203" + }, + { + "id": 2, + "engine": "mysql2", + "type": "maria", + "title": "MariaDB", + "seq": 2, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:46:14.700394", + "updatedAt": "2022-11-01 10:44:29.401041" + }, + { + "id": 3, + "engine": "pg", + "type": "postgres", + "title": "PostgreSQL", + "seq": 3, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:21.842039", + "updatedAt": "2022-11-02 14:38:54.494626" + }, + { + "id": 4, + "engine": "oracledb", + "type": "oracle", + "title": "Oracle", + "seq": 4, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:22.361833", + "updatedAt": "2022-11-02 14:38:54.538484" + }, + { + "id": 5, + "engine": "db2", + "type": "db2", + "title": "DB2", + "seq": 5, + "useYn": YesNo.NO, + "createdAt": "2022-10-18 17:49:22.982368", + "updatedAt": "2022-11-08 10:08:32.782722" + }, + { + "id": 6, + "engine": "pg", + "type": "redshift", + "title": "Amazon Redshift", + "seq": 6, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:23.378836", + "updatedAt": "2022-11-02 11:29:44.018425" + }, + { + "id": 7, + "engine": "bigquery", + "type": "bigquery", + "title": "Google Cloud BigQuery", + "seq": 7, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:23.784827", + "updatedAt": "2022-11-01 10:44:29.272662" + }, + { + "id": 8, + "engine": "sqlite3", + "type": "sqlite", + "title": "SQLite", + "seq": 8, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:23.966790", + "updatedAt": "2022-11-02 14:38:54.517675" + }, + { + "id": 9, + "engine": "mssql", + "type": "mssql", + "title": "MSSQL", + "seq": 9, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:24.300902", + "updatedAt": "2022-11-01 10:44:29.355552" + }, + { + "id": 10, + "engine": "snowflake", + "type": "snowflake", + "title": "Snowflake", + "seq": 10, + "useYn": YesNo.YES, + "createdAt": "2022-10-18 17:49:24.684788", + "updatedAt": "2022-11-07 23:38:07.292660" + }, + { + "id": 11, + "engine": "mysql2", + "type": "aurora", + "title": "Amazon Aurora", + "seq": 11, + "useYn": YesNo.NO, + "createdAt": "2022-10-20 14:59:13.794764", + "updatedAt": "2022-11-01 10:44:29.252301" + }, + { + "id": 12, + "engine": "cockroachdb", + "type": "cockroachDB", + "title": "CockroachDB", + "seq": 12, + "useYn": YesNo.YES, + "createdAt": "2022-11-07 11:18:14.301920", + "updatedAt": "2022-11-07 11:36:16.633650" + }, + { + "id": 13, + "engine": "pg", + "type": "postGIS", + "title": "postGIS", + "seq": 13, + "useYn": YesNo.NO, + "createdAt": "2022-11-07 11:36:16.689282", + "updatedAt": "2022-11-08 10:08:32.831030" + } + ]) + .execute(); + + + await connection + .createQueryBuilder() + .insert() + .into(Template) + .values([ + { + "createdAt": "2022-10-18 20:09:15.813098", + "updatedAt": "2022-11-07 11:22:28.811018", + "id": 7, + "title": "세로 2단 구성", + "description": "차트를 양쪽으로 균등하게 배열하여 비교 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:09:30.272987", + "updatedAt": "2022-11-07 11:22:28.858191", + "id": 8, + "title": "상하단 구성", + "description": "상하 구조로 데이터의 연속성으로 비교 분석 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:11:09.201449", + "updatedAt": "2022-11-07 11:22:28.964026", + "id": 9, + "title": "2단 구성과 하단 상세 데이터", + "description": "주요 차트를 상단에 2가지 배열하여 비교 후 하단에 상세데이터 확인 필요 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:13:46.491995", + "updatedAt": "2022-11-07 11:22:28.925207", + "id": 10, + "title": "차트의 크기 활용한 2단 구성", + "description": "좌측에 상세 차트를 확인 후 우측에 요약 차트를 확인할 경우 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:15:00.617359", + "updatedAt": "2022-11-07 11:22:28.895292", + "id": 11, + "title": "3단 구성과 상세 데이터", + "description": "3가지의 차트로 데이터를 확인 후 하단 영역에 상세 데이터를 배열 할 경우 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:16:12.183883", + "updatedAt": "2022-11-07 11:22:29.023153", + "id": 12, + "title": "3단 구성과 하단 2단 구성 복합 레이아웃", + "description": "상단 3가지 차트 나열 후 하단 비교를 원하는 차트를 양쪽 배열 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:22:09.156107", + "updatedAt": "2022-11-07 11:22:28.717357", + "id": 13, + "title": "중앙 주요 차트와 좌우 상세 차트", + "description": "주요 차트를 중앙에 노출하여 집중도를 높이고 좌우로 상세 차트를 배열 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:23:51.350276", + "updatedAt": "2022-11-07 11:22:28.607605", + "id": 14, + "title": "4단 상단 구성과 하단 2가지 차트", + "description": "비교 가능한 4가지의 차트 배열 후 하단 영역을 크게 활용하여 차트 배열 시 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:25:07.541090", + "updatedAt": "2022-11-07 11:22:28.677493", + "id": 15, + "title": "4단 상단 구성과 하단 3가지 차트", + "description": "4가지의 차트 배열 후 하단 3가지 차트 배열로 상세 차트를 같이 노출 원할 때 사용", + "useYn": YesNo.YES + }, + { + "createdAt": "2022-10-18 20:27:11.341515", + "updatedAt": "2022-11-07 11:22:28.770548", + "id": 16, + "title": "4단구성 상하단", + "description": "한 화면 다양한 차트를 균일한 크기로 노출할 때 사용", + "useYn": YesNo.YES + } + ]) + .execute(); + + + + await connection + .createQueryBuilder() + .insert() + .into(TemplateItem) + .values([ + { + "createdAt": "2022-10-18 20:09:30.535188", + "updatedAt": "2022-10-31 13:53:57.480929", + "id": 17, + "templateId": 8, + "x": 0, + "y": 0, + "width": 12, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:09:30.577167", + "updatedAt": "2022-10-31 13:53:57.550808", + "id": 18, + "templateId": 8, + "x": 0, + "y": 4, + "width": 12, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:11:09.409213", + "updatedAt": "2022-10-31 13:53:57.503750", + "id": 19, + "templateId": 9, + "x": 0, + "y": 0, + "width": 6, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:11:09.492022", + "updatedAt": "2022-10-31 13:53:57.595719", + "id": 20, + "templateId": 9, + "x": 6, + "y": 0, + "width": 6, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:11:09.620547", + "updatedAt": "2022-10-31 13:53:57.529196", + "id": 21, + "templateId": 9, + "x": 0, + "y": 4, + "width": 12, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:13:46.879282", + "updatedAt": "2022-10-20 11:35:29.476446", + "id": 22, + "templateId": 10, + "x": 0, + "y": 0, + "width": 8, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:13:46.979450", + "updatedAt": "2022-10-20 11:35:29.428496", + "id": 23, + "templateId": 10, + "x": 8, + "y": 0, + "width": 4, + "height": 4, + "recommendCategory": "SQUARE", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:13:47.030472", + "updatedAt": "2022-10-31 14:01:27.290678", + "id": 24, + "templateId": 10, + "x": 0, + "y": 4, + "width": 8, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:13:47.150264", + "updatedAt": "2022-10-31 14:01:27.312277", + "id": 25, + "templateId": 10, + "x": 8, + "y": 4, + "width": 4, + "height": 4, + "recommendCategory": "SQUARE", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:15:00.827668", + "updatedAt": "2022-10-20 14:30:10.140183", + "id": 26, + "templateId": 11, + "x": 0, + "y": 0, + "width": 4, + "height": 4, + "recommendCategory": "SQUARE", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:15:00.983319", + "updatedAt": "2022-10-20 14:30:09.633428", + "id": 27, + "templateId": 11, + "x": 4, + "y": 0, + "width": 4, + "height": 4, + "recommendCategory": "SQUARE", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:15:01.021435", + "updatedAt": "2022-10-20 14:30:10.018483", + "id": 28, + "templateId": 11, + "x": 8, + "y": 0, + "width": 4, + "height": 4, + "recommendCategory": "SQUARE", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:15:01.129825", + "updatedAt": "2022-10-31 14:02:32.359585", + "id": 29, + "templateId": 11, + "x": 0, + "y": 4, + "width": 12, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:16:12.397432", + "updatedAt": "2022-10-31 14:04:23.857225", + "id": 30, + "templateId": 12, + "x": 0, + "y": 0, + "width": 4, + "height": 3, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:16:12.496713", + "updatedAt": "2022-10-31 14:04:23.877860", + "id": 31, + "templateId": 12, + "x": 4, + "y": 0, + "width": 4, + "height": 3, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:16:12.694952", + "updatedAt": "2022-10-31 14:04:23.813548", + "id": 32, + "templateId": 12, + "x": 8, + "y": 0, + "width": 4, + "height": 3, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:16:12.806928", + "updatedAt": "2022-10-31 14:04:23.898490", + "id": 33, + "templateId": 12, + "x": 0, + "y": 3, + "width": 6, + "height": 5, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:16:12.923163", + "updatedAt": "2022-10-31 14:04:23.837218", + "id": 34, + "templateId": 12, + "x": 6, + "y": 3, + "width": 6, + "height": 5, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:22:09.467795", + "updatedAt": "2022-10-31 14:06:20.147607", + "id": 35, + "templateId": 13, + "x": 0, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:22:09.573071", + "updatedAt": "2022-10-31 14:06:20.127660", + "id": 36, + "templateId": 13, + "x": 3, + "y": 0, + "width": 6, + "height": 8, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:22:09.672497", + "updatedAt": "2022-10-31 14:06:20.168307", + "id": 37, + "templateId": 13, + "x": 9, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:22:09.770825", + "updatedAt": "2022-10-31 14:06:20.193273", + "id": 38, + "templateId": 13, + "x": 0, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:22:09.787363", + "updatedAt": "2022-10-31 14:06:20.215941", + "id": 39, + "templateId": 13, + "x": 9, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.461373", + "updatedAt": "2022-10-31 14:07:31.009313", + "id": 40, + "templateId": 14, + "x": 0, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.564823", + "updatedAt": "2022-10-31 14:07:31.029860", + "id": 41, + "templateId": 14, + "x": 3, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.646518", + "updatedAt": "2022-10-31 14:07:30.919372", + "id": 42, + "templateId": 14, + "x": 6, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.706616", + "updatedAt": "2022-10-31 14:07:30.942272", + "id": 43, + "templateId": 14, + "x": 9, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.777790", + "updatedAt": "2022-10-31 14:07:30.988065", + "id": 44, + "templateId": 14, + "x": 0, + "y": 4, + "width": 6, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:23:51.868905", + "updatedAt": "2022-10-31 14:07:30.964043", + "id": 45, + "templateId": 14, + "x": 6, + "y": 4, + "width": 6, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:07.639935", + "updatedAt": "2022-10-31 14:09:21.612894", + "id": 46, + "templateId": 15, + "x": 0, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:07.658536", + "updatedAt": "2022-10-31 14:09:21.633533", + "id": 47, + "templateId": 15, + "x": 3, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:07.761440", + "updatedAt": "2022-10-31 14:09:21.419835", + "id": 48, + "templateId": 15, + "x": 6, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:07.832614", + "updatedAt": "2022-10-31 14:09:21.442226", + "id": 49, + "templateId": 15, + "x": 9, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:07.898582", + "updatedAt": "2022-10-31 14:09:20.587806", + "id": 50, + "templateId": 15, + "x": 0, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:08.002465", + "updatedAt": "2022-10-31 14:09:21.464091", + "id": 51, + "templateId": 15, + "x": 3, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:25:08.028974", + "updatedAt": "2022-10-31 14:09:20.939658", + "id": 52, + "templateId": 15, + "x": 6, + "y": 4, + "width": 6, + "height": 4, + "recommendCategory": "HORIZONTAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.653368", + "updatedAt": "2022-10-31 14:09:21.096166", + "id": 53, + "templateId": 16, + "x": 0, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.671567", + "updatedAt": "2022-10-31 14:09:21.248356", + "id": 54, + "templateId": 16, + "x": 3, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.757436", + "updatedAt": "2022-10-31 14:09:21.268875", + "id": 55, + "templateId": 16, + "x": 6, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.776540", + "updatedAt": "2022-10-31 14:09:21.787058", + "id": 56, + "templateId": 16, + "x": 9, + "y": 0, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.793894", + "updatedAt": "2022-10-31 14:09:20.733485", + "id": 57, + "templateId": 16, + "x": 0, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.835491", + "updatedAt": "2022-10-31 14:09:20.753253", + "id": 58, + "templateId": 16, + "x": 3, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.866593", + "updatedAt": "2022-10-31 14:09:20.919894", + "id": 59, + "templateId": 16, + "x": 6, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:27:11.883385", + "updatedAt": "2022-10-31 14:09:20.558693", + "id": 60, + "templateId": 16, + "x": 9, + "y": 4, + "width": 3, + "height": 4, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:36:41.226416", + "updatedAt": "2022-10-31 13:53:57.573866", + "id": 63, + "templateId": 7, + "x": 0, + "y": 0, + "width": 6, + "height": 8, + "recommendCategory": "VERTICAL", + "recommendType": "" + }, + { + "createdAt": "2022-10-18 20:36:41.371585", + "updatedAt": "2022-10-31 13:53:57.455332", + "id": 64, + "templateId": 7, + "x": 6, + "y": 0, + "width": 6, + "height": 8, + "recommendCategory": "VERTICAL", + "recommendType": "" + } + ]) + .execute(); + + await connection + .createQueryBuilder() + .insert() + .into(User) + .values([ + { + "id": 1, + "email": "guest@gmail.com", + "password": "Admin!@12", + "userId": "guest" + } + ]) + .execute(); +}} \ No newline at end of file diff --git a/backend-api/src/middleware/entities/login-history.entity.ts b/backend-api/src/middleware/entities/login-history.entity.ts index b9fe929..de9c185 100644 --- a/backend-api/src/middleware/entities/login-history.entity.ts +++ b/backend-api/src/middleware/entities/login-history.entity.ts @@ -28,7 +28,7 @@ export class LoginHistory { length: 1, comment: '로그인 성공 유무', }) - loginSuccYn: YesNo; + loginSuccYn: string; @CreateDateColumn({ nullable: true, comment: '등록 일시' }) createdAt: Date; diff --git a/backend-api/src/share-url/share-url.module.ts b/backend-api/src/share-url/share-url.module.ts index b882e72..452b097 100644 --- a/backend-api/src/share-url/share-url.module.ts +++ b/backend-api/src/share-url/share-url.module.ts @@ -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: [ diff --git a/backend-api/src/share-url/share-url.service.ts b/backend-api/src/share-url/share-url.service.ts index b2d26f5..64b6b1f 100644 --- a/backend-api/src/share-url/share-url.service.ts +++ b/backend-api/src/share-url/share-url.service.ts @@ -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 { diff --git a/backend-api/src/template/entities/template.entity.ts b/backend-api/src/template/entities/template.entity.ts index b334c58..96cb212 100644 --- a/backend-api/src/template/entities/template.entity.ts +++ b/backend-api/src/template/entities/template.entity.ts @@ -19,7 +19,7 @@ export class Template extends BaseEntity { // layout: string @Column({length: 1, default: YesNo.YES, comment: '사용여부'}) - useYn: YesNo + useYn: string diff --git a/backend-api/src/user/entities/user.entity.ts b/backend-api/src/user/entities/user.entity.ts index 410378d..654ae4d 100644 --- a/backend-api/src/user/entities/user.entity.ts +++ b/backend-api/src/user/entities/user.entity.ts @@ -19,7 +19,7 @@ export class User { @ApiProperty({ description: '유저Id' }) userId: string; - @Column() + @Column({nullable: true}) @ApiProperty({ description: 'refreshTokenId' }) jwtId: number; diff --git a/backend-api/src/widget/dto/create-widget.dto.ts b/backend-api/src/widget/dto/create-widget.dto.ts index 4d33b1b..a8c4c24 100644 --- a/backend-api/src/widget/dto/create-widget.dto.ts +++ b/backend-api/src/widget/dto/create-widget.dto.ts @@ -37,5 +37,5 @@ export class CreateWidgetDto { @IsString() @IsOptional() - delYn: YesNo; + delYn: string; } diff --git a/backend-api/src/widget/entities/widget.entity.ts b/backend-api/src/widget/entities/widget.entity.ts index 36c2144..0256ccb 100644 --- a/backend-api/src/widget/entities/widget.entity.ts +++ b/backend-api/src/widget/entities/widget.entity.ts @@ -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({ diff --git a/backend-api/test/QTT-002/widgetTestOption.json b/backend-api/test/QTT-002/widgetTestOption.json index 5376f24..b5f1ec0 100644 --- a/backend-api/test/QTT-002/widgetTestOption.json +++ b/backend-api/test/QTT-002/widgetTestOption.json @@ -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": { diff --git a/backend-api/tsconfig.json b/backend-api/tsconfig.json index 78479fd..ca67170 100644 --- a/backend-api/tsconfig.json +++ b/backend-api/tsconfig.json @@ -12,7 +12,7 @@ "incremental": true, "resolveJsonModule": true, "esModuleInterop": true, - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, }, "exclude": ["node_modules", "dist"] }