chyz 1.0.13-rc.9 → 1.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/BaseChyz.ts +74 -20
  2. package/Doc/Moel kullanma.md +13 -0
  3. package/Examples/Controllers/ApiController.ts +22 -22
  4. package/Examples/Controllers/BasicApiController.ts +121 -0
  5. package/Examples/Controllers/SiteController.ts +18 -8
  6. package/Examples/Models/AuthAssignment.ts +50 -0
  7. package/Examples/Models/AuthItem.ts +59 -0
  8. package/Examples/Models/AuthItemChild.ts +49 -0
  9. package/Examples/Models/Categories.ts +4 -0
  10. package/Examples/Models/KeycloakUser.ts +4 -0
  11. package/Examples/Models/User.ts +8 -1
  12. package/Examples/index.ts +22 -2
  13. package/Examples/log/app.log +14466 -0
  14. package/Examples/log/errors.log +594 -0
  15. package/Examples/package.json +5 -2
  16. package/README.md +265 -12
  17. package/base/ActionFilter.ts +1 -1
  18. package/base/BaseError.ts +4 -2
  19. package/base/DbConnection.ts +9 -5
  20. package/base/Model.ts +231 -30
  21. package/base/ModelManager.ts +6 -1
  22. package/base/RestClient.ts +4 -4
  23. package/base/ValidationHttpException.ts +1 -1
  24. package/dist/BaseChyz.js +42 -8
  25. package/dist/BaseChyz.js.map +1 -1
  26. package/dist/base/ActionFilter.js +1 -1
  27. package/dist/base/ActionFilter.js.map +1 -1
  28. package/dist/base/BaseError.js +6 -2
  29. package/dist/base/BaseError.js.map +1 -1
  30. package/dist/base/DbConnection.js.map +1 -1
  31. package/dist/base/Model.js +186 -4
  32. package/dist/base/Model.js.map +1 -1
  33. package/dist/base/ModelManager.js +0 -8
  34. package/dist/base/ModelManager.js.map +1 -1
  35. package/dist/base/RestClient.js +4 -4
  36. package/dist/base/RestClient.js.map +1 -1
  37. package/dist/base/ValidationHttpException.js +1 -1
  38. package/dist/filters/AccessControl.js +15 -3
  39. package/dist/filters/AccessControl.js.map +1 -1
  40. package/dist/filters/AccessRule.js +99 -38
  41. package/dist/filters/AccessRule.js.map +1 -1
  42. package/dist/filters/auth/HttpBasicAuth.js +65 -0
  43. package/dist/filters/auth/HttpBasicAuth.js.map +1 -1
  44. package/dist/filters/auth/index.js +1 -0
  45. package/dist/filters/auth/index.js.map +1 -1
  46. package/dist/package.json +1 -3
  47. package/dist/rbac/AuthAssignment.js +45 -0
  48. package/dist/rbac/AuthAssignment.js.map +1 -0
  49. package/dist/rbac/AuthItem.js +52 -0
  50. package/dist/rbac/AuthItem.js.map +1 -0
  51. package/dist/rbac/AuthItemChild.js +44 -0
  52. package/dist/rbac/AuthItemChild.js.map +1 -0
  53. package/dist/rbac/AuthManager.js +13 -5
  54. package/dist/rbac/AuthManager.js.map +1 -1
  55. package/dist/requiments/Utils.js +5 -1
  56. package/dist/requiments/Utils.js.map +1 -1
  57. package/dist/web/WebUser.js +78 -0
  58. package/dist/web/WebUser.js.map +1 -1
  59. package/filters/AccessControl.ts +19 -6
  60. package/filters/AccessRule.ts +61 -16
  61. package/filters/auth/HttpBasicAuth.ts +68 -0
  62. package/filters/auth/index.ts +1 -0
  63. package/package.json +2 -3
  64. package/rbac/AuthAssignment.ts +50 -0
  65. package/rbac/AuthItem.ts +57 -0
  66. package/rbac/AuthItemChild.ts +50 -0
  67. package/rbac/AuthManager.ts +19 -9
  68. package/requiments/Utils.ts +6 -0
  69. package/web/IdentityInterface.ts +6 -0
  70. package/web/WebUser.ts +88 -1
@@ -1524,3 +1524,597 @@
1524
1524
  sql: 'SELECT "CategoriesClass"."id", "CategoriesClass"."title", "CategoriesClass"."properties", "ProductsClasses"."id" AS "ProductsClasses.id", "ProductsClasses"."title" AS "ProductsClasses.title", "ProductsClasses"."model_id" AS "ProductsClasses.model_id", "ProductsClasses"."properties" AS "ProductsClasses.properties", "ProductsClasses->ProductToCategoriesClass"."product_id" AS "ProductsClasses.ProductToCategoriesClass.product_id", "ProductsClasses->ProductToCategoriesClass"."category_id" AS "ProductsClasses.ProductToCategoriesClass.category_id", "ProductsClasses->ProductToCategoriesClass"."ProductsClassId" AS "ProductsClasses.ProductToCategoriesClass.ProductsClassId" FROM "categories" AS "CategoriesClass" LEFT OUTER JOIN ( "product_to_categories" AS "ProductsClasses->ProductToCategoriesClass" INNER JOIN "products" AS "ProductsClasses" ON "ProductsClasses"."id" = "ProductsClasses->ProductToCategoriesClass"."ProductsClassId") ON "CategoriesClass"."id" = "ProductsClasses->ProductToCategoriesClass"."category_id";',
1525
1525
  parameters: undefined
1526
1526
  }
1527
+ [2021-12-21T15.07.31.187] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1528
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1529
+ at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1530
+ at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1531
+ at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1532
+ at Generator.next (<anonymous>)
1533
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1534
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1535
+ statusCode: 401
1536
+ }
1537
+ [2021-12-21T15.08.24.448] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1538
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1539
+ at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1540
+ at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1541
+ at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1542
+ at Generator.next (<anonymous>)
1543
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1544
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1545
+ statusCode: 401
1546
+ }
1547
+ [2021-12-21T15.08.37.681] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - UnauthorizedHttpException: Your request was made with invalid credentials.
1548
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:16:15)
1549
+ at new UnauthorizedHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\UnauthorizedHttpException.ts:12:9)
1550
+ at HttpBasicAuth.handleFailure (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:64:15)
1551
+ at HttpBasicAuth.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:50:14)
1552
+ at Generator.next (<anonymous>)
1553
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\auth\AuthMethod.ts:5:58)
1554
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1555
+ statusCode: 401
1556
+ }
1557
+ [2021-12-21T15.08.45.905] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1558
+ at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1559
+ at Generator.next (<anonymous>)
1560
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1561
+ at new Promise (<anonymous>)
1562
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1563
+ at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1564
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1565
+ at Generator.next (<anonymous>)
1566
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1567
+ at new Promise (<anonymous>)
1568
+ [2021-12-21T15.09.26.818] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1569
+ at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1570
+ at Generator.next (<anonymous>)
1571
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1572
+ at new Promise (<anonymous>)
1573
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1574
+ at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1575
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1576
+ at Generator.next (<anonymous>)
1577
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1578
+ at new Promise (<anonymous>)
1579
+ [2021-12-21T15.09.29.037] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1580
+ at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1581
+ at Generator.next (<anonymous>)
1582
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1583
+ at new Promise (<anonymous>)
1584
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1585
+ at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1586
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1587
+ at Generator.next (<anonymous>)
1588
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1589
+ at new Promise (<anonymous>)
1590
+ [2021-12-21T15.09.39.005] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1591
+ at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1592
+ at Generator.next (<anonymous>)
1593
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1594
+ at new Promise (<anonymous>)
1595
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1596
+ at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1597
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1598
+ at Generator.next (<anonymous>)
1599
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1600
+ at new Promise (<anonymous>)
1601
+ [2021-12-21T15.10.06.525] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Cannot read property 'payload' of null
1602
+ at User.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:81:21)
1603
+ at Generator.next (<anonymous>)
1604
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:8:71
1605
+ at new Promise (<anonymous>)
1606
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:4:12)
1607
+ at User.findIdentityByAccessToken (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:66:16)
1608
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:74:42)
1609
+ at Generator.next (<anonymous>)
1610
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1611
+ at new Promise (<anonymous>)
1612
+ [2022-01-06T13.23.55.090] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: wildcard.replace is not a function
1613
+ at wildTest (C:\PROJELER\github\Chy-Nodejs-Framework\requiments\Utils.ts:43:22)
1614
+ at Object.matchWildcard (C:\PROJELER\github\Chy-Nodejs-Framework\requiments\Utils.ts:49:12)
1615
+ at AccessControl.isActive (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:44:27)
1616
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:28:19)
1617
+ at Generator.next (<anonymous>)
1618
+ at C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:8:71
1619
+ at new Promise (<anonymous>)
1620
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:4:12)
1621
+ at AccessControl.beforeFilter (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:23:16)
1622
+ at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\Controller.ts:41:43)
1623
+ [2022-01-06T13.25.43.412] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1624
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1625
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1626
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1627
+ at Array.map (<anonymous>)
1628
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1629
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1630
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1631
+ [2022-01-06T13.26.53.002] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1632
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1633
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1634
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1635
+ at Array.map (<anonymous>)
1636
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1637
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1638
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1639
+ [2022-01-06T13.27.40.670] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1640
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1641
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1642
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1643
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1644
+ at Generator.next (<anonymous>)
1645
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1646
+ at new Promise (<anonymous>)
1647
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1648
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1649
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1650
+ statusCode: 403
1651
+ }
1652
+ [2022-01-06T13.29.45.053] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1653
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1654
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1655
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1656
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1657
+ at Generator.next (<anonymous>)
1658
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1659
+ at new Promise (<anonymous>)
1660
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1661
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1662
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1663
+ statusCode: 403
1664
+ }
1665
+ [2022-01-06T13.30.26.585] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1666
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1667
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1668
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1669
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1670
+ at Generator.next (<anonymous>)
1671
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1672
+ at new Promise (<anonymous>)
1673
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1674
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1675
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1676
+ statusCode: 403
1677
+ }
1678
+ [2022-01-06T13.32.44.831] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1679
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1680
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1681
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:61:22)
1682
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:54:14)
1683
+ at Generator.next (<anonymous>)
1684
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1685
+ at new Promise (<anonymous>)
1686
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1687
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:39:16)
1688
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1689
+ statusCode: 403
1690
+ }
1691
+ [2022-01-06T13.50.15.173] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: user.can is not a function
1692
+ at AccessRule.matchRole (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:26)
1693
+ at AccessRule.allows (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:94:21)
1694
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:49:31)
1695
+ at Generator.next (<anonymous>)
1696
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1697
+ at new Promise (<anonymous>)
1698
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1699
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1700
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20)
1701
+ at Generator.next (<anonymous>)
1702
+ [2022-01-06T14.09.02.267] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1703
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1704
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1705
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1706
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1707
+ at Generator.next (<anonymous>)
1708
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1709
+ at new Promise (<anonymous>)
1710
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1711
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1712
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1713
+ statusCode: 403
1714
+ }
1715
+ [2022-01-06T14.16.59.529] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1716
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1717
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1718
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1719
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1720
+ at Generator.next (<anonymous>)
1721
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1722
+ at new Promise (<anonymous>)
1723
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1724
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1725
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1726
+ statusCode: 403
1727
+ }
1728
+ [2022-01-06T14.18.12.915] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1729
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1730
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1731
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1732
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1733
+ at Generator.next (<anonymous>)
1734
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1735
+ at new Promise (<anonymous>)
1736
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1737
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1738
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\base\ActionFilter.ts:32:20) {
1739
+ statusCode: 403
1740
+ }
1741
+ [2022-01-06T14.33.22.704] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
1742
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
1743
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:49)
1744
+ at AccessRule.matchRole (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:26)
1745
+ at AccessRule.allows (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:94:21)
1746
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:49:31)
1747
+ at Generator.next (<anonymous>)
1748
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:8:71
1749
+ at new Promise (<anonymous>)
1750
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:4:12)
1751
+ at AccessControl.beforeAction (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:40:16)
1752
+ [2022-01-06T14.37.31.638] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1753
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1754
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1755
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1756
+ at Array.map (<anonymous>)
1757
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1758
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1759
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1760
+ [2022-01-06T14.38.06.106] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1761
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1762
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1763
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1764
+ at Array.map (<anonymous>)
1765
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1766
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1767
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1768
+ [2022-01-06T14.47.37.649] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1769
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1770
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1771
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1772
+ at Array.map (<anonymous>)
1773
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1774
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1775
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1776
+ [2022-01-06T14.51.52.952] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1777
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1778
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1779
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1780
+ at Array.map (<anonymous>)
1781
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1782
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1783
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1784
+ [2022-01-06T14.54.26.416] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1785
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1786
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1787
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1788
+ at Array.map (<anonymous>)
1789
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1790
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1791
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1792
+ [2022-01-06T15.09.49.783] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - EagerLoadingError [SequelizeEagerLoadingError]: ProductModelsClass is not associated to ProductsClass!
1793
+ at Function._getIncludedAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:710:13)
1794
+ at Function._validateIncludedElement (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:614:53)
1795
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:509:37
1796
+ at Array.map (<anonymous>)
1797
+ at Function._validateIncludedElements (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:504:39)
1798
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1723:12)
1799
+ at processTicksAndRejections (internal/process/task_queues.js:93:5)
1800
+ [2022-01-06T15.11.35.675] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - Error: Association with alias "model" does not exist on ProductsClass
1801
+ at Function._transformStringAssociation (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:325:15)
1802
+ at Function._conformInclude (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:338:22)
1803
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:319:59
1804
+ at Array.map (<anonymous>)
1805
+ at Function._conformIncludes (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:319:39)
1806
+ at Function._baseMerge (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:786:10)
1807
+ at Function._defaultsOptions (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:823:17)
1808
+ at Function._injectScope (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:3249:10)
1809
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1706:10)
1810
+ at ProductsClass.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\base\Model.ts:296:28)
1811
+ [2022-01-06T15.18.04.153] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ConnectionError [SequelizeConnectionError]: Connection terminated unexpectedly
1812
+ at Client._connectionCallback (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\postgres\connection-manager.js:188:20)
1813
+ at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:144:18)
1814
+ at Object.onceWrapper (events.js:421:28)
1815
+ at Connection.emit (events.js:315:20)
1816
+ at Connection.EventEmitter.emit (domain.js:467:12)
1817
+ at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1818
+ at Socket.emit (events.js:327:22)
1819
+ at Socket.EventEmitter.emit (domain.js:467:12)
1820
+ at endReadableNT (internal/streams/readable.js:1327:12)
1821
+ at processTicksAndRejections (internal/process/task_queues.js:80:21) {
1822
+ parent: Error: Connection terminated unexpectedly
1823
+ at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:132:73)
1824
+ at Object.onceWrapper (events.js:421:28)
1825
+ at Connection.emit (events.js:315:20)
1826
+ at Connection.EventEmitter.emit (domain.js:467:12)
1827
+ at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1828
+ at Socket.emit (events.js:327:22)
1829
+ at Socket.EventEmitter.emit (domain.js:467:12)
1830
+ at endReadableNT (internal/streams/readable.js:1327:12)
1831
+ at processTicksAndRejections (internal/process/task_queues.js:80:21),
1832
+ original: Error: Connection terminated unexpectedly
1833
+ at Connection.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\client.js:132:73)
1834
+ at Object.onceWrapper (events.js:421:28)
1835
+ at Connection.emit (events.js:315:20)
1836
+ at Connection.EventEmitter.emit (domain.js:467:12)
1837
+ at Socket.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\pg\lib\connection.js:107:12)
1838
+ at Socket.emit (events.js:327:22)
1839
+ at Socket.EventEmitter.emit (domain.js:467:12)
1840
+ at endReadableNT (internal/streams/readable.js:1327:12)
1841
+ at processTicksAndRejections (internal/process/task_queues.js:80:21)
1842
+ }
1843
+ [2022-01-06T15.21.01.543] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - InvalidConfigException: The user application component must be available to specify roles in AccessRule.
1844
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1845
+ at new InvalidConfigException (C:\PROJELER\github\Chy-Nodejs-Framework\base\InvalidConfigException.ts:14:9)
1846
+ at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:354:19)
1847
+ at Generator.throw (<anonymous>)
1848
+ at rejected (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:6:65)
1849
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1850
+ statusCode: 500
1851
+ }
1852
+ [2022-01-06T15.25.22.790] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1853
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1854
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1855
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1856
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1857
+ at Generator.next (<anonymous>)
1858
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1859
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1860
+ statusCode: 403
1861
+ }
1862
+ [2022-01-06T15.27.10.826] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1863
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1864
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1865
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1866
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1867
+ at Generator.next (<anonymous>)
1868
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1869
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1870
+ statusCode: 403
1871
+ }
1872
+ [2022-01-06T15.27.34.445] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1873
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1874
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1875
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1876
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1877
+ at Generator.next (<anonymous>)
1878
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1879
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1880
+ statusCode: 403
1881
+ }
1882
+ [2022-01-06T15.32.01.651] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1883
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1884
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1885
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1886
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1887
+ at Generator.next (<anonymous>)
1888
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1889
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1890
+ statusCode: 403
1891
+ }
1892
+ [2022-01-06T15.39.52.158] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1893
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1894
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1895
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1896
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1897
+ at Generator.next (<anonymous>)
1898
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1899
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1900
+ statusCode: 403
1901
+ }
1902
+ [2022-01-06T16.16.36.730] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1903
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1904
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1905
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1906
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1907
+ at Generator.next (<anonymous>)
1908
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1909
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1910
+ statusCode: 403
1911
+ }
1912
+ [2022-01-06T16.18.13.828] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1913
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1914
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1915
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1916
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1917
+ at Generator.next (<anonymous>)
1918
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1919
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1920
+ statusCode: 403
1921
+ }
1922
+ [2022-01-06T16.18.27.325] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1923
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1924
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1925
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1926
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1927
+ at Generator.next (<anonymous>)
1928
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1929
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1930
+ statusCode: 403
1931
+ }
1932
+ [2022-01-06T16.23.44.702] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1933
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1934
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1935
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1936
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1937
+ at Generator.next (<anonymous>)
1938
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1939
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1940
+ statusCode: 403
1941
+ }
1942
+ [2022-01-06T16.40.27.864] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1943
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1944
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1945
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1946
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1947
+ at Generator.next (<anonymous>)
1948
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1949
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1950
+ statusCode: 403
1951
+ }
1952
+ [2022-01-06T16.40.53.071] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - ForbiddenHttpException: You are not allowed to perform this action.
1953
+ at new BaseError (C:\PROJELER\github\Chy-Nodejs-Framework\base\BaseError.ts:18:15)
1954
+ at new ForbiddenHttpException (C:\PROJELER\github\Chy-Nodejs-Framework\base\ForbiddenHttpException.ts:11:9)
1955
+ at AccessControl.denyAccess (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:74:22)
1956
+ at AccessControl.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:65:18)
1957
+ at Generator.next (<anonymous>)
1958
+ at fulfilled (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessControl.ts:5:58)
1959
+ at processTicksAndRejections (internal/process/task_queues.js:93:5) {
1960
+ statusCode: 403
1961
+ }
1962
+ [2022-01-06T16.42.06.509] [ERROR] BaseChyz [205] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - Error: Invalid value AuthItemChildClass {
1963
+ dataValues: { parent: 'admin', child: 'edis-manager' },
1964
+ _previousDataValues: { parent: 'admin', child: 'edis-manager' },
1965
+ _changed: Set(0) {},
1966
+ _options: {
1967
+ isNewRecord: false,
1968
+ _schema: null,
1969
+ _schemaDelimiter: '',
1970
+ raw: true,
1971
+ attributes: [ 'parent', 'child' ]
1972
+ },
1973
+ isNewRecord: false
1974
+ }
1975
+ at Object.escape (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\sql-string.js:65:11)
1976
+ at PostgresQueryGenerator.escape (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:994:22)
1977
+ at PostgresQueryGenerator.whereItemQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2367:102)
1978
+ at C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2258:25
1979
+ at Array.forEach (<anonymous>)
1980
+ at PostgresQueryGenerator.whereItemsQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2256:35)
1981
+ at PostgresQueryGenerator.getWhereConditions (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:2674:19)
1982
+ at PostgresQueryGenerator.selectQuery (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-generator.js:1325:28)
1983
+ at PostgresQueryInterface.select (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\dialects\abstract\query-interface.js:954:27)
1984
+ at Function.findAll (C:\PROJELER\github\Chy-Nodejs-Framework\node_modules\sequelize\lib\model.js:1753:47)
1985
+ [2022-03-07T10.47.44.379] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
1986
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
1987
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:55)
1988
+ at Generator.next (<anonymous>)
1989
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
1990
+ at new Promise (<anonymous>)
1991
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
1992
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:77:16)
1993
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
1994
+ at Generator.next (<anonymous>)
1995
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:8:71
1996
+ [2022-03-07T10.48.23.794] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
1997
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
1998
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:55)
1999
+ at Generator.next (<anonymous>)
2000
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
2001
+ at new Promise (<anonymous>)
2002
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
2003
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:77:16)
2004
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
2005
+ at Generator.next (<anonymous>)
2006
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:8:71
2007
+ [2022-03-07T10.49.08.682] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
2008
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:113:45)
2009
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:157:55)
2010
+ at Generator.next (<anonymous>)
2011
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
2012
+ at new Promise (<anonymous>)
2013
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
2014
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:78:16)
2015
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
2016
+ at Generator.next (<anonymous>)
2017
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:8:71
2018
+ [2022-03-07T10.55.07.949] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - Error: Method not implemented.
2019
+ at User.getId (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Models\User.ts:28:15)
2020
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
2021
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:55)
2022
+ at Generator.next (<anonymous>)
2023
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
2024
+ at new Promise (<anonymous>)
2025
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
2026
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:77:16)
2027
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
2028
+ at Generator.next (<anonymous>)
2029
+ [2022-03-07T10.57.07.544] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
2030
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
2031
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:55)
2032
+ at Generator.next (<anonymous>)
2033
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
2034
+ at new Promise (<anonymous>)
2035
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
2036
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:77:16)
2037
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
2038
+ at Generator.next (<anonymous>)
2039
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:8:71
2040
+ [2022-03-07T10.57.09.096] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: identity.getId is not a function
2041
+ at WebUser.getId (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:112:45)
2042
+ at WebUser.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:156:55)
2043
+ at Generator.next (<anonymous>)
2044
+ at C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:8:71
2045
+ at new Promise (<anonymous>)
2046
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:4:12)
2047
+ at WebUser.can (C:\PROJELER\github\Chy-Nodejs-Framework\web\WebUser.ts:77:16)
2048
+ at AccessRule.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:171:32)
2049
+ at Generator.next (<anonymous>)
2050
+ at C:\PROJELER\github\Chy-Nodejs-Framework\filters\AccessRule.ts:8:71
2051
+ [2022-03-07T10.58.04.844] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: this.model(...).cache is not a function
2052
+ at ProductsClass.cache (C:\PROJELER\github\Chy-Nodejs-Framework\base\Model.ts:222:29)
2053
+ at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:114:38)
2054
+ at Generator.next (<anonymous>)
2055
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:17:71
2056
+ at new Promise (<anonymous>)
2057
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:13:12)
2058
+ at ApiController.listOrder (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:93:16)
2059
+ at BaseChyz.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:367:65)
2060
+ at Generator.next (<anonymous>)
2061
+ at C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:8:71
2062
+ [2022-03-07T11.23.37.631] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Products.cache(...).findAll is not a function
2063
+ at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:114:46)
2064
+ at Generator.next (<anonymous>)
2065
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:17:71
2066
+ at new Promise (<anonymous>)
2067
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:13:12)
2068
+ at ApiController.listOrder (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:93:16)
2069
+ at BaseChyz.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:367:65)
2070
+ at Generator.next (<anonymous>)
2071
+ at C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:8:71
2072
+ at new Promise (<anonymous>)
2073
+ [2022-03-07T11.24.19.279] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Products.cache(...).findAll is not a function
2074
+ at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:115:46)
2075
+ at Generator.next (<anonymous>)
2076
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:17:71
2077
+ at new Promise (<anonymous>)
2078
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:13:12)
2079
+ at ApiController.listOrder (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:93:16)
2080
+ at BaseChyz.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:367:65)
2081
+ at Generator.next (<anonymous>)
2082
+ at C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:8:71
2083
+ at new Promise (<anonymous>)
2084
+ [2022-03-07T11.26.59.478] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - TypeError: Products.cache(...).findAll is not a function
2085
+ at ApiController.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:115:46)
2086
+ at Generator.next (<anonymous>)
2087
+ at C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:17:71
2088
+ at new Promise (<anonymous>)
2089
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:13:12)
2090
+ at ApiController.listOrder (C:\PROJELER\github\Chy-Nodejs-Framework\Examples\Controllers\ApiController.ts:93:16)
2091
+ at BaseChyz.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:367:65)
2092
+ at Generator.next (<anonymous>)
2093
+ at C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts:8:71
2094
+ at new Promise (<anonymous>)
2095
+ [2022-03-07T11.30.21.003] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - InvalidConfigException: The user application component must be available to specify roles in AccessRule.
2096
+ at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:358:19)
2097
+ at Generator.next (<anonymous>)
2098
+ at C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:8:71
2099
+ at new Promise (<anonymous>)
2100
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:4:12)
2101
+ at AuthManager.getAssignments (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:242:16)
2102
+ at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:48:38)
2103
+ at Generator.next (<anonymous>)
2104
+ at C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:8:71
2105
+ at new Promise (<anonymous>) {
2106
+ statusCode: 500
2107
+ }
2108
+ [2022-03-07T11.31.12.570] [ERROR] BaseChyz [245] [C:\PROJELER\github\Chy-Nodejs-Framework\BaseChyz.ts] - InvalidConfigException: The user application component must be available to specify roles in AccessRule.
2109
+ at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:358:19)
2110
+ at Generator.next (<anonymous>)
2111
+ at C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:8:71
2112
+ at new Promise (<anonymous>)
2113
+ at __awaiter (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:4:12)
2114
+ at AuthManager.getAssignments (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:242:16)
2115
+ at AuthManager.<anonymous> (C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:48:38)
2116
+ at Generator.next (<anonymous>)
2117
+ at C:\PROJELER\github\Chy-Nodejs-Framework\rbac\AuthManager.ts:8:71
2118
+ at new Promise (<anonymous>) {
2119
+ statusCode: 500
2120
+ }
@@ -4,7 +4,7 @@
4
4
  "description": "Entranet ve Erken Deprem Bildirim Sistemi (EDİS) entegrasyonu",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "dev": "nodemon index.ts",
7
+ "dev": "nodemon -x ts-node index.ts",
8
8
  "debug": "ts-node index.ts",
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },
@@ -25,6 +25,7 @@
25
25
  "dotenv-flow": "^3.2.0",
26
26
  "express": "^4.17.1",
27
27
  "glob": "^7.1.7",
28
+ "ioredis": "^4.28.5",
28
29
  "jsonwebtoken": "^8.5.1",
29
30
  "keycloak-connect": "^15.0.2",
30
31
  "lodash": "^4.17.21",
@@ -34,7 +35,9 @@
34
35
  "pg": "^8.7.1",
35
36
  "pg-hstore": "^2.3.4",
36
37
  "reflect-metadata": "^0.1.13",
37
- "sequelize": "^6.6.5"
38
+ "sequelize": "^6.6.5",
39
+ "sequelize-transparent-cache": "^2.3.0",
40
+ "sequelize-transparent-cache-ioredis": "^2.3.0"
38
41
  },
39
42
  "devDependencies": {
40
43
  "@types/express": "^4.17.13",