decocms 2.367.38 → 2.369.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.
- package/dist/client/assets/{AlertCircle-CVwjiL5t.js → AlertCircle-BCHNBTJj.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-BsdiWOZ_.js → ArrowUpRight-DOVZA3k4.js} +1 -1
- package/dist/client/assets/{Check-BIvjG7jh.js → Check-B34N9tsV.js} +1 -1
- package/dist/client/assets/{CheckCircle-naAuY0Am.js → CheckCircle-CFtTCxLL.js} +1 -1
- package/dist/client/assets/{ChevronDown-2DdfyPVo.js → ChevronDown-Dr50fepz.js} +1 -1
- package/dist/client/assets/{ChevronRight-Djwmm7yx.js → ChevronRight-CISMqQmL.js} +1 -1
- package/dist/client/assets/{ChevronUp-CYign-Xr.js → ChevronUp-Caidv6lK.js} +1 -1
- package/dist/client/assets/{Container-BYMVUIOR.js → Container-B1RIjk98.js} +1 -1
- package/dist/client/assets/{DotsVertical-6XBT76_0.js → DotsVertical-rWYOU3RE.js} +1 -1
- package/dist/client/assets/{FilterLines-xU-m-2To.js → FilterLines-Bdqyhomu.js} +1 -1
- package/dist/client/assets/{HardDrive-CPUYFXaj.js → HardDrive-DoscLgG-.js} +1 -1
- package/dist/client/assets/{Key01-CTY2QvpD.js → Key01-BoIyqgwL.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BA4wxcAF.js → LayoutLeft-D7dJReEM.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Dn8eWUjC.js → LinkExternal01-DVJRR2up.js} +1 -1
- package/dist/client/assets/{Lock01-DzYUukb5.js → Lock01-Bk5T6G6y.js} +1 -1
- package/dist/client/assets/{Monitor01-nKIM1K_1.js → Monitor01-5rN-C0di.js} +1 -1
- package/dist/client/assets/{Palette-B6NpJZ9F.js → Palette-B-cRX_Fx.js} +1 -1
- package/dist/client/assets/{Play-qd-MZyD5.js → Play-BsXLejZM.js} +1 -1
- package/dist/client/assets/{Plus-Cq_1PqM9.js → Plus-beS007Js.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-CYXiv82D.js → RefreshCcw01-Dcpv3eTL.js} +1 -1
- package/dist/client/assets/{SearchMd-WZzMz_xm.js → SearchMd-CB2F2Eh5.js} +1 -1
- package/dist/client/assets/{Settings02-BGX5GQSJ.js → Settings02-DB_WZ-LQ.js} +1 -1
- package/dist/client/assets/{Shield01-Dd3PCkCh.js → Shield01-D_j6WQ24.js} +1 -1
- package/dist/client/assets/{Star01-TIrOjEGQ.js → Star01-CH8zsyZS.js} +1 -1
- package/dist/client/assets/{Stars02-BgabhO3x.js → Stars02-CH6m9NsR.js} +1 -1
- package/dist/client/assets/{Sun-BMF5NYnu.js → Sun-vCQYJllf.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-B39nOlBz.js → SwitchHorizontal01-BXOMQbPs.js} +1 -1
- package/dist/client/assets/{Tool01-CAdd6NGF.js → Tool01-B1_kF5r4.js} +1 -1
- package/dist/client/assets/{Trash01-CHrTm5S-.js → Trash01-Dv-uw8l0.js} +1 -1
- package/dist/client/assets/{Upload01-CfhmyOeM.js → Upload01-Dei9Gr0H.js} +1 -1
- package/dist/client/assets/{User01-CnVuEZ_q.js → User01-DuylSQbh.js} +1 -1
- package/dist/client/assets/{Users01-CARILaym.js → Users01-BWQyCQSo.js} +1 -1
- package/dist/client/assets/{Users03-COREII3z.js → Users03-Xhe-Woui.js} +1 -1
- package/dist/client/assets/{X-CexC7CUQ.js → X-DgjPW3BN.js} +1 -1
- package/dist/client/assets/XCircle-Kzv3aw-k.js +1 -0
- package/dist/client/assets/{XClose-BOJwjK3-.js → XClose-C8_9CjoM.js} +1 -1
- package/dist/client/assets/{Zap-DRsZpKeC.js → Zap-Co2SfCXQ.js} +1 -1
- package/dist/client/assets/{ZapSquare-rxLTzaCI.js → ZapSquare-BGWKuepx.js} +1 -1
- package/dist/client/assets/{accordion-DEFWqB9v.js → accordion-Bf2zVAiI.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-CJWirXjW.js → add-connection-dialog-wVzM7TTa.js} +1 -1
- package/dist/client/assets/agent-icon-DAOer5aY.js +1 -0
- package/dist/client/assets/{agent-icons-BMYEM-93.js → agent-icons-DNhkZE7D.js} +1 -1
- package/dist/client/assets/agents-list-DABEUXXh.js +1 -0
- package/dist/client/assets/{ai-providers-DOK2_evy.js → ai-providers-ra9PS9Te.js} +1 -1
- package/dist/client/assets/{alert-DsUJkc45.js → alert-B8IvxWyW.js} +1 -1
- package/dist/client/assets/{alert-dialog-DJnXid5j.js → alert-dialog-CBy2mP5M.js} +3 -3
- package/dist/client/assets/{auth-catchall-D2kMqSF3.js → auth-catchall-DwI_DCPg.js} +1 -1
- package/dist/client/assets/{auth-split-layout-DNx4VwCy.js → auth-split-layout-CPl1Ogax.js} +1 -1
- package/dist/client/assets/{automation-list-row-9h6JxfVT.js → automation-list-row-DPAKg98L.js} +1 -1
- package/dist/client/assets/automations-vmGkl90g.js +1 -0
- package/dist/client/assets/{avatar-ByQQ7GEH.js → avatar-CBIJBj_W.js} +1 -1
- package/dist/client/assets/{badge-Dci-e_Pw.js → badge-CXArobm8.js} +1 -1
- package/dist/client/assets/{brand-context-CQ0JpFGU.js → brand-context-BHVsDYH_.js} +1 -1
- package/dist/client/assets/{card-CqaEJI_U.js → card-CNyFBXf4.js} +1 -1
- package/dist/client/assets/{chat-context-DxSqonhB.js → chat-context-BWXApvuA.js} +1 -1
- package/dist/client/assets/{checkbox-DdM7zWwz.js → checkbox-D1Q1psVt.js} +1 -1
- package/dist/client/assets/{cli-auth-success-W0LeKzND.js → cli-auth-success-Cv251YT1.js} +1 -1
- package/dist/client/assets/collection-detail-4oC2alH8.js +1 -0
- package/dist/client/assets/{collection-display-button-Bb5eYsxS.js → collection-display-button-CxfftABc.js} +1 -1
- package/dist/client/assets/{collection-search-CZPmAdbz.js → collection-search-CtjpA7Tw.js} +1 -1
- package/dist/client/assets/{collection-search-DYkFJwme.js → collection-search-D3hp8frj.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-VrRyg9Ib.js → collection-table-wrapper-htzX5Cc-.js} +1 -1
- package/dist/client/assets/{collection-tabs-BME6pm9f.js → collection-tabs-B9KC7Uhn.js} +1 -1
- package/dist/client/assets/{collections-CuEt9akO.js → collections-CEURDRm7.js} +1 -1
- package/dist/client/assets/{command-DaAuDqUV.js → command-BTA7LUZM.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-v3Y8dgGN.js → connect-desktop-dialog-DygjlLBa.js} +1 -1
- package/dist/client/assets/{connection-card-BY9Z3I7R.js → connection-card-4Md1PbMA.js} +1 -1
- package/dist/client/assets/connection-detail-k_WdL2vk.js +1 -0
- package/dist/client/assets/{connection-form-helpers-M4qUZwhZ.js → connection-form-helpers-DI61y2e0.js} +1 -1
- package/dist/client/assets/connections-CMhBDlPe.js +1 -0
- package/dist/client/assets/{constants-piR0edM1.js → constants-D5RCRPRT.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DWRmePhE.js → decopilot-sse-pool-BgB0FvkR.js} +1 -1
- package/dist/client/assets/{dialog-Bg6eRMC4.js → dialog-2y75M1_6.js} +1 -1
- package/dist/client/assets/{domain-settings-CHHiS2Vl.js → domain-settings-qIsJxkrR.js} +1 -1
- package/dist/client/assets/{drawer-q5yKuLmY.js → drawer-W7QX6Ax_.js} +1 -1
- package/dist/client/assets/{dropdown-menu-TulqWZOe.js → dropdown-menu-9FoS_14a.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-DEIRfHv3.js → dynamic-plugin-layout-DE7Rx2Mh.js} +1 -1
- package/dist/client/assets/{empty-state-CKtqz2A5.js → empty-state-BlF5e09g.js} +1 -1
- package/dist/client/assets/{empty-state-ZqctI9xZ.js → empty-state-CRPtBPjo.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BYGRbWJu.js → extract-connection-data-CtQqD73R.js} +1 -1
- package/dist/client/assets/features-6QwqoSn3.js +1 -0
- package/dist/client/assets/file-explorer-C9P9tLrr.js +2 -0
- package/dist/client/assets/{files-CXeAP3oD.js → files-B8cc-gBv.js} +1 -1
- package/dist/client/assets/{form-B-pClhzT.js → form-BVQywbIc.js} +1 -1
- package/dist/client/assets/general-CnRlBB-m.js +1 -0
- package/dist/client/assets/{generate-id-DfUEx9en.js → generate-id-CpWgmfmA.js} +1 -1
- package/dist/client/assets/{github-repo-picker-A9GOBLjA.js → github-repo-picker-DmuX5zhB.js} +1 -1
- package/dist/client/assets/{hooks-Buro5ByR.js → hooks-18b6g3fs.js} +1 -1
- package/dist/client/assets/{hover-card-CUfoIFQV.js → hover-card-DOoMOMFv.js} +1 -1
- package/dist/client/assets/index-0fMq3-pH.js +1 -0
- package/dist/client/assets/{index-BDOr2buP.js → index-8_y4UNLc.js} +1 -1
- package/dist/client/assets/{index-B_5hPR5_.js → index-B6vP9EOZ.js} +1 -1
- package/dist/client/assets/{index-C_m1_Qyy.js → index-BM33-uTI.js} +27 -27
- package/dist/client/assets/{index-DjuWoEWL.js → index-B_mvEXXb.js} +1 -1
- package/dist/client/assets/{index-Df1UV_SS.js → index-Bn5sNNK8.js} +1 -1
- package/dist/client/assets/{index-zGvFjFjO.js → index-BwE83rPX.js} +1 -1
- package/dist/client/assets/{index-CdCX0F7Y.js → index-C0gY1SEz.js} +4 -4
- package/dist/client/assets/{index-BHpJxImt.js → index-CZU3_Yg-.js} +2 -2
- package/dist/client/assets/{index-Wwb5vGkQ.js → index-Ct4M2Ud6.js} +1 -1
- package/dist/client/assets/index-D6GfXYzs.js +1 -0
- package/dist/client/assets/{index-CKs6rcu1.js → index-DHCuljhb.js} +1 -1
- package/dist/client/assets/{index-DKWbd0LS.js → index-g7KxjIc5.js} +2 -2
- package/dist/client/assets/index-k6iT8Tf1.js +1 -0
- package/dist/client/assets/{index-B55MEl-c.js → index-oIPZXuqi.js} +1 -1
- package/dist/client/assets/{index-DvIjF9DA.js → index-vupo1sDr.js} +13 -13
- package/dist/client/assets/{infiniteQueryObserver-CUomJPae.js → infiniteQueryObserver-DjZk0454.js} +1 -1
- package/dist/client/assets/{input-DHJ18fY7.js → input-DyimJ0YM.js} +1 -1
- package/dist/client/assets/{integration-icon-Bo72bKVV.js → integration-icon-D9qjqDnw.js} +1 -1
- package/dist/client/assets/{label-jUTi8Oc4.js → label-CYBEQrtl.js} +1 -1
- package/dist/client/assets/{layout-PcloJcLR.js → layout-CwSzvRV6.js} +1 -1
- package/dist/client/assets/{login-C1Yqpj4I.js → login-BwJgBWmn.js} +1 -1
- package/dist/client/assets/{members-x8tMmNra.js → members-SZUmLKla.js} +1 -1
- package/dist/client/assets/{monaco-editor-D-22abDQ.js → monaco-editor-BYDkxeGd.js} +3 -3
- package/dist/client/assets/{monitoring-stats-row-DkPBMjPc.js → monitoring-stats-row-8DFwtJdG.js} +1 -1
- package/dist/client/assets/{oauth-callback-5B-GDOKs.js → oauth-callback-D3HQSih9.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-KqAiGkB8.js → oauth-callback-ai-provider-hlYQfy41.js} +1 -1
- package/dist/client/assets/{onboarding-BQaPrCwV.js → onboarding-ClFOQyD0.js} +1 -1
- package/dist/client/assets/{org-layout-DOPcV20w.js → org-layout-CQSZYn7L.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-BlQBf5vT.js → org-plugin-layout-CkozoVe-.js} +1 -1
- package/dist/client/assets/{pair-DgOi01tx.js → pair-XXkclPo3.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-qP6k2hvb.js → plugin-empty-state-DcMxNkqz.js} +1 -1
- package/dist/client/assets/{plugin-header-D3WS6Tch.js → plugin-header-RG7So6zC.js} +1 -1
- package/dist/client/assets/{plugin-layout--Nx4BaLL.js → plugin-layout-1Sg2oR8k.js} +1 -1
- package/dist/client/assets/{popover-COqcQ0Rg.js → popover-DOu91n_v.js} +1 -1
- package/dist/client/assets/{profile-DZu-CjT9.js → profile-Bu4-Eb6R.js} +1 -1
- package/dist/client/assets/project-app-view-yK_XWVMG.js +1 -0
- package/dist/client/assets/registry-D1JNm-Xx.js +2 -0
- package/dist/client/assets/{registry-layout-B6kU_bv7.js → registry-layout-BmtyLpq5.js} +3 -3
- package/dist/client/assets/{required-auth-layout-CJnuX5pr.js → required-auth-layout-tzyLq2cT.js} +1 -1
- package/dist/client/assets/{reset-password-B2Ia2er4.js → reset-password-CsA4hRoj.js} +1 -1
- package/dist/client/assets/roles-dL46UDfg.js +1 -0
- package/dist/client/assets/{search-input-BX9Kn801.js → search-input-DHqGiAAb.js} +1 -1
- package/dist/client/assets/{secrets-BEffGZyZ.js → secrets-CXaOA3bo.js} +1 -1
- package/dist/client/assets/sections-editor-AHG3CG-Y.js +1 -0
- package/dist/client/assets/{select-DAV_VIox.js → select-C7bkDnqt.js} +1 -1
- package/dist/client/assets/settings-layout-MCrWdztj.js +1 -0
- package/dist/client/assets/{settings-section-DLBjUAhp.js → settings-section-DFOkupJ0.js} +1 -1
- package/dist/client/assets/{shell-controls-CNwl3y79.js → shell-controls-jx6fo9En.js} +1 -1
- package/dist/client/assets/shell-layout-BgY4DXFm.js +1 -0
- package/dist/client/assets/{sidebar-BFp8v2I0.js → sidebar-Dne1fKYn.js} +1 -1
- package/dist/client/assets/{skeleton-tYEs8dsN.js → skeleton-BiCcS3UT.js} +1 -1
- package/dist/client/assets/{sortable.esm-vK1UhoBn.js → sortable.esm-BQrMCI5H.js} +1 -1
- package/dist/client/assets/{spinner-DLBC6d93.js → spinner-Bb25iFDc.js} +1 -1
- package/dist/client/assets/{sso-BvpZRsH4.js → sso-MK5Q0tuC.js} +1 -1
- package/dist/client/assets/{store-DMo12WtF.js → store-Cu8faowN.js} +1 -1
- package/dist/client/assets/store-registry-DYz-eLFY.js +2 -0
- package/dist/client/assets/{switch-Bmqleb0M.js → switch-STNewpCh.js} +1 -1
- package/dist/client/assets/{table-Cbi2Lt5J.js → table-BR0ZQG-N.js} +1 -1
- package/dist/client/assets/{tabs-DKgnbdu4.js → tabs-BIXB9X7f.js} +1 -1
- package/dist/client/assets/{task-status-CqP04HQ9.js → task-status-Cpj07cgX.js} +1 -1
- package/dist/client/assets/{textarea-C035ZOMR.js → textarea-Csq7UfFg.js} +1 -1
- package/dist/client/assets/{toggle-group-D_tMezdr.js → toggle-group-Cvm94FnA.js} +1 -1
- package/dist/client/assets/toolbar-BFZ_P1su.js +1 -0
- package/dist/client/assets/{tools-list-DmcpkTFh.js → tools-list-BG_WhFGX.js} +1 -1
- package/dist/client/assets/{tooltip-BeTs1OMg.js → tooltip-GbZ-ULDS.js} +1 -1
- package/dist/client/assets/{types-BZ3eurxp.js → types-BGMjh8Dq.js} +5 -5
- package/dist/client/assets/{use-ai-providers-CgowGcDz.js → use-ai-providers-CaxnWnZW.js} +1 -1
- package/dist/client/assets/{use-collections-D_7JW6dX.js → use-collections-DnQvffUs.js} +1 -1
- package/dist/client/assets/{use-connection-BbCw9KPq.js → use-connection-CRCT5mv0.js} +1 -1
- package/dist/client/assets/{use-copy-DbsD5qK3.js → use-copy-Bx-USwd1.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DJVm-5Gn.js → use-create-virtual-mcp-DgE9-y_o.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-B4_HunOp.js → use-debounced-autosave-BBZX5k0R.js} +1 -1
- package/dist/client/assets/{use-delete-connection-B0yMHUHX.js → use-delete-connection-BXEk19GO.js} +1 -1
- package/dist/client/assets/{use-file-configs-DEsQ0trh.js → use-file-configs-D9H5_-BE.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-XJXa4_f9.js → use-infinite-scroll-D0a1rm12.js} +1 -1
- package/dist/client/assets/{use-list-state-C8eifEnv.js → use-list-state-BN7DRxUQ.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Cxw_xwII.js → use-mcp-prompts-Bn3MJOn8.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Cg4H0QB3.js → use-mcp-tools-BppARYHs.js} +1 -1
- package/dist/client/assets/{use-members-BB2rBOpc.js → use-members-BF_X33y-.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CVbR4ICA.js → use-navigate-to-agent-COcSBZ_P.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-Bk4CKLSt.js → use-org-auth-client-Bu3yErl5.js} +1 -1
- package/dist/client/assets/{use-org-sso-Baws_Cb6.js → use-org-sso-Cbun5-U-.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DNG5Wg-t.js → use-organization-roles-BZFkc9QW.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BfJ6uqm2.js → use-organization-settings-BgjGLKnf.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CRI9AlTc.js → use-registry-connections-0IoXir_p.js} +1 -1
- package/dist/client/assets/{use-secrets-CPfeyzy3.js → use-secrets-CUom62Zy.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Ch0BXIj1.js → use-status-sounds-BKNm7I6l.js} +1 -1
- package/dist/client/assets/{use-view-mode-Bzy-dMu6.js → use-view-mode-CWH9EmAt.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DXij_fSZ.js → use-virtual-mcp-DA5BI4_W.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C-wnWXsR.js +1 -0
- package/dist/client/assets/{useRouterState-DNwJdpeR.js → useRouterState-Rq7IpB5d.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Q-NFKrZT.js +1 -0
- package/dist/client/assets/{user-D0ZUKhOx.js → user-CpeLJRjb.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DPGq5mgK.js → view-mode-toggle-s0VkAFh3.js} +1 -1
- package/dist/client/assets/workflow-DPBHWxQm.js +1 -0
- package/dist/client/assets/workflow-detail-Din6OWiM.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js +36 -6
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +15 -0
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js +36 -6
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js +15 -0
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js +36 -6
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js +15 -0
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js.map +1 -1
- package/dist/server/node_modules/@opentelemetry/otlp-transformer/package.json +12 -14
- package/dist/server/node_modules/protobufjs/dist/light/protobuf.js +13 -10
- package/dist/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/dist/server/node_modules/protobufjs/dist/protobuf.js +14 -55
- package/dist/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/dist/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/dist/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/dist/server/node_modules/protobufjs/package.json +1 -1
- package/dist/server/node_modules/protobufjs/src/message.js +7 -3
- package/dist/server/node_modules/protobufjs/src/object.js +3 -6
- package/dist/server/node_modules/protobufjs/src/parse.js +1 -45
- package/dist/server/node_modules/protobufjs/src/type.js +1 -0
- package/package.json +1 -1
- package/dist/client/assets/ArrowNarrowLeft-C0lNfAd-.js +0 -1
- package/dist/client/assets/XCircle-D5rCjCCo.js +0 -1
- package/dist/client/assets/agent-icon-C3wnlI99.js +0 -1
- package/dist/client/assets/agents-list-B3SpQwX5.js +0 -1
- package/dist/client/assets/automations-r03D9cAA.js +0 -1
- package/dist/client/assets/collection-detail-CGNHV1EW.js +0 -1
- package/dist/client/assets/connection-detail-CGrlvist.js +0 -1
- package/dist/client/assets/connections-BV1UPzfV.js +0 -1
- package/dist/client/assets/features-D7qzU1ah.js +0 -1
- package/dist/client/assets/file-explorer-C4vwodhd.js +0 -2
- package/dist/client/assets/general-BHrzNm6e.js +0 -1
- package/dist/client/assets/index-2vcb4P4k.js +0 -1
- package/dist/client/assets/index-BPYCGyhU.js +0 -1
- package/dist/client/assets/index-RQIiwepL.js +0 -1
- package/dist/client/assets/project-app-view-CbzbFEPu.js +0 -1
- package/dist/client/assets/registry-10Lvnw38.js +0 -2
- package/dist/client/assets/roles-Dnu1ERmI.js +0 -1
- package/dist/client/assets/sections-editor-6afDX4oI.js +0 -1
- package/dist/client/assets/settings-layout-Cs92wKZb.js +0 -1
- package/dist/client/assets/shell-layout-BZaILYv9.js +0 -1
- package/dist/client/assets/store-registry-BzJ2CQJA.js +0 -2
- package/dist/client/assets/toolbar-AIIkxXjs.js +0 -1
- package/dist/client/assets/useInfiniteQuery-D0JT5WrD.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-D794zrC9.js +0 -1
- package/dist/client/assets/workflow-DkG9K0We.js +0 -1
- package/dist/client/assets/workflow-detail-CEB6a5Nl.js +0 -1
- package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
- package/dist/server/node_modules/ansi-styles/index.js +0 -223
- package/dist/server/node_modules/ansi-styles/license +0 -9
- package/dist/server/node_modules/ansi-styles/package.json +0 -54
- package/dist/server/node_modules/ansi-styles/readme.md +0 -173
package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js
CHANGED
|
@@ -65,6 +65,21 @@ export function toOtlpSpanEvent(timedEvent, encoder) {
|
|
|
65
65
|
droppedAttributesCount: timedEvent.droppedAttributesCount || 0,
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
+
/*
|
|
69
|
+
* Copyright The OpenTelemetry Authors
|
|
70
|
+
*
|
|
71
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
72
|
+
* you may not use this file except in compliance with the License.
|
|
73
|
+
* You may obtain a copy of the License at
|
|
74
|
+
*
|
|
75
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
76
|
+
*
|
|
77
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
78
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
79
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
80
|
+
* See the License for the specific language governing permissions and
|
|
81
|
+
* limitations under the License.
|
|
82
|
+
*/
|
|
68
83
|
export function createExportTraceServiceRequest(spans, options) {
|
|
69
84
|
const encoder = getOtlpEncoder(options);
|
|
70
85
|
return {
|
package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/trace/internal.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,oBAAoB,CAAC;AAW5B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,uDAAuD;AACvD,MAAM,qCAAqC,GAAG,KAAK,CAAC;AACpD,MAAM,iCAAiC,GAAG,KAAK,CAAC;AAEhD;;;GAGG;AACH,SAAS,kBAAkB,CAAC,UAAkB,EAAE,QAAkB;IAChE,gDAAgD;IAChD,IAAI,KAAK,GAAG,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,qCAAqC,CAAC;IACxE,IAAI,QAAQ,EAAE;QACZ,KAAK,I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AAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { Link } from '@opentelemetry/api';\nimport { Resource } from '@opentelemetry/resources';\nimport type { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';\nimport type { Encoder } from '../common/utils';\nimport {\n createInstrumentationScope,\n createResource,\n toAttributes,\n} from '../common/internal';\nimport {\n EStatusCode,\n IEvent,\n IExportTraceServiceRequest,\n ILink,\n IResourceSpans,\n IScopeSpans,\n ISpan,\n} from './internal-types';\nimport { OtlpEncodingOptions } from '../common/internal-types';\nimport { getOtlpEncoder } from '../common/utils';\n\n// Span flags constants matching the OTLP specification\nconst SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x100;\nconst SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x200;\n\n/**\n * Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags\n * with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.\n */\nfunction buildSpanFlagsFrom(traceFlags: number, isRemote?: boolean): number {\n // low 8 bits are W3C TraceFlags (e.g., sampled)\n let flags = (traceFlags & 0xff) | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;\n if (isRemote) {\n flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;\n }\n return flags;\n}\n\nexport function sdkSpanToOtlpSpan(span: ReadableSpan, encoder: Encoder): ISpan {\n const ctx = span.spanContext();\n const status = span.status;\n const parentSpanId = span.parentSpanContext?.spanId\n ? encoder.encodeSpanContext(span.parentSpanContext?.spanId)\n : undefined;\n return {\n traceId: encoder.encodeSpanContext(ctx.traceId),\n spanId: encoder.encodeSpanContext(ctx.spanId),\n parentSpanId: parentSpanId,\n traceState: ctx.traceState?.serialize(),\n name: span.name,\n // Span kind is offset by 1 because the API does not define a value for unset\n kind: span.kind == null ? 0 : span.kind + 1,\n startTimeUnixNano: encoder.encodeHrTime(span.startTime),\n endTimeUnixNano: encoder.encodeHrTime(span.endTime),\n attributes: toAttributes(span.attributes),\n droppedAttributesCount: span.droppedAttributesCount,\n events: span.events.map(event => toOtlpSpanEvent(event, encoder)),\n droppedEventsCount: span.droppedEventsCount,\n status: {\n // API and proto enums share the same values\n code: status.code as unknown as EStatusCode,\n message: status.message,\n },\n links: span.links.map(link => toOtlpLink(link, encoder)),\n droppedLinksCount: span.droppedLinksCount,\n flags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote),\n };\n}\n\nexport function toOtlpLink(link: Link, encoder: Encoder): ILink {\n return {\n attributes: link.attributes ? toAttributes(link.attributes) : [],\n spanId: encoder.encodeSpanContext(link.context.spanId),\n traceId: encoder.encodeSpanContext(link.context.traceId),\n traceState: link.context.traceState?.serialize(),\n droppedAttributesCount: link.droppedAttributesCount || 0,\n flags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote),\n };\n}\n\nexport function toOtlpSpanEvent(\n timedEvent: TimedEvent,\n encoder: Encoder\n): IEvent {\n return {\n attributes: timedEvent.attributes\n ? toAttributes(timedEvent.attributes)\n : [],\n name: timedEvent.name,\n timeUnixNano: encoder.encodeHrTime(timedEvent.time),\n droppedAttributesCount: timedEvent.droppedAttributesCount || 0,\n };\n}\n\nexport function createExportTraceServiceRequest(\n spans: ReadableSpan[],\n options?: OtlpEncodingOptions\n): IExportTraceServiceRequest {\n const encoder = getOtlpEncoder(options);\n return {\n resourceSpans: spanRecordsToResourceSpans(spans, encoder),\n };\n}\n\nfunction createResourceMap(readableSpans: ReadableSpan[]) {\n const resourceMap: Map<Resource, Map<string, ReadableSpan[]>> = new Map();\n for (const record of readableSpans) {\n let ilsMap = resourceMap.get(record.resource);\n\n if (!ilsMap) {\n ilsMap = new Map();\n resourceMap.set(record.resource, ilsMap);\n }\n\n // TODO this is duplicated in basic tracer. Consolidate on a common helper in core\n const instrumentationScopeKey = `${record.instrumentationScope.name}@${\n record.instrumentationScope.version || ''\n }:${record.instrumentationScope.schemaUrl || ''}`;\n let records = ilsMap.get(instrumentationScopeKey);\n\n if (!records) {\n records = [];\n ilsMap.set(instrumentationScopeKey, records);\n }\n\n records.push(record);\n }\n\n return resourceMap;\n}\n\nfunction spanRecordsToResourceSpans(\n readableSpans: ReadableSpan[],\n encoder: Encoder\n): IResourceSpans[] {\n const resourceMap = createResourceMap(readableSpans);\n const out: IResourceSpans[] = [];\n\n const entryIterator = resourceMap.entries();\n let entry = entryIterator.next();\n while (!entry.done) {\n const [resource, ilmMap] = entry.value;\n const scopeResourceSpans: IScopeSpans[] = [];\n const ilmIterator = ilmMap.values();\n let ilmEntry = ilmIterator.next();\n while (!ilmEntry.done) {\n const scopeSpans = ilmEntry.value;\n if (scopeSpans.length > 0) {\n const spans = scopeSpans.map(readableSpan =>\n sdkSpanToOtlpSpan(readableSpan, encoder)\n );\n\n scopeResourceSpans.push({\n scope: createInstrumentationScope(scopeSpans[0].instrumentationScope),\n spans: spans,\n schemaUrl: scopeSpans[0].instrumentationScope.schemaUrl,\n });\n }\n ilmEntry = ilmIterator.next();\n }\n const processedResource = createResource(resource);\n const transformedSpans: IResourceSpans = {\n resource: processedResource,\n scopeSpans: scopeResourceSpans,\n schemaUrl: processedResource.schemaUrl,\n };\n\n out.push(transformedSpans);\n entry = entryIterator.next();\n }\n\n return out;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../../src/trace/internal.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,oBAAoB,CAAC;AAW5B,OAAO,EAA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G,WAAW,CAAC,IAAI,EAAE,CAAC;SAC/B;QACD,MAAM,iBAAiB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;QACnD,MAAM,gBAAgB,GAAmB;YACvC,QAAQ,EAAE,iBAAiB;YAC3B,UAAU,EAAE,kBAAkB;YAC9B,SAAS,EAAE,iBAAiB,CAAC,SAAS;SACvC,CAAC;QAEF,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC3B,KAAK,GAAG,aAAa,CAAC,IAAI,EAAE,CAAC;KAC9B;IAED,OAAO,GAAG,CAAC;AACb,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport type { Link } from '@opentelemetry/api';\nimport { Resource } from '@opentelemetry/resources';\nimport type { ReadableSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';\nimport type { Encoder } from '../common/utils';\nimport {\n createInstrumentationScope,\n createResource,\n toAttributes,\n} from '../common/internal';\nimport {\n EStatusCode,\n IEvent,\n IExportTraceServiceRequest,\n ILink,\n IResourceSpans,\n IScopeSpans,\n ISpan,\n} from './internal-types';\nimport { OtlpEncodingOptions } from '../common/internal-types';\nimport { getOtlpEncoder } from '../common/utils';\n\n// Span flags constants matching the OTLP specification\nconst SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 0x100;\nconst SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 0x200;\n\n/**\n * Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags\n * with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.\n */\nfunction buildSpanFlagsFrom(traceFlags: number, isRemote?: boolean): number {\n // low 8 bits are W3C TraceFlags (e.g., sampled)\n let flags = (traceFlags & 0xff) | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;\n if (isRemote) {\n flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;\n }\n return flags;\n}\n\nexport function sdkSpanToOtlpSpan(span: ReadableSpan, encoder: Encoder): ISpan {\n const ctx = span.spanContext();\n const status = span.status;\n const parentSpanId = span.parentSpanContext?.spanId\n ? encoder.encodeSpanContext(span.parentSpanContext?.spanId)\n : undefined;\n return {\n traceId: encoder.encodeSpanContext(ctx.traceId),\n spanId: encoder.encodeSpanContext(ctx.spanId),\n parentSpanId: parentSpanId,\n traceState: ctx.traceState?.serialize(),\n name: span.name,\n // Span kind is offset by 1 because the API does not define a value for unset\n kind: span.kind == null ? 0 : span.kind + 1,\n startTimeUnixNano: encoder.encodeHrTime(span.startTime),\n endTimeUnixNano: encoder.encodeHrTime(span.endTime),\n attributes: toAttributes(span.attributes),\n droppedAttributesCount: span.droppedAttributesCount,\n events: span.events.map(event => toOtlpSpanEvent(event, encoder)),\n droppedEventsCount: span.droppedEventsCount,\n status: {\n // API and proto enums share the same values\n code: status.code as unknown as EStatusCode,\n message: status.message,\n },\n links: span.links.map(link => toOtlpLink(link, encoder)),\n droppedLinksCount: span.droppedLinksCount,\n flags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote),\n };\n}\n\nexport function toOtlpLink(link: Link, encoder: Encoder): ILink {\n return {\n attributes: link.attributes ? toAttributes(link.attributes) : [],\n spanId: encoder.encodeSpanContext(link.context.spanId),\n traceId: encoder.encodeSpanContext(link.context.traceId),\n traceState: link.context.traceState?.serialize(),\n droppedAttributesCount: link.droppedAttributesCount || 0,\n flags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote),\n };\n}\n\nexport function toOtlpSpanEvent(\n timedEvent: TimedEvent,\n encoder: Encoder\n): IEvent {\n return {\n attributes: timedEvent.attributes\n ? toAttributes(timedEvent.attributes)\n : [],\n name: timedEvent.name,\n timeUnixNano: encoder.encodeHrTime(timedEvent.time),\n droppedAttributesCount: timedEvent.droppedAttributesCount || 0,\n };\n}\n\n/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport function createExportTraceServiceRequest(\n spans: ReadableSpan[],\n options?: OtlpEncodingOptions\n): IExportTraceServiceRequest {\n const encoder = getOtlpEncoder(options);\n return {\n resourceSpans: spanRecordsToResourceSpans(spans, encoder),\n };\n}\n\nfunction createResourceMap(readableSpans: ReadableSpan[]) {\n const resourceMap: Map<Resource, Map<string, ReadableSpan[]>> = new Map();\n for (const record of readableSpans) {\n let ilsMap = resourceMap.get(record.resource);\n\n if (!ilsMap) {\n ilsMap = new Map();\n resourceMap.set(record.resource, ilsMap);\n }\n\n // TODO this is duplicated in basic tracer. Consolidate on a common helper in core\n const instrumentationScopeKey = `${record.instrumentationScope.name}@${\n record.instrumentationScope.version || ''\n }:${record.instrumentationScope.schemaUrl || ''}`;\n let records = ilsMap.get(instrumentationScopeKey);\n\n if (!records) {\n records = [];\n ilsMap.set(instrumentationScopeKey, records);\n }\n\n records.push(record);\n }\n\n return resourceMap;\n}\n\nfunction spanRecordsToResourceSpans(\n readableSpans: ReadableSpan[],\n encoder: Encoder\n): IResourceSpans[] {\n const resourceMap = createResourceMap(readableSpans);\n const out: IResourceSpans[] = [];\n\n const entryIterator = resourceMap.entries();\n let entry = entryIterator.next();\n while (!entry.done) {\n const [resource, ilmMap] = entry.value;\n const scopeResourceSpans: IScopeSpans[] = [];\n const ilmIterator = ilmMap.values();\n let ilmEntry = ilmIterator.next();\n while (!ilmEntry.done) {\n const scopeSpans = ilmEntry.value;\n if (scopeSpans.length > 0) {\n const spans = scopeSpans.map(readableSpan =>\n sdkSpanToOtlpSpan(readableSpan, encoder)\n );\n\n scopeResourceSpans.push({\n scope: createInstrumentationScope(scopeSpans[0].instrumentationScope),\n spans: spans,\n schemaUrl: scopeSpans[0].instrumentationScope.schemaUrl,\n });\n }\n ilmEntry = ilmIterator.next();\n }\n const processedResource = createResource(resource);\n const transformedSpans: IResourceSpans = {\n resource: processedResource,\n scopeSpans: scopeResourceSpans,\n schemaUrl: processedResource.schemaUrl,\n };\n\n out.push(transformedSpans);\n entry = entryIterator.next();\n }\n\n return out;\n}\n"]}
|
package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js
CHANGED
|
@@ -9453,17 +9453,32 @@ $root.opentelemetry = (function () {
|
|
|
9453
9453
|
HistogramDataPoint.prototype.max = null;
|
|
9454
9454
|
// OneOf field names bound to virtual getters and setters
|
|
9455
9455
|
var $oneOfFields;
|
|
9456
|
-
|
|
9456
|
+
/**
|
|
9457
|
+
* HistogramDataPoint _sum.
|
|
9458
|
+
* @member {"sum"|undefined} _sum
|
|
9459
|
+
* @memberof opentelemetry.proto.metrics.v1.HistogramDataPoint
|
|
9460
|
+
* @instance
|
|
9461
|
+
*/
|
|
9457
9462
|
Object.defineProperty(HistogramDataPoint.prototype, "_sum", {
|
|
9458
9463
|
get: $util.oneOfGetter($oneOfFields = ["sum"]),
|
|
9459
9464
|
set: $util.oneOfSetter($oneOfFields)
|
|
9460
9465
|
});
|
|
9461
|
-
|
|
9466
|
+
/**
|
|
9467
|
+
* HistogramDataPoint _min.
|
|
9468
|
+
* @member {"min"|undefined} _min
|
|
9469
|
+
* @memberof opentelemetry.proto.metrics.v1.HistogramDataPoint
|
|
9470
|
+
* @instance
|
|
9471
|
+
*/
|
|
9462
9472
|
Object.defineProperty(HistogramDataPoint.prototype, "_min", {
|
|
9463
9473
|
get: $util.oneOfGetter($oneOfFields = ["min"]),
|
|
9464
9474
|
set: $util.oneOfSetter($oneOfFields)
|
|
9465
9475
|
});
|
|
9466
|
-
|
|
9476
|
+
/**
|
|
9477
|
+
* HistogramDataPoint _max.
|
|
9478
|
+
* @member {"max"|undefined} _max
|
|
9479
|
+
* @memberof opentelemetry.proto.metrics.v1.HistogramDataPoint
|
|
9480
|
+
* @instance
|
|
9481
|
+
*/
|
|
9467
9482
|
Object.defineProperty(HistogramDataPoint.prototype, "_max", {
|
|
9468
9483
|
get: $util.oneOfGetter($oneOfFields = ["max"]),
|
|
9469
9484
|
set: $util.oneOfSetter($oneOfFields)
|
|
@@ -10065,17 +10080,32 @@ $root.opentelemetry = (function () {
|
|
|
10065
10080
|
ExponentialHistogramDataPoint.prototype.zeroThreshold = null;
|
|
10066
10081
|
// OneOf field names bound to virtual getters and setters
|
|
10067
10082
|
var $oneOfFields;
|
|
10068
|
-
|
|
10083
|
+
/**
|
|
10084
|
+
* ExponentialHistogramDataPoint _sum.
|
|
10085
|
+
* @member {"sum"|undefined} _sum
|
|
10086
|
+
* @memberof opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
|
|
10087
|
+
* @instance
|
|
10088
|
+
*/
|
|
10069
10089
|
Object.defineProperty(ExponentialHistogramDataPoint.prototype, "_sum", {
|
|
10070
10090
|
get: $util.oneOfGetter($oneOfFields = ["sum"]),
|
|
10071
10091
|
set: $util.oneOfSetter($oneOfFields)
|
|
10072
10092
|
});
|
|
10073
|
-
|
|
10093
|
+
/**
|
|
10094
|
+
* ExponentialHistogramDataPoint _min.
|
|
10095
|
+
* @member {"min"|undefined} _min
|
|
10096
|
+
* @memberof opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
|
|
10097
|
+
* @instance
|
|
10098
|
+
*/
|
|
10074
10099
|
Object.defineProperty(ExponentialHistogramDataPoint.prototype, "_min", {
|
|
10075
10100
|
get: $util.oneOfGetter($oneOfFields = ["min"]),
|
|
10076
10101
|
set: $util.oneOfSetter($oneOfFields)
|
|
10077
10102
|
});
|
|
10078
|
-
|
|
10103
|
+
/**
|
|
10104
|
+
* ExponentialHistogramDataPoint _max.
|
|
10105
|
+
* @member {"max"|undefined} _max
|
|
10106
|
+
* @memberof opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint
|
|
10107
|
+
* @instance
|
|
10108
|
+
*/
|
|
10079
10109
|
Object.defineProperty(ExponentialHistogramDataPoint.prototype, "_max", {
|
|
10080
10110
|
get: $util.oneOfGetter($oneOfFields = ["max"]),
|
|
10081
10111
|
set: $util.oneOfSetter($oneOfFields)
|