@opengis/fcore 0.0.1-beta.2 → 0.0.1-beta.4

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 (93) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/context.js +1 -1
  3. package/dist/errors.js +1 -1
  4. package/dist/fastify.d.ts +4 -5
  5. package/dist/fastify.d.ts.map +1 -1
  6. package/dist/fastify.js +1 -1
  7. package/dist/fcore.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/migrations/cli.js +1 -1
  10. package/dist/migrations/runner.js +1 -1
  11. package/dist/modules/auth/index.js +1 -1
  12. package/dist/modules/auth/route.js +1 -1
  13. package/dist/modules/auth/schema.js +1 -1
  14. package/dist/modules/auth/services/get-current-user.js +1 -1
  15. package/dist/modules/auth/services/login.js +1 -1
  16. package/dist/modules/auth/services/logout.js +1 -1
  17. package/dist/modules/auth/services/verify-two-factor.js +1 -1
  18. package/dist/modules/auth/services/verifyPassword.js +1 -1
  19. package/dist/modules/file/index.js +1 -1
  20. package/dist/modules/file/route.js +1 -1
  21. package/dist/modules/file/schema.js +1 -1
  22. package/dist/modules/file/services/get-file.js +1 -1
  23. package/dist/modules/file/services/resize-file.js +1 -1
  24. package/dist/modules/file/services/upload-file.js +1 -1
  25. package/dist/modules/resource/index.js +1 -1
  26. package/dist/modules/resource/route.js +1 -1
  27. package/dist/modules/resource/schema.js +1 -1
  28. package/dist/modules/resource/services/add-note.js +1 -1
  29. package/dist/modules/resource/services/add-resource-file.js +1 -1
  30. package/dist/modules/resource/services/create-resource-relation.js +1 -1
  31. package/dist/modules/resource/services/create-resource.js +1 -1
  32. package/dist/modules/resource/services/delete-resource-relation.js +1 -1
  33. package/dist/modules/resource/services/delete-resource.js +1 -1
  34. package/dist/modules/resource/services/export-resource.js +1 -1
  35. package/dist/modules/resource/services/get-resource.js +1 -1
  36. package/dist/modules/resource/services/list-children.js +1 -1
  37. package/dist/modules/resource/services/list-resource-relation.js +1 -1
  38. package/dist/modules/resource/services/list-resources.js +1 -1
  39. package/dist/modules/resource/services/search-resource.js +1 -1
  40. package/dist/modules/resource/services/suggest-resource.d.ts +7 -4
  41. package/dist/modules/resource/services/suggest-resource.d.ts.map +1 -1
  42. package/dist/modules/resource/services/suggest-resource.js +1 -1
  43. package/dist/modules/resource/services/update-resource.js +1 -1
  44. package/dist/modules/resource/services/upload-resource-file.js +1 -1
  45. package/dist/modules/system/index.js +1 -1
  46. package/dist/modules/system/route.js +1 -1
  47. package/dist/modules/system/schema.js +1 -1
  48. package/dist/modules/system/services/check-system.js +1 -1
  49. package/dist/modules/system/services/get-api-list.js +1 -1
  50. package/dist/modules/system/services/get-audit-log.js +1 -1
  51. package/dist/modules/system/services/get-dictionary.js +1 -1
  52. package/dist/modules/system/services/get-system-log.js +1 -1
  53. package/dist/modules/system/services/get-system-settings.js +1 -1
  54. package/dist/modules/system/services/list-dictionaries.js +1 -1
  55. package/dist/modules/system/services/update-system-settings.js +1 -1
  56. package/dist/modules/utils/get-user-permissions.js +1 -1
  57. package/dist/modules/utils/require-admin.js +1 -1
  58. package/dist/modules/utils/safe-user.js +1 -1
  59. package/dist/modules/utils/unsupported.js +1 -1
  60. package/dist/plugins/audit/audit.js +1 -1
  61. package/dist/plugins/audit/index.js +1 -1
  62. package/dist/plugins/audit/services/write-audit.js +1 -1
  63. package/dist/plugins/auth/index.js +1 -1
  64. package/dist/plugins/dictionary.js +1 -1
  65. package/dist/plugins/file.js +1 -1
  66. package/dist/plugins/index.js +1 -1
  67. package/dist/plugins/logger/index.js +1 -1
  68. package/dist/plugins/logger/transport.js +1 -1
  69. package/dist/plugins/pg.js +1 -1
  70. package/dist/plugins/redis.js +1 -1
  71. package/dist/plugins/resource/index.js +1 -1
  72. package/dist/plugins/resource/resource.js +1 -1
  73. package/dist/plugins/resource/resource.registry.js +1 -1
  74. package/dist/plugins/resource/resource.types.d.ts +8 -0
  75. package/dist/plugins/resource/resource.types.d.ts.map +1 -1
  76. package/dist/plugins/resource/services/create.d.ts.map +1 -1
  77. package/dist/plugins/resource/services/create.js +1 -1
  78. package/dist/plugins/resource/services/delete.js +1 -1
  79. package/dist/plugins/resource/services/find-one.js +1 -1
  80. package/dist/plugins/resource/services/find.d.ts.map +1 -1
  81. package/dist/plugins/resource/services/find.js +1 -1
  82. package/dist/plugins/resource/services/update.d.ts.map +1 -1
  83. package/dist/plugins/resource/services/update.js +1 -1
  84. package/dist/plugins/resource/utils/fields.d.ts +8 -1
  85. package/dist/plugins/resource/utils/fields.d.ts.map +1 -1
  86. package/dist/plugins/resource/utils/fields.js +1 -1
  87. package/dist/plugins/resource/utils/filters.js +1 -1
  88. package/dist/plugins/resource/utils/permissions.d.ts.map +1 -1
  89. package/dist/plugins/resource/utils/permissions.js +1 -1
  90. package/dist/plugins/resource/utils/sort.js +1 -1
  91. package/dist/plugins/resource/utils/sql.js +1 -1
  92. package/dist/shared/getIP.js +1 -1
  93. package/package.json +1 -2
@@ -1 +1 @@
1
- const _0x3e856a=_0x34b9;function _0x34b9(_0x5d1275,_0x5ab6bc){_0x5d1275=_0x5d1275-0x122;const _0xdbca20=_0xdbca();let _0x34b9d9=_0xdbca20[_0x5d1275];return _0x34b9d9;}(function(_0xf68e46,_0x55984f){const _0x44adb5=_0x34b9,_0x2d6e21=_0xf68e46();while(!![]){try{const _0x517092=-parseInt(_0x44adb5(0x12d))/0x1+-parseInt(_0x44adb5(0x126))/0x2+parseInt(_0x44adb5(0x122))/0x3+parseInt(_0x44adb5(0x12c))/0x4*(parseInt(_0x44adb5(0x123))/0x5)+parseInt(_0x44adb5(0x129))/0x6*(-parseInt(_0x44adb5(0x132))/0x7)+parseInt(_0x44adb5(0x131))/0x8+parseInt(_0x44adb5(0x12b))/0x9*(-parseInt(_0x44adb5(0x130))/0xa);if(_0x517092===_0x55984f)break;else _0x2d6e21['push'](_0x2d6e21['shift']());}catch(_0x47d873){_0x2d6e21['push'](_0x2d6e21['shift']());}}}(_0xdbca,0x3f305));const getIP=_0x439f1a=>(_0x439f1a[_0x3e856a(0x128)]?.[_0x3e856a(0x124)]||_0x439f1a[_0x3e856a(0x128)]?.[_0x3e856a(0x12a)]||_0x439f1a['ip']||_0x439f1a[_0x3e856a(0x12e)]?.[_0x3e856a(0x125)]||'')[_0x3e856a(0x127)](':')[_0x3e856a(0x12f)]();export default getIP;function _0xdbca(){const _0x4bb4a7=['5qHdoSk','x-real-ip','remoteAddress','196932PjoWAi','split','headers','67692DlFxco','x-forwarded-for','1508652zVpRzQ','1647964cXaHOL','66562UvudAv','connection','pop','20mkbLxn','574264tddOSk','28Vchpjd','961377TXfBrG'];_0xdbca=function(){return _0x4bb4a7;};return _0xdbca();}
1
+ function _0x2c97(_0x36a92d,_0x436f02){_0x36a92d=_0x36a92d-0xca;const _0x35a9b2=_0x35a9();let _0x2c975a=_0x35a9b2[_0x36a92d];return _0x2c975a;}function _0x35a9(){const _0x1181c8=['1617752wLEXlT','connection','1645509ZCCmfi','remoteAddress','4760KDgzaU','2ubzNTm','x-real-ip','pop','11mJHQtq','14507470WNDGmS','5422410KJBXiH','876foeiWf','headers','47723052MDJwBq','27QVuJZo','x-forwarded-for','1797378UVUvXP','split','8bvRNaH'];_0x35a9=function(){return _0x1181c8;};return _0x35a9();}const _0x2b4966=_0x2c97;(function(_0x5d7d20,_0x4f8438){const _0x5c5c9d=_0x2c97,_0x501326=_0x5d7d20();while(!![]){try{const _0x4d101f=parseInt(_0x5c5c9d(0xce))/0x1*(-parseInt(_0x5c5c9d(0xd1))/0x2)+parseInt(_0x5c5c9d(0xdc))/0x3*(parseInt(_0x5c5c9d(0xcb))/0x4)+-parseInt(_0x5c5c9d(0xd0))/0x5*(-parseInt(_0x5c5c9d(0xd7))/0x6)+-parseInt(_0x5c5c9d(0xd6))/0x7+-parseInt(_0x5c5c9d(0xcc))/0x8*(parseInt(_0x5c5c9d(0xda))/0x9)+parseInt(_0x5c5c9d(0xd5))/0xa*(-parseInt(_0x5c5c9d(0xd4))/0xb)+parseInt(_0x5c5c9d(0xd9))/0xc;if(_0x4d101f===_0x4f8438)break;else _0x501326['push'](_0x501326['shift']());}catch(_0x2d529a){_0x501326['push'](_0x501326['shift']());}}}(_0x35a9,0xcc40e));const getIP=_0x7749ff=>(_0x7749ff[_0x2b4966(0xd8)]?.[_0x2b4966(0xd2)]||_0x7749ff[_0x2b4966(0xd8)]?.[_0x2b4966(0xdb)]||_0x7749ff['ip']||_0x7749ff[_0x2b4966(0xcd)]?.[_0x2b4966(0xcf)]||'')[_0x2b4966(0xca)](':')[_0x2b4966(0xd3)]();export default getIP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/fcore",
3
- "version": "0.0.1-beta.2",
3
+ "version": "0.0.1-beta.4",
4
4
  "description": "Reusable backend foundation for OpenGIS Node.js applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -58,7 +58,6 @@
58
58
  "@fastify/session": "11.1.2",
59
59
  "apache-crypt": "1.2.6",
60
60
  "dotenv": "17.4.2",
61
- "fastify-plugin": "6.0.0",
62
61
  "fastify-session-redis-store": "7.1.2",
63
62
  "file-type": "22.0.2",
64
63
  "ioredis": "6.0.0",