From 800062241602f3f8e23c09d02263843eb80494f2 Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Fri, 7 Feb 2020 00:04:06 +0100 Subject: [PATCH 01/20] typescript client skeleton --- .gitignore | 2 +- README.md | 1 + client/.gitignore | 2 + client/README.md | 68 - client/package-lock.json | 37 +- client/package.json | 7 +- client/public/index.html | 40 +- client/public/robots.txt | 1 - client/src/App.css | 64 +- client/src/App.js | 26 - client/src/{App.test.js => App.test.tsx} | 0 client/src/App.tsx | 16 + client/src/index.js | 12 - client/src/index.tsx | 9 + client/src/logo.svg | 7 - client/src/pages/HomePage.tsx | 5 + client/src/pages/ProjectPage.tsx | 14 + client/src/pages/TicketPage.tsx | 15 + client/src/pages/UserPage.tsx | 11 + .../{serviceWorker.js => serviceWorker.ts} | 16 +- client/src/{setupTests.js => setupTests.ts} | 0 client/src/types/File.ts | 3 + client/src/types/History.ts | 3 + client/src/types/Note.ts | 3 + client/src/types/Project.ts | 3 + client/src/types/Ticket.ts | 3 + client/src/types/User.ts | 3 + client/src/utils/Constants.ts | 3 + client/src/utils/router.tsx | 32 + client/src/viewModels/ProjectVM.ts | 5 + client/src/viewModels/TicketVM.ts | 5 + client/src/viewModels/UserVM.ts | 5 + client/tsconfig.json | 25 + node_modules/.bin/loose-envify | 1 + node_modules/@babel/runtime/LICENSE | 22 + node_modules/@babel/runtime/README.md | 19 + .../@babel/runtime/helpers/AsyncGenerator.js | 100 + .../@babel/runtime/helpers/AwaitValue.js | 5 + .../helpers/applyDecoratedDescriptor.js | 30 + .../@babel/runtime/helpers/arrayWithHoles.js | 5 + .../runtime/helpers/arrayWithoutHoles.js | 11 + .../runtime/helpers/assertThisInitialized.js | 9 + .../runtime/helpers/asyncGeneratorDelegate.js | 58 + .../@babel/runtime/helpers/asyncIterator.js | 19 + .../runtime/helpers/asyncToGenerator.js | 37 + .../runtime/helpers/awaitAsyncGenerator.js | 7 + .../@babel/runtime/helpers/classCallCheck.js | 7 + .../runtime/helpers/classNameTDZError.js | 5 + .../classPrivateFieldDestructureSet.js | 28 + .../runtime/helpers/classPrivateFieldGet.js | 15 + .../helpers/classPrivateFieldLooseBase.js | 9 + .../helpers/classPrivateFieldLooseKey.js | 7 + .../runtime/helpers/classPrivateFieldSet.js | 21 + .../runtime/helpers/classPrivateMethodGet.js | 9 + .../runtime/helpers/classPrivateMethodSet.js | 5 + .../helpers/classStaticPrivateFieldSpecGet.js | 13 + .../helpers/classStaticPrivateFieldSpecSet.js | 19 + .../helpers/classStaticPrivateMethodGet.js | 9 + .../helpers/classStaticPrivateMethodSet.js | 5 + .../@babel/runtime/helpers/construct.js | 33 + .../@babel/runtime/helpers/createClass.js | 17 + .../@babel/runtime/helpers/decorate.js | 400 + .../@babel/runtime/helpers/defaults.js | 16 + .../helpers/defineEnumerableProperties.js | 24 + .../@babel/runtime/helpers/defineProperty.js | 16 + .../runtime/helpers/esm/AsyncGenerator.js | 97 + .../@babel/runtime/helpers/esm/AwaitValue.js | 3 + .../helpers/esm/applyDecoratedDescriptor.js | 28 + .../runtime/helpers/esm/arrayWithHoles.js | 3 + .../runtime/helpers/esm/arrayWithoutHoles.js | 9 + .../helpers/esm/assertThisInitialized.js | 7 + .../helpers/esm/asyncGeneratorDelegate.js | 56 + .../runtime/helpers/esm/asyncIterator.js | 17 + .../runtime/helpers/esm/asyncToGenerator.js | 35 + .../helpers/esm/awaitAsyncGenerator.js | 4 + .../runtime/helpers/esm/classCallCheck.js | 5 + .../runtime/helpers/esm/classNameTDZError.js | 3 + .../esm/classPrivateFieldDestructureSet.js | 26 + .../helpers/esm/classPrivateFieldGet.js | 13 + .../helpers/esm/classPrivateFieldLooseBase.js | 7 + .../helpers/esm/classPrivateFieldLooseKey.js | 4 + .../helpers/esm/classPrivateFieldSet.js | 19 + .../helpers/esm/classPrivateMethodGet.js | 7 + .../helpers/esm/classPrivateMethodSet.js | 3 + .../esm/classStaticPrivateFieldSpecGet.js | 11 + .../esm/classStaticPrivateFieldSpecSet.js | 17 + .../esm/classStaticPrivateMethodGet.js | 7 + .../esm/classStaticPrivateMethodSet.js | 3 + .../@babel/runtime/helpers/esm/construct.js | 31 + .../@babel/runtime/helpers/esm/createClass.js | 15 + .../@babel/runtime/helpers/esm/decorate.js | 396 + .../@babel/runtime/helpers/esm/defaults.js | 14 + .../helpers/esm/defineEnumerableProperties.js | 22 + .../runtime/helpers/esm/defineProperty.js | 14 + .../@babel/runtime/helpers/esm/extends.js | 17 + .../@babel/runtime/helpers/esm/get.js | 20 + .../runtime/helpers/esm/getPrototypeOf.js | 6 + .../@babel/runtime/helpers/esm/inherits.js | 15 + .../runtime/helpers/esm/inheritsLoose.js | 5 + .../helpers/esm/initializerDefineProperty.js | 9 + .../helpers/esm/initializerWarningHelper.js | 3 + .../@babel/runtime/helpers/esm/instanceof.js | 7 + .../helpers/esm/interopRequireDefault.js | 5 + .../helpers/esm/interopRequireWildcard.js | 53 + .../runtime/helpers/esm/isNativeFunction.js | 3 + .../runtime/helpers/esm/iterableToArray.js | 3 + .../helpers/esm/iterableToArrayLimit.js | 29 + .../helpers/esm/iterableToArrayLimitLoose.js | 15 + .../@babel/runtime/helpers/esm/jsx.js | 46 + .../runtime/helpers/esm/newArrowCheck.js | 5 + .../runtime/helpers/esm/nonIterableRest.js | 3 + .../runtime/helpers/esm/nonIterableSpread.js | 3 + .../helpers/esm/objectDestructuringEmpty.js | 3 + .../runtime/helpers/esm/objectSpread.js | 19 + .../runtime/helpers/esm/objectSpread2.js | 35 + .../helpers/esm/objectWithoutProperties.js | 19 + .../esm/objectWithoutPropertiesLoose.js | 14 + .../@babel/runtime/helpers/esm/package.json | 3 + .../helpers/esm/possibleConstructorReturn.js | 9 + .../runtime/helpers/esm/readOnlyError.js | 3 + .../@babel/runtime/helpers/esm/set.js | 51 + .../runtime/helpers/esm/setPrototypeOf.js | 8 + .../helpers/esm/skipFirstGeneratorNext.js | 7 + .../runtime/helpers/esm/slicedToArray.js | 6 + .../runtime/helpers/esm/slicedToArrayLoose.js | 6 + .../runtime/helpers/esm/superPropBase.js | 9 + .../helpers/esm/taggedTemplateLiteral.js | 11 + .../helpers/esm/taggedTemplateLiteralLoose.js | 8 + .../@babel/runtime/helpers/esm/tdz.js | 3 + .../@babel/runtime/helpers/esm/temporalRef.js | 5 + .../runtime/helpers/esm/temporalUndefined.js | 1 + .../@babel/runtime/helpers/esm/toArray.js | 6 + .../runtime/helpers/esm/toConsumableArray.js | 6 + .../@babel/runtime/helpers/esm/toPrimitive.js | 13 + .../runtime/helpers/esm/toPropertyKey.js | 6 + .../@babel/runtime/helpers/esm/typeof.js | 15 + .../runtime/helpers/esm/wrapAsyncGenerator.js | 6 + .../runtime/helpers/esm/wrapNativeSuper.js | 37 + .../@babel/runtime/helpers/esm/wrapRegExp.js | 69 + .../@babel/runtime/helpers/extends.js | 19 + node_modules/@babel/runtime/helpers/get.js | 23 + .../@babel/runtime/helpers/getPrototypeOf.js | 8 + .../@babel/runtime/helpers/inherits.js | 18 + .../@babel/runtime/helpers/inheritsLoose.js | 7 + .../helpers/initializerDefineProperty.js | 11 + .../helpers/initializerWarningHelper.js | 5 + .../@babel/runtime/helpers/instanceof.js | 9 + .../runtime/helpers/interopRequireDefault.js | 7 + .../runtime/helpers/interopRequireWildcard.js | 55 + .../runtime/helpers/isNativeFunction.js | 5 + .../@babel/runtime/helpers/iterableToArray.js | 5 + .../runtime/helpers/iterableToArrayLimit.js | 31 + .../helpers/iterableToArrayLimitLoose.js | 17 + node_modules/@babel/runtime/helpers/jsx.js | 49 + .../@babel/runtime/helpers/newArrowCheck.js | 7 + .../@babel/runtime/helpers/nonIterableRest.js | 5 + .../runtime/helpers/nonIterableSpread.js | 5 + .../helpers/objectDestructuringEmpty.js | 5 + .../@babel/runtime/helpers/objectSpread.js | 22 + .../@babel/runtime/helpers/objectSpread2.js | 37 + .../helpers/objectWithoutProperties.js | 22 + .../helpers/objectWithoutPropertiesLoose.js | 16 + .../helpers/possibleConstructorReturn.js | 13 + .../@babel/runtime/helpers/readOnlyError.js | 5 + node_modules/@babel/runtime/helpers/set.js | 54 + .../@babel/runtime/helpers/setPrototypeOf.js | 10 + .../runtime/helpers/skipFirstGeneratorNext.js | 9 + .../@babel/runtime/helpers/slicedToArray.js | 11 + .../runtime/helpers/slicedToArrayLoose.js | 11 + .../@babel/runtime/helpers/superPropBase.js | 12 + .../runtime/helpers/taggedTemplateLiteral.js | 13 + .../helpers/taggedTemplateLiteralLoose.js | 10 + node_modules/@babel/runtime/helpers/tdz.js | 5 + .../@babel/runtime/helpers/temporalRef.js | 9 + .../runtime/helpers/temporalUndefined.js | 3 + .../@babel/runtime/helpers/toArray.js | 11 + .../runtime/helpers/toConsumableArray.js | 11 + .../@babel/runtime/helpers/toPrimitive.js | 16 + .../@babel/runtime/helpers/toPropertyKey.js | 10 + node_modules/@babel/runtime/helpers/typeof.js | 17 + .../runtime/helpers/wrapAsyncGenerator.js | 9 + .../@babel/runtime/helpers/wrapNativeSuper.js | 43 + .../@babel/runtime/helpers/wrapRegExp.js | 76 + node_modules/@babel/runtime/package.json | 58 + .../@babel/runtime/regenerator/index.js | 1 + node_modules/@types/history/DOMUtils.d.ts | 13 + .../@types/history/ExecutionEnvironment.d.ts | 1 + node_modules/@types/history/LICENSE | 21 + .../@types/history/LocationUtils.d.ts | 12 + node_modules/@types/history/PathUtils.d.ts | 9 + node_modules/@types/history/README.md | 16 + .../@types/history/createBrowserHistory.d.ts | 13 + .../@types/history/createHashHistory.d.ts | 14 + .../@types/history/createMemoryHistory.d.ts | 19 + .../history/createTransitionManager.d.ts | 31 + node_modules/@types/history/index.d.ts | 109 + node_modules/@types/history/package.json | 66 + node_modules/@types/prop-types/LICENSE | 21 + node_modules/@types/prop-types/README.md | 16 + node_modules/@types/prop-types/index.d.ts | 92 + node_modules/@types/prop-types/package.json | 61 + node_modules/@types/react-router-dom/LICENSE | 21 + .../@types/react-router-dom/README.md | 16 + .../@types/react-router-dom/index.d.ts | 80 + .../@types/react-router-dom/package.json | 78 + node_modules/@types/react-router/LICENSE | 21 + node_modules/@types/react-router/README.md | 16 + node_modules/@types/react-router/index.d.ts | 169 + node_modules/@types/react-router/package.json | 132 + node_modules/@types/react/LICENSE | 21 + node_modules/@types/react/README.md | 16 + node_modules/@types/react/experimental.d.ts | 166 + node_modules/@types/react/global.d.ts | 149 + node_modules/@types/react/index.d.ts | 3084 ++ node_modules/@types/react/package.json | 141 + node_modules/csstype/LICENSE | 19 + node_modules/csstype/README.md | 220 + node_modules/csstype/index.d.ts | 30573 ++++++++++++++++ node_modules/csstype/index.js.flow | 5981 +++ node_modules/csstype/package.json | 92 + node_modules/gud/README.md | 25 + node_modules/gud/index.js | 8 + node_modules/gud/package.json | 63 + node_modules/history/DOMUtils.js | 3 + node_modules/history/ExecutionEnvironment.js | 3 + node_modules/history/LICENSE | 21 + node_modules/history/LocationUtils.js | 3 + node_modules/history/PathUtils.js | 3 + node_modules/history/README.md | 38 + node_modules/history/cjs/history.js | 948 + node_modules/history/cjs/history.min.js | 1 + node_modules/history/createBrowserHistory.js | 3 + node_modules/history/createHashHistory.js | 3 + node_modules/history/createMemoryHistory.js | 3 + .../history/createTransitionManager.js | 3 + node_modules/history/es/DOMUtils.js | 7 + .../history/es/ExecutionEnvironment.js | 7 + node_modules/history/es/LocationUtils.js | 7 + node_modules/history/es/PathUtils.js | 7 + .../history/es/createBrowserHistory.js | 7 + node_modules/history/es/createHashHistory.js | 7 + .../history/es/createMemoryHistory.js | 7 + .../history/es/createTransitionManager.js | 7 + .../es/warnAboutDeprecatedESMImport.js | 35 + node_modules/history/esm/history.js | 919 + node_modules/history/index.js | 7 + node_modules/history/package.json | 117 + node_modules/history/umd/history.js | 1085 + node_modules/history/umd/history.min.js | 1 + .../history/warnAboutDeprecatedCJSRequire.js | 35 + .../hoist-non-react-statics/CHANGELOG.md | 37 + .../hoist-non-react-statics/LICENSE.md | 29 + .../hoist-non-react-statics/README.md | 55 + .../dist/hoist-non-react-statics.cjs.js | 103 + .../dist/hoist-non-react-statics.js | 449 + .../dist/hoist-non-react-statics.min.js | 1 + .../hoist-non-react-statics/package.json | 87 + .../hoist-non-react-statics/src/index.js | 104 + node_modules/isarray/README.md | 54 + node_modules/isarray/build/build.js | 209 + node_modules/isarray/component.json | 19 + node_modules/isarray/index.js | 3 + node_modules/isarray/package.json | 57 + node_modules/js-tokens/CHANGELOG.md | 151 + node_modules/js-tokens/LICENSE | 21 + node_modules/js-tokens/README.md | 240 + node_modules/js-tokens/index.js | 23 + node_modules/js-tokens/package.json | 64 + node_modules/loose-envify/LICENSE | 21 + node_modules/loose-envify/README.md | 45 + node_modules/loose-envify/cli.js | 16 + node_modules/loose-envify/custom.js | 4 + node_modules/loose-envify/index.js | 3 + node_modules/loose-envify/loose-envify.js | 36 + node_modules/loose-envify/package.json | 70 + node_modules/loose-envify/replace.js | 65 + .../mini-create-react-context/LICENSE | 21 + .../mini-create-react-context/README.md | 117 + .../dist/cjs/index.js | 165 + .../dist/cjs/index.min.js | 1 + .../dist/esm/index.js | 175 + .../mini-create-react-context/dist/index.d.ts | 24 + .../mini-create-react-context/package.json | 99 + node_modules/object-assign/index.js | 90 + node_modules/object-assign/license | 21 + node_modules/object-assign/package.json | 74 + node_modules/object-assign/readme.md | 61 + node_modules/path-to-regexp/History.md | 158 + node_modules/path-to-regexp/LICENSE | 21 + node_modules/path-to-regexp/Readme.md | 257 + node_modules/path-to-regexp/index.d.ts | 84 + node_modules/path-to-regexp/index.js | 426 + node_modules/path-to-regexp/package.json | 76 + node_modules/prop-types/CHANGELOG.md | 92 + node_modules/prop-types/LICENSE | 21 + node_modules/prop-types/README.md | 296 + node_modules/prop-types/checkPropTypes.js | 102 + node_modules/prop-types/factory.js | 19 + .../prop-types/factoryWithThrowingShims.js | 64 + .../prop-types/factoryWithTypeCheckers.js | 591 + node_modules/prop-types/index.js | 19 + .../prop-types/lib/ReactPropTypesSecret.js | 12 + node_modules/prop-types/package.json | 87 + node_modules/prop-types/prop-types.js | 1337 + node_modules/prop-types/prop-types.min.js | 1 + node_modules/react-is/LICENSE | 21 + node_modules/react-is/README.md | 104 + node_modules/react-is/build-info.json | 8 + .../react-is/cjs/react-is.development.js | 236 + .../react-is/cjs/react-is.production.min.js | 15 + node_modules/react-is/index.js | 7 + node_modules/react-is/package.json | 54 + .../react-is/umd/react-is.development.js | 236 + .../react-is/umd/react-is.production.min.js | 13 + .../react-router-dom/BrowserRouter.js | 3 + node_modules/react-router-dom/HashRouter.js | 3 + node_modules/react-router-dom/LICENSE | 21 + node_modules/react-router-dom/Link.js | 3 + node_modules/react-router-dom/MemoryRouter.js | 3 + node_modules/react-router-dom/NavLink.js | 3 + node_modules/react-router-dom/Prompt.js | 3 + node_modules/react-router-dom/README.md | 37 + node_modules/react-router-dom/Redirect.js | 3 + node_modules/react-router-dom/Route.js | 3 + node_modules/react-router-dom/Router.js | 3 + node_modules/react-router-dom/StaticRouter.js | 3 + node_modules/react-router-dom/Switch.js | 3 + .../react-router-dom/cjs/react-router-dom.js | 362 + .../cjs/react-router-dom.js.map | 1 + .../cjs/react-router-dom.min.js | 2 + .../cjs/react-router-dom.min.js.map | 1 + .../react-router-dom/es/BrowserRouter.js | 7 + .../react-router-dom/es/HashRouter.js | 7 + node_modules/react-router-dom/es/Link.js | 7 + .../react-router-dom/es/MemoryRouter.js | 7 + node_modules/react-router-dom/es/NavLink.js | 7 + node_modules/react-router-dom/es/Prompt.js | 7 + node_modules/react-router-dom/es/Redirect.js | 7 + node_modules/react-router-dom/es/Route.js | 7 + node_modules/react-router-dom/es/Router.js | 7 + .../react-router-dom/es/StaticRouter.js | 7 + node_modules/react-router-dom/es/Switch.js | 7 + .../react-router-dom/es/generatePath.js | 7 + node_modules/react-router-dom/es/matchPath.js | 7 + .../es/warnAboutDeprecatedESMImport.js | 35 + .../react-router-dom/es/withRouter.js | 7 + .../react-router-dom/esm/react-router-dom.js | 312 + .../esm/react-router-dom.js.map | 1 + node_modules/react-router-dom/generatePath.js | 3 + node_modules/react-router-dom/index.js | 7 + node_modules/react-router-dom/matchPath.js | 3 + .../react-router-dom/modules/BrowserRouter.js | 36 + .../react-router-dom/modules/HashRouter.js | 35 + node_modules/react-router-dom/modules/Link.js | 142 + .../react-router-dom/modules/NavLink.js | 119 + .../react-router-dom/modules/index.js | 6 + .../modules/utils/locationUtils.js | 10 + node_modules/react-router-dom/package.json | 102 + .../react-router-dom/umd/react-router-dom.js | 3959 ++ .../umd/react-router-dom.js.map | 1 + .../umd/react-router-dom.min.js | 2 + .../umd/react-router-dom.min.js.map | 1 + .../warnAboutDeprecatedCJSRequire.js | 35 + node_modules/react-router-dom/withRouter.js | 3 + node_modules/react-router/LICENSE | 21 + node_modules/react-router/MemoryRouter.js | 3 + node_modules/react-router/Prompt.js | 3 + node_modules/react-router/README.md | 39 + node_modules/react-router/Redirect.js | 3 + node_modules/react-router/Route.js | 3 + node_modules/react-router/Router.js | 3 + node_modules/react-router/StaticRouter.js | 3 + node_modules/react-router/Switch.js | 3 + node_modules/react-router/cjs/react-router.js | 808 + .../react-router/cjs/react-router.js.map | 1 + .../react-router/cjs/react-router.min.js | 2 + .../react-router/cjs/react-router.min.js.map | 1 + node_modules/react-router/es/MemoryRouter.js | 7 + node_modules/react-router/es/Prompt.js | 7 + node_modules/react-router/es/Redirect.js | 7 + node_modules/react-router/es/Route.js | 7 + node_modules/react-router/es/Router.js | 7 + node_modules/react-router/es/StaticRouter.js | 7 + node_modules/react-router/es/Switch.js | 7 + node_modules/react-router/es/generatePath.js | 7 + node_modules/react-router/es/matchPath.js | 7 + .../es/warnAboutDeprecatedESMImport.js | 35 + node_modules/react-router/es/withRouter.js | 7 + node_modules/react-router/esm/react-router.js | 754 + .../react-router/esm/react-router.js.map | 1 + node_modules/react-router/generatePath.js | 3 + node_modules/react-router/index.js | 7 + node_modules/react-router/matchPath.js | 3 + .../react-router/modules/Lifecycle.js | 21 + .../react-router/modules/MemoryRouter.js | 37 + node_modules/react-router/modules/Prompt.js | 52 + node_modules/react-router/modules/Redirect.js | 72 + node_modules/react-router/modules/Route.js | 140 + node_modules/react-router/modules/Router.js | 83 + .../react-router/modules/RouterContext.js | 12 + .../react-router/modules/StaticRouter.js | 102 + node_modules/react-router/modules/Switch.js | 67 + .../react-router/modules/generatePath.js | 27 + node_modules/react-router/modules/hooks.js | 54 + node_modules/react-router/modules/index.js | 38 + .../react-router/modules/matchPath.js | 67 + .../react-router/modules/withRouter.js | 50 + node_modules/react-router/package.json | 100 + node_modules/react-router/umd/react-router.js | 3066 ++ .../react-router/umd/react-router.js.map | 1 + .../react-router/umd/react-router.min.js | 2 + .../react-router/umd/react-router.min.js.map | 1 + .../warnAboutDeprecatedCJSRequire.js | 35 + node_modules/react-router/withRouter.js | 3 + node_modules/regenerator-runtime/LICENSE | 21 + node_modules/regenerator-runtime/README.md | 31 + node_modules/regenerator-runtime/package.json | 47 + node_modules/regenerator-runtime/path.js | 11 + node_modules/regenerator-runtime/runtime.js | 726 + node_modules/resolve-pathname/LICENSE | 21 + node_modules/resolve-pathname/README.md | 64 + .../resolve-pathname/cjs/resolve-pathname.js | 77 + .../cjs/resolve-pathname.min.js | 1 + .../resolve-pathname/esm/resolve-pathname.js | 75 + node_modules/resolve-pathname/index.js | 7 + node_modules/resolve-pathname/package.json | 71 + .../resolve-pathname/umd/resolve-pathname.js | 83 + .../umd/resolve-pathname.min.js | 1 + node_modules/tiny-invariant/LICENSE | 21 + node_modules/tiny-invariant/README.md | 97 + .../tiny-invariant/dist/tiny-invariant.cjs.js | 15 + .../tiny-invariant/dist/tiny-invariant.d.ts | 1 + .../tiny-invariant/dist/tiny-invariant.esm.js | 13 + .../tiny-invariant/dist/tiny-invariant.js | 20 + .../tiny-invariant/dist/tiny-invariant.min.js | 1 + node_modules/tiny-invariant/package.json | 85 + .../tiny-invariant/src/tiny-invariant.flow.js | 12 + .../tiny-invariant/src/tiny-invariant.ts | 25 + node_modules/tiny-warning/LICENSE | 21 + node_modules/tiny-warning/README.md | 68 + .../tiny-warning/dist/tiny-warning.cjs.js | 22 + .../dist/tiny-warning.cjs.js.flow | 3 + .../tiny-warning/dist/tiny-warning.esm.js | 20 + .../tiny-warning/dist/tiny-warning.js | 27 + .../tiny-warning/dist/tiny-warning.min.js | 1 + node_modules/tiny-warning/package.json | 85 + node_modules/tiny-warning/src/index.d.ts | 1 + node_modules/tiny-warning/src/index.js | 30 + node_modules/value-equal/LICENSE | 21 + node_modules/value-equal/README.md | 54 + node_modules/value-equal/cjs/value-equal.js | 38 + .../value-equal/cjs/value-equal.min.js | 1 + node_modules/value-equal/esm/value-equal.js | 36 + node_modules/value-equal/index.js | 7 + node_modules/value-equal/package.json | 71 + node_modules/value-equal/umd/value-equal.js | 44 + .../value-equal/umd/value-equal.min.js | 1 + package-lock.json | 195 + 458 files changed, 69045 insertions(+), 186 deletions(-) delete mode 100644 client/README.md delete mode 100644 client/src/App.js rename client/src/{App.test.js => App.test.tsx} (100%) create mode 100644 client/src/App.tsx delete mode 100644 client/src/index.js create mode 100644 client/src/index.tsx delete mode 100644 client/src/logo.svg create mode 100644 client/src/pages/HomePage.tsx create mode 100644 client/src/pages/ProjectPage.tsx create mode 100644 client/src/pages/TicketPage.tsx create mode 100644 client/src/pages/UserPage.tsx rename client/src/{serviceWorker.js => serviceWorker.ts} (92%) rename client/src/{setupTests.js => setupTests.ts} (100%) create mode 100644 client/src/types/File.ts create mode 100644 client/src/types/History.ts create mode 100644 client/src/types/Note.ts create mode 100644 client/src/types/Project.ts create mode 100644 client/src/types/Ticket.ts create mode 100644 client/src/types/User.ts create mode 100644 client/src/utils/Constants.ts create mode 100644 client/src/utils/router.tsx create mode 100644 client/src/viewModels/ProjectVM.ts create mode 100644 client/src/viewModels/TicketVM.ts create mode 100644 client/src/viewModels/UserVM.ts create mode 100644 client/tsconfig.json create mode 120000 node_modules/.bin/loose-envify create mode 100644 node_modules/@babel/runtime/LICENSE create mode 100644 node_modules/@babel/runtime/README.md create mode 100644 node_modules/@babel/runtime/helpers/AsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/AwaitValue.js create mode 100644 node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js create mode 100644 node_modules/@babel/runtime/helpers/arrayWithHoles.js create mode 100644 node_modules/@babel/runtime/helpers/arrayWithoutHoles.js create mode 100644 node_modules/@babel/runtime/helpers/assertThisInitialized.js create mode 100644 node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js create mode 100644 node_modules/@babel/runtime/helpers/asyncIterator.js create mode 100644 node_modules/@babel/runtime/helpers/asyncToGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/classCallCheck.js create mode 100644 node_modules/@babel/runtime/helpers/classNameTDZError.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldGet.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateFieldSet.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateMethodGet.js create mode 100644 node_modules/@babel/runtime/helpers/classPrivateMethodSet.js create mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js create mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js create mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js create mode 100644 node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js create mode 100644 node_modules/@babel/runtime/helpers/construct.js create mode 100644 node_modules/@babel/runtime/helpers/createClass.js create mode 100644 node_modules/@babel/runtime/helpers/decorate.js create mode 100644 node_modules/@babel/runtime/helpers/defaults.js create mode 100644 node_modules/@babel/runtime/helpers/defineEnumerableProperties.js create mode 100644 node_modules/@babel/runtime/helpers/defineProperty.js create mode 100644 node_modules/@babel/runtime/helpers/esm/AsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/esm/AwaitValue.js create mode 100644 node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js create mode 100644 node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js create mode 100644 node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js create mode 100644 node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js create mode 100644 node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js create mode 100644 node_modules/@babel/runtime/helpers/esm/asyncIterator.js create mode 100644 node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classCallCheck.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classNameTDZError.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js create mode 100644 node_modules/@babel/runtime/helpers/esm/construct.js create mode 100644 node_modules/@babel/runtime/helpers/esm/createClass.js create mode 100644 node_modules/@babel/runtime/helpers/esm/decorate.js create mode 100644 node_modules/@babel/runtime/helpers/esm/defaults.js create mode 100644 node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js create mode 100644 node_modules/@babel/runtime/helpers/esm/defineProperty.js create mode 100644 node_modules/@babel/runtime/helpers/esm/extends.js create mode 100644 node_modules/@babel/runtime/helpers/esm/get.js create mode 100644 node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js create mode 100644 node_modules/@babel/runtime/helpers/esm/inherits.js create mode 100644 node_modules/@babel/runtime/helpers/esm/inheritsLoose.js create mode 100644 node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js create mode 100644 node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js create mode 100644 node_modules/@babel/runtime/helpers/esm/instanceof.js create mode 100644 node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js create mode 100644 node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js create mode 100644 node_modules/@babel/runtime/helpers/esm/isNativeFunction.js create mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArray.js create mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js create mode 100644 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js create mode 100644 node_modules/@babel/runtime/helpers/esm/jsx.js create mode 100644 node_modules/@babel/runtime/helpers/esm/newArrowCheck.js create mode 100644 node_modules/@babel/runtime/helpers/esm/nonIterableRest.js create mode 100644 node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js create mode 100644 node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js create mode 100644 node_modules/@babel/runtime/helpers/esm/objectSpread.js create mode 100644 node_modules/@babel/runtime/helpers/esm/objectSpread2.js create mode 100644 node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js create mode 100644 node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js create mode 100644 node_modules/@babel/runtime/helpers/esm/package.json create mode 100644 node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js create mode 100644 node_modules/@babel/runtime/helpers/esm/readOnlyError.js create mode 100644 node_modules/@babel/runtime/helpers/esm/set.js create mode 100644 node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js create mode 100644 node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js create mode 100644 node_modules/@babel/runtime/helpers/esm/slicedToArray.js create mode 100644 node_modules/@babel/runtime/helpers/esm/slicedToArrayLoose.js create mode 100644 node_modules/@babel/runtime/helpers/esm/superPropBase.js create mode 100644 node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js create mode 100644 node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js create mode 100644 node_modules/@babel/runtime/helpers/esm/tdz.js create mode 100644 node_modules/@babel/runtime/helpers/esm/temporalRef.js create mode 100644 node_modules/@babel/runtime/helpers/esm/temporalUndefined.js create mode 100644 node_modules/@babel/runtime/helpers/esm/toArray.js create mode 100644 node_modules/@babel/runtime/helpers/esm/toConsumableArray.js create mode 100644 node_modules/@babel/runtime/helpers/esm/toPrimitive.js create mode 100644 node_modules/@babel/runtime/helpers/esm/toPropertyKey.js create mode 100644 node_modules/@babel/runtime/helpers/esm/typeof.js create mode 100644 node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js create mode 100644 node_modules/@babel/runtime/helpers/esm/wrapRegExp.js create mode 100644 node_modules/@babel/runtime/helpers/extends.js create mode 100644 node_modules/@babel/runtime/helpers/get.js create mode 100644 node_modules/@babel/runtime/helpers/getPrototypeOf.js create mode 100644 node_modules/@babel/runtime/helpers/inherits.js create mode 100644 node_modules/@babel/runtime/helpers/inheritsLoose.js create mode 100644 node_modules/@babel/runtime/helpers/initializerDefineProperty.js create mode 100644 node_modules/@babel/runtime/helpers/initializerWarningHelper.js create mode 100644 node_modules/@babel/runtime/helpers/instanceof.js create mode 100644 node_modules/@babel/runtime/helpers/interopRequireDefault.js create mode 100644 node_modules/@babel/runtime/helpers/interopRequireWildcard.js create mode 100644 node_modules/@babel/runtime/helpers/isNativeFunction.js create mode 100644 node_modules/@babel/runtime/helpers/iterableToArray.js create mode 100644 node_modules/@babel/runtime/helpers/iterableToArrayLimit.js create mode 100644 node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js create mode 100644 node_modules/@babel/runtime/helpers/jsx.js create mode 100644 node_modules/@babel/runtime/helpers/newArrowCheck.js create mode 100644 node_modules/@babel/runtime/helpers/nonIterableRest.js create mode 100644 node_modules/@babel/runtime/helpers/nonIterableSpread.js create mode 100644 node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js create mode 100644 node_modules/@babel/runtime/helpers/objectSpread.js create mode 100644 node_modules/@babel/runtime/helpers/objectSpread2.js create mode 100644 node_modules/@babel/runtime/helpers/objectWithoutProperties.js create mode 100644 node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js create mode 100644 node_modules/@babel/runtime/helpers/possibleConstructorReturn.js create mode 100644 node_modules/@babel/runtime/helpers/readOnlyError.js create mode 100644 node_modules/@babel/runtime/helpers/set.js create mode 100644 node_modules/@babel/runtime/helpers/setPrototypeOf.js create mode 100644 node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js create mode 100644 node_modules/@babel/runtime/helpers/slicedToArray.js create mode 100644 node_modules/@babel/runtime/helpers/slicedToArrayLoose.js create mode 100644 node_modules/@babel/runtime/helpers/superPropBase.js create mode 100644 node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js create mode 100644 node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js create mode 100644 node_modules/@babel/runtime/helpers/tdz.js create mode 100644 node_modules/@babel/runtime/helpers/temporalRef.js create mode 100644 node_modules/@babel/runtime/helpers/temporalUndefined.js create mode 100644 node_modules/@babel/runtime/helpers/toArray.js create mode 100644 node_modules/@babel/runtime/helpers/toConsumableArray.js create mode 100644 node_modules/@babel/runtime/helpers/toPrimitive.js create mode 100644 node_modules/@babel/runtime/helpers/toPropertyKey.js create mode 100644 node_modules/@babel/runtime/helpers/typeof.js create mode 100644 node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js create mode 100644 node_modules/@babel/runtime/helpers/wrapNativeSuper.js create mode 100644 node_modules/@babel/runtime/helpers/wrapRegExp.js create mode 100644 node_modules/@babel/runtime/package.json create mode 100644 node_modules/@babel/runtime/regenerator/index.js create mode 100644 node_modules/@types/history/DOMUtils.d.ts create mode 100644 node_modules/@types/history/ExecutionEnvironment.d.ts create mode 100644 node_modules/@types/history/LICENSE create mode 100644 node_modules/@types/history/LocationUtils.d.ts create mode 100644 node_modules/@types/history/PathUtils.d.ts create mode 100644 node_modules/@types/history/README.md create mode 100644 node_modules/@types/history/createBrowserHistory.d.ts create mode 100644 node_modules/@types/history/createHashHistory.d.ts create mode 100644 node_modules/@types/history/createMemoryHistory.d.ts create mode 100644 node_modules/@types/history/createTransitionManager.d.ts create mode 100644 node_modules/@types/history/index.d.ts create mode 100644 node_modules/@types/history/package.json create mode 100644 node_modules/@types/prop-types/LICENSE create mode 100644 node_modules/@types/prop-types/README.md create mode 100644 node_modules/@types/prop-types/index.d.ts create mode 100644 node_modules/@types/prop-types/package.json create mode 100644 node_modules/@types/react-router-dom/LICENSE create mode 100644 node_modules/@types/react-router-dom/README.md create mode 100644 node_modules/@types/react-router-dom/index.d.ts create mode 100644 node_modules/@types/react-router-dom/package.json create mode 100644 node_modules/@types/react-router/LICENSE create mode 100644 node_modules/@types/react-router/README.md create mode 100644 node_modules/@types/react-router/index.d.ts create mode 100644 node_modules/@types/react-router/package.json create mode 100644 node_modules/@types/react/LICENSE create mode 100644 node_modules/@types/react/README.md create mode 100644 node_modules/@types/react/experimental.d.ts create mode 100644 node_modules/@types/react/global.d.ts create mode 100644 node_modules/@types/react/index.d.ts create mode 100644 node_modules/@types/react/package.json create mode 100644 node_modules/csstype/LICENSE create mode 100644 node_modules/csstype/README.md create mode 100644 node_modules/csstype/index.d.ts create mode 100644 node_modules/csstype/index.js.flow create mode 100644 node_modules/csstype/package.json create mode 100644 node_modules/gud/README.md create mode 100644 node_modules/gud/index.js create mode 100644 node_modules/gud/package.json create mode 100644 node_modules/history/DOMUtils.js create mode 100644 node_modules/history/ExecutionEnvironment.js create mode 100644 node_modules/history/LICENSE create mode 100644 node_modules/history/LocationUtils.js create mode 100644 node_modules/history/PathUtils.js create mode 100644 node_modules/history/README.md create mode 100644 node_modules/history/cjs/history.js create mode 100644 node_modules/history/cjs/history.min.js create mode 100644 node_modules/history/createBrowserHistory.js create mode 100644 node_modules/history/createHashHistory.js create mode 100644 node_modules/history/createMemoryHistory.js create mode 100644 node_modules/history/createTransitionManager.js create mode 100644 node_modules/history/es/DOMUtils.js create mode 100644 node_modules/history/es/ExecutionEnvironment.js create mode 100644 node_modules/history/es/LocationUtils.js create mode 100644 node_modules/history/es/PathUtils.js create mode 100644 node_modules/history/es/createBrowserHistory.js create mode 100644 node_modules/history/es/createHashHistory.js create mode 100644 node_modules/history/es/createMemoryHistory.js create mode 100644 node_modules/history/es/createTransitionManager.js create mode 100644 node_modules/history/es/warnAboutDeprecatedESMImport.js create mode 100644 node_modules/history/esm/history.js create mode 100644 node_modules/history/index.js create mode 100644 node_modules/history/package.json create mode 100644 node_modules/history/umd/history.js create mode 100644 node_modules/history/umd/history.min.js create mode 100644 node_modules/history/warnAboutDeprecatedCJSRequire.js create mode 100644 node_modules/hoist-non-react-statics/CHANGELOG.md create mode 100644 node_modules/hoist-non-react-statics/LICENSE.md create mode 100644 node_modules/hoist-non-react-statics/README.md create mode 100644 node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js create mode 100644 node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.js create mode 100644 node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.min.js create mode 100644 node_modules/hoist-non-react-statics/package.json create mode 100644 node_modules/hoist-non-react-statics/src/index.js create mode 100644 node_modules/isarray/README.md create mode 100644 node_modules/isarray/build/build.js create mode 100644 node_modules/isarray/component.json create mode 100644 node_modules/isarray/index.js create mode 100644 node_modules/isarray/package.json create mode 100644 node_modules/js-tokens/CHANGELOG.md create mode 100644 node_modules/js-tokens/LICENSE create mode 100644 node_modules/js-tokens/README.md create mode 100644 node_modules/js-tokens/index.js create mode 100644 node_modules/js-tokens/package.json create mode 100644 node_modules/loose-envify/LICENSE create mode 100644 node_modules/loose-envify/README.md create mode 100755 node_modules/loose-envify/cli.js create mode 100644 node_modules/loose-envify/custom.js create mode 100644 node_modules/loose-envify/index.js create mode 100644 node_modules/loose-envify/loose-envify.js create mode 100644 node_modules/loose-envify/package.json create mode 100644 node_modules/loose-envify/replace.js create mode 100644 node_modules/mini-create-react-context/LICENSE create mode 100644 node_modules/mini-create-react-context/README.md create mode 100644 node_modules/mini-create-react-context/dist/cjs/index.js create mode 100644 node_modules/mini-create-react-context/dist/cjs/index.min.js create mode 100644 node_modules/mini-create-react-context/dist/esm/index.js create mode 100644 node_modules/mini-create-react-context/dist/index.d.ts create mode 100644 node_modules/mini-create-react-context/package.json create mode 100644 node_modules/object-assign/index.js create mode 100644 node_modules/object-assign/license create mode 100644 node_modules/object-assign/package.json create mode 100644 node_modules/object-assign/readme.md create mode 100644 node_modules/path-to-regexp/History.md create mode 100644 node_modules/path-to-regexp/LICENSE create mode 100644 node_modules/path-to-regexp/Readme.md create mode 100644 node_modules/path-to-regexp/index.d.ts create mode 100644 node_modules/path-to-regexp/index.js create mode 100644 node_modules/path-to-regexp/package.json create mode 100644 node_modules/prop-types/CHANGELOG.md create mode 100644 node_modules/prop-types/LICENSE create mode 100644 node_modules/prop-types/README.md create mode 100644 node_modules/prop-types/checkPropTypes.js create mode 100644 node_modules/prop-types/factory.js create mode 100644 node_modules/prop-types/factoryWithThrowingShims.js create mode 100644 node_modules/prop-types/factoryWithTypeCheckers.js create mode 100644 node_modules/prop-types/index.js create mode 100644 node_modules/prop-types/lib/ReactPropTypesSecret.js create mode 100644 node_modules/prop-types/package.json create mode 100644 node_modules/prop-types/prop-types.js create mode 100644 node_modules/prop-types/prop-types.min.js create mode 100644 node_modules/react-is/LICENSE create mode 100644 node_modules/react-is/README.md create mode 100644 node_modules/react-is/build-info.json create mode 100644 node_modules/react-is/cjs/react-is.development.js create mode 100644 node_modules/react-is/cjs/react-is.production.min.js create mode 100644 node_modules/react-is/index.js create mode 100644 node_modules/react-is/package.json create mode 100644 node_modules/react-is/umd/react-is.development.js create mode 100644 node_modules/react-is/umd/react-is.production.min.js create mode 100644 node_modules/react-router-dom/BrowserRouter.js create mode 100644 node_modules/react-router-dom/HashRouter.js create mode 100644 node_modules/react-router-dom/LICENSE create mode 100644 node_modules/react-router-dom/Link.js create mode 100644 node_modules/react-router-dom/MemoryRouter.js create mode 100644 node_modules/react-router-dom/NavLink.js create mode 100644 node_modules/react-router-dom/Prompt.js create mode 100644 node_modules/react-router-dom/README.md create mode 100644 node_modules/react-router-dom/Redirect.js create mode 100644 node_modules/react-router-dom/Route.js create mode 100644 node_modules/react-router-dom/Router.js create mode 100644 node_modules/react-router-dom/StaticRouter.js create mode 100644 node_modules/react-router-dom/Switch.js create mode 100644 node_modules/react-router-dom/cjs/react-router-dom.js create mode 100644 node_modules/react-router-dom/cjs/react-router-dom.js.map create mode 100644 node_modules/react-router-dom/cjs/react-router-dom.min.js create mode 100644 node_modules/react-router-dom/cjs/react-router-dom.min.js.map create mode 100644 node_modules/react-router-dom/es/BrowserRouter.js create mode 100644 node_modules/react-router-dom/es/HashRouter.js create mode 100644 node_modules/react-router-dom/es/Link.js create mode 100644 node_modules/react-router-dom/es/MemoryRouter.js create mode 100644 node_modules/react-router-dom/es/NavLink.js create mode 100644 node_modules/react-router-dom/es/Prompt.js create mode 100644 node_modules/react-router-dom/es/Redirect.js create mode 100644 node_modules/react-router-dom/es/Route.js create mode 100644 node_modules/react-router-dom/es/Router.js create mode 100644 node_modules/react-router-dom/es/StaticRouter.js create mode 100644 node_modules/react-router-dom/es/Switch.js create mode 100644 node_modules/react-router-dom/es/generatePath.js create mode 100644 node_modules/react-router-dom/es/matchPath.js create mode 100644 node_modules/react-router-dom/es/warnAboutDeprecatedESMImport.js create mode 100644 node_modules/react-router-dom/es/withRouter.js create mode 100644 node_modules/react-router-dom/esm/react-router-dom.js create mode 100644 node_modules/react-router-dom/esm/react-router-dom.js.map create mode 100644 node_modules/react-router-dom/generatePath.js create mode 100644 node_modules/react-router-dom/index.js create mode 100644 node_modules/react-router-dom/matchPath.js create mode 100644 node_modules/react-router-dom/modules/BrowserRouter.js create mode 100644 node_modules/react-router-dom/modules/HashRouter.js create mode 100644 node_modules/react-router-dom/modules/Link.js create mode 100644 node_modules/react-router-dom/modules/NavLink.js create mode 100644 node_modules/react-router-dom/modules/index.js create mode 100644 node_modules/react-router-dom/modules/utils/locationUtils.js create mode 100644 node_modules/react-router-dom/package.json create mode 100644 node_modules/react-router-dom/umd/react-router-dom.js create mode 100644 node_modules/react-router-dom/umd/react-router-dom.js.map create mode 100644 node_modules/react-router-dom/umd/react-router-dom.min.js create mode 100644 node_modules/react-router-dom/umd/react-router-dom.min.js.map create mode 100644 node_modules/react-router-dom/warnAboutDeprecatedCJSRequire.js create mode 100644 node_modules/react-router-dom/withRouter.js create mode 100644 node_modules/react-router/LICENSE create mode 100644 node_modules/react-router/MemoryRouter.js create mode 100644 node_modules/react-router/Prompt.js create mode 100644 node_modules/react-router/README.md create mode 100644 node_modules/react-router/Redirect.js create mode 100644 node_modules/react-router/Route.js create mode 100644 node_modules/react-router/Router.js create mode 100644 node_modules/react-router/StaticRouter.js create mode 100644 node_modules/react-router/Switch.js create mode 100644 node_modules/react-router/cjs/react-router.js create mode 100644 node_modules/react-router/cjs/react-router.js.map create mode 100644 node_modules/react-router/cjs/react-router.min.js create mode 100644 node_modules/react-router/cjs/react-router.min.js.map create mode 100644 node_modules/react-router/es/MemoryRouter.js create mode 100644 node_modules/react-router/es/Prompt.js create mode 100644 node_modules/react-router/es/Redirect.js create mode 100644 node_modules/react-router/es/Route.js create mode 100644 node_modules/react-router/es/Router.js create mode 100644 node_modules/react-router/es/StaticRouter.js create mode 100644 node_modules/react-router/es/Switch.js create mode 100644 node_modules/react-router/es/generatePath.js create mode 100644 node_modules/react-router/es/matchPath.js create mode 100644 node_modules/react-router/es/warnAboutDeprecatedESMImport.js create mode 100644 node_modules/react-router/es/withRouter.js create mode 100644 node_modules/react-router/esm/react-router.js create mode 100644 node_modules/react-router/esm/react-router.js.map create mode 100644 node_modules/react-router/generatePath.js create mode 100644 node_modules/react-router/index.js create mode 100644 node_modules/react-router/matchPath.js create mode 100644 node_modules/react-router/modules/Lifecycle.js create mode 100644 node_modules/react-router/modules/MemoryRouter.js create mode 100644 node_modules/react-router/modules/Prompt.js create mode 100644 node_modules/react-router/modules/Redirect.js create mode 100644 node_modules/react-router/modules/Route.js create mode 100644 node_modules/react-router/modules/Router.js create mode 100644 node_modules/react-router/modules/RouterContext.js create mode 100644 node_modules/react-router/modules/StaticRouter.js create mode 100644 node_modules/react-router/modules/Switch.js create mode 100644 node_modules/react-router/modules/generatePath.js create mode 100644 node_modules/react-router/modules/hooks.js create mode 100644 node_modules/react-router/modules/index.js create mode 100644 node_modules/react-router/modules/matchPath.js create mode 100644 node_modules/react-router/modules/withRouter.js create mode 100644 node_modules/react-router/package.json create mode 100644 node_modules/react-router/umd/react-router.js create mode 100644 node_modules/react-router/umd/react-router.js.map create mode 100644 node_modules/react-router/umd/react-router.min.js create mode 100644 node_modules/react-router/umd/react-router.min.js.map create mode 100644 node_modules/react-router/warnAboutDeprecatedCJSRequire.js create mode 100644 node_modules/react-router/withRouter.js create mode 100644 node_modules/regenerator-runtime/LICENSE create mode 100644 node_modules/regenerator-runtime/README.md create mode 100644 node_modules/regenerator-runtime/package.json create mode 100644 node_modules/regenerator-runtime/path.js create mode 100644 node_modules/regenerator-runtime/runtime.js create mode 100644 node_modules/resolve-pathname/LICENSE create mode 100644 node_modules/resolve-pathname/README.md create mode 100644 node_modules/resolve-pathname/cjs/resolve-pathname.js create mode 100644 node_modules/resolve-pathname/cjs/resolve-pathname.min.js create mode 100644 node_modules/resolve-pathname/esm/resolve-pathname.js create mode 100644 node_modules/resolve-pathname/index.js create mode 100644 node_modules/resolve-pathname/package.json create mode 100644 node_modules/resolve-pathname/umd/resolve-pathname.js create mode 100644 node_modules/resolve-pathname/umd/resolve-pathname.min.js create mode 100644 node_modules/tiny-invariant/LICENSE create mode 100644 node_modules/tiny-invariant/README.md create mode 100644 node_modules/tiny-invariant/dist/tiny-invariant.cjs.js create mode 100644 node_modules/tiny-invariant/dist/tiny-invariant.d.ts create mode 100644 node_modules/tiny-invariant/dist/tiny-invariant.esm.js create mode 100644 node_modules/tiny-invariant/dist/tiny-invariant.js create mode 100644 node_modules/tiny-invariant/dist/tiny-invariant.min.js create mode 100644 node_modules/tiny-invariant/package.json create mode 100644 node_modules/tiny-invariant/src/tiny-invariant.flow.js create mode 100644 node_modules/tiny-invariant/src/tiny-invariant.ts create mode 100644 node_modules/tiny-warning/LICENSE create mode 100644 node_modules/tiny-warning/README.md create mode 100644 node_modules/tiny-warning/dist/tiny-warning.cjs.js create mode 100644 node_modules/tiny-warning/dist/tiny-warning.cjs.js.flow create mode 100644 node_modules/tiny-warning/dist/tiny-warning.esm.js create mode 100644 node_modules/tiny-warning/dist/tiny-warning.js create mode 100644 node_modules/tiny-warning/dist/tiny-warning.min.js create mode 100644 node_modules/tiny-warning/package.json create mode 100644 node_modules/tiny-warning/src/index.d.ts create mode 100644 node_modules/tiny-warning/src/index.js create mode 100644 node_modules/value-equal/LICENSE create mode 100644 node_modules/value-equal/README.md create mode 100644 node_modules/value-equal/cjs/value-equal.js create mode 100644 node_modules/value-equal/cjs/value-equal.min.js create mode 100644 node_modules/value-equal/esm/value-equal.js create mode 100644 node_modules/value-equal/index.js create mode 100644 node_modules/value-equal/package.json create mode 100644 node_modules/value-equal/umd/value-equal.js create mode 100644 node_modules/value-equal/umd/value-equal.min.js create mode 100644 package-lock.json diff --git a/.gitignore b/.gitignore index 7b61263..c13ec38 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ obj/ .vscode/ Migrations/ app.db -client/node_modules \ No newline at end of file +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 6049d88..f014711 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,4 @@ ## ToDo - Write backend tests +- Have a Look at typeahead component diff --git a/client/.gitignore b/client/.gitignore index 4d29575..46e52b7 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -1,5 +1,7 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +react-app-env.d.ts + # dependencies /node_modules /.pnp diff --git a/client/README.md b/client/README.md deleted file mode 100644 index 859d27a..0000000 --- a/client/README.md +++ /dev/null @@ -1,68 +0,0 @@ -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). - -## Available Scripts - -In the project directory, you can run: - -### `npm start` - -Runs the app in the development mode.
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser. - -The page will reload if you make edits.
-You will also see any lint errors in the console. - -### `npm test` - -Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `npm run build` - -Builds the app for production to the `build` folder.
-It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.
-Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -### `npm run eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting - -### Analyzing the Bundle Size - -This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size - -### Making a Progressive Web App - -This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app - -### Advanced Configuration - -This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration - -### Deployment - -This section has moved here: https://facebook.github.io/create-react-app/docs/deployment - -### `npm run build` fails to minify - -This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify diff --git a/client/package-lock.json b/client/package-lock.json index 4af8897..5cbbf34 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1525,6 +1525,14 @@ "@types/istanbul-lib-report": "*" } }, + "@types/jest": { + "version": "24.9.1", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-24.9.1.tgz", + "integrity": "sha512-Fb38HkXSVA4L8fGKEZ6le5bB8r6MRWlOCZbVuWZcmOMSCd2wCYOwN1ibj8daIoV9naq7aaOZjrLCoCMptKU/4Q==", + "requires": { + "jest-diff": "^24.3.0" + } + }, "@types/json-schema": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", @@ -1536,9 +1544,9 @@ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" }, "@types/node": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.7.0.tgz", - "integrity": "sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ==" + "version": "12.12.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz", + "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA==" }, "@types/parse-json": { "version": "4.0.0", @@ -4328,9 +4336,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.13.0.tgz", - "integrity": "sha512-eYk2dCkxR07DsHA/X2hRBj0CFAZeri/LyDMc0C8JT1Hqi6JnVpMhJ7XFITbb0+yZS3lVkaPL2oCkZ3AVmeVbMw==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.1.tgz", + "integrity": "sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ==", "requires": { "esprima": "^4.0.1", "estraverse": "^4.2.0", @@ -8438,9 +8446,9 @@ } }, "node-releases": { - "version": "1.1.47", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.47.tgz", - "integrity": "sha512-k4xjVPx5FpwBUj0Gw7uvFOTF4Ep8Hok1I6qjwL3pLfwe7Y0REQSAqOwwv9TWBCUtMHxcXfY4PgRLRozcChvTcA==", + "version": "1.1.48", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.48.tgz", + "integrity": "sha512-Hr8BbmUl1ujAST0K0snItzEA5zkJTQup8VNTKNfT6Zw8vTJkIiagUPNfxHmgDOyfFYNfKAul40sD0UEYTvwebw==", "requires": { "semver": "^6.3.0" } @@ -12338,6 +12346,11 @@ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, + "typescript": { + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", + "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==" + }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -12617,9 +12630,9 @@ } }, "wait-for-expect": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/wait-for-expect/-/wait-for-expect-3.0.1.tgz", - "integrity": "sha512-3Ha7lu+zshEG/CeHdcpmQsZnnZpPj/UsG3DuKO8FskjuDbkx3jE3845H+CuwZjA2YWYDfKMU2KhnCaXMLd3wVw==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/wait-for-expect/-/wait-for-expect-3.0.2.tgz", + "integrity": "sha512-cfS1+DZxuav1aBYbaO/kE06EOS8yRw7qOFoD3XtjTkYvCvh3zUvNST8DXK/nPaeqIzIv3P3kL3lRJn8iwOiSag==" }, "walker": { "version": "1.0.7", diff --git a/client/package.json b/client/package.json index fa05f3b..127ce96 100644 --- a/client/package.json +++ b/client/package.json @@ -6,9 +6,14 @@ "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.4.0", "@testing-library/user-event": "^7.2.1", + "@types/jest": "^24.9.1", + "@types/node": "^12.12.26", + "@types/react": "^16.9.19", + "@types/react-dom": "^16.9.5", "react": "^16.12.0", "react-dom": "^16.12.0", - "react-scripts": "3.3.1" + "react-scripts": "3.3.1", + "typescript": "^3.7.5" }, "scripts": { "start": "react-scripts start", diff --git a/client/public/index.html b/client/public/index.html index aa069f2..aec8e99 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -6,38 +6,30 @@ - - - React App + + + + + + Ticket Manager App
- diff --git a/client/public/robots.txt b/client/public/robots.txt index e9e57dc..01b0f9a 100644 --- a/client/public/robots.txt +++ b/client/public/robots.txt @@ -1,3 +1,2 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * -Disallow: diff --git a/client/src/App.css b/client/src/App.css index 74b5e05..90edddb 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1,38 +1,42 @@ -.App { - text-align: center; +.panel { + padding-left: 0px; + padding-top: 10px; } - -.App-logo { - height: 40vmin; - pointer-events: none; +.field { + padding-left: 10px; + padding-right: 10px; } - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; +.city { display: flex; + background: linear-gradient( + 90deg, + rgba(2, 0, 36, 1) 0%, + rgba(25, 112, 245, 0.6399510487788865) 0%, + rgba(0, 212, 255, 1) 100% + ); flex-direction: column; - align-items: center; + height: 40vh; justify-content: center; - font-size: calc(10px + 2vmin); - color: white; + align-items: center; + padding: 0px 20px 20px 20px; + margin: 0px 0px 50px 0px; + border: 1px solid; + border-radius: 5px; + box-shadow: 2px 2px #888888; + font-family: "Merriweather", serif; } - -.App-link { - color: #61dafb; +.city h1 { + line-height: 1.2; } - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +.city span { + padding-left: 20px; +} +.city .row { + padding-top: 20px; +} +.weatherError { + color: #f16051; + font-size: 20px; + letter-spacing: 1px; + font-weight: 200; } diff --git a/client/src/App.js b/client/src/App.js deleted file mode 100644 index ce9cbd2..0000000 --- a/client/src/App.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; -import logo from './logo.svg'; -import './App.css'; - -function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); -} - -export default App; diff --git a/client/src/App.test.js b/client/src/App.test.tsx similarity index 100% rename from client/src/App.test.js rename to client/src/App.test.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx new file mode 100644 index 0000000..60f0aca --- /dev/null +++ b/client/src/App.tsx @@ -0,0 +1,16 @@ +import React, { FC } from "react"; +import { AppRouter } from "./utils/router"; +import "./App.css"; + +const App: FC = () => { + return ( + <> + {/* + */} + + {/*