decocms 2.310.6 → 2.310.8
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/client/assets/{AlertCircle-CFABZy3o.js → AlertCircle-Bfs7s4nW.js} +1 -1
- package/dist/client/assets/{ArrowNarrowLeft-qjcSXUou.js → ArrowNarrowLeft-Bmz6Y8e3.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-havdJdQt.js → ArrowUpRight-uN4rpxFQ.js} +1 -1
- package/dist/client/assets/{Check-4wEPFmVT.js → Check-Dn9d8wcY.js} +1 -1
- package/dist/client/assets/{CheckCircle-D7ReuLNV.js → CheckCircle-Ce1bjJWu.js} +1 -1
- package/dist/client/assets/{ChevronDown-CLwgC4lc.js → ChevronDown-CXCDuqLa.js} +1 -1
- package/dist/client/assets/{ChevronRight-DW27S4dx.js → ChevronRight-D5XY6PcV.js} +1 -1
- package/dist/client/assets/{ChevronUp-DAW3-3dA.js → ChevronUp-CumNURD7.js} +1 -1
- package/dist/client/assets/{Container-C9S2fJrQ.js → Container-CaXLIAOI.js} +1 -1
- package/dist/client/assets/{DotsVertical-BReL32xd.js → DotsVertical-t9aJW5_k.js} +1 -1
- package/dist/client/assets/{LinkExternal01-0Xs4UV_i.js → LinkExternal01-Df6M_hj7.js} +1 -1
- package/dist/client/assets/{Lock01-BjKqD6QN.js → Lock01-zKy6_9kx.js} +1 -1
- package/dist/client/assets/{Palette-Dtg_tDlg.js → Palette-YLM_ef0u.js} +1 -1
- package/dist/client/assets/{Play-85A9faRd.js → Play-CgFl5SH3.js} +1 -1
- package/dist/client/assets/{Plus-BxG8Erza.js → Plus-CaMiYyQj.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-DdgK7Krp.js → RefreshCcw01-Dg3dsSrt.js} +1 -1
- package/dist/client/assets/{SearchMd-JVaJZdXg.js → SearchMd-CEMS2-Af.js} +1 -1
- package/dist/client/assets/{Settings02-BZivkDIL.js → Settings02-eRruwxu8.js} +1 -1
- package/dist/client/assets/{Shield01-CAl07SGJ.js → Shield01-CcUKPlcN.js} +1 -1
- package/dist/client/assets/{Star01-DEmigL_c.js → Star01-DLhWwRZb.js} +1 -1
- package/dist/client/assets/{Sun-TDfj1GPd.js → Sun-cU8BjYNb.js} +1 -1
- package/dist/client/assets/{Tool01-Bhj2T1uN.js → Tool01-CVk9VJBE.js} +1 -1
- package/dist/client/assets/{Trash01-CdymalYb.js → Trash01-BRo1VQ8E.js} +1 -1
- package/dist/client/assets/{User01-BZ9BWkFc.js → User01-kmVRHRma.js} +1 -1
- package/dist/client/assets/{Users03-DG3Gfjoh.js → Users03-CIV6olE1.js} +1 -1
- package/dist/client/assets/{X-DzLPqoAC.js → X-D9eppmZ5.js} +1 -1
- package/dist/client/assets/{XCircle-DTJod2tn.js → XCircle-aWgEOCXr.js} +1 -1
- package/dist/client/assets/{XClose-0biyZ-nq.js → XClose-DbuUzE7b.js} +1 -1
- package/dist/client/assets/{Zap-aKe8CYDP.js → Zap-BbjHF1GM.js} +1 -1
- package/dist/client/assets/{ZapSquare-DtdkchqU.js → ZapSquare-DrCreQ3A.js} +1 -1
- package/dist/client/assets/{accordion-CHtp00zM.js → accordion-CB4pTANL.js} +1 -1
- package/dist/client/assets/{agent-icon-D-W_-Msq.js → agent-icon-BVZUm3pj.js} +1 -1
- package/dist/client/assets/{agents-list-DuIrLHcS.js → agents-list-DlTc6QGI.js} +1 -1
- package/dist/client/assets/ai-providers-CEEk5xRd.js +1 -0
- package/dist/client/assets/{alert-dialog-DZ7MoPrC.js → alert-dialog-BBdkraBS.js} +1 -1
- package/dist/client/assets/{auth-catchall-0StMYUgy.js → auth-catchall-bUIQyqBf.js} +1 -1
- package/dist/client/assets/{automation-list-row-CS-JiMPM.js → automation-list-row-tSvFX0_P.js} +1 -1
- package/dist/client/assets/{automations-BAEn2v9X.js → automations-DZkLzvwz.js} +1 -1
- package/dist/client/assets/{avatar-CtlfIArZ.js → avatar-BLsDXTLO.js} +1 -1
- package/dist/client/assets/{badge-YKYMjnfu.js → badge-CHhcYTOG.js} +1 -1
- package/dist/client/assets/{brand-context-DfGmGZnx.js → brand-context-BZbDeID5.js} +1 -1
- package/dist/client/assets/{card-uZ87GViI.js → card-B46IKqYa.js} +1 -1
- package/dist/client/assets/{chat-context-BFxTlymH.js → chat-context-UGxRb1rI.js} +1 -1
- package/dist/client/assets/{checkbox-BFMSekYh.js → checkbox-CxcVXBXV.js} +1 -1
- package/dist/client/assets/{collection-detail-z1-sDcK2.js → collection-detail-DaQ_oR9e.js} +1 -1
- package/dist/client/assets/{collection-display-button-DqIrM4V5.js → collection-display-button-BXqWBMEX.js} +1 -1
- package/dist/client/assets/{collection-search-CrNavgfW.js → collection-search-BOYToHG4.js} +1 -1
- package/dist/client/assets/{collection-search-DV0cCH2j.js → collection-search-lhyumEEV.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CjedtIca.js → collection-table-wrapper-BPAycPr7.js} +1 -1
- package/dist/client/assets/{collection-tabs-D653lS2B.js → collection-tabs-HQQcyoFg.js} +1 -1
- package/dist/client/assets/{collections-kcgqXRh1.js → collections-a3wfsjnW.js} +1 -1
- package/dist/client/assets/{command-DEZQ8Srq.js → command-BBGje1oX.js} +1 -1
- package/dist/client/assets/{connection-card-DDf_nl47.js → connection-card-DJeKMgvX.js} +1 -1
- package/dist/client/assets/{connection-detail-DIAn09sC.js → connection-detail-BEyRsGap.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CaEsrTVy.js → connection-form-helpers-C2msx2a-.js} +1 -1
- package/dist/client/assets/{connections-BTFAJALU.js → connections-DOax_hsw.js} +1 -1
- package/dist/client/assets/{constants-9g9gFjnw.js → constants-CCLDSt04.js} +1 -1
- package/dist/client/assets/{constants-DsSHL62C.js → constants-RWvzCl_g.js} +1 -1
- package/dist/client/assets/{dialog-B4KlHjek.js → dialog-CrUS2M-J.js} +1 -1
- package/dist/client/assets/{domain-settings-D1FHhwCI.js → domain-settings-CJEzm_aH.js} +1 -1
- package/dist/client/assets/{drawer-5orE9Wr9.js → drawer-B55E50R8.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BsFYaC7C.js → dropdown-menu-CAcyogWh.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-CwAziEC5.js → dynamic-plugin-layout-CDvQ_Np7.js} +1 -1
- package/dist/client/assets/{empty-state-DnjUFLB3.js → empty-state-B0wC2RI0.js} +1 -1
- package/dist/client/assets/{empty-state-fJhgTnn4.js → empty-state-DDTz8h9v.js} +1 -1
- package/dist/client/assets/{extract-connection-data-4I5O_R5k.js → extract-connection-data-4PWi7FLi.js} +1 -1
- package/dist/client/assets/{features-CNtB2JQC.js → features-9eK6Dvvc.js} +1 -1
- package/dist/client/assets/{form-CDvvEZtA.js → form-9gavmyEG.js} +1 -1
- package/dist/client/assets/{general-Dz0H1FEC.js → general-Dd7eNyE0.js} +1 -1
- package/dist/client/assets/{index-B3Ttc_5_.js → index-0P8ZmKvA.js} +1 -1
- package/dist/client/assets/{index-WBXw_0um.js → index-2L6LxWB9.js} +1 -1
- package/dist/client/assets/index-B77fLAOn.js +1 -0
- package/dist/client/assets/{index-CoY1MHFJ.js → index-B7jEWpXG.js} +1 -1
- package/dist/client/assets/{index-ChoE-W6u.js → index-BOyxqY6S.js} +1 -1
- package/dist/client/assets/{index-BJq84O_6.js → index-Bm8TOoJq.js} +1 -1
- package/dist/client/assets/{index-CneSjNEN.js → index-Bs5p63Lp.js} +1 -1
- package/dist/client/assets/{index-n0iHPcte.js → index-D-AchbAp.js} +2 -2
- package/dist/client/assets/{index-CVzq_PSm.js → index-D-Sd8524.js} +1 -1
- package/dist/client/assets/{index-TikwA-8X.js → index-D2SMYQnt.js} +3 -3
- package/dist/client/assets/{index-H-xuVWHv.js → index-DJKFaAtT.js} +1 -1
- package/dist/client/assets/{index-__EZcmD7.js → index-DZmO6N1n.js} +1 -1
- package/dist/client/assets/{index-C1C4QgjJ.js → index-DbKfVBRv.js} +1 -1
- package/dist/client/assets/{index-BnEPkkjz.js → index-hAn15iQr.js} +1 -1
- package/dist/client/assets/{index-DrOTgwhJ.js → index-jcMGjOmp.js} +1 -1
- package/dist/client/assets/{index-_Uov_1Gm.js → index-zJlISM1n.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-CWqfKiPC.js → infiniteQueryObserver-DoJUGWdU.js} +1 -1
- package/dist/client/assets/{input-DEYTwRzn.js → input-CakwXYXP.js} +1 -1
- package/dist/client/assets/{integration-icon-Bkie-XyL.js → integration-icon-C-l7PWbV.js} +1 -1
- package/dist/client/assets/{label-DWRjHkWy.js → label-CIwIDYzF.js} +1 -1
- package/dist/client/assets/{layout-CjfRI0kM.js → layout-BELe2gYF.js} +1 -1
- package/dist/client/assets/{lean-canvas-recruit-modal-DGk9eFdJ.js → lean-canvas-recruit-modal-BL7Hqazc.js} +1 -1
- package/dist/client/assets/{login-DKUj7zIS.js → login-BjVz6Lmy.js} +1 -1
- package/dist/client/assets/{members-BbSPO94a.js → members-CV-YNJVI.js} +1 -1
- package/dist/client/assets/{monaco-editor-DqaoMZN_.js → monaco-editor-C8cqLWnt.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DhIBV8mS.js → monitoring-stats-row-03tCjfSg.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider--0vKdiLB.js → oauth-callback-ai-provider-Cn406SsN.js} +1 -1
- package/dist/client/assets/{oauth-callback-4rQ_SIXQ.js → oauth-callback-lAoZsaec.js} +1 -1
- package/dist/client/assets/{onboarding-CCqg4mEL.js → onboarding-DrvTr1Oe.js} +1 -1
- package/dist/client/assets/{org-layout-GNTOf2Y_.js → org-layout-D46j3LFF.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-DvR4YnGa.js → org-plugin-layout-BqNL0q9V.js} +1 -1
- package/dist/client/assets/{pair-tqYVnZzb.js → pair-BJVqYs09.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-B7Ew5cqE.js → plugin-empty-state-BM8f9tif.js} +1 -1
- package/dist/client/assets/{plugin-header-HT1h0NLv.js → plugin-header-BQz7TyX6.js} +1 -1
- package/dist/client/assets/{plugin-layout-BRlJ23A-.js → plugin-layout-CIgCE7YR.js} +1 -1
- package/dist/client/assets/{popover-BDSYEq1Z.js → popover-D2EOAbOM.js} +1 -1
- package/dist/client/assets/{profile-CE6TtzAL.js → profile-BAs8A8Ct.js} +1 -1
- package/dist/client/assets/{project-app-view-CKGfiYJS.js → project-app-view-C6cxoEkx.js} +1 -1
- package/dist/client/assets/registry-CJxOyZl6.js +2 -0
- package/dist/client/assets/{registry-layout-BgUN22Is.js → registry-layout-Dbn2jbhx.js} +1 -1
- package/dist/client/assets/{required-auth-layout-C2TKIvqH.js → required-auth-layout-eFrhlW0x.js} +1 -1
- package/dist/client/assets/{reset-password-CFEVrlT-.js → reset-password--oJpG98M.js} +1 -1
- package/dist/client/assets/{roles-UDExR41M.js → roles-wXb5aFM5.js} +1 -1
- package/dist/client/assets/{scroll-area-1CfGMim0.js → scroll-area-DkzB0VrI.js} +1 -1
- package/dist/client/assets/{search-input-BUN7olRm.js → search-input-C4_6QMbq.js} +1 -1
- package/dist/client/assets/{select-CDN58G81.js → select-Ji_VTvAf.js} +1 -1
- package/dist/client/assets/{select-model-BoyVFry8.js → select-model-kUAjnROT.js} +1 -1
- package/dist/client/assets/{settings-layout-DyxDLw6w.js → settings-layout-CUCVg_-5.js} +1 -1
- package/dist/client/assets/{settings-section-gdfEnAUq.js → settings-section-Bqaz9XGD.js} +1 -1
- package/dist/client/assets/{shell-layout-BAgHU931.js → shell-layout-DWNJFELP.js} +1 -1
- package/dist/client/assets/{skeleton-B66wWsdL.js → skeleton-CXubnmL1.js} +1 -1
- package/dist/client/assets/{sso-9AzOTM0F.js → sso-Dg7s8bK4.js} +1 -1
- package/dist/client/assets/{store-8UHU7otF.js → store-CPWqUmyF.js} +1 -1
- package/dist/client/assets/store-registry-BbL6NKlA.js +2 -0
- package/dist/client/assets/{switch-DIHVY0RD.js → switch-B4qY2cAW.js} +1 -1
- package/dist/client/assets/{table-pLgWKqqj.js → table-tkXjFnMe.js} +1 -1
- package/dist/client/assets/{tabs-B36z-iXu.js → tabs-wvEgEfW5.js} +1 -1
- package/dist/client/assets/{task-status-zPChwtIb.js → task-status-DHF3W_Oc.js} +1 -1
- package/dist/client/assets/{textarea-BJm0Tf5N.js → textarea-hPI8GSZO.js} +1 -1
- package/dist/client/assets/{toggle-group-BCvX9smm.js → toggle-group-D0qc93NL.js} +1 -1
- package/dist/client/assets/{tools-list-DsW7X9uH.js → tools-list-D_CH2LCo.js} +1 -1
- package/dist/client/assets/{tooltip-DK9ITTps.js → tooltip-mh5HW7ZO.js} +1 -1
- package/dist/client/assets/{types-CHJA9iY7.js → types-DmP7ytXf.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Wa05FQa-.js → use-ai-providers-BsD7sWlS.js} +1 -1
- package/dist/client/assets/{use-collections-DEtL7TsG.js → use-collections-Bj_MIMYU.js} +1 -1
- package/dist/client/assets/{use-connection-BA7MX_A_.js → use-connection-C1Huhuv0.js} +1 -1
- package/dist/client/assets/{use-copy-B_9_NtCX.js → use-copy-Vr-WiQt5.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-BWms3_Wm.js → use-create-virtual-mcp-BrRlmCqc.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-RQpwA8uI.js → use-debounced-autosave-yq4OwEo1.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CAAYd06u.js → use-decopilot-events-DU6d8uCa.js} +1 -1
- package/dist/client/assets/{use-delete-connection-mhnpE7ro.js → use-delete-connection-CfYt6XCO.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CM8Ra6DF.js → use-infinite-scroll-N5zwi7TE.js} +1 -1
- package/dist/client/assets/{use-list-state-BWx4o2vn.js → use-list-state-BqbT3RUK.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-D_JiTODV.js → use-mcp-tools-CDiw0vXX.js} +1 -1
- package/dist/client/assets/{use-members-Dh6NCni1.js → use-members-BaAd9sSt.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Cr_ZMHfb.js → use-navigate-to-agent-JbrD8A1R.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-D8ifGvzT.js → use-org-auth-client-BQtfAiH5.js} +1 -1
- package/dist/client/assets/{use-org-sso-IjJZMJF0.js → use-org-sso-qmLHQ9XF.js} +1 -1
- package/dist/client/assets/{use-organization-roles-sdfgjrG3.js → use-organization-roles-Sgkr0Ix4.js} +1 -1
- package/dist/client/assets/{use-organization-settings-ZtHNr_4_.js → use-organization-settings-D3c1eAkJ.js} +1 -1
- package/dist/client/assets/{use-registry-connections-C9TouqtJ.js → use-registry-connections-C6aVUyvC.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BEFDLRaR.js → use-status-sounds-DICuWgmF.js} +1 -1
- package/dist/client/assets/{use-tasks-DZC5fx2d.js → use-tasks-Dw1R9K3S.js} +1 -1
- package/dist/client/assets/{use-view-mode-C1XifkB4.js → use-view-mode-DhSDMztv.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-w_wFYi9Y.js → use-virtual-mcp-BhZKmvOZ.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-B2eIGcfO.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-Yn6IM0vI.js +1 -0
- package/dist/client/assets/{user-BHWnxivf.js → user-CjG66nlK.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DUYrFi8F.js → view-mode-toggle-DZcY_eG-.js} +1 -1
- package/dist/client/assets/{workflow-CAeRJIAh.js → workflow-CaMuJTBT.js} +1 -1
- package/dist/client/assets/workflow-detail-DbigvtdD.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +10 -2
- package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/dist/server/node_modules/is-fullwidth-code-point/index.js +12 -0
- package/dist/server/node_modules/is-fullwidth-code-point/license +9 -0
- package/dist/server/node_modules/is-fullwidth-code-point/package.json +53 -0
- package/dist/server/node_modules/is-fullwidth-code-point/readme.md +31 -0
- package/dist/server/node_modules/mimic-fn/index.d.ts +54 -0
- package/dist/server/node_modules/mimic-fn/index.js +13 -0
- package/dist/server/node_modules/mimic-fn/license +9 -0
- package/dist/server/node_modules/mimic-fn/package.json +42 -0
- package/dist/server/node_modules/mimic-fn/readme.md +69 -0
- package/dist/server/node_modules/pg-int8/LICENSE +13 -0
- package/dist/server/node_modules/pg-int8/README.md +16 -0
- package/dist/server/node_modules/pg-int8/index.js +100 -0
- package/dist/server/node_modules/pg-int8/package.json +24 -0
- package/dist/server/node_modules/postgres-array/index.d.ts +4 -0
- package/dist/server/node_modules/postgres-array/index.js +97 -0
- package/dist/server/node_modules/postgres-array/license +21 -0
- package/dist/server/node_modules/postgres-array/package.json +35 -0
- package/dist/server/node_modules/postgres-array/readme.md +43 -0
- package/dist/server/node_modules/postgres-date/index.js +116 -0
- package/dist/server/node_modules/postgres-date/license +21 -0
- package/dist/server/node_modules/postgres-date/package.json +33 -0
- package/dist/server/node_modules/postgres-date/readme.md +49 -0
- package/dist/server/node_modules/postgres-interval/index.d.ts +20 -0
- package/dist/server/node_modules/postgres-interval/index.js +125 -0
- package/dist/server/node_modules/postgres-interval/license +21 -0
- package/dist/server/node_modules/postgres-interval/package.json +36 -0
- package/dist/server/node_modules/postgres-interval/readme.md +48 -0
- package/dist/server/node_modules/xtend/.jshintrc +30 -0
- package/dist/server/node_modules/xtend/LICENSE +20 -0
- package/dist/server/node_modules/xtend/README.md +32 -0
- package/dist/server/node_modules/xtend/immutable.js +19 -0
- package/dist/server/node_modules/xtend/mutable.js +17 -0
- package/dist/server/node_modules/xtend/package.json +55 -0
- package/dist/server/node_modules/xtend/test.js +103 -0
- package/dist/server/server.js +9 -1
- package/package.json +1 -1
- package/dist/client/assets/ai-providers-BTcrVDAh.js +0 -1
- package/dist/client/assets/index-Di6eCNBZ.js +0 -1
- package/dist/client/assets/registry-KydgQONl.js +0 -2
- package/dist/client/assets/store-registry-JV-2CVIA.js +0 -2
- package/dist/client/assets/useInfiniteQuery-tCVYDURJ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-hHdMeBLO.js +0 -1
- package/dist/client/assets/workflow-detail-CsmAVzf-.js +0 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
var extend = require('xtend/mutable')
|
|
4
|
+
|
|
5
|
+
module.exports = PostgresInterval
|
|
6
|
+
|
|
7
|
+
function PostgresInterval (raw) {
|
|
8
|
+
if (!(this instanceof PostgresInterval)) {
|
|
9
|
+
return new PostgresInterval(raw)
|
|
10
|
+
}
|
|
11
|
+
extend(this, parse(raw))
|
|
12
|
+
}
|
|
13
|
+
var properties = ['seconds', 'minutes', 'hours', 'days', 'months', 'years']
|
|
14
|
+
PostgresInterval.prototype.toPostgres = function () {
|
|
15
|
+
var filtered = properties.filter(this.hasOwnProperty, this)
|
|
16
|
+
|
|
17
|
+
// In addition to `properties`, we need to account for fractions of seconds.
|
|
18
|
+
if (this.milliseconds && filtered.indexOf('seconds') < 0) {
|
|
19
|
+
filtered.push('seconds')
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (filtered.length === 0) return '0'
|
|
23
|
+
return filtered
|
|
24
|
+
.map(function (property) {
|
|
25
|
+
var value = this[property] || 0
|
|
26
|
+
|
|
27
|
+
// Account for fractional part of seconds,
|
|
28
|
+
// remove trailing zeroes.
|
|
29
|
+
if (property === 'seconds' && this.milliseconds) {
|
|
30
|
+
value = (value + this.milliseconds / 1000).toFixed(6).replace(/\.?0+$/, '')
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return value + ' ' + property
|
|
34
|
+
}, this)
|
|
35
|
+
.join(' ')
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
var propertiesISOEquivalent = {
|
|
39
|
+
years: 'Y',
|
|
40
|
+
months: 'M',
|
|
41
|
+
days: 'D',
|
|
42
|
+
hours: 'H',
|
|
43
|
+
minutes: 'M',
|
|
44
|
+
seconds: 'S'
|
|
45
|
+
}
|
|
46
|
+
var dateProperties = ['years', 'months', 'days']
|
|
47
|
+
var timeProperties = ['hours', 'minutes', 'seconds']
|
|
48
|
+
// according to ISO 8601
|
|
49
|
+
PostgresInterval.prototype.toISOString = PostgresInterval.prototype.toISO = function () {
|
|
50
|
+
var datePart = dateProperties
|
|
51
|
+
.map(buildProperty, this)
|
|
52
|
+
.join('')
|
|
53
|
+
|
|
54
|
+
var timePart = timeProperties
|
|
55
|
+
.map(buildProperty, this)
|
|
56
|
+
.join('')
|
|
57
|
+
|
|
58
|
+
return 'P' + datePart + 'T' + timePart
|
|
59
|
+
|
|
60
|
+
function buildProperty (property) {
|
|
61
|
+
var value = this[property] || 0
|
|
62
|
+
|
|
63
|
+
// Account for fractional part of seconds,
|
|
64
|
+
// remove trailing zeroes.
|
|
65
|
+
if (property === 'seconds' && this.milliseconds) {
|
|
66
|
+
value = (value + this.milliseconds / 1000).toFixed(6).replace(/0+$/, '')
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return value + propertiesISOEquivalent[property]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
var NUMBER = '([+-]?\\d+)'
|
|
74
|
+
var YEAR = NUMBER + '\\s+years?'
|
|
75
|
+
var MONTH = NUMBER + '\\s+mons?'
|
|
76
|
+
var DAY = NUMBER + '\\s+days?'
|
|
77
|
+
var TIME = '([+-])?([\\d]*):(\\d\\d):(\\d\\d)\\.?(\\d{1,6})?'
|
|
78
|
+
var INTERVAL = new RegExp([YEAR, MONTH, DAY, TIME].map(function (regexString) {
|
|
79
|
+
return '(' + regexString + ')?'
|
|
80
|
+
})
|
|
81
|
+
.join('\\s*'))
|
|
82
|
+
|
|
83
|
+
// Positions of values in regex match
|
|
84
|
+
var positions = {
|
|
85
|
+
years: 2,
|
|
86
|
+
months: 4,
|
|
87
|
+
days: 6,
|
|
88
|
+
hours: 9,
|
|
89
|
+
minutes: 10,
|
|
90
|
+
seconds: 11,
|
|
91
|
+
milliseconds: 12
|
|
92
|
+
}
|
|
93
|
+
// We can use negative time
|
|
94
|
+
var negatives = ['hours', 'minutes', 'seconds', 'milliseconds']
|
|
95
|
+
|
|
96
|
+
function parseMilliseconds (fraction) {
|
|
97
|
+
// add omitted zeroes
|
|
98
|
+
var microseconds = fraction + '000000'.slice(fraction.length)
|
|
99
|
+
return parseInt(microseconds, 10) / 1000
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function parse (interval) {
|
|
103
|
+
if (!interval) return {}
|
|
104
|
+
var matches = INTERVAL.exec(interval)
|
|
105
|
+
var isNegative = matches[8] === '-'
|
|
106
|
+
return Object.keys(positions)
|
|
107
|
+
.reduce(function (parsed, property) {
|
|
108
|
+
var position = positions[property]
|
|
109
|
+
var value = matches[position]
|
|
110
|
+
// no empty string
|
|
111
|
+
if (!value) return parsed
|
|
112
|
+
// milliseconds are actually microseconds (up to 6 digits)
|
|
113
|
+
// with omitted trailing zeroes.
|
|
114
|
+
value = property === 'milliseconds'
|
|
115
|
+
? parseMilliseconds(value)
|
|
116
|
+
: parseInt(value, 10)
|
|
117
|
+
// no zeros
|
|
118
|
+
if (!value) return parsed
|
|
119
|
+
if (isNegative && ~negatives.indexOf(property)) {
|
|
120
|
+
value *= -1
|
|
121
|
+
}
|
|
122
|
+
parsed[property] = value
|
|
123
|
+
return parsed
|
|
124
|
+
}, {})
|
|
125
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Ben Drucker <bvdrucker@gmail.com> (bendrucker.me)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "postgres-interval",
|
|
3
|
+
"main": "index.js",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"description": "Parse Postgres interval columns",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": "bendrucker/postgres-interval",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Ben Drucker",
|
|
10
|
+
"email": "bvdrucker@gmail.com",
|
|
11
|
+
"url": "bendrucker.me"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=0.10.0"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "standard && tape test.js"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"postgres",
|
|
21
|
+
"interval",
|
|
22
|
+
"parser"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"xtend": "^4.0.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"tape": "^4.0.0",
|
|
29
|
+
"standard": "^12.0.1"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"index.js",
|
|
33
|
+
"index.d.ts",
|
|
34
|
+
"readme.md"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# postgres-interval [](https://travis-ci.org/bendrucker/postgres-interval) [](https://greenkeeper.io/)
|
|
2
|
+
|
|
3
|
+
> Parse Postgres interval columns
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
$ npm install --save postgres-interval
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
var parse = require('postgres-interval')
|
|
17
|
+
var interval = parse('01:02:03')
|
|
18
|
+
//=> {hours: 1, minutes: 2, seconds: 3}
|
|
19
|
+
interval.toPostgres()
|
|
20
|
+
// 3 seconds 2 minutes 1 hours
|
|
21
|
+
interval.toISO()
|
|
22
|
+
// P0Y0M0DT1H2M3S
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## API
|
|
26
|
+
|
|
27
|
+
#### `parse(pgInterval)` -> `interval`
|
|
28
|
+
|
|
29
|
+
##### pgInterval
|
|
30
|
+
|
|
31
|
+
*Required*
|
|
32
|
+
Type: `string`
|
|
33
|
+
|
|
34
|
+
A Postgres interval string.
|
|
35
|
+
|
|
36
|
+
#### `interval.toPostgres()` -> `string`
|
|
37
|
+
|
|
38
|
+
Returns an interval string. This allows the interval object to be passed into prepared statements.
|
|
39
|
+
|
|
40
|
+
#### `interval.toISOString()` -> `string`
|
|
41
|
+
|
|
42
|
+
Returns an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) compliant string.
|
|
43
|
+
|
|
44
|
+
Also available as `interval.toISO()` for backwards compatibility.
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
MIT © [Ben Drucker](http://bendrucker.me)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"maxdepth": 4,
|
|
3
|
+
"maxstatements": 200,
|
|
4
|
+
"maxcomplexity": 12,
|
|
5
|
+
"maxlen": 80,
|
|
6
|
+
"maxparams": 5,
|
|
7
|
+
|
|
8
|
+
"curly": true,
|
|
9
|
+
"eqeqeq": true,
|
|
10
|
+
"immed": true,
|
|
11
|
+
"latedef": false,
|
|
12
|
+
"noarg": true,
|
|
13
|
+
"noempty": true,
|
|
14
|
+
"nonew": true,
|
|
15
|
+
"undef": true,
|
|
16
|
+
"unused": "vars",
|
|
17
|
+
"trailing": true,
|
|
18
|
+
|
|
19
|
+
"quotmark": true,
|
|
20
|
+
"expr": true,
|
|
21
|
+
"asi": true,
|
|
22
|
+
|
|
23
|
+
"browser": false,
|
|
24
|
+
"esnext": true,
|
|
25
|
+
"devel": false,
|
|
26
|
+
"node": false,
|
|
27
|
+
"nonstandard": false,
|
|
28
|
+
|
|
29
|
+
"predef": ["require", "module", "__dirname", "__filename"]
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
Copyright (c) 2012-2014 Raynos.
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
in the Software without restriction, including without limitation the rights
|
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in
|
|
12
|
+
all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# xtend
|
|
2
|
+
|
|
3
|
+
[![browser support][3]][4]
|
|
4
|
+
|
|
5
|
+
[](http://github.com/badges/stability-badges)
|
|
6
|
+
|
|
7
|
+
Extend like a boss
|
|
8
|
+
|
|
9
|
+
xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence.
|
|
10
|
+
|
|
11
|
+
## Examples
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
var extend = require("xtend")
|
|
15
|
+
|
|
16
|
+
// extend returns a new object. Does not mutate arguments
|
|
17
|
+
var combination = extend({
|
|
18
|
+
a: "a",
|
|
19
|
+
b: "c"
|
|
20
|
+
}, {
|
|
21
|
+
b: "b"
|
|
22
|
+
})
|
|
23
|
+
// { a: "a", b: "b" }
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Stability status: Locked
|
|
27
|
+
|
|
28
|
+
## MIT Licensed
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
[3]: http://ci.testling.com/Raynos/xtend.png
|
|
32
|
+
[4]: http://ci.testling.com/Raynos/xtend
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module.exports = extend
|
|
2
|
+
|
|
3
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
+
|
|
5
|
+
function extend() {
|
|
6
|
+
var target = {}
|
|
7
|
+
|
|
8
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
9
|
+
var source = arguments[i]
|
|
10
|
+
|
|
11
|
+
for (var key in source) {
|
|
12
|
+
if (hasOwnProperty.call(source, key)) {
|
|
13
|
+
target[key] = source[key]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return target
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
module.exports = extend
|
|
2
|
+
|
|
3
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
+
|
|
5
|
+
function extend(target) {
|
|
6
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
7
|
+
var source = arguments[i]
|
|
8
|
+
|
|
9
|
+
for (var key in source) {
|
|
10
|
+
if (hasOwnProperty.call(source, key)) {
|
|
11
|
+
target[key] = source[key]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return target
|
|
17
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xtend",
|
|
3
|
+
"version": "4.0.2",
|
|
4
|
+
"description": "extend like a boss",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"extend",
|
|
7
|
+
"merge",
|
|
8
|
+
"options",
|
|
9
|
+
"opts",
|
|
10
|
+
"object",
|
|
11
|
+
"array"
|
|
12
|
+
],
|
|
13
|
+
"author": "Raynos <raynos2@gmail.com>",
|
|
14
|
+
"repository": "git://github.com/Raynos/xtend.git",
|
|
15
|
+
"main": "immutable",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "node test"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"tape": "~1.1.0"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/Raynos/xtend",
|
|
24
|
+
"contributors": [
|
|
25
|
+
{
|
|
26
|
+
"name": "Jake Verbaten"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "Matt Esch"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/Raynos/xtend/issues",
|
|
34
|
+
"email": "raynos2@gmail.com"
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"testling": {
|
|
38
|
+
"files": "test.js",
|
|
39
|
+
"browsers": [
|
|
40
|
+
"ie/7..latest",
|
|
41
|
+
"firefox/16..latest",
|
|
42
|
+
"firefox/nightly",
|
|
43
|
+
"chrome/22..latest",
|
|
44
|
+
"chrome/canary",
|
|
45
|
+
"opera/12..latest",
|
|
46
|
+
"opera/next",
|
|
47
|
+
"safari/5.1..latest",
|
|
48
|
+
"ipad/6.0..latest",
|
|
49
|
+
"iphone/6.0..latest"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=0.4"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
var test = require("tape")
|
|
2
|
+
var extend = require("./")
|
|
3
|
+
var mutableExtend = require("./mutable")
|
|
4
|
+
|
|
5
|
+
test("merge", function(assert) {
|
|
6
|
+
var a = { a: "foo" }
|
|
7
|
+
var b = { b: "bar" }
|
|
8
|
+
|
|
9
|
+
assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
|
|
10
|
+
assert.end()
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
test("replace", function(assert) {
|
|
14
|
+
var a = { a: "foo" }
|
|
15
|
+
var b = { a: "bar" }
|
|
16
|
+
|
|
17
|
+
assert.deepEqual(extend(a, b), { a: "bar" })
|
|
18
|
+
assert.end()
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
test("undefined", function(assert) {
|
|
22
|
+
var a = { a: undefined }
|
|
23
|
+
var b = { b: "foo" }
|
|
24
|
+
|
|
25
|
+
assert.deepEqual(extend(a, b), { a: undefined, b: "foo" })
|
|
26
|
+
assert.deepEqual(extend(b, a), { a: undefined, b: "foo" })
|
|
27
|
+
assert.end()
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
test("handle 0", function(assert) {
|
|
31
|
+
var a = { a: "default" }
|
|
32
|
+
var b = { a: 0 }
|
|
33
|
+
|
|
34
|
+
assert.deepEqual(extend(a, b), { a: 0 })
|
|
35
|
+
assert.deepEqual(extend(b, a), { a: "default" })
|
|
36
|
+
assert.end()
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
test("is immutable", function (assert) {
|
|
40
|
+
var record = {}
|
|
41
|
+
|
|
42
|
+
extend(record, { foo: "bar" })
|
|
43
|
+
assert.equal(record.foo, undefined)
|
|
44
|
+
assert.end()
|
|
45
|
+
})
|
|
46
|
+
|
|
47
|
+
test("null as argument", function (assert) {
|
|
48
|
+
var a = { foo: "bar" }
|
|
49
|
+
var b = null
|
|
50
|
+
var c = void 0
|
|
51
|
+
|
|
52
|
+
assert.deepEqual(extend(b, a, c), { foo: "bar" })
|
|
53
|
+
assert.end()
|
|
54
|
+
})
|
|
55
|
+
|
|
56
|
+
test("mutable", function (assert) {
|
|
57
|
+
var a = { foo: "bar" }
|
|
58
|
+
|
|
59
|
+
mutableExtend(a, { bar: "baz" })
|
|
60
|
+
|
|
61
|
+
assert.equal(a.bar, "baz")
|
|
62
|
+
assert.end()
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
test("null prototype", function(assert) {
|
|
66
|
+
var a = { a: "foo" }
|
|
67
|
+
var b = Object.create(null)
|
|
68
|
+
b.b = "bar";
|
|
69
|
+
|
|
70
|
+
assert.deepEqual(extend(a, b), { a: "foo", b: "bar" })
|
|
71
|
+
assert.end()
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
test("null prototype mutable", function (assert) {
|
|
75
|
+
var a = { foo: "bar" }
|
|
76
|
+
var b = Object.create(null)
|
|
77
|
+
b.bar = "baz";
|
|
78
|
+
|
|
79
|
+
mutableExtend(a, b)
|
|
80
|
+
|
|
81
|
+
assert.equal(a.bar, "baz")
|
|
82
|
+
assert.end()
|
|
83
|
+
})
|
|
84
|
+
|
|
85
|
+
test("prototype pollution", function (assert) {
|
|
86
|
+
var a = {}
|
|
87
|
+
var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
|
|
88
|
+
|
|
89
|
+
assert.strictEqual(a.oops, undefined)
|
|
90
|
+
extend({}, maliciousPayload)
|
|
91
|
+
assert.strictEqual(a.oops, undefined)
|
|
92
|
+
assert.end()
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
test("prototype pollution mutable", function (assert) {
|
|
96
|
+
var a = {}
|
|
97
|
+
var maliciousPayload = '{"__proto__":{"oops":"It works!"}}'
|
|
98
|
+
|
|
99
|
+
assert.strictEqual(a.oops, undefined)
|
|
100
|
+
mutableExtend({}, maliciousPayload)
|
|
101
|
+
assert.strictEqual(a.oops, undefined)
|
|
102
|
+
assert.end()
|
|
103
|
+
})
|
package/dist/server/server.js
CHANGED
|
@@ -5562,10 +5562,18 @@ function isNonEmptyWithoutGit(dir) {
|
|
|
5562
5562
|
return false;
|
|
5563
5563
|
}
|
|
5564
5564
|
}
|
|
5565
|
+
function normalizeCarriageReturns(data) {
|
|
5566
|
+
return data.replace(/\\r(?!\\n)/g, \`\\r
|
|
5567
|
+
\`);
|
|
5568
|
+
}
|
|
5565
5569
|
function runStep(cmd, deps) {
|
|
5566
5570
|
deps.onChunk("setup", \`$ \${cmd}\\r
|
|
5567
5571
|
\`);
|
|
5568
|
-
|
|
5572
|
+
const normalized = {
|
|
5573
|
+
...deps,
|
|
5574
|
+
onChunk: (src, data) => deps.onChunk(src, normalizeCarriageReturns(data))
|
|
5575
|
+
};
|
|
5576
|
+
return spawnSetupStep(cmd, normalized.onChunk, deps.dropPrivileges);
|
|
5569
5577
|
}
|
|
5570
5578
|
var TRANSIENT_ERRORS = [
|
|
5571
5579
|
"Could not resolve host",
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as t,j as i}from"./index-n0iHPcte.js";import{O as m}from"./select-model-BoyVFry8.js";import"./checkbox-BFMSekYh.js";import"./Check-4wEPFmVT.js";import"./input-DEYTwRzn.js";import"./dialog-B4KlHjek.js";import"./X-DzLPqoAC.js";import"./drawer-5orE9Wr9.js";import"./tooltip-DK9ITTps.js";import"./select-CDN58G81.js";import"./ChevronDown-CLwgC4lc.js";import"./ChevronUp-DAW3-3dA.js";import"./skeleton-B66wWsdL.js";import"./Tool01-Bhj2T1uN.js";import"./RefreshCcw01-DdgK7Krp.js";import"./SearchMd-JVaJZdXg.js";import"./Settings02-BZivkDIL.js";import"./use-ai-providers-Wa05FQa-.js";import"./constants-DsSHL62C.js";import"./chat-context-BFxTlymH.js";import"./use-virtual-mcp-w_wFYi9Y.js";import"./use-collections-DEtL7TsG.js";import"./use-decopilot-events-CAAYd06u.js";import"./create-sse-subscription-CxkOgzKf.js";import"./use-tasks-DZC5fx2d.js";import"./use-organization-settings-ZtHNr_4_.js";import"./ai-providers-logos-DD3qZ33J.js";import"./Zap-aKe8CYDP.js";import"./use-debounced-autosave-RQpwA8uI.js";import"./AlertCircle-CFABZy3o.js";import"./CheckCircle-D7ReuLNV.js";import"./Trash01-CdymalYb.js";import"./index-CVzq_PSm.js";import"./settings-section-gdfEnAUq.js";import"./card-uZ87GViI.js";import"./ArrowUpRight-havdJdQt.js";import"./switch-DIHVY0RD.js";import"./toggle-group-BCvX9smm.js";import"./avatar-CtlfIArZ.js";import"./User01-BZ9BWkFc.js";import"./alert-dialog-DZ7MoPrC.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./unwrap-tool-result-BYXdCQMg.js";function V(){const o=t.c(1);let r;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(m,{}),o[0]=r):r=o[0],r}export{V as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as n,j as r,r as d,g as h,O as f,l as u}from"./index-n0iHPcte.js";import{S as j,a as b,b as S}from"./index-CVzq_PSm.js";import{u as _}from"./tooltip-DK9ITTps.js";import{u as k,T as y,a as T,b as i,S as g}from"./index-BnEPkkjz.js";import{C as v}from"./chat-context-BFxTlymH.js";import"./X-DzLPqoAC.js";import"./agent-icon-D-W_-Msq.js";import"./AlertCircle-CFABZy3o.js";import"./Tool01-Bhj2T1uN.js";import"./XClose-0biyZ-nq.js";import"./RefreshCcw01-DdgK7Krp.js";import"./ArrowNarrowLeft-qjcSXUou.js";import"./XCircle-DTJod2tn.js";import"./ArrowUpRight-havdJdQt.js";import"./ZapSquare-DtdkchqU.js";import"./Users03-DG3Gfjoh.js";import"./CheckCircle-D7ReuLNV.js";import"./Check-4wEPFmVT.js";import"./ChevronDown-CLwgC4lc.js";import"./ChevronRight-DW27S4dx.js";import"./ChevronUp-DAW3-3dA.js";import"./DotsVertical-BReL32xd.js";import"./Container-C9S2fJrQ.js";import"./Star01-DEmigL_c.js";import"./Palette-Dtg_tDlg.js";import"./SearchMd-JVaJZdXg.js";import"./LinkExternal01-0Xs4UV_i.js";import"./Lock01-BjKqD6QN.js";import"./Sun-TDfj1GPd.js";import"./Play-85A9faRd.js";import"./Plus-BxG8Erza.js";import"./Settings02-BZivkDIL.js";import"./Shield01-CAl07SGJ.js";import"./Trash01-CdymalYb.js";import"./User01-BZ9BWkFc.js";import"./Zap-aKe8CYDP.js";import"./shell-layout-BAgHU931.js";import"./dialog-B4KlHjek.js";import"./required-auth-layout-C2TKIvqH.js";import"./use-tasks-DZC5fx2d.js";import"./use-collections-DEtL7TsG.js";import"./constants-DsSHL62C.js";import"./use-organization-settings-ZtHNr_4_.js";import"./use-org-sso-IjJZMJF0.js";import"./pair-tqYVnZzb.js";import"./index-CneSjNEN.js";import"./use-copy-B_9_NtCX.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./content-blocks-o63cs2vh.js";import"./types-CHJA9iY7.js";import"./integration-icon-Bkie-XyL.js";import"./use-virtual-mcp-w_wFYi9Y.js";import"./skeleton-B66wWsdL.js";import"./popover-BDSYEq1Z.js";import"./drawer-5orE9Wr9.js";import"./avatar-CtlfIArZ.js";import"./alert-dialog-DZ7MoPrC.js";import"./form-CDvvEZtA.js";import"./label-DWRjHkWy.js";import"./input-DEYTwRzn.js";import"./index-BJq84O_6.js";import"./use-mcp-tools-D_JiTODV.js";import"./use-ai-providers-Wa05FQa-.js";import"./index-ChoE-W6u.js";import"./switch-DIHVY0RD.js";import"./use-connection-BA7MX_A_.js";import"./lean-canvas-recruit-modal-DGk9eFdJ.js";import"./use-navigate-to-agent-Cr_ZMHfb.js";import"./collection-search-DV0cCH2j.js";import"./checkbox-BFMSekYh.js";import"./extract-connection-data-4I5O_R5k.js";import"./constants-9g9gFjnw.js";import"./collections-kcgqXRh1.js";import"./tabs-B36z-iXu.js";import"./select-CDN58G81.js";import"./toggle-group-BCvX9smm.js";import"./select-model-BoyVFry8.js";import"./ai-providers-logos-DD3qZ33J.js";import"./use-debounced-autosave-RQpwA8uI.js";import"./settings-section-gdfEnAUq.js";import"./card-uZ87GViI.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./unwrap-tool-result-BYXdCQMg.js";import"./dropdown-menu-BsFYaC7C.js";import"./index-_Uov_1Gm.js";import"./question-004-sINsf4GQ.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-DDf_nl47.js";import"./use-registry-connections-C9TouqtJ.js";import"./useInfiniteQuery-tCVYDURJ.js";import"./infiniteQueryObserver-CWqfKiPC.js";import"./collection-tabs-D653lS2B.js";import"./badge-YKYMjnfu.js";import"./textarea-BJm0Tf5N.js";import"./connection-form-helpers-CaEsrTVy.js";import"./use-infinite-scroll-CM8Ra6DF.js";import"./useSuspenseInfiniteQuery-hHdMeBLO.js";import"./collection-search-CrNavgfW.js";import"./use-create-virtual-mcp-BWms3_Wm.js";import"./empty-state-DnjUFLB3.js";import"./use-decopilot-events-CAAYd06u.js";import"./create-sse-subscription-CxkOgzKf.js";import"./task-status-zPChwtIb.js";const N=280;function P(){const t=n.c(2),{tasksOpen:e}=k();if(!e)return null;let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={width:`${N}px`},t[0]=o):o=t[0];let m;return t[1]===Symbol.for("react.memo_cache_sentinel")?(m=r.jsx("aside",{className:"shrink-0 h-full bg-sidebar pb-1",style:o,children:r.jsx("div",{className:"h-full p-0.5 pt-0.25",children:r.jsx("div",{className:"h-full bg-background rounded-[0.75rem] overflow-hidden card-shadow",children:r.jsx(y,{})})})}),t[1]=m):m=t[1],m}function C(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx(d.Suspense,{fallback:null,children:r.jsx(P,{})}),t[0]=e):e=t[0],e}function x(){const t=n.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.jsx("div",{className:"flex-1 flex items-center justify-center",children:r.jsx(u,{size:20,className:"animate-spin text-muted-foreground"})}),t[0]=e):e=t[0],e}function gr(){const t=n.c(7),e=_();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={strict:!1},t[0]=o):o=t[0];const c=!!h(o).taskId;let s;t[1]===Symbol.for("react.memo_cache_sentinel")?(s={"--sidebar-width-icon":"3.5rem"},t[1]=s):s=t[1];let l;t[2]===Symbol.for("react.memo_cache_sentinel")?(l=r.jsx(g,{}),t[2]=l):l=t[2];let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p={background:"transparent",containerType:"inline-size"},t[3]=p):p=t[3];let a;return t[4]!==c||t[5]!==e?(a=r.jsx(j,{defaultOpen:!1,children:r.jsx("div",{className:"flex flex-col h-dvh overflow-hidden",children:r.jsxs(b,{className:"flex-1 bg-sidebar",style:s,children:[l,r.jsx(S,{className:"flex flex-col",style:p,children:r.jsx(v,{children:r.jsx(T,{children:e?r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})}):r.jsxs(i,{children:[r.jsxs(i.Header,{children:[r.jsxs(i.LeftColumn,{children:[r.jsx(i.Nav,{}),r.jsx(i.TogglesSlot,{})]}),r.jsx(i.CenterSlot,{}),r.jsxs(i.RightColumn,{children:[r.jsx(i.TabsSlot,{}),r.jsx(i.RightSlot,{})]})]}),r.jsxs("div",{className:"flex-1 min-h-0 flex flex-row",children:[c&&r.jsx(C,{}),r.jsx(d.Suspense,{fallback:r.jsx(x,{}),children:r.jsx(f,{})})]})]})})})})]})})}),t[4]=c,t[5]=e,t[6]=a):a=t[6],a}export{gr as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BgUN22Is.js","assets/index-n0iHPcte.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-qjcSXUou.js","assets/CheckCircle-D7ReuLNV.js","assets/Container-C9S2fJrQ.js","assets/Settings02-BZivkDIL.js","assets/XCircle-DTJod2tn.js","assets/constants-DsSHL62C.js","assets/useInfiniteQuery-tCVYDURJ.js","assets/infiniteQueryObserver-CWqfKiPC.js","assets/badge-YKYMjnfu.js","assets/input-DEYTwRzn.js","assets/dropdown-menu-BsFYaC7C.js","assets/Check-4wEPFmVT.js","assets/ChevronRight-DW27S4dx.js","assets/DotsVertical-BReL32xd.js","assets/table-pLgWKqqj.js","assets/toggle-group-BCvX9smm.js","assets/use-view-mode-C1XifkB4.js","assets/tooltip-DK9ITTps.js","assets/SearchMd-JVaJZdXg.js","assets/dialog-B4KlHjek.js","assets/X-DzLPqoAC.js","assets/AlertCircle-CFABZy3o.js","assets/alert-dialog-DZ7MoPrC.js","assets/card-uZ87GViI.js","assets/Trash01-CdymalYb.js","assets/label-DWRjHkWy.js","assets/select-CDN58G81.js","assets/ChevronDown-CLwgC4lc.js","assets/ChevronUp-DAW3-3dA.js","assets/switch-DIHVY0RD.js","assets/textarea-BJm0Tf5N.js","assets/RefreshCcw01-DdgK7Krp.js","assets/checkbox-BFMSekYh.js","assets/LinkExternal01-0Xs4UV_i.js","assets/use-copy-B_9_NtCX.js","assets/Plus-BxG8Erza.js","assets/Play-85A9faRd.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as a,j as t,r,l as i,_ as o}from"./index-n0iHPcte.js";const n=r.lazy(()=>o(()=>import("./registry-layout-BgUN22Is.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])));function c(){const s=a.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(r.Suspense,{fallback:t.jsx("div",{className:"flex-1 flex items-center justify-center",children:t.jsx(i,{size:20,className:"animate-spin text-muted-foreground"})}),children:t.jsx(n,{})}),s[0]=e):e=s[0],e}export{c as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BgUN22Is.js","assets/index-n0iHPcte.js","assets/index-CpHJcJk3.css","assets/ArrowNarrowLeft-qjcSXUou.js","assets/CheckCircle-D7ReuLNV.js","assets/Container-C9S2fJrQ.js","assets/Settings02-BZivkDIL.js","assets/XCircle-DTJod2tn.js","assets/constants-DsSHL62C.js","assets/useInfiniteQuery-tCVYDURJ.js","assets/infiniteQueryObserver-CWqfKiPC.js","assets/badge-YKYMjnfu.js","assets/input-DEYTwRzn.js","assets/dropdown-menu-BsFYaC7C.js","assets/Check-4wEPFmVT.js","assets/ChevronRight-DW27S4dx.js","assets/DotsVertical-BReL32xd.js","assets/table-pLgWKqqj.js","assets/toggle-group-BCvX9smm.js","assets/use-view-mode-C1XifkB4.js","assets/tooltip-DK9ITTps.js","assets/SearchMd-JVaJZdXg.js","assets/dialog-B4KlHjek.js","assets/X-DzLPqoAC.js","assets/AlertCircle-CFABZy3o.js","assets/alert-dialog-DZ7MoPrC.js","assets/card-uZ87GViI.js","assets/Trash01-CdymalYb.js","assets/label-DWRjHkWy.js","assets/select-CDN58G81.js","assets/ChevronDown-CLwgC4lc.js","assets/ChevronUp-DAW3-3dA.js","assets/switch-DIHVY0RD.js","assets/textarea-BJm0Tf5N.js","assets/RefreshCcw01-DdgK7Krp.js","assets/checkbox-BFMSekYh.js","assets/LinkExternal01-0Xs4UV_i.js","assets/use-copy-B_9_NtCX.js","assets/Plus-BxG8Erza.js","assets/Play-85A9faRd.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as n,f as c,g as m,j as r,l as f,r as l,_ as u}from"./index-n0iHPcte.js";const _=l.lazy(()=>u(()=>import("./registry-layout-BgUN22Is.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])));function x(){const e=n.c(5),o=c();let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={from:"/shell/$org"},e[0]=t):t=e[0];const{org:i}=m(t);let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=r.jsx("div",{className:"h-full flex items-center justify-center",children:r.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=s):s=e[1];let a;return e[2]!==o||e[3]!==i?(a=r.jsx(l.Suspense,{fallback:s,children:r.jsx(_,{onBack:()=>o({to:"/$org/settings/store",params:{org:i}})})}),e[2]=o,e[3]=i,e[4]=a):a=e[4],a}export{x as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-CWqfKiPC.js";import{c2 as i}from"./index-n0iHPcte.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-CWqfKiPC.js";import{c2 as u,c3 as n}from"./index-n0iHPcte.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-n0iHPcte.js";import{a as f}from"./index-WBXw_0um.js";import"./index-CoY1MHFJ.js";import"./constants-DsSHL62C.js";import"./collections-kcgqXRh1.js";import"./index-H-xuVWHv.js";import"./use-virtual-mcp-w_wFYi9Y.js";import"./use-collections-DEtL7TsG.js";import"./monaco-editor-DqaoMZN_.js";import"./index-CneSjNEN.js";import"./accordion-CHtp00zM.js";import"./agent-icon-D-W_-Msq.js";import"./AlertCircle-CFABZy3o.js";import"./Tool01-Bhj2T1uN.js";import"./XClose-0biyZ-nq.js";import"./RefreshCcw01-DdgK7Krp.js";import"./ArrowNarrowLeft-qjcSXUou.js";import"./XCircle-DTJod2tn.js";import"./ArrowUpRight-havdJdQt.js";import"./ZapSquare-DtdkchqU.js";import"./Users03-DG3Gfjoh.js";import"./CheckCircle-D7ReuLNV.js";import"./Check-4wEPFmVT.js";import"./ChevronDown-CLwgC4lc.js";import"./ChevronRight-DW27S4dx.js";import"./ChevronUp-DAW3-3dA.js";import"./DotsVertical-BReL32xd.js";import"./Container-C9S2fJrQ.js";import"./Star01-DEmigL_c.js";import"./Palette-Dtg_tDlg.js";import"./SearchMd-JVaJZdXg.js";import"./index-CVzq_PSm.js";import"./tooltip-DK9ITTps.js";import"./X-DzLPqoAC.js";import"./LinkExternal01-0Xs4UV_i.js";import"./Lock01-BjKqD6QN.js";import"./Sun-TDfj1GPd.js";import"./Play-85A9faRd.js";import"./Plus-BxG8Erza.js";import"./Settings02-BZivkDIL.js";import"./Shield01-CAl07SGJ.js";import"./Trash01-CdymalYb.js";import"./User01-BZ9BWkFc.js";import"./Zap-aKe8CYDP.js";import"./badge-YKYMjnfu.js";import"./select-CDN58G81.js";import"./view-mode-toggle-DUYrFi8F.js";import"./layout-CjfRI0kM.js";import"./use-connection-BA7MX_A_.js";import"./use-mcp-tools-D_JiTODV.js";import"./dialog-B4KlHjek.js";import"./index-_Uov_1Gm.js";import"./dropdown-menu-BsFYaC7C.js";import"./integration-icon-Bkie-XyL.js";import"./scroll-area-1CfGMim0.js";import"./index-BJq84O_6.js";import"./empty-state-fJhgTnn4.js";import"./create-sse-subscription-CxkOgzKf.js";import"./input-DEYTwRzn.js";function gt(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{gt as default};
|