From 2e96c3a8dc3697c0123d06a669f5230654ef39a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=90=EC=8A=B9=EC=9A=B0?= Date: Thu, 16 Feb 2023 19:08:13 +0900 Subject: [PATCH] add: add seedData --- backend-api/.env.ci | 2 +- backend-api/ormconfig.ts | 18 + backend-api/package-lock.json | 468 ++++- backend-api/package.json | 3 + backend-api/sqlite.db | Bin 110592 -> 0 bytes backend-api/src/app.module.ts | 6 + .../src/common/entities/base.entity.ts | 3 +- backend-api/src/common/enum/yn.enum.ts | 7 +- .../src/component/dto/create-component.dto.ts | 2 +- .../component/entities/component.entity.ts | 2 +- backend-api/src/dashboard/dashboard.module.ts | 2 +- .../src/dashboard/dashboard.service.ts | 4 +- .../dashboard/entities/dashboard.entity.ts | 2 +- ...ard_share.ts => dashboard_share.entity.ts} | 4 +- .../database/entities/database_type.entity.ts | 2 +- .../src/database/seeds/create-initial-data.ts | 1502 +++++++++++++++++ .../entities/login-history.entity.ts | 2 +- backend-api/src/share-url/share-url.module.ts | 6 +- .../src/share-url/share-url.service.ts | 4 +- .../src/template/entities/template.entity.ts | 2 +- backend-api/src/user/entities/user.entity.ts | 2 +- .../src/widget/dto/create-widget.dto.ts | 2 +- .../src/widget/entities/widget.entity.ts | 2 +- .../test/QTT-002/widgetTestOption.json | 200 +-- backend-api/tsconfig.json | 2 +- 25 files changed, 2037 insertions(+), 212 deletions(-) create mode 100644 backend-api/ormconfig.ts delete mode 100644 backend-api/sqlite.db rename backend-api/src/dashboard/entities/{dashboard_share.ts => dashboard_share.entity.ts} (85%) create mode 100644 backend-api/src/database/seeds/create-initial-data.ts 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 6cdba93396ce44c3fcd6016d0bb28e0208fac0b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 110592 zcmeHw3vgT4nI1s!O#+ZC%QP)ByaX(hv;-3G7cEO52vU$pkm5rUq$ubGa6v)@0SW*` zQLY*Tq!Pzg;yAHl`MFBt#G8$?tHh5u+hn($?zXer-OlW8yVEwa+v)7gPAh`jZoBPv znr^rMx$g^HfBzyJUJ|M}1RKQpJs<5`M`rP51emar)HD3nUYF@jJi z6z{ zKxi2y?x0{isw3jbEHzK1iK%J-gl9TPob&|=&)n>!KLFfL_yX{LmIruKl*}xIQ)D{o z7nKw}MxH)}{`FLAjx(;p43$ zv>K1jQ`zG0ZBkf^AAd@0pOIZox&8S>OH)U8xAJ0+Hi_{37aC@Bvd*LnK$-vC)w8sw( zj&AN$$Q7eZF+1t7yP`3t(P9gmZDC{7X>=IvI$|#1KQ-rrmLQ9e=ay zky-((U|HpZg)rLZs)?wYinR@W3^GGyXT`?HKNrYSJtg7m2o?mXD zdtKM{tXGA9fJ4L}dNcRAQL0AqquruRG30$k^_@!2$CDy=V5XJ1jThKqE$z>D)HikL z^~&`X8glwi=+X+6UK4$6kOD4xvPi~vU9Q-pvvsQ8Y>qUh+z4Ib$1F&oVmgVAg-*$AV_ZL_;AHkqU>mC2gv zKTqo-i8xHm>)bkKoNv(`*1@DQJAl=>pVr0V35p&KyI~mt$_+%rx@(8g+G$`Vk?>?j zs2I7D01Dak3U!U8!u;dO#L2-KDz%b;W#b5NY1*Ijin+8BMwi=Wbz2=pTw2{0=VdY( zPb6R*o+U#W5*9Eh^#0m7E~T*(-W6|y!F&t&-@iX+5c3ZxJAqTT$s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SOmD!yQ~qH z(}F%lOi`B|?WfeotTBt7PNS$u)J7k{qDV4qqmN}#PG{H}qw^VUQ5ynEAB{MTVY+O@ z=87jyE45?+Pr{#cheScL&tafgalfK~u9cL+g@Dl9yr1yN$>o}}hM&<3TLL>{3J-vDZ zf@pw2)0<#9APT>Id+WwG(Va+}FT6r*@p(kYQ=&$r*;GDGhIq&Gl~LAsgA*g5)iRcw z`-gf2k(REED^)^7hz{|zvv7<&EprCPVno|x?`#lv-+N~BJ8+lP+i$^*VZhD(J$)kp zoq=7qo~6_ZoZ~qR(L`dg_!U&$zwti6ue)|Fu>QCXiGQ*iD(>}?OJU0RBHP_NuY<>c z>#1(v{Sn-n#wm)m6n)X5zS16$aSCTpV5^D^nvf0!U%0}0Ik0cBX zc-Wk;2Pw*f6qO5BX{TU(@EN3|}=BQHeEM%vBtN)u{|oDdR4vTlTlof>^wm!Z>>N_)YJg3rv6bc6y%@)0?aKOr(E z9ud?!cMmc?DJLT#w2O>uVk#f10w1GN(VZroN-xqO4;YnJ*SE6T<*ax}PTV3Z{zVH5 zqpKJADr>n1-NMOWnPbOvvsr^Gb5DOpFtyA*urn;j4pF$hQTX9|l{#Q{QTx7w)_u<;Q!8sVbv>juPRsBbo|f#K>&{i z(NqT>4dT(D?C=eb2Gdz?#EwUU{NP_0(&Et|JLg+rG>H3h+*tURrZ3lMsSvvH2|&N(Gu$eyxFD)|6Rm5O-GT1z~YPe(iIc ug12u%sL{>*dxe+3FD}k6n93A~X=Hv*pI^u 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"] }