decocms 2.172.2 → 2.173.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 (278) hide show
  1. package/dist/client/assets/{AlertCircle-ClrGTaOd.js → AlertCircle-BoncS6LP.js} +1 -1
  2. package/dist/client/assets/{AlignLeft-CDH2kHzq.js → AlignLeft-DBFp0-N7.js} +1 -1
  3. package/dist/client/assets/{ArrowDown-DlYdW6Y7.js → ArrowDown-C3BzPPYX.js} +1 -1
  4. package/dist/client/assets/{ArrowLeft-DusSg6k7.js → ArrowLeft-BJzvklmo.js} +1 -1
  5. package/dist/client/assets/{ArrowUp-BadPbvy3.js → ArrowUp-C6T9wa52.js} +1 -1
  6. package/dist/client/assets/{Check-D47qqsWi.js → Check-D28ZRrsv.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-CM5PTjhy.js → CheckCircle-ItsEMznk.js} +1 -1
  8. package/dist/client/assets/{CheckDone01-DU8levxk.js → CheckDone01-Cc3wOEJd.js} +1 -1
  9. package/dist/client/assets/{CheckVerified02-CACpEsSD.js → CheckVerified02-Dvd1EdLV.js} +1 -1
  10. package/dist/client/assets/{ChevronDown-CmFoa-MN.js → ChevronDown-D9EMTJdI.js} +1 -1
  11. package/dist/client/assets/{ChevronLeft-BBZtRY0q.js → ChevronLeft-6LF5odkw.js} +1 -1
  12. package/dist/client/assets/{ChevronRight-Ccc_Sjed.js → ChevronRight-6oHy3GR0.js} +1 -1
  13. package/dist/client/assets/{ChevronUp-JcxjaYTK.js → ChevronUp-iKqBRKww.js} +1 -1
  14. package/dist/client/assets/{Clock-DvBllXAe.js → Clock-DKgv7FMl.js} +1 -1
  15. package/dist/client/assets/{Code01-D384qtrJ.js → Code01-D874vQ1j.js} +1 -1
  16. package/dist/client/assets/{Coins01-q-yLaV-s.js → Coins01-CHKCanND.js} +1 -1
  17. package/dist/client/assets/{Container-BgIU6bWo.js → Container-v7Lu1WNT.js} +1 -1
  18. package/dist/client/assets/{Copy01-sKED-vLj.js → Copy01-D3an2EO3.js} +1 -1
  19. package/dist/client/assets/{Dataflow03-D3htYp-N.js → Dataflow03-C1gtqNGI.js} +1 -1
  20. package/dist/client/assets/{DotsHorizontal-azkhUMft.js → DotsHorizontal-BUWy0q6M.js} +1 -1
  21. package/dist/client/assets/{DotsVertical-Dt48o-Bq.js → DotsVertical-teVTiLQ2.js} +1 -1
  22. package/dist/client/assets/{Download01-Dp-HI0LA.js → Download01-DFr_zgIP.js} +1 -1
  23. package/dist/client/assets/{Edit01-C-PQ-7gV.js → Edit01-BIu4og98.js} +1 -1
  24. package/dist/client/assets/{Edit05-CTabXUvX.js → Edit05-hkZ8uhSL.js} +1 -1
  25. package/dist/client/assets/{Eye-BeIr8Vzd.js → Eye-BKxgN9Ci.js} +1 -1
  26. package/dist/client/assets/{EyeOff-Du1k40Nm.js → EyeOff-CAEuyJy8.js} +1 -1
  27. package/dist/client/assets/{File02-Bo9eFHTr.js → File02-Cpr-39PX.js} +1 -1
  28. package/dist/client/assets/{File06-BMW8ao_w.js → File06-9lDkVwq5.js} +1 -1
  29. package/dist/client/assets/{FilterLines-DqaELPn1.js → FilterLines-DBXa2xhp.js} +1 -1
  30. package/dist/client/assets/{Globe01-ISMTzK2m.js → Globe01-Dzq2G0hT.js} +1 -1
  31. package/dist/client/assets/{Globe02-BY9KQM8G.js → Globe02-cnnmW-yP.js} +1 -1
  32. package/dist/client/assets/{Grid01-kGaUg_cc.js → Grid01-B8Hz8XFZ.js} +1 -1
  33. package/dist/client/assets/{Hash02-DDXDI8ry.js → Hash02-CQioUpKU.js} +1 -1
  34. package/dist/client/assets/{Home02-BJ1pwYUW.js → Home02-Dhg6fiem.js} +1 -1
  35. package/dist/client/assets/{Image01-D1cm-3FQ.js → Image01-exfB-slY.js} +1 -1
  36. package/dist/client/assets/{Inbox01-BEwYpwmE.js → Inbox01-Bw2rff6F.js} +1 -1
  37. package/dist/client/assets/{InfoCircle-Cn8apf8U.js → InfoCircle-BzkuJise.js} +1 -1
  38. package/dist/client/assets/{Key01-CEedyU25.js → Key01-echsPc8T.js} +1 -1
  39. package/dist/client/assets/{LayersTwo01-BTT9GgdG.js → LayersTwo01-HSSB0HBk.js} +1 -1
  40. package/dist/client/assets/{LayoutLeft-bKrytFeq.js → LayoutLeft-CsdSAGAc.js} +1 -1
  41. package/dist/client/assets/{Link01-C_y_eRnq.js → Link01-DqBjIV11.js} +1 -1
  42. package/dist/client/assets/{LinkExternal01-Cjuepk2Y.js → LinkExternal01-BiHdSj-G.js} +1 -1
  43. package/dist/client/assets/{List-Bz4PLQWX.js → List-CCSmMits.js} +1 -1
  44. package/dist/client/assets/{Loading01-Ds_yIlBt.js → Loading01-R4lTIOmc.js} +1 -1
  45. package/dist/client/assets/{Lock01-r4p0TJqu.js → Lock01-BtcVHLM1.js} +1 -1
  46. package/dist/client/assets/{Play-Btzdao8L.js → Play-CeCy0kkp.js} +1 -1
  47. package/dist/client/assets/{Plus-Cln26t9k.js → Plus-BPhP6AwU.js} +1 -1
  48. package/dist/client/assets/{RefreshCcw01-B05f0aP-.js → RefreshCcw01-BpP2wWfT.js} +1 -1
  49. package/dist/client/assets/{Save01-BanXz4II.js → Save01-Go0UNRDT.js} +1 -1
  50. package/dist/client/assets/{SearchMd-C32DAy1s.js → SearchMd-DYtqpNhS.js} +1 -1
  51. package/dist/client/assets/{Settings01-C0PXfLqi.js → Settings01-DLXMaJiZ.js} +1 -1
  52. package/dist/client/assets/{Shield01-CCHp_zdi.js → Shield01-BPEMPVyT.js} +1 -1
  53. package/dist/client/assets/{Terminal-DcTm6ji-.js → Terminal-DvdwlySH.js} +1 -1
  54. package/dist/client/assets/{Trash01-DK1y3dZk.js → Trash01-11PM8hCT.js} +1 -1
  55. package/dist/client/assets/{Upload01-D2MbAzFl.js → Upload01-s0dK95gX.js} +1 -1
  56. package/dist/client/assets/{Users03-Ch2G4iRo.js → Users03-Bn5Ina1h.js} +1 -1
  57. package/dist/client/assets/{X-BeNP8bdc.js → X-C1gVOX-K.js} +1 -1
  58. package/dist/client/assets/{XCircle-C4Z1TBLP.js → XCircle-D_WssbjQ.js} +1 -1
  59. package/dist/client/assets/{XClose-ByRUZPAd.js → XClose-CzgfsXpl.js} +1 -1
  60. package/dist/client/assets/{Zap-BdI1rdNQ.js → Zap-rjtLs8AB.js} +1 -1
  61. package/dist/client/assets/{agent-connections-preview-B3lSJXbc.js → agent-connections-preview-B2zSeYmN.js} +1 -1
  62. package/dist/client/assets/{agent-detail-BE2wTwjO.js → agent-detail-C1YSF6Hq.js} +1 -1
  63. package/dist/client/assets/{agents-v7yFskYw.js → agents-DXzQUsKT.js} +1 -1
  64. package/dist/client/assets/{alert-dialog-BzmriYXD.js → alert-dialog-wQYrtq_g.js} +1 -1
  65. package/dist/client/assets/{auth-catchall-Cn7HOage.js → auth-catchall-BZlDikmp.js} +1 -1
  66. package/dist/client/assets/{automation-detail-3dPYUMP4.js → automation-detail-PwcSF1F0.js} +1 -1
  67. package/dist/client/assets/{automations-ByAliss3.js → automations-CTICk2Dp.js} +1 -1
  68. package/dist/client/assets/{avatar-VLsj4w_k.js → avatar-XKo1hvHY.js} +1 -1
  69. package/dist/client/assets/{badge-CQLalkEE.js → badge-BEyO0T03.js} +1 -1
  70. package/dist/client/assets/{binder-BCOcjrHc.js → binder-D-EP4Rws.js} +1 -1
  71. package/dist/client/assets/{breadcrumb-CtHpt1Hj.js → breadcrumb-BSZlBaPP.js} +1 -1
  72. package/dist/client/assets/{card-Dg8bSF1g.js → card-Cq808vu1.js} +1 -1
  73. package/dist/client/assets/{chart-CIIYUfQq.js → chart-DNqGB3ic.js} +1 -1
  74. package/dist/client/assets/{checkbox-5OPx-kaV.js → checkbox-D1_FXNWD.js} +1 -1
  75. package/dist/client/assets/{collapsible-DLZfoTEM.js → collapsible-wDXCk9xP.js} +1 -1
  76. package/dist/client/assets/{collection-detail-Bb3JCZHo.js → collection-detail-CsiVX8xV.js} +1 -1
  77. package/dist/client/assets/{collection-display-button-DV49rNbI.js → collection-display-button-yOA8wYm8.js} +1 -1
  78. package/dist/client/assets/{collection-search-BHtDjvQL.js → collection-search-C0Xdyimh.js} +1 -1
  79. package/dist/client/assets/{collection-tab-C9b9XvN2.js → collection-tab-C4posZLi.js} +1 -1
  80. package/dist/client/assets/{collection-table-wrapper-BgavezLW.js → collection-table-wrapper-BjxWZ4Q4.js} +1 -1
  81. package/dist/client/assets/{collection-tabs-DMmhv_1g.js → collection-tabs-Bdn3rWHw.js} +1 -1
  82. package/dist/client/assets/{command-DDZ63V3H.js → command-BO0v9Sf_.js} +1 -1
  83. package/dist/client/assets/{connect-DVhMOx8A.js → connect-DFz_0Mcc.js} +1 -1
  84. package/dist/client/assets/{connection-card-B8Ku_xnQ.js → connection-card-Iw1tldfy.js} +1 -1
  85. package/dist/client/assets/{connection-detail-CRo734HG.js → connection-detail-BX76SiPq.js} +1 -1
  86. package/dist/client/assets/{connection-status-CHkDe4eX.js → connection-status-BPCtNzAX.js} +1 -1
  87. package/dist/client/assets/{connections-CcoPNKjM.js → connections-Dzct8UZO.js} +1 -1
  88. package/dist/client/assets/{constants-m_OMiYqO.js → constants-BJq0sg2N.js} +1 -1
  89. package/dist/client/assets/constants-CYoMn_-y.js +1 -0
  90. package/dist/client/assets/{context-CcNCVCjQ.js → context-30W0NRWC.js} +1 -1
  91. package/dist/client/assets/{create-organization-dialog-DI-d1926.js → create-organization-dialog-qEzwR9y0.js} +1 -1
  92. package/dist/client/assets/{create-project-dialog-DCdoTB_M.js → create-project-dialog-CL4W5SGR.js} +1 -1
  93. package/dist/client/assets/{danger-BxsYXYff.js → danger-C5I4O3c5.js} +1 -1
  94. package/dist/client/assets/{danger-zone-CtWw91XF.js → danger-zone-BRN9nPUd.js} +1 -1
  95. package/dist/client/assets/{dependencies-Bqe9XWvV.js → dependencies-BMgtEL4Y.js} +1 -1
  96. package/dist/client/assets/{dialog-CYxmdCAY.js → dialog-DtQJmLgU.js} +1 -1
  97. package/dist/client/assets/{dropdown-menu-B2-TC2ID.js → dropdown-menu-Dh14MX71.js} +1 -1
  98. package/dist/client/assets/{dynamic-plugin-layout-B179FmFO.js → dynamic-plugin-layout-BgreQ4An.js} +1 -1
  99. package/dist/client/assets/{editable-task-title-CboTctFV.js → editable-task-title-aeTfEW-D.js} +1 -1
  100. package/dist/client/assets/{empty-state-QAJJHSPh.js → empty-state-ChTznqc5.js} +1 -1
  101. package/dist/client/assets/{empty-state-DyAFrOdp.js → empty-state-DehivavO.js} +1 -1
  102. package/dist/client/assets/{env-vars-editor-C3IuaF3S.js → env-vars-editor-DuCm8QB_.js} +1 -1
  103. package/dist/client/assets/{extract-connection-data-Cir4onx8.js → extract-connection-data-is00SRVb.js} +1 -1
  104. package/dist/client/assets/{file-browser-B3Xjj9S3.js → file-browser-BGVmEICO.js} +2 -2
  105. package/dist/client/assets/{form-BD_Oipqm.js → form-AwZCFVNc.js} +1 -1
  106. package/dist/client/assets/{general-CYb7i3K7.js → general-FbFo9Qid.js} +1 -1
  107. package/dist/client/assets/{grid-view-sbwQx6r5.js → grid-view-BqKnb9Io.js} +1 -1
  108. package/dist/client/assets/{home-B_gsL057.js → home-B--5foK8.js} +1 -1
  109. package/dist/client/assets/{icon-picker-BRNi8Awo.js → icon-picker-DIH_A1bl.js} +1 -1
  110. package/dist/client/assets/{index-Bs1-6MBJ.js → index--v47KjFS.js} +3 -3
  111. package/dist/client/assets/{index-Brmwx3QP.js → index-23ha-EiC.js} +1 -1
  112. package/dist/client/assets/{index-BCllOtlC.js → index-B67pQy0t.js} +1 -1
  113. package/dist/client/assets/{index-Dnjtu_kb.js → index-C1rNFCdf.js} +1 -1
  114. package/dist/client/assets/{index-DB_UqrMB.js → index-CRBE07YF.js} +1 -1
  115. package/dist/client/assets/{index-CvQBntDd.js → index-CUQZow0Z.js} +1 -1
  116. package/dist/client/assets/{index-CqNVEhLV.js → index-DLQk7Ahb.js} +1 -1
  117. package/dist/client/assets/{index-Cta5OAsO.css → index-DmrxmdhV.css} +1 -1
  118. package/dist/client/assets/{index-Cy5NxMqm.js → index-DnEhhRJ4.js} +1 -1
  119. package/dist/client/assets/{index-BDDekZH-.js → index-DrRz1QdK.js} +1 -1
  120. package/dist/client/assets/{index-DJ850qZq.js → index-oFBA5kHq.js} +1 -1
  121. package/dist/client/assets/{infiniteQueryObserver-BCxJZiPx.js → infiniteQueryObserver-Bv6Q8uee.js} +1 -1
  122. package/dist/client/assets/{input-oo9dNDtJ.js → input-B43ueF_6.js} +1 -1
  123. package/dist/client/assets/{integration-icon-BxDprz4-.js → integration-icon-jSV9a6uH.js} +1 -1
  124. package/dist/client/assets/{label-Ow7deF1V.js → label-Bp2-MH_v.js} +1 -1
  125. package/dist/client/assets/{layout-D-gNHDgT.js → layout-CHhBOues.js} +1 -1
  126. package/dist/client/assets/{layout-0-CpWJ4q.js → layout-ChV6hmvw.js} +1 -1
  127. package/dist/client/assets/{login-DMiDY1PH.js → login-DujtqNSP.js} +1 -1
  128. package/dist/client/assets/{logo-upload-DGm5nNR_.js → logo-upload-CFiX7Ocr.js} +1 -1
  129. package/dist/client/assets/{markdown-CC_Pgtlw.js → markdown-CHm0rLGk.js} +1 -1
  130. package/dist/client/assets/{mcp-app-renderer-eiwTuNJm.js → mcp-app-renderer-C9PcNeIF.js} +1 -1
  131. package/dist/client/assets/{mcp-server-card-ZHSZs_kf.js → mcp-server-card-BVdsLKTg.js} +1 -1
  132. package/dist/client/assets/{mcp-server-detail-DjKWYtHQ.js → mcp-server-detail-hWzz0p7M.js} +2 -2
  133. package/dist/client/assets/{members-CGtMoiYA.js → members-Dw7k8W_H.js} +1 -1
  134. package/dist/client/assets/{monaco-editor-DFgX2f59.js → monaco-editor-O-cJeAC7.js} +1 -1
  135. package/dist/client/assets/{monitoring-CQa1Ybic.js → monitoring-C_GmEx18.js} +1 -1
  136. package/dist/client/assets/{monitoring-dashboard-edit-CtdirIJ7.js → monitoring-dashboard-edit-Db8dSzpX.js} +1 -1
  137. package/dist/client/assets/{monitoring-dashboard-view-BzmmgyM6.js → monitoring-dashboard-view-DncdutYs.js} +1 -1
  138. package/dist/client/assets/{oauth-callback-BBrt_ccP.js → oauth-callback-D-e5bR0R.js} +1 -1
  139. package/dist/client/assets/{oauth-callback-ai-provider-B0mK5DTc.js → oauth-callback-ai-provider-DfwJ0j8l.js} +1 -1
  140. package/dist/client/assets/{org-ai-providers-2oudOR3a.js → org-ai-providers-BB_Kk_yW.js} +1 -1
  141. package/dist/client/assets/{page-BpUENCQ3.js → page-BHcE-IsW.js} +1 -1
  142. package/dist/client/assets/{page-Cm8DLHRx.js → page-DIduNonD.js} +1 -1
  143. package/dist/client/assets/{plugin-empty-state-D4HrModi.js → plugin-empty-state-CGg9Zobz.js} +1 -1
  144. package/dist/client/assets/{plugin-empty-state-D4jNxBX5.js → plugin-empty-state-DF5DjKQn.js} +1 -1
  145. package/dist/client/assets/{plugin-header-Bd2q22iA.js → plugin-header-CwOisLLl.js} +1 -1
  146. package/dist/client/assets/{plugin-header-hexKC2z7.js → plugin-header-oOJ_SB7i.js} +1 -1
  147. package/dist/client/assets/plugins-D61XA0e1.js +1 -0
  148. package/dist/client/assets/{popover-BQwql0No.js → popover-CRGn9IqN.js} +1 -1
  149. package/dist/client/assets/{project-app-view-CWpHCZKH.js → project-app-view-C6bFj2jv.js} +1 -1
  150. package/dist/client/assets/{project-layout-CZw982Go.js → project-layout-xuVkDUgj.js} +1 -1
  151. package/dist/client/assets/{project-plugins-C6LqmbaN.js → project-plugins-BtJagofo.js} +1 -1
  152. package/dist/client/assets/{projects-list-n35yk1kw.js → projects-list-rUiZxv6z.js} +1 -1
  153. package/dist/client/assets/{readme-viewer-C4a15ScG.js → readme-viewer-CgvhJVTC.js} +1 -1
  154. package/dist/client/assets/{registry-layout-BXxLm88S.js → registry-layout-BYOMcr5d.js} +1 -1
  155. package/dist/client/assets/{registry-utils-8JbjeIg2.js → registry-utils-DRlaL1TA.js} +1 -1
  156. package/dist/client/assets/{reports-layout-DDT7TPDK.js → reports-layout-BZCASsb2.js} +1 -1
  157. package/dist/client/assets/{reset-password-C8mz9-pn.js → reset-password-ptCGMW1Q.js} +1 -1
  158. package/dist/client/assets/{resizable-BEGLyBcY.js → resizable-BipYny0A.js} +1 -1
  159. package/dist/client/assets/{save-actions-tJMaBMCr.js → save-actions-6CE1ypPt.js} +1 -1
  160. package/dist/client/assets/{scroll-area-zXI7Mnta.js → scroll-area-CvC7l56a.js} +1 -1
  161. package/dist/client/assets/{select-DE-s_uro.js → select-1qCYmo_Z.js} +1 -1
  162. package/dist/client/assets/{select-virtual-mcp-3UuH5RYu.js → select-virtual-mcp-t9uZXeiE.js} +1 -1
  163. package/dist/client/assets/shell-layout-DS537tct.js +3 -0
  164. package/dist/client/assets/{sidebar-settings-BleCcXqd.js → sidebar-settings-Gn9QDCS3.js} +1 -1
  165. package/dist/client/assets/{skeleton-FXjthcRm.js → skeleton-Vs0ahWNW.js} +1 -1
  166. package/dist/client/assets/{spinner-LkGFTHYs.js → spinner-DY37bQ6b.js} +1 -1
  167. package/dist/client/assets/{store-invite-DY166hBP.js → store-invite-CZ47dQJt.js} +1 -1
  168. package/dist/client/assets/{switch-CmbZgNTQ.js → switch-ChOmwFAU.js} +1 -1
  169. package/dist/client/assets/{table-DQFo79Pa.js → table-Ds5hcAfV.js} +1 -1
  170. package/dist/client/assets/{tabs-VJ4cZZ6Y.js → tabs-Dpw2g7MT.js} +1 -1
  171. package/dist/client/assets/{task-status-Cp67IvSc.js → task-status-BEYFiOcg.js} +21 -21
  172. package/dist/client/assets/tasks-CdG9QSFK.js +1 -0
  173. package/dist/client/assets/{tasks-panel-BcHTmaRp.js → tasks-panel-B9E0VzsT.js} +1 -1
  174. package/dist/client/assets/{textarea-_fKX6fkc.js → textarea-C-fRxR1X.js} +1 -1
  175. package/dist/client/assets/{time-range-picker-CwXbYm21.js → time-range-picker-DLfN0bYQ.js} +1 -1
  176. package/dist/client/assets/{toggle-group-CG-mSzeH.js → toggle-group-BwEgndSj.js} +1 -1
  177. package/dist/client/assets/{tools-list-BqjA8cpd.js → tools-list-DzGfMYwE.js} +1 -1
  178. package/dist/client/assets/{tooltip-DvMIj9Vl.js → tooltip-B2CdQ2bN.js} +1 -1
  179. package/dist/client/assets/{topbar-portal-8N6OCP_q.js → topbar-portal-C72-23Dd.js} +1 -1
  180. package/dist/client/assets/{types-co6EnWx4.js → types-CixwvVqB.js} +1 -1
  181. package/dist/client/assets/{use-automations-CmbPeGrO.js → use-automations-D8qaeage.js} +1 -1
  182. package/dist/client/assets/{use-binding-BDoLJ3NJ.js → use-binding-C6wyTPOH.js} +1 -1
  183. package/dist/client/assets/{use-collections-BWCPG3qv.js → use-collections-CobBqkkk.js} +1 -1
  184. package/dist/client/assets/{use-connection-DNxPUHEC.js → use-connection-CUBEGKKv.js} +1 -1
  185. package/dist/client/assets/{use-copy-B6Vhad-4.js → use-copy-CCW7WupY.js} +1 -1
  186. package/dist/client/assets/{use-create-virtual-mcp-CsD8b5oZ.js → use-create-virtual-mcp-44rNe9r4.js} +1 -1
  187. package/dist/client/assets/{use-install-from-registry-rVBF9_Ya.js → use-install-from-registry-B6Xy7L7O.js} +1 -1
  188. package/dist/client/assets/{use-list-state-CxptnZc8.js → use-list-state-DmSf1SxJ.js} +1 -1
  189. package/dist/client/assets/{use-llm-Cx0n4D2y.js → use-llm-CgNJSzil.js} +1 -1
  190. package/dist/client/assets/{use-local-storage-BO16s_mB.js → use-local-storage-B5rcvGp1.js} +1 -1
  191. package/dist/client/assets/{use-mcp-prompts-El8F9wfP.js → use-mcp-prompts-CWXp4Vto.js} +1 -1
  192. package/dist/client/assets/{use-mcp-resources-CQM51ISF.js → use-mcp-resources-CdviUNt8.js} +1 -1
  193. package/dist/client/assets/{use-mcp-tools-CGAtxBQr.js → use-mcp-tools-DhfUlmve.js} +1 -1
  194. package/dist/client/assets/{use-members-C5Abj3Nl.js → use-members-D-zu9EQ4.js} +1 -1
  195. package/dist/client/assets/{use-mobile-CMPROSym.js → use-mobile-DfdfcC2T.js} +1 -1
  196. package/dist/client/assets/{use-project-D1HuJpb-.js → use-project-FOWgS7Lo.js} +1 -1
  197. package/dist/client/assets/{use-view-mode-DtcqFKqx.js → use-view-mode-bhKhl_no.js} +1 -1
  198. package/dist/client/assets/{use-virtual-mcp-HJi07IrH.js → use-virtual-mcp-D_pRY4Y5.js} +1 -1
  199. package/dist/client/assets/useInfiniteQuery-VDF7Rw4W.js +1 -0
  200. package/dist/client/assets/{useMutation-C7wTU_P1.js → useMutation-BK2VTSKG.js} +1 -1
  201. package/dist/client/assets/useQuery-WdhzaCOu.js +1 -0
  202. package/dist/client/assets/useSuspenseInfiniteQuery-B49n2iIj.js +1 -0
  203. package/dist/client/assets/{user-CL49YHal.js → user-D7ZGT9n7.js} +1 -1
  204. package/dist/client/assets/{workflow-se3doO0e.js → workflow-BlmkM3G6.js} +1 -1
  205. package/dist/client/index.html +2 -2
  206. package/dist/server/node_modules/pg/README.md +95 -0
  207. package/dist/server/node_modules/pg/esm/index.mjs +20 -0
  208. package/dist/server/node_modules/pg/lib/client.js +743 -0
  209. package/dist/server/node_modules/pg/lib/connection-parameters.js +171 -0
  210. package/dist/server/node_modules/pg/lib/connection.js +221 -0
  211. package/dist/server/node_modules/pg/lib/crypto/cert-signatures.js +122 -0
  212. package/dist/server/node_modules/pg/lib/crypto/sasl.js +212 -0
  213. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +43 -0
  214. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +89 -0
  215. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  216. package/dist/server/node_modules/pg/lib/defaults.js +91 -0
  217. package/dist/server/node_modules/pg/lib/index.js +73 -0
  218. package/dist/server/node_modules/pg/lib/native/client.js +323 -0
  219. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  220. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  221. package/dist/server/node_modules/pg/lib/query.js +252 -0
  222. package/dist/server/node_modules/pg/lib/result.js +109 -0
  223. package/dist/server/node_modules/pg/lib/stream.js +83 -0
  224. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  225. package/dist/server/node_modules/pg/lib/utils.js +217 -0
  226. package/dist/server/node_modules/pg/package.json +76 -0
  227. package/dist/server/node_modules/postgres-date/index.js +116 -0
  228. package/dist/server/node_modules/{postgres-interval → postgres-date}/package.json +8 -11
  229. package/dist/server/node_modules/postgres-date/readme.md +49 -0
  230. package/package.json +1 -1
  231. package/dist/client/assets/constants-BRaJPJag.js +0 -1
  232. package/dist/client/assets/plugins-BfhzI-KM.js +0 -1
  233. package/dist/client/assets/shell-layout-DwAcy6I2.js +0 -3
  234. package/dist/client/assets/tasks-D4G9J1eF.js +0 -1
  235. package/dist/client/assets/useInfiniteQuery-C05JDjpl.js +0 -1
  236. package/dist/client/assets/useQuery-wPyHm29j.js +0 -1
  237. package/dist/client/assets/useSuspenseInfiniteQuery-9yayOuFY.js +0 -1
  238. package/dist/server/node_modules/async-exit-hook/CHANGELOG.md +0 -62
  239. package/dist/server/node_modules/async-exit-hook/index.js +0 -171
  240. package/dist/server/node_modules/async-exit-hook/license +0 -21
  241. package/dist/server/node_modules/async-exit-hook/package.json +0 -66
  242. package/dist/server/node_modules/async-exit-hook/readme.md +0 -118
  243. package/dist/server/node_modules/pg-cloudflare/README.md +0 -112
  244. package/dist/server/node_modules/pg-cloudflare/dist/empty.d.ts +0 -2
  245. package/dist/server/node_modules/pg-cloudflare/dist/empty.js +0 -6
  246. package/dist/server/node_modules/pg-cloudflare/dist/empty.js.map +0 -1
  247. package/dist/server/node_modules/pg-cloudflare/dist/index.d.ts +0 -31
  248. package/dist/server/node_modules/pg-cloudflare/dist/index.js +0 -152
  249. package/dist/server/node_modules/pg-cloudflare/dist/index.js.map +0 -1
  250. package/dist/server/node_modules/pg-cloudflare/esm/index.mjs +0 -3
  251. package/dist/server/node_modules/pg-cloudflare/package.json +0 -39
  252. package/dist/server/node_modules/pg-cloudflare/src/empty.ts +0 -3
  253. package/dist/server/node_modules/pg-cloudflare/src/index.ts +0 -166
  254. package/dist/server/node_modules/pg-cloudflare/src/types.d.ts +0 -25
  255. package/dist/server/node_modules/pg-connection-string/LICENSE +0 -21
  256. package/dist/server/node_modules/pg-connection-string/README.md +0 -105
  257. package/dist/server/node_modules/pg-connection-string/esm/index.mjs +0 -8
  258. package/dist/server/node_modules/pg-connection-string/index.d.ts +0 -36
  259. package/dist/server/node_modules/pg-connection-string/index.js +0 -231
  260. package/dist/server/node_modules/pg-connection-string/package.json +0 -52
  261. package/dist/server/node_modules/pg-types/.travis.yml +0 -7
  262. package/dist/server/node_modules/pg-types/Makefile +0 -14
  263. package/dist/server/node_modules/pg-types/README.md +0 -75
  264. package/dist/server/node_modules/pg-types/index.d.ts +0 -137
  265. package/dist/server/node_modules/pg-types/index.js +0 -47
  266. package/dist/server/node_modules/pg-types/index.test-d.ts +0 -21
  267. package/dist/server/node_modules/pg-types/lib/arrayParser.js +0 -11
  268. package/dist/server/node_modules/pg-types/lib/binaryParsers.js +0 -257
  269. package/dist/server/node_modules/pg-types/lib/builtins.js +0 -73
  270. package/dist/server/node_modules/pg-types/lib/textParsers.js +0 -215
  271. package/dist/server/node_modules/pg-types/package.json +0 -42
  272. package/dist/server/node_modules/pg-types/test/index.js +0 -24
  273. package/dist/server/node_modules/pg-types/test/types.js +0 -597
  274. package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
  275. package/dist/server/node_modules/postgres-interval/index.js +0 -125
  276. package/dist/server/node_modules/postgres-interval/readme.md +0 -48
  277. /package/dist/server/node_modules/{pg-cloudflare → pg}/LICENSE +0 -0
  278. /package/dist/server/node_modules/{postgres-interval → postgres-date}/license +0 -0
@@ -1,52 +0,0 @@
1
- {
2
- "name": "pg-connection-string",
3
- "version": "2.12.0",
4
- "description": "Functions for dealing with a PostgresSQL connection string",
5
- "main": "./index.js",
6
- "types": "./index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./index.d.ts",
10
- "import": "./esm/index.mjs",
11
- "require": "./index.js",
12
- "default": "./index.js"
13
- }
14
- },
15
- "scripts": {
16
- "test": "nyc --reporter=lcov mocha && npm run check-coverage",
17
- "check-coverage": "nyc check-coverage --statements 100 --branches 100 --lines 100 --functions 100"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git://github.com/brianc/node-postgres.git",
22
- "directory": "packages/pg-connection-string"
23
- },
24
- "keywords": [
25
- "pg",
26
- "connection",
27
- "string",
28
- "parse"
29
- ],
30
- "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
31
- "license": "MIT",
32
- "bugs": {
33
- "url": "https://github.com/brianc/node-postgres/issues"
34
- },
35
- "homepage": "https://github.com/brianc/node-postgres/tree/master/packages/pg-connection-string",
36
- "devDependencies": {
37
- "@types/pg": "^8.12.0",
38
- "chai": "^4.1.1",
39
- "coveralls": "^3.0.4",
40
- "istanbul": "^0.4.5",
41
- "mocha": "^11.7.5",
42
- "nyc": "^15",
43
- "tsx": "^4.19.4",
44
- "typescript": "^4.0.3"
45
- },
46
- "files": [
47
- "index.js",
48
- "index.d.ts",
49
- "esm"
50
- ],
51
- "gitHead": "c9070cc8d526fca65780cedc25c1966b57cf7532"
52
- }
@@ -1,7 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - '4'
4
- - 'lts/*'
5
- - 'node'
6
- env:
7
- - PGUSER=postgres
@@ -1,14 +0,0 @@
1
- .PHONY: publish-patch test
2
-
3
- test:
4
- npm test
5
-
6
- patch: test
7
- npm version patch -m "Bump version"
8
- git push origin master --tags
9
- npm publish
10
-
11
- minor: test
12
- npm version minor -m "Bump version"
13
- git push origin master --tags
14
- npm publish
@@ -1,75 +0,0 @@
1
- # pg-types
2
-
3
- This is the code that turns all the raw text from postgres into JavaScript types for [node-postgres](https://github.com/brianc/node-postgres.git)
4
-
5
- ## use
6
-
7
- This module is consumed and exported from the root `pg` object of node-postgres. To access it, do the following:
8
-
9
- ```js
10
- var types = require('pg').types
11
- ```
12
-
13
- Generally what you'll want to do is override how a specific data-type is parsed and turned into a JavaScript type. By default the PostgreSQL backend server returns everything as strings. Every data type corresponds to a unique `OID` within the server, and these `OIDs` are sent back with the query response. So, you need to match a particluar `OID` to a function you'd like to use to take the raw text input and produce a valid JavaScript object as a result. `null` values are never parsed.
14
-
15
- Let's do something I commonly like to do on projects: return 64-bit integers `(int8)` as JavaScript integers. Because JavaScript doesn't have support for 64-bit integers node-postgres cannot confidently parse `int8` data type results as numbers because if you have a _huge_ number it will overflow and the result you'd get back from node-postgres would not be the result in the datbase. That would be a __very bad thing__ so node-postgres just returns `int8` results as strings and leaves the parsing up to you. Let's say that you know you don't and wont ever have numbers greater than `int4` in your database, but you're tired of recieving results from the `COUNT(*)` function as strings (because that function returns `int8`). You would do this:
16
-
17
- ```js
18
- var types = require('pg').types
19
- types.setTypeParser(20, function(val) {
20
- return parseInt(val)
21
- })
22
- ```
23
-
24
- __boom__: now you get numbers instead of strings.
25
-
26
- Just as another example -- not saying this is a good idea -- let's say you want to return all dates from your database as [moment](http://momentjs.com/docs/) objects. Okay, do this:
27
-
28
- ```js
29
- var types = require('pg').types
30
- var moment = require('moment')
31
- var parseFn = function(val) {
32
- return val === null ? null : moment(val)
33
- }
34
- types.setTypeParser(types.builtins.TIMESTAMPTZ, parseFn)
35
- types.setTypeParser(types.builtins.TIMESTAMP, parseFn)
36
- ```
37
- _note: I've never done that with my dates, and I'm not 100% sure moment can parse all the date strings returned from postgres. It's just an example!_
38
-
39
- If you're thinking "gee, this seems pretty handy, but how can I get a list of all the OIDs in the database and what they correspond to?!?!?!" worry not:
40
-
41
- ```bash
42
- $ psql -c "select typname, oid, typarray from pg_type order by oid"
43
- ```
44
-
45
- If you want to find out the OID of a specific type:
46
-
47
- ```bash
48
- $ psql -c "select typname, oid, typarray from pg_type where typname = 'daterange' order by oid"
49
- ```
50
-
51
- :smile:
52
-
53
- ## license
54
-
55
- The MIT License (MIT)
56
-
57
- Copyright (c) 2014 Brian M. Carlson
58
-
59
- Permission is hereby granted, free of charge, to any person obtaining a copy
60
- of this software and associated documentation files (the "Software"), to deal
61
- in the Software without restriction, including without limitation the rights
62
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
- copies of the Software, and to permit persons to whom the Software is
64
- furnished to do so, subject to the following conditions:
65
-
66
- The above copyright notice and this permission notice shall be included in
67
- all copies or substantial portions of the Software.
68
-
69
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
75
- THE SOFTWARE.
@@ -1,137 +0,0 @@
1
- export enum TypeId {
2
- BOOL = 16,
3
- BYTEA = 17,
4
- CHAR = 18,
5
- INT8 = 20,
6
- INT2 = 21,
7
- INT4 = 23,
8
- REGPROC = 24,
9
- TEXT = 25,
10
- OID = 26,
11
- TID = 27,
12
- XID = 28,
13
- CID = 29,
14
- JSON = 114,
15
- XML = 142,
16
- PG_NODE_TREE = 194,
17
- SMGR = 210,
18
- PATH = 602,
19
- POLYGON = 604,
20
- CIDR = 650,
21
- FLOAT4 = 700,
22
- FLOAT8 = 701,
23
- ABSTIME = 702,
24
- RELTIME = 703,
25
- TINTERVAL = 704,
26
- CIRCLE = 718,
27
- MACADDR8 = 774,
28
- MONEY = 790,
29
- MACADDR = 829,
30
- INET = 869,
31
- ACLITEM = 1033,
32
- BPCHAR = 1042,
33
- VARCHAR = 1043,
34
- DATE = 1082,
35
- TIME = 1083,
36
- TIMESTAMP = 1114,
37
- TIMESTAMPTZ = 1184,
38
- INTERVAL = 1186,
39
- TIMETZ = 1266,
40
- BIT = 1560,
41
- VARBIT = 1562,
42
- NUMERIC = 1700,
43
- REFCURSOR = 1790,
44
- REGPROCEDURE = 2202,
45
- REGOPER = 2203,
46
- REGOPERATOR = 2204,
47
- REGCLASS = 2205,
48
- REGTYPE = 2206,
49
- UUID = 2950,
50
- TXID_SNAPSHOT = 2970,
51
- PG_LSN = 3220,
52
- PG_NDISTINCT = 3361,
53
- PG_DEPENDENCIES = 3402,
54
- TSVECTOR = 3614,
55
- TSQUERY = 3615,
56
- GTSVECTOR = 3642,
57
- REGCONFIG = 3734,
58
- REGDICTIONARY = 3769,
59
- JSONB = 3802,
60
- REGNAMESPACE = 4089,
61
- REGROLE = 4096
62
- }
63
-
64
- export type builtinsTypes =
65
- 'BOOL' |
66
- 'BYTEA' |
67
- 'CHAR' |
68
- 'INT8' |
69
- 'INT2' |
70
- 'INT4' |
71
- 'REGPROC' |
72
- 'TEXT' |
73
- 'OID' |
74
- 'TID' |
75
- 'XID' |
76
- 'CID' |
77
- 'JSON' |
78
- 'XML' |
79
- 'PG_NODE_TREE' |
80
- 'SMGR' |
81
- 'PATH' |
82
- 'POLYGON' |
83
- 'CIDR' |
84
- 'FLOAT4' |
85
- 'FLOAT8' |
86
- 'ABSTIME' |
87
- 'RELTIME' |
88
- 'TINTERVAL' |
89
- 'CIRCLE' |
90
- 'MACADDR8' |
91
- 'MONEY' |
92
- 'MACADDR' |
93
- 'INET' |
94
- 'ACLITEM' |
95
- 'BPCHAR' |
96
- 'VARCHAR' |
97
- 'DATE' |
98
- 'TIME' |
99
- 'TIMESTAMP' |
100
- 'TIMESTAMPTZ' |
101
- 'INTERVAL' |
102
- 'TIMETZ' |
103
- 'BIT' |
104
- 'VARBIT' |
105
- 'NUMERIC' |
106
- 'REFCURSOR' |
107
- 'REGPROCEDURE' |
108
- 'REGOPER' |
109
- 'REGOPERATOR' |
110
- 'REGCLASS' |
111
- 'REGTYPE' |
112
- 'UUID' |
113
- 'TXID_SNAPSHOT' |
114
- 'PG_LSN' |
115
- 'PG_NDISTINCT' |
116
- 'PG_DEPENDENCIES' |
117
- 'TSVECTOR' |
118
- 'TSQUERY' |
119
- 'GTSVECTOR' |
120
- 'REGCONFIG' |
121
- 'REGDICTIONARY' |
122
- 'JSONB' |
123
- 'REGNAMESPACE' |
124
- 'REGROLE';
125
-
126
- export type TypesBuiltins = {[key in builtinsTypes]: TypeId};
127
-
128
- export type TypeFormat = 'text' | 'binary';
129
-
130
- export const builtins: TypesBuiltins;
131
-
132
- export function setTypeParser (id: TypeId, parseFn: ((value: string) => any)): void;
133
- export function setTypeParser (id: TypeId, format: TypeFormat, parseFn: (value: string) => any): void;
134
-
135
- export const getTypeParser: (id: TypeId, format?: TypeFormat) => any
136
-
137
- export const arrayParser: (source: string, transform: (entry: any) => any) => any[];
@@ -1,47 +0,0 @@
1
- var textParsers = require('./lib/textParsers');
2
- var binaryParsers = require('./lib/binaryParsers');
3
- var arrayParser = require('./lib/arrayParser');
4
- var builtinTypes = require('./lib/builtins');
5
-
6
- exports.getTypeParser = getTypeParser;
7
- exports.setTypeParser = setTypeParser;
8
- exports.arrayParser = arrayParser;
9
- exports.builtins = builtinTypes;
10
-
11
- var typeParsers = {
12
- text: {},
13
- binary: {}
14
- };
15
-
16
- //the empty parse function
17
- function noParse (val) {
18
- return String(val);
19
- };
20
-
21
- //returns a function used to convert a specific type (specified by
22
- //oid) into a result javascript type
23
- //note: the oid can be obtained via the following sql query:
24
- //SELECT oid FROM pg_type WHERE typname = 'TYPE_NAME_HERE';
25
- function getTypeParser (oid, format) {
26
- format = format || 'text';
27
- if (!typeParsers[format]) {
28
- return noParse;
29
- }
30
- return typeParsers[format][oid] || noParse;
31
- };
32
-
33
- function setTypeParser (oid, format, parseFn) {
34
- if(typeof format == 'function') {
35
- parseFn = format;
36
- format = 'text';
37
- }
38
- typeParsers[format][oid] = parseFn;
39
- };
40
-
41
- textParsers.init(function(oid, converter) {
42
- typeParsers.text[oid] = converter;
43
- });
44
-
45
- binaryParsers.init(function(oid, converter) {
46
- typeParsers.binary[oid] = converter;
47
- });
@@ -1,21 +0,0 @@
1
- import * as types from '.';
2
- import { expectType } from 'tsd';
3
-
4
- // builtins
5
- expectType<types.TypesBuiltins>(types.builtins);
6
-
7
- // getTypeParser
8
- const noParse = types.getTypeParser(types.builtins.NUMERIC, 'text');
9
- const numericParser = types.getTypeParser(types.builtins.NUMERIC, 'binary');
10
- expectType<string>(noParse('noParse'));
11
- expectType<number>(numericParser([200, 1, 0, 15]));
12
-
13
- // getArrayParser
14
- const value = types.arrayParser('{1,2,3}', (num) => parseInt(num));
15
- expectType<number[]>(value);
16
-
17
- //setTypeParser
18
- types.setTypeParser(types.builtins.INT8, parseInt);
19
- types.setTypeParser(types.builtins.FLOAT8, parseFloat);
20
- types.setTypeParser(types.builtins.FLOAT8, 'binary', (data) => data[0]);
21
- types.setTypeParser(types.builtins.FLOAT8, 'text', parseFloat);
@@ -1,11 +0,0 @@
1
- var array = require('postgres-array');
2
-
3
- module.exports = {
4
- create: function (source, transform) {
5
- return {
6
- parse: function() {
7
- return array.parse(source, transform);
8
- }
9
- };
10
- }
11
- };
@@ -1,257 +0,0 @@
1
- var parseInt64 = require('pg-int8');
2
-
3
- var parseBits = function(data, bits, offset, invert, callback) {
4
- offset = offset || 0;
5
- invert = invert || false;
6
- callback = callback || function(lastValue, newValue, bits) { return (lastValue * Math.pow(2, bits)) + newValue; };
7
- var offsetBytes = offset >> 3;
8
-
9
- var inv = function(value) {
10
- if (invert) {
11
- return ~value & 0xff;
12
- }
13
-
14
- return value;
15
- };
16
-
17
- // read first (maybe partial) byte
18
- var mask = 0xff;
19
- var firstBits = 8 - (offset % 8);
20
- if (bits < firstBits) {
21
- mask = (0xff << (8 - bits)) & 0xff;
22
- firstBits = bits;
23
- }
24
-
25
- if (offset) {
26
- mask = mask >> (offset % 8);
27
- }
28
-
29
- var result = 0;
30
- if ((offset % 8) + bits >= 8) {
31
- result = callback(0, inv(data[offsetBytes]) & mask, firstBits);
32
- }
33
-
34
- // read bytes
35
- var bytes = (bits + offset) >> 3;
36
- for (var i = offsetBytes + 1; i < bytes; i++) {
37
- result = callback(result, inv(data[i]), 8);
38
- }
39
-
40
- // bits to read, that are not a complete byte
41
- var lastBits = (bits + offset) % 8;
42
- if (lastBits > 0) {
43
- result = callback(result, inv(data[bytes]) >> (8 - lastBits), lastBits);
44
- }
45
-
46
- return result;
47
- };
48
-
49
- var parseFloatFromBits = function(data, precisionBits, exponentBits) {
50
- var bias = Math.pow(2, exponentBits - 1) - 1;
51
- var sign = parseBits(data, 1);
52
- var exponent = parseBits(data, exponentBits, 1);
53
-
54
- if (exponent === 0) {
55
- return 0;
56
- }
57
-
58
- // parse mantissa
59
- var precisionBitsCounter = 1;
60
- var parsePrecisionBits = function(lastValue, newValue, bits) {
61
- if (lastValue === 0) {
62
- lastValue = 1;
63
- }
64
-
65
- for (var i = 1; i <= bits; i++) {
66
- precisionBitsCounter /= 2;
67
- if ((newValue & (0x1 << (bits - i))) > 0) {
68
- lastValue += precisionBitsCounter;
69
- }
70
- }
71
-
72
- return lastValue;
73
- };
74
-
75
- var mantissa = parseBits(data, precisionBits, exponentBits + 1, false, parsePrecisionBits);
76
-
77
- // special cases
78
- if (exponent == (Math.pow(2, exponentBits + 1) - 1)) {
79
- if (mantissa === 0) {
80
- return (sign === 0) ? Infinity : -Infinity;
81
- }
82
-
83
- return NaN;
84
- }
85
-
86
- // normale number
87
- return ((sign === 0) ? 1 : -1) * Math.pow(2, exponent - bias) * mantissa;
88
- };
89
-
90
- var parseInt16 = function(value) {
91
- if (parseBits(value, 1) == 1) {
92
- return -1 * (parseBits(value, 15, 1, true) + 1);
93
- }
94
-
95
- return parseBits(value, 15, 1);
96
- };
97
-
98
- var parseInt32 = function(value) {
99
- if (parseBits(value, 1) == 1) {
100
- return -1 * (parseBits(value, 31, 1, true) + 1);
101
- }
102
-
103
- return parseBits(value, 31, 1);
104
- };
105
-
106
- var parseFloat32 = function(value) {
107
- return parseFloatFromBits(value, 23, 8);
108
- };
109
-
110
- var parseFloat64 = function(value) {
111
- return parseFloatFromBits(value, 52, 11);
112
- };
113
-
114
- var parseNumeric = function(value) {
115
- var sign = parseBits(value, 16, 32);
116
- if (sign == 0xc000) {
117
- return NaN;
118
- }
119
-
120
- var weight = Math.pow(10000, parseBits(value, 16, 16));
121
- var result = 0;
122
-
123
- var digits = [];
124
- var ndigits = parseBits(value, 16);
125
- for (var i = 0; i < ndigits; i++) {
126
- result += parseBits(value, 16, 64 + (16 * i)) * weight;
127
- weight /= 10000;
128
- }
129
-
130
- var scale = Math.pow(10, parseBits(value, 16, 48));
131
- return ((sign === 0) ? 1 : -1) * Math.round(result * scale) / scale;
132
- };
133
-
134
- var parseDate = function(isUTC, value) {
135
- var sign = parseBits(value, 1);
136
- var rawValue = parseBits(value, 63, 1);
137
-
138
- // discard usecs and shift from 2000 to 1970
139
- var result = new Date((((sign === 0) ? 1 : -1) * rawValue / 1000) + 946684800000);
140
-
141
- if (!isUTC) {
142
- result.setTime(result.getTime() + result.getTimezoneOffset() * 60000);
143
- }
144
-
145
- // add microseconds to the date
146
- result.usec = rawValue % 1000;
147
- result.getMicroSeconds = function() {
148
- return this.usec;
149
- };
150
- result.setMicroSeconds = function(value) {
151
- this.usec = value;
152
- };
153
- result.getUTCMicroSeconds = function() {
154
- return this.usec;
155
- };
156
-
157
- return result;
158
- };
159
-
160
- var parseArray = function(value) {
161
- var dim = parseBits(value, 32);
162
-
163
- var flags = parseBits(value, 32, 32);
164
- var elementType = parseBits(value, 32, 64);
165
-
166
- var offset = 96;
167
- var dims = [];
168
- for (var i = 0; i < dim; i++) {
169
- // parse dimension
170
- dims[i] = parseBits(value, 32, offset);
171
- offset += 32;
172
-
173
- // ignore lower bounds
174
- offset += 32;
175
- }
176
-
177
- var parseElement = function(elementType) {
178
- // parse content length
179
- var length = parseBits(value, 32, offset);
180
- offset += 32;
181
-
182
- // parse null values
183
- if (length == 0xffffffff) {
184
- return null;
185
- }
186
-
187
- var result;
188
- if ((elementType == 0x17) || (elementType == 0x14)) {
189
- // int/bigint
190
- result = parseBits(value, length * 8, offset);
191
- offset += length * 8;
192
- return result;
193
- }
194
- else if (elementType == 0x19) {
195
- // string
196
- result = value.toString(this.encoding, offset >> 3, (offset += (length << 3)) >> 3);
197
- return result;
198
- }
199
- else {
200
- console.log("ERROR: ElementType not implemented: " + elementType);
201
- }
202
- };
203
-
204
- var parse = function(dimension, elementType) {
205
- var array = [];
206
- var i;
207
-
208
- if (dimension.length > 1) {
209
- var count = dimension.shift();
210
- for (i = 0; i < count; i++) {
211
- array[i] = parse(dimension, elementType);
212
- }
213
- dimension.unshift(count);
214
- }
215
- else {
216
- for (i = 0; i < dimension[0]; i++) {
217
- array[i] = parseElement(elementType);
218
- }
219
- }
220
-
221
- return array;
222
- };
223
-
224
- return parse(dims, elementType);
225
- };
226
-
227
- var parseText = function(value) {
228
- return value.toString('utf8');
229
- };
230
-
231
- var parseBool = function(value) {
232
- if(value === null) return null;
233
- return (parseBits(value, 8) > 0);
234
- };
235
-
236
- var init = function(register) {
237
- register(20, parseInt64);
238
- register(21, parseInt16);
239
- register(23, parseInt32);
240
- register(26, parseInt32);
241
- register(1700, parseNumeric);
242
- register(700, parseFloat32);
243
- register(701, parseFloat64);
244
- register(16, parseBool);
245
- register(1114, parseDate.bind(null, false));
246
- register(1184, parseDate.bind(null, true));
247
- register(1000, parseArray);
248
- register(1007, parseArray);
249
- register(1016, parseArray);
250
- register(1008, parseArray);
251
- register(1009, parseArray);
252
- register(25, parseText);
253
- };
254
-
255
- module.exports = {
256
- init: init
257
- };
@@ -1,73 +0,0 @@
1
- /**
2
- * Following query was used to generate this file:
3
-
4
- SELECT json_object_agg(UPPER(PT.typname), PT.oid::int4 ORDER BY pt.oid)
5
- FROM pg_type PT
6
- WHERE typnamespace = (SELECT pgn.oid FROM pg_namespace pgn WHERE nspname = 'pg_catalog') -- Take only builting Postgres types with stable OID (extension types are not guaranted to be stable)
7
- AND typtype = 'b' -- Only basic types
8
- AND typelem = 0 -- Ignore aliases
9
- AND typisdefined -- Ignore undefined types
10
- */
11
-
12
- module.exports = {
13
- BOOL: 16,
14
- BYTEA: 17,
15
- CHAR: 18,
16
- INT8: 20,
17
- INT2: 21,
18
- INT4: 23,
19
- REGPROC: 24,
20
- TEXT: 25,
21
- OID: 26,
22
- TID: 27,
23
- XID: 28,
24
- CID: 29,
25
- JSON: 114,
26
- XML: 142,
27
- PG_NODE_TREE: 194,
28
- SMGR: 210,
29
- PATH: 602,
30
- POLYGON: 604,
31
- CIDR: 650,
32
- FLOAT4: 700,
33
- FLOAT8: 701,
34
- ABSTIME: 702,
35
- RELTIME: 703,
36
- TINTERVAL: 704,
37
- CIRCLE: 718,
38
- MACADDR8: 774,
39
- MONEY: 790,
40
- MACADDR: 829,
41
- INET: 869,
42
- ACLITEM: 1033,
43
- BPCHAR: 1042,
44
- VARCHAR: 1043,
45
- DATE: 1082,
46
- TIME: 1083,
47
- TIMESTAMP: 1114,
48
- TIMESTAMPTZ: 1184,
49
- INTERVAL: 1186,
50
- TIMETZ: 1266,
51
- BIT: 1560,
52
- VARBIT: 1562,
53
- NUMERIC: 1700,
54
- REFCURSOR: 1790,
55
- REGPROCEDURE: 2202,
56
- REGOPER: 2203,
57
- REGOPERATOR: 2204,
58
- REGCLASS: 2205,
59
- REGTYPE: 2206,
60
- UUID: 2950,
61
- TXID_SNAPSHOT: 2970,
62
- PG_LSN: 3220,
63
- PG_NDISTINCT: 3361,
64
- PG_DEPENDENCIES: 3402,
65
- TSVECTOR: 3614,
66
- TSQUERY: 3615,
67
- GTSVECTOR: 3642,
68
- REGCONFIG: 3734,
69
- REGDICTIONARY: 3769,
70
- JSONB: 3802,
71
- REGNAMESPACE: 4089,
72
- REGROLE: 4096
73
- };