@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.
- package/dist/config.js +1 -1
- package/dist/context.js +1 -1
- package/dist/errors.js +1 -1
- package/dist/fastify.d.ts +4 -5
- package/dist/fastify.d.ts.map +1 -1
- package/dist/fastify.js +1 -1
- package/dist/fcore.js +1 -1
- package/dist/index.js +1 -1
- package/dist/migrations/cli.js +1 -1
- package/dist/migrations/runner.js +1 -1
- package/dist/modules/auth/index.js +1 -1
- package/dist/modules/auth/route.js +1 -1
- package/dist/modules/auth/schema.js +1 -1
- package/dist/modules/auth/services/get-current-user.js +1 -1
- package/dist/modules/auth/services/login.js +1 -1
- package/dist/modules/auth/services/logout.js +1 -1
- package/dist/modules/auth/services/verify-two-factor.js +1 -1
- package/dist/modules/auth/services/verifyPassword.js +1 -1
- package/dist/modules/file/index.js +1 -1
- package/dist/modules/file/route.js +1 -1
- package/dist/modules/file/schema.js +1 -1
- package/dist/modules/file/services/get-file.js +1 -1
- package/dist/modules/file/services/resize-file.js +1 -1
- package/dist/modules/file/services/upload-file.js +1 -1
- package/dist/modules/resource/index.js +1 -1
- package/dist/modules/resource/route.js +1 -1
- package/dist/modules/resource/schema.js +1 -1
- package/dist/modules/resource/services/add-note.js +1 -1
- package/dist/modules/resource/services/add-resource-file.js +1 -1
- package/dist/modules/resource/services/create-resource-relation.js +1 -1
- package/dist/modules/resource/services/create-resource.js +1 -1
- package/dist/modules/resource/services/delete-resource-relation.js +1 -1
- package/dist/modules/resource/services/delete-resource.js +1 -1
- package/dist/modules/resource/services/export-resource.js +1 -1
- package/dist/modules/resource/services/get-resource.js +1 -1
- package/dist/modules/resource/services/list-children.js +1 -1
- package/dist/modules/resource/services/list-resource-relation.js +1 -1
- package/dist/modules/resource/services/list-resources.js +1 -1
- package/dist/modules/resource/services/search-resource.js +1 -1
- package/dist/modules/resource/services/suggest-resource.d.ts +7 -4
- package/dist/modules/resource/services/suggest-resource.d.ts.map +1 -1
- package/dist/modules/resource/services/suggest-resource.js +1 -1
- package/dist/modules/resource/services/update-resource.js +1 -1
- package/dist/modules/resource/services/upload-resource-file.js +1 -1
- package/dist/modules/system/index.js +1 -1
- package/dist/modules/system/route.js +1 -1
- package/dist/modules/system/schema.js +1 -1
- package/dist/modules/system/services/check-system.js +1 -1
- package/dist/modules/system/services/get-api-list.js +1 -1
- package/dist/modules/system/services/get-audit-log.js +1 -1
- package/dist/modules/system/services/get-dictionary.js +1 -1
- package/dist/modules/system/services/get-system-log.js +1 -1
- package/dist/modules/system/services/get-system-settings.js +1 -1
- package/dist/modules/system/services/list-dictionaries.js +1 -1
- package/dist/modules/system/services/update-system-settings.js +1 -1
- package/dist/modules/utils/get-user-permissions.js +1 -1
- package/dist/modules/utils/require-admin.js +1 -1
- package/dist/modules/utils/safe-user.js +1 -1
- package/dist/modules/utils/unsupported.js +1 -1
- package/dist/plugins/audit/audit.js +1 -1
- package/dist/plugins/audit/index.js +1 -1
- package/dist/plugins/audit/services/write-audit.js +1 -1
- package/dist/plugins/auth/index.js +1 -1
- package/dist/plugins/dictionary.js +1 -1
- package/dist/plugins/file.js +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/logger/index.js +1 -1
- package/dist/plugins/logger/transport.js +1 -1
- package/dist/plugins/pg.js +1 -1
- package/dist/plugins/redis.js +1 -1
- package/dist/plugins/resource/index.js +1 -1
- package/dist/plugins/resource/resource.js +1 -1
- package/dist/plugins/resource/resource.registry.js +1 -1
- package/dist/plugins/resource/resource.types.d.ts +8 -0
- package/dist/plugins/resource/resource.types.d.ts.map +1 -1
- package/dist/plugins/resource/services/create.d.ts.map +1 -1
- package/dist/plugins/resource/services/create.js +1 -1
- package/dist/plugins/resource/services/delete.js +1 -1
- package/dist/plugins/resource/services/find-one.js +1 -1
- package/dist/plugins/resource/services/find.d.ts.map +1 -1
- package/dist/plugins/resource/services/find.js +1 -1
- package/dist/plugins/resource/services/update.d.ts.map +1 -1
- package/dist/plugins/resource/services/update.js +1 -1
- package/dist/plugins/resource/utils/fields.d.ts +8 -1
- package/dist/plugins/resource/utils/fields.d.ts.map +1 -1
- package/dist/plugins/resource/utils/fields.js +1 -1
- package/dist/plugins/resource/utils/filters.js +1 -1
- package/dist/plugins/resource/utils/permissions.d.ts.map +1 -1
- package/dist/plugins/resource/utils/permissions.js +1 -1
- package/dist/plugins/resource/utils/sort.js +1 -1
- package/dist/plugins/resource/utils/sql.js +1 -1
- package/dist/shared/getIP.js +1 -1
- package/package.json +1 -2
package/dist/shared/getIP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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.
|
|
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",
|