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

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 (89) 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.js +1 -1
  5. package/dist/fcore.js +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/migrations/cli.js +1 -1
  8. package/dist/migrations/runner.js +1 -1
  9. package/dist/modules/auth/index.js +1 -1
  10. package/dist/modules/auth/route.js +1 -1
  11. package/dist/modules/auth/schema.js +1 -1
  12. package/dist/modules/auth/services/get-current-user.js +1 -1
  13. package/dist/modules/auth/services/login.js +1 -1
  14. package/dist/modules/auth/services/logout.js +1 -1
  15. package/dist/modules/auth/services/verify-two-factor.js +1 -1
  16. package/dist/modules/auth/services/verifyPassword.js +1 -1
  17. package/dist/modules/file/index.js +1 -1
  18. package/dist/modules/file/route.js +1 -1
  19. package/dist/modules/file/schema.js +1 -1
  20. package/dist/modules/file/services/get-file.js +1 -1
  21. package/dist/modules/file/services/resize-file.js +1 -1
  22. package/dist/modules/file/services/upload-file.js +1 -1
  23. package/dist/modules/resource/index.js +1 -1
  24. package/dist/modules/resource/route.js +1 -1
  25. package/dist/modules/resource/schema.js +1 -1
  26. package/dist/modules/resource/services/add-note.js +1 -1
  27. package/dist/modules/resource/services/add-resource-file.js +1 -1
  28. package/dist/modules/resource/services/create-resource-relation.js +1 -1
  29. package/dist/modules/resource/services/create-resource.js +1 -1
  30. package/dist/modules/resource/services/delete-resource-relation.js +1 -1
  31. package/dist/modules/resource/services/delete-resource.js +1 -1
  32. package/dist/modules/resource/services/export-resource.js +1 -1
  33. package/dist/modules/resource/services/get-resource.js +1 -1
  34. package/dist/modules/resource/services/list-children.js +1 -1
  35. package/dist/modules/resource/services/list-resource-relation.js +1 -1
  36. package/dist/modules/resource/services/list-resources.js +1 -1
  37. package/dist/modules/resource/services/search-resource.js +1 -1
  38. package/dist/modules/resource/services/suggest-resource.js +1 -1
  39. package/dist/modules/resource/services/update-resource.js +1 -1
  40. package/dist/modules/resource/services/upload-resource-file.js +1 -1
  41. package/dist/modules/system/index.js +1 -1
  42. package/dist/modules/system/route.js +1 -1
  43. package/dist/modules/system/schema.js +1 -1
  44. package/dist/modules/system/services/check-system.js +1 -1
  45. package/dist/modules/system/services/get-api-list.js +1 -1
  46. package/dist/modules/system/services/get-audit-log.js +1 -1
  47. package/dist/modules/system/services/get-dictionary.js +1 -1
  48. package/dist/modules/system/services/get-system-log.js +1 -1
  49. package/dist/modules/system/services/get-system-settings.js +1 -1
  50. package/dist/modules/system/services/list-dictionaries.js +1 -1
  51. package/dist/modules/system/services/update-system-settings.js +1 -1
  52. package/dist/modules/utils/get-user-permissions.js +1 -1
  53. package/dist/modules/utils/require-admin.js +1 -1
  54. package/dist/modules/utils/safe-user.js +1 -1
  55. package/dist/modules/utils/unsupported.js +1 -1
  56. package/dist/plugins/audit/audit.js +1 -1
  57. package/dist/plugins/audit/index.js +1 -1
  58. package/dist/plugins/audit/services/write-audit.js +1 -1
  59. package/dist/plugins/auth/index.js +1 -1
  60. package/dist/plugins/dictionary.js +1 -1
  61. package/dist/plugins/file.js +1 -1
  62. package/dist/plugins/index.js +1 -1
  63. package/dist/plugins/logger/index.js +1 -1
  64. package/dist/plugins/logger/transport.js +1 -1
  65. package/dist/plugins/pg.js +1 -1
  66. package/dist/plugins/redis.js +1 -1
  67. package/dist/plugins/resource/index.js +1 -1
  68. package/dist/plugins/resource/resource.js +1 -1
  69. package/dist/plugins/resource/resource.registry.js +1 -1
  70. package/dist/plugins/resource/resource.types.d.ts +8 -0
  71. package/dist/plugins/resource/resource.types.d.ts.map +1 -1
  72. package/dist/plugins/resource/services/create.d.ts.map +1 -1
  73. package/dist/plugins/resource/services/create.js +1 -1
  74. package/dist/plugins/resource/services/delete.js +1 -1
  75. package/dist/plugins/resource/services/find-one.js +1 -1
  76. package/dist/plugins/resource/services/find.d.ts.map +1 -1
  77. package/dist/plugins/resource/services/find.js +1 -1
  78. package/dist/plugins/resource/services/update.d.ts.map +1 -1
  79. package/dist/plugins/resource/services/update.js +1 -1
  80. package/dist/plugins/resource/utils/fields.d.ts +8 -1
  81. package/dist/plugins/resource/utils/fields.d.ts.map +1 -1
  82. package/dist/plugins/resource/utils/fields.js +1 -1
  83. package/dist/plugins/resource/utils/filters.js +1 -1
  84. package/dist/plugins/resource/utils/permissions.d.ts.map +1 -1
  85. package/dist/plugins/resource/utils/permissions.js +1 -1
  86. package/dist/plugins/resource/utils/sort.js +1 -1
  87. package/dist/plugins/resource/utils/sql.js +1 -1
  88. package/dist/shared/getIP.js +1 -1
  89. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x343859,_0x2a062f){const _0x401000=_0x3712,_0x27779d=_0x343859();while(!![]){try{const _0x4cd70f=-parseInt(_0x401000(0x108))/0x1*(-parseInt(_0x401000(0x11b))/0x2)+-parseInt(_0x401000(0x10a))/0x3*(-parseInt(_0x401000(0x120))/0x4)+parseInt(_0x401000(0x119))/0x5*(parseInt(_0x401000(0x11e))/0x6)+-parseInt(_0x401000(0x11c))/0x7+parseInt(_0x401000(0x122))/0x8*(parseInt(_0x401000(0x10f))/0x9)+-parseInt(_0x401000(0x121))/0xa*(-parseInt(_0x401000(0x11f))/0xb)+-parseInt(_0x401000(0x116))/0xc;if(_0x4cd70f===_0x2a062f)break;else _0x27779d['push'](_0x27779d['shift']());}catch(_0x2b2685){_0x27779d['push'](_0x27779d['shift']());}}}(_0x551c,0x5ba7f));function _0x3712(_0x3b9820,_0x1a1349){_0x3b9820=_0x3b9820-0x108;const _0x551cfb=_0x551c();let _0x371269=_0x551cfb[_0x3b9820];return _0x371269;}import{ForbiddenError}from'../../../errors.js';export function assertOperation(_0x32e34f,_0x44f39a,_0x282ef9){const _0x259101=_0x3712,_0xe559e8={};_0xe559e8[_0x259101(0x10b)]=function(_0x1a203b,_0xa06d42){return _0x1a203b!==_0xa06d42;},_0xe559e8[_0x259101(0x125)]=_0x259101(0x10d),_0xe559e8[_0x259101(0x123)]=_0x259101(0x111),_0xe559e8[_0x259101(0x10e)]=function(_0x5dfe2f,_0x243e9d){return _0x5dfe2f===_0x243e9d;},_0xe559e8[_0x259101(0x114)]=_0x259101(0x110),_0xe559e8[_0x259101(0x124)]=_0x259101(0x11a);const _0x28d4f7=_0xe559e8;if(!_0x32e34f[_0x259101(0x115)][_0x259101(0x113)](_0x44f39a))throw new ForbiddenError(_0x32e34f[_0x259101(0x112)]+'.'+_0x44f39a+_0x259101(0x11d));if(_0x28d4f7[_0x259101(0x10b)](_0x32e34f[_0x259101(0x109)],_0x28d4f7[_0x259101(0x125)])&&_0x282ef9===undefined)throw new ForbiddenError(_0x28d4f7[_0x259101(0x123)]);if(_0x28d4f7[_0x259101(0x10e)](_0x32e34f[_0x259101(0x109)],_0x259101(0x110))&&_0x28d4f7[_0x259101(0x10b)](_0x282ef9?.[_0x259101(0x117)],_0x28d4f7[_0x259101(0x114)]))throw new ForbiddenError(_0x28d4f7[_0x259101(0x124)]);if(_0x282ef9?.[_0x259101(0x117)]!==_0x28d4f7[_0x259101(0x114)]){const _0x1ac1ec=(_0x32e34f[_0x259101(0x118)]??_0x32e34f[_0x259101(0x112)])+':'+_0x44f39a;if(!_0x282ef9?.[_0x259101(0x126)]?.[_0x259101(0x113)](_0x1ac1ec))throw new ForbiddenError(_0x259101(0x10c)+_0x1ac1ec);}}function _0x551c(){const _0x43136b=['EnTqo','Missing\x20permission:\x20','public','VtowG','333pEUqzj','admin','Authentication\x20required','name','includes','uaVWK','operations','23464932WAtzbX','type','permission','5wbQiyL','Admin\x20access\x20required','1007186cQbgrc','456708ohKSqq','\x20is\x20disabled','1449066AzmEIv','22yzQzeD','8mSQXSX','2570180oghNoF','119728kiMokh','VvybY','QGCPN','oEogT','permissions','1EYiKSI','access','874794piHnbE'];_0x551c=function(){return _0x43136b;};return _0x551c();}
1
+ function _0x42c5(_0x4a622c,_0x8b11cc){_0x4a622c=_0x4a622c-0x133;const _0x578e7b=_0x578e();let _0x42c5e9=_0x578e7b[_0x4a622c];return _0x42c5e9;}(function(_0x392b08,_0x446115){const _0x4ecc34=_0x42c5,_0x47f538=_0x392b08();while(!![]){try{const _0x44aed2=-parseInt(_0x4ecc34(0x151))/0x1+parseInt(_0x4ecc34(0x150))/0x2+-parseInt(_0x4ecc34(0x145))/0x3*(-parseInt(_0x4ecc34(0x142))/0x4)+-parseInt(_0x4ecc34(0x144))/0x5+-parseInt(_0x4ecc34(0x13e))/0x6*(parseInt(_0x4ecc34(0x13a))/0x7)+-parseInt(_0x4ecc34(0x138))/0x8+parseInt(_0x4ecc34(0x143))/0x9;if(_0x44aed2===_0x446115)break;else _0x47f538['push'](_0x47f538['shift']());}catch(_0x4f0f22){_0x47f538['push'](_0x47f538['shift']());}}}(_0x578e,0x8ea77));import{ForbiddenError}from'../../../errors.js';import{getContext}from'../../../index.js';function _0x578e(){const _0x5b5e9c=['268UZWgDm','3826404ZHwEdU','43075aWnPCO','20982aQccoZ','access','includes','hbzrf','admin','LMrOy','name','ADlez','\x20is\x20disabled','MtViW','permissions','2099150MTuOuR','444700ojVPrR','permission','type','Admin\x20access\x20required','Missing\x20permission:\x20','HIZxY','2417096QHxBvw','debug','91847knqxdh','lNAZX','config','SDjel','276dgMQBE','public','Authentication\x20required','operations'];_0x578e=function(){return _0x5b5e9c;};return _0x578e();}export function assertOperation(_0x47ffec,_0xe486a7,_0x3ec7bb){const _0xa0c75e=_0x42c5,_0x1a763d={'HIZxY':function(_0x4022d1){return _0x4022d1();},'MtViW':function(_0x113eab,_0x184148){return _0x113eab!==_0x184148;},'SDjel':function(_0x1edc67,_0x3cdfc3){return _0x1edc67===_0x3cdfc3;},'LMrOy':_0xa0c75e(0x140),'lNAZX':_0xa0c75e(0x149),'hbzrf':function(_0x558a95,_0x4ee2af){return _0x558a95!==_0x4ee2af;},'ADlez':_0xa0c75e(0x135)},_0x297444=_0x1a763d[_0xa0c75e(0x137)](getContext)[_0xa0c75e(0x13c)];if(_0x297444[_0xa0c75e(0x139)])return;if(!_0x47ffec[_0xa0c75e(0x141)][_0xa0c75e(0x147)](_0xe486a7))throw new ForbiddenError(_0x47ffec[_0xa0c75e(0x14b)]+'.'+_0xe486a7+_0xa0c75e(0x14d));if(_0x1a763d[_0xa0c75e(0x14e)](_0x47ffec[_0xa0c75e(0x146)],_0xa0c75e(0x13f))&&_0x1a763d[_0xa0c75e(0x13d)](_0x3ec7bb,undefined))throw new ForbiddenError(_0x1a763d[_0xa0c75e(0x14a)]);if(_0x47ffec[_0xa0c75e(0x146)]===_0x1a763d[_0xa0c75e(0x13b)]&&_0x1a763d[_0xa0c75e(0x148)](_0x3ec7bb?.[_0xa0c75e(0x134)],_0x1a763d[_0xa0c75e(0x13b)]))throw new ForbiddenError(_0x1a763d[_0xa0c75e(0x14c)]);if(_0x1a763d[_0xa0c75e(0x14e)](_0x3ec7bb?.[_0xa0c75e(0x134)],_0x1a763d[_0xa0c75e(0x13b)])){const _0x28e466=(_0x47ffec[_0xa0c75e(0x133)]??_0x47ffec[_0xa0c75e(0x14b)])+':'+_0xe486a7;if(!_0x3ec7bb?.[_0xa0c75e(0x14f)]?.[_0xa0c75e(0x147)](_0x28e466))throw new ForbiddenError(_0xa0c75e(0x136)+_0x28e466);}}
@@ -1 +1 @@
1
- (function(_0x2b492,_0x3dd408){const _0x2e5973=_0x5caa,_0x4960e4=_0x2b492();while(!![]){try{const _0x401af6=parseInt(_0x2e5973(0x16a))/0x1*(-parseInt(_0x2e5973(0x168))/0x2)+-parseInt(_0x2e5973(0x16f))/0x3*(parseInt(_0x2e5973(0x166))/0x4)+-parseInt(_0x2e5973(0x178))/0x5*(parseInt(_0x2e5973(0x165))/0x6)+-parseInt(_0x2e5973(0x162))/0x7*(-parseInt(_0x2e5973(0x179))/0x8)+parseInt(_0x2e5973(0x160))/0x9*(parseInt(_0x2e5973(0x164))/0xa)+parseInt(_0x2e5973(0x174))/0xb+-parseInt(_0x2e5973(0x175))/0xc*(-parseInt(_0x2e5973(0x171))/0xd);if(_0x401af6===_0x3dd408)break;else _0x4960e4['push'](_0x4960e4['shift']());}catch(_0x517d2b){_0x4960e4['push'](_0x4960e4['shift']());}}}(_0x5776,0xa1232));function _0x5caa(_0x915cc2,_0x1327c9){_0x915cc2=_0x915cc2-0x15f;const _0x5776d4=_0x5776();let _0x5caaa4=_0x5776d4[_0x915cc2];return _0x5caaa4;}import{fieldColumn,qi}from'./sql.js';function _0x5776(){const _0x21601b=['4XtdaZf','slice','76GEipkw','startsWith','19813xtzLlc','map','sortable','gIGMZ','\x20ORDER\x20BY\x20','3599934wmzKmt','sort','26ThRguv','fields','length','11096261eiEMZd','2194344iBHNHU','DESC','ASC','365NeJYmi','5067432iPgymG','join','378secqOW','yJIvS','14PJHqfo','Field\x20is\x20not\x20sortable:\x20','232720DbAXmW','82674lnBbkV'];_0x5776=function(){return _0x21601b;};return _0x5776();}import{ValidationError}from'../../../errors.js';export function buildSort(_0x220b0d,_0x20f902){const _0x228e63=_0x5caa,_0xd31ddf={'gIGMZ':function(_0x497f61,_0x45c34b){return _0x497f61!==_0x45c34b;},'yJIvS':function(_0x570cf3,_0x1fa054,_0x36c1a6){return _0x570cf3(_0x1fa054,_0x36c1a6);}};if(!_0x20f902?.[_0x228e63(0x173)])return'';const _0x179624=_0x20f902[_0x228e63(0x16b)](_0x4c1212=>{const _0x56d067=_0x228e63,_0x28b682=_0x4c1212[_0x56d067(0x169)]('-'),_0x1e732e=_0x28b682?_0x4c1212[_0x56d067(0x167)](0x1):_0x4c1212,_0x3e260d=_0x220b0d[_0x56d067(0x172)][_0x1e732e];if(!_0x3e260d||_0xd31ddf[_0x56d067(0x16d)](_0x3e260d[_0x56d067(0x170)],!![])&&_0x3e260d[_0x56d067(0x16c)]!==!![])throw new ValidationError(_0x56d067(0x163)+_0x1e732e);return qi(_0xd31ddf[_0x56d067(0x161)](fieldColumn,_0x220b0d,_0x1e732e))+'\x20'+(_0x28b682?_0x56d067(0x176):_0x56d067(0x177));});return _0x228e63(0x16e)+_0x179624[_0x228e63(0x15f)](',\x20');}
1
+ (function(_0xaf9c61,_0x6c805e){const _0x2ea681=_0x1bab,_0x1404bb=_0xaf9c61();while(!![]){try{const _0x53c709=-parseInt(_0x2ea681(0x181))/0x1+-parseInt(_0x2ea681(0x17b))/0x2+parseInt(_0x2ea681(0x17e))/0x3+parseInt(_0x2ea681(0x16e))/0x4*(parseInt(_0x2ea681(0x16c))/0x5)+-parseInt(_0x2ea681(0x170))/0x6+parseInt(_0x2ea681(0x180))/0x7+-parseInt(_0x2ea681(0x17d))/0x8*(-parseInt(_0x2ea681(0x171))/0x9);if(_0x53c709===_0x6c805e)break;else _0x1404bb['push'](_0x1404bb['shift']());}catch(_0x4b7581){_0x1404bb['push'](_0x1404bb['shift']());}}}(_0x4d56,0x903ed));function _0x4d56(){const _0x341853=['725kfDkpH','slice','28900xCdTMO','SBLSx','1596090EEJemX','9WbTuSX','length','gQXJm','HLZsp','vCIzC','fields','\x20ORDER\x20BY\x20','sortable','Field\x20is\x20not\x20sortable:\x20','map','1027254QUXmrU','startsWith','5504584PMHIsD','2055456elAPbQ','join','560350MqruDh','1130429dtDcJE','sort','DESC','ASC'];_0x4d56=function(){return _0x341853;};return _0x4d56();}import{fieldColumn,qi}from'./sql.js';import{ValidationError}from'../../../errors.js';function _0x1bab(_0x25df85,_0x6eb39b){_0x25df85=_0x25df85-0x16b;const _0x4d56ed=_0x4d56();let _0x1babd0=_0x4d56ed[_0x25df85];return _0x1babd0;}export function buildSort(_0x358d05,_0x1a33e5){const _0x37c9f2=_0x1bab,_0x9f2ebf={'gQXJm':function(_0x3c6950,_0x199438){return _0x3c6950!==_0x199438;},'SBLSx':function(_0x2fcd33,_0x1d2c1c){return _0x2fcd33!==_0x1d2c1c;},'vCIzC':function(_0x21e272,_0x4220f9,_0x277406){return _0x21e272(_0x4220f9,_0x277406);},'HLZsp':_0x37c9f2(0x16b)};if(!_0x1a33e5?.[_0x37c9f2(0x172)])return'';const _0x31a236=_0x1a33e5[_0x37c9f2(0x17a)](_0x31e488=>{const _0x406b8b=_0x37c9f2,_0x3016ab=_0x31e488[_0x406b8b(0x17c)]('-'),_0x6b0f5c=_0x3016ab?_0x31e488[_0x406b8b(0x16d)](0x1):_0x31e488,_0x348d11=_0x358d05[_0x406b8b(0x176)][_0x6b0f5c];if(!_0x348d11||_0x9f2ebf[_0x406b8b(0x173)](_0x348d11[_0x406b8b(0x182)],!![])&&_0x9f2ebf[_0x406b8b(0x16f)](_0x348d11[_0x406b8b(0x178)],!![]))throw new ValidationError(_0x406b8b(0x179)+_0x6b0f5c);return qi(_0x9f2ebf[_0x406b8b(0x175)](fieldColumn,_0x358d05,_0x6b0f5c))+'\x20'+(_0x3016ab?_0x406b8b(0x183):_0x9f2ebf[_0x406b8b(0x174)]);});return _0x37c9f2(0x177)+_0x31a236[_0x37c9f2(0x17f)](',\x20');}
@@ -1 +1 @@
1
- const _0x24f37e=_0x24b7;(function(_0x3e2eb4,_0x19d75f){const _0x4cc894=_0x24b7,_0x1ce041=_0x3e2eb4();while(!![]){try{const _0x491c0a=parseInt(_0x4cc894(0x9e))/0x1*(parseInt(_0x4cc894(0x9c))/0x2)+parseInt(_0x4cc894(0x7c))/0x3+-parseInt(_0x4cc894(0x9d))/0x4+-parseInt(_0x4cc894(0x85))/0x5+-parseInt(_0x4cc894(0x88))/0x6*(-parseInt(_0x4cc894(0x75))/0x7)+parseInt(_0x4cc894(0x9b))/0x8*(-parseInt(_0x4cc894(0x80))/0x9)+parseInt(_0x4cc894(0x83))/0xa;if(_0x491c0a===_0x19d75f)break;else _0x1ce041['push'](_0x1ce041['shift']());}catch(_0x38a5bf){_0x1ce041['push'](_0x1ce041['shift']());}}}(_0xf91d,0x9e65a));import{ValidationError}from'../../../errors.js';function _0x24b7(_0x542d31,_0x1c32e1){_0x542d31=_0x542d31-0x75;const _0xf91d0d=_0xf91d();let _0x24b767=_0xf91d0d[_0x542d31];return _0x24b767;}export const quoteIdentifier=_0x3f0244=>'\x22'+_0x3f0244[_0x24f37e(0x92)](/"/g,'\x22\x22')+'\x22';export const quoteTable=_0x4f7474=>_0x4f7474[_0x24f37e(0x77)]('.')[_0x24f37e(0x89)](quoteIdentifier)[_0x24f37e(0xa0)]('.');export function fieldColumn(_0x191889,_0x130db2){const _0x36af74=_0x24f37e,_0x2b6f1a={};_0x2b6f1a[_0x36af74(0x87)]=function(_0x4402e6,_0x281ff7){return _0x4402e6===_0x281ff7;},_0x2b6f1a[_0x36af74(0x7d)]=function(_0x3692e6,_0x2ad71e){return _0x3692e6!==_0x2ad71e;},_0x2b6f1a[_0x36af74(0x8f)]=_0x36af74(0x8d),_0x2b6f1a[_0x36af74(0x91)]=function(_0x5090bf,_0x41bc4c){return _0x5090bf!==_0x41bc4c;},_0x2b6f1a[_0x36af74(0x94)]=_0x36af74(0x8a);const _0x1e0306=_0x2b6f1a;if(_0x1e0306[_0x36af74(0x87)](_0x130db2,_0x191889[_0x36af74(0x78)])){if(_0x1e0306[_0x36af74(0x7d)](_0x1e0306[_0x36af74(0x8f)],_0x1e0306[_0x36af74(0x8f)])){const _0x2dcc94=[];for(const [_0x16626f,_0x25ee96]of _0x408edc[_0x36af74(0x96)](_0x2f0bd0)){const _0x28f20e=_0x262736[_0x36af74(0x90)][_0x16626f];if(!_0x28f20e||_0x28f20e[_0x36af74(0x7b)]===![]||_0x1e0306[_0x36af74(0x87)](_0x28f20e[_0x36af74(0x84)],![]))throw new _0x4f6ec8(_0x36af74(0x97)+_0x16626f);_0x2dcc94[_0x36af74(0x7f)]([_0x28f20e[_0x36af74(0x8b)]??_0x16626f,_0x25ee96]);}return _0x2dcc94;}else return _0x191889[_0x36af74(0x78)];}const _0x4457d2=_0x191889[_0x36af74(0x90)][_0x130db2];if(!_0x4457d2){if(_0x1e0306[_0x36af74(0x91)](_0x1e0306[_0x36af74(0x94)],_0x36af74(0x8a)))throw new _0x41e147(_0x36af74(0x93)+_0x15ccf6);else throw new ValidationError(_0x36af74(0x93)+_0x130db2);}return _0x4457d2[_0x36af74(0x8b)]??_0x130db2;}function _0xf91d(){const _0x56a962=['504hrLxhs','map','JLhcI','column','XiftU','fanWe','read','tOvOE','fields','KngqN','replace','Unknown\x20field:\x20','DRAPz','EwZqQ','entries','Field\x20is\x20not\x20writable:\x20','dRBgj','LWdfx','unshift','16zTHfmK','12JAZRiF','2309248MRNtzt','2653TVPNTL','readable','join','83363RXntiT','TKMQW','split','key','filter','HiLdQ','write','3870198IWSHKZ','HzNOj','msMVq','push','2463732xXpPJg','\x20AS\x20','SKoFj','3496610MTBQYp','writable','4411995UhIojv','PJxEE','fbeXK'];_0xf91d=function(){return _0x56a962;};return _0xf91d();}export function readableFields(_0x307a33){const _0x47300f=_0x24f37e,_0x5ead5a={'PJxEE':function(_0x2cdfcc,_0x43a84e){return _0x2cdfcc(_0x43a84e);}},_0x30e664=Object[_0x47300f(0x96)](_0x307a33[_0x47300f(0x90)])[_0x47300f(0x79)](([,_0x8ed2f4])=>_0x8ed2f4[_0x47300f(0x8e)]!==![]&&_0x8ed2f4[_0x47300f(0x9f)]!==![])[_0x47300f(0x89)](([_0x24c8e8,_0x411135])=>quoteIdentifier(_0x411135[_0x47300f(0x8b)]??_0x24c8e8)+_0x47300f(0x81)+quoteIdentifier(_0x24c8e8));return!_0x307a33[_0x47300f(0x90)][_0x307a33[_0x47300f(0x78)]]&&_0x30e664[_0x47300f(0x9a)](_0x5ead5a[_0x47300f(0x86)](quoteIdentifier,_0x307a33[_0x47300f(0x78)])),_0x30e664;}export function writableData(_0x419b7c,_0x1e824f){const _0x4495e2=_0x24f37e,_0xfe53f6={};_0xfe53f6[_0x4495e2(0x98)]=_0x4495e2(0x8c),_0xfe53f6[_0x4495e2(0x82)]=function(_0x4715fa,_0x710583){return _0x4715fa===_0x710583;},_0xfe53f6[_0x4495e2(0x99)]=function(_0x58a0d5,_0xe23781){return _0x58a0d5!==_0xe23781;},_0xfe53f6[_0x4495e2(0x76)]=_0x4495e2(0x7a),_0xfe53f6[_0x4495e2(0x7e)]=_0x4495e2(0x95);const _0x10f55a=_0xfe53f6,_0x3262a1=[];for(const [_0x3be011,_0x2c2f6a]of Object[_0x4495e2(0x96)](_0x1e824f)){if(_0x10f55a[_0x4495e2(0x98)]!==_0x4495e2(0x8c))return _0x36a2f3[_0x4495e2(0x78)];else{const _0x1db8a1=_0x419b7c[_0x4495e2(0x90)][_0x3be011];if(!_0x1db8a1||_0x1db8a1[_0x4495e2(0x7b)]===![]||_0x10f55a[_0x4495e2(0x82)](_0x1db8a1[_0x4495e2(0x84)],![])){if(_0x10f55a[_0x4495e2(0x99)](_0x10f55a[_0x4495e2(0x76)],_0x10f55a[_0x4495e2(0x7e)]))throw new ValidationError(_0x4495e2(0x97)+_0x3be011);else throw new _0x289c01(_0x4495e2(0x97)+_0x2218eb);}_0x3262a1[_0x4495e2(0x7f)]([_0x1db8a1[_0x4495e2(0x8b)]??_0x3be011,_0x2c2f6a]);}}return _0x3262a1;}export const qi=quoteIdentifier;export const qt=quoteTable;
1
+ const _0x143375=_0x479b;(function(_0x18e2bd,_0x472b69){const _0x1012ee=_0x479b,_0x147ac8=_0x18e2bd();while(!![]){try{const _0x310792=-parseInt(_0x1012ee(0x10d))/0x1*(parseInt(_0x1012ee(0x117))/0x2)+parseInt(_0x1012ee(0x11d))/0x3*(parseInt(_0x1012ee(0x124))/0x4)+-parseInt(_0x1012ee(0x109))/0x5*(parseInt(_0x1012ee(0x115))/0x6)+parseInt(_0x1012ee(0x116))/0x7*(-parseInt(_0x1012ee(0x123))/0x8)+parseInt(_0x1012ee(0x10a))/0x9+parseInt(_0x1012ee(0x100))/0xa*(parseInt(_0x1012ee(0x112))/0xb)+parseInt(_0x1012ee(0x102))/0xc;if(_0x310792===_0x472b69)break;else _0x147ac8['push'](_0x147ac8['shift']());}catch(_0x370374){_0x147ac8['push'](_0x147ac8['shift']());}}}(_0x3023,0x619b8));import{ValidationError}from'../../../errors.js';export const quoteIdentifier=_0x240bb3=>'\x22'+_0x240bb3[_0x143375(0x110)](/"/g,'\x22\x22')+'\x22';function _0x3023(){const _0x465192=['push','WFKaj','952DDwkmQ','4TzMxgG','NsUcr','iSAYK','unshift','250EZspFF','pdMdQ','10868244knzJMd','key','GadoL','dxXda','read','readable','WhNBw','2956365lTqCNy','6530238HWzEiM','map','filter','298731UCUZbd','entries','join','replace','Unknown\x20field:\x20','96140xmGhRi','Field\x20is\x20not\x20writable:\x20','jRYLX','6vhfXCs','23331GpgRmO','4qjUvxO','split','fields','writable','column','aeQxL','406179ehynEx','\x20AS\x20','write','DfPKC'];_0x3023=function(){return _0x465192;};return _0x3023();}export const quoteTable=_0x286f94=>_0x286f94[_0x143375(0x118)]('.')[_0x143375(0x10b)](quoteIdentifier)[_0x143375(0x10f)]('.');function _0x479b(_0x3dd4d9,_0x3b353d){_0x3dd4d9=_0x3dd4d9-0x100;const _0x3023ba=_0x3023();let _0x479bc5=_0x3023ba[_0x3dd4d9];return _0x479bc5;}export function fieldColumn(_0xd70f42,_0x1e3503){const _0x15ce32=_0x143375,_0x323f1d={'GadoL':function(_0x31c690,_0x4f21b1){return _0x31c690(_0x4f21b1);},'dxXda':function(_0x2523c9,_0x4ebd71){return _0x2523c9===_0x4ebd71;},'aeQxL':function(_0x1b5429,_0x305c36){return _0x1b5429!==_0x305c36;},'WFKaj':_0x15ce32(0x114),'NsUcr':_0x15ce32(0x108)};if(_0x323f1d[_0x15ce32(0x105)](_0x1e3503,_0xd70f42[_0x15ce32(0x103)]))return _0xd70f42[_0x15ce32(0x103)];const _0x1b8f5a=_0xd70f42[_0x15ce32(0x119)][_0x1e3503];if(!_0x1b8f5a){if(_0x323f1d[_0x15ce32(0x11c)](_0x323f1d[_0x15ce32(0x122)],_0x323f1d[_0x15ce32(0x125)]))throw new ValidationError(_0x15ce32(0x111)+_0x1e3503);else{const _0x3a5e55=_0x17b860[_0x15ce32(0x10e)](_0x2a127e[_0x15ce32(0x119)])[_0x15ce32(0x10c)](([,_0x51c9de])=>_0x51c9de[_0x15ce32(0x106)]!==![]&&_0x51c9de[_0x15ce32(0x107)]!==![])[_0x15ce32(0x10b)](([_0x486ca6,_0x44200b])=>_0x358ee3(_0x44200b[_0x15ce32(0x11b)]??_0x486ca6)+_0x15ce32(0x11e)+_0x5dcb4f(_0x486ca6));return!_0x5744ca[_0x15ce32(0x119)][_0x31ada3[_0x15ce32(0x103)]]&&_0x3a5e55[_0x15ce32(0x127)](_0x323f1d[_0x15ce32(0x104)](_0x3e7e61,_0x3509bf[_0x15ce32(0x103)])),_0x3a5e55;}}return _0x1b8f5a[_0x15ce32(0x11b)]??_0x1e3503;}export function readableFields(_0x2ded07){const _0x4a1ae0=_0x143375,_0x2bad85={'pdMdQ':function(_0x583fae,_0x4044c2){return _0x583fae(_0x4044c2);}},_0x7bfe07=Object[_0x4a1ae0(0x10e)](_0x2ded07[_0x4a1ae0(0x119)])[_0x4a1ae0(0x10c)](([,_0x33639d])=>_0x33639d[_0x4a1ae0(0x106)]!==![]&&_0x33639d[_0x4a1ae0(0x107)]!==![])[_0x4a1ae0(0x10b)](([_0x50bb84,_0x4abe7f])=>quoteIdentifier(_0x4abe7f[_0x4a1ae0(0x11b)]??_0x50bb84)+_0x4a1ae0(0x11e)+quoteIdentifier(_0x50bb84));return!_0x2ded07[_0x4a1ae0(0x119)][_0x2ded07[_0x4a1ae0(0x103)]]&&_0x7bfe07[_0x4a1ae0(0x127)](_0x2bad85[_0x4a1ae0(0x101)](quoteIdentifier,_0x2ded07[_0x4a1ae0(0x103)])),_0x7bfe07;}export function writableData(_0x249f8a,_0x51e682){const _0xcf856e=_0x143375,_0x1bd721={};_0x1bd721[_0xcf856e(0x120)]=function(_0x2345aa,_0x41c792){return _0x2345aa===_0x41c792;},_0x1bd721[_0xcf856e(0x126)]=function(_0x5a1a61,_0x4dcbe0){return _0x5a1a61===_0x4dcbe0;};const _0x676a04=_0x1bd721,_0x44087b=[];for(const [_0xcd42,_0x29af47]of Object[_0xcf856e(0x10e)](_0x51e682)){const _0x14b5a5=_0x249f8a[_0xcf856e(0x119)][_0xcd42];if(!_0x14b5a5||_0x676a04[_0xcf856e(0x120)](_0x14b5a5[_0xcf856e(0x11f)],![])||_0x676a04[_0xcf856e(0x126)](_0x14b5a5[_0xcf856e(0x11a)],![]))throw new ValidationError(_0xcf856e(0x113)+_0xcd42);_0x44087b[_0xcf856e(0x121)]([_0x14b5a5[_0xcf856e(0x11b)]??_0xcd42,_0x29af47]);}return _0x44087b;}export const qi=quoteIdentifier;export const qt=quoteTable;
@@ -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
+ const _0x534946=_0x53ee;(function(_0x4219e5,_0x38b0f0){const _0x3f3f92=_0x53ee,_0x2726d7=_0x4219e5();while(!![]){try{const _0x59c324=parseInt(_0x3f3f92(0x75))/0x1*(-parseInt(_0x3f3f92(0x80))/0x2)+-parseInt(_0x3f3f92(0x7c))/0x3*(parseInt(_0x3f3f92(0x79))/0x4)+-parseInt(_0x3f3f92(0x7e))/0x5+parseInt(_0x3f3f92(0x71))/0x6+-parseInt(_0x3f3f92(0x7a))/0x7+-parseInt(_0x3f3f92(0x74))/0x8*(parseInt(_0x3f3f92(0x7d))/0x9)+parseInt(_0x3f3f92(0x7b))/0xa*(parseInt(_0x3f3f92(0x77))/0xb);if(_0x59c324===_0x38b0f0)break;else _0x2726d7['push'](_0x2726d7['shift']());}catch(_0x1c182c){_0x2726d7['push'](_0x2726d7['shift']());}}}(_0x5e2d,0x1c26d));const getIP=_0x48df65=>(_0x48df65[_0x534946(0x72)]?.[_0x534946(0x82)]||_0x48df65[_0x534946(0x72)]?.[_0x534946(0x76)]||_0x48df65['ip']||_0x48df65[_0x534946(0x73)]?.[_0x534946(0x78)]||'')[_0x534946(0x7f)](':')[_0x534946(0x81)]();export default getIP;function _0x53ee(_0x11fcc2,_0x2e9efa){_0x11fcc2=_0x11fcc2-0x71;const _0x5e2d9a=_0x5e2d();let _0x53eef7=_0x5e2d9a[_0x11fcc2];return _0x53eef7;}function _0x5e2d(){const _0x10143e=['x-real-ip','1248018hRMufi','headers','connection','692368FPkyFn','3781HOorjX','x-forwarded-for','22dCwDvn','remoteAddress','8CVutEn','1058743wpnPfu','2138440txlGek','12363eGQSTW','9IyxCjE','672240Xgdnlx','split','74AnqVab','pop'];_0x5e2d=function(){return _0x10143e;};return _0x5e2d();}
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.3",
4
4
  "description": "Reusable backend foundation for OpenGIS Node.js applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",