@onequery/cli 0.1.49-alpha.1-win32-x64 → 0.1.49-darwin-arm64
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/package.json +3 -3
- package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/CompositeItem-BczSyMtT.js → aarch64-apple-darwin/runtime/web/assets/CompositeItem-CZdKsA45.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/CompositeList-FRTEqUDK.js → aarch64-apple-darwin/runtime/web/assets/CompositeList-C9xWKWEY.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/DialogTitle-XJoEl7im.js → aarch64-apple-darwin/runtime/web/assets/DialogTitle-DSjY6Xud.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/IconChevronRight-DD16tNHZ.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/web/assets/IconDatabase-BLZDgpcN.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/Separator-CHfSrIVw.js → aarch64-apple-darwin/runtime/web/assets/Separator-Di8cGnYl.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/_authenticated-CWIbs-C9.js → aarch64-apple-darwin/runtime/web/assets/_authenticated-CGmAYz8Z.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/_org_slug-f6xppY7b.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/web/assets/audit-LQg_2-5v.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/auth-bootstrap-query-B7dkGOfQ.js → aarch64-apple-darwin/runtime/web/assets/auth-bootstrap-query-KhD_VRw3.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/avatar-BJ8wGO2c.js → aarch64-apple-darwin/runtime/web/assets/avatar-DoLsibq3.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/badge-CwG2ykXV.js → aarch64-apple-darwin/runtime/web/assets/badge-D8XKsDus.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/budget-jeO_g_0N.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/callback-CKwuXq25.js → aarch64-apple-darwin/runtime/web/assets/callback-wu4tr9JD.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/checkbox-BRqndHHY.js → aarch64-apple-darwin/runtime/web/assets/checkbox-BLYovhFU.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/connect-database-3pvIA31m.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/create-org-BrGpRbwI.js → aarch64-apple-darwin/runtime/web/assets/create-org-DiO7zB9V.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/data-source-connection-form-BuQAF1Ew.js → aarch64-apple-darwin/runtime/web/assets/data-source-connection-form-C0JyH5J3.js} +2 -2
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/device-ZrN18fkI.js → aarch64-apple-darwin/runtime/web/assets/device-DJhBvm-V.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/dropdown-menu-CLot8VIw.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/getDisabledMountTransitionStyles-Co-5TcgR.js → aarch64-apple-darwin/runtime/web/assets/getDisabledMountTransitionStyles-f3pOCbyk.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/getPseudoElementBounds-BefWKytd.js → aarch64-apple-darwin/runtime/web/assets/getPseudoElementBounds-BpCtHFAC.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/home-DBohjohZ.js → aarch64-apple-darwin/runtime/web/assets/home-CZKXq9HA.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/index-C_q-gtGv.js +10 -0
- package/vendor/aarch64-apple-darwin/runtime/web/assets/index-ClbN-fUj.css +2 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/input-CG_cIxvO.js → aarch64-apple-darwin/runtime/web/assets/input-DSkIbIFK.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/integrations-B2b7o-ye.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/invite._invitationId-I6ktUCMx.js → aarch64-apple-darwin/runtime/web/assets/invite._invitationId-Dt2OlNDo.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/organization-query-keys-Dl2dsKXD.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/routes-BMjqzzhN.js → aarch64-apple-darwin/runtime/web/assets/routes-BTttPHZm.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/schemas-n4sxh6jF.js → aarch64-apple-darwin/runtime/web/assets/schemas-K0ZhTj23.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/select--f8ikhXw.js → aarch64-apple-darwin/runtime/web/assets/select-BSubTgC3.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/separator-C6uGWs7e.js → aarch64-apple-darwin/runtime/web/assets/separator-CWjuJH0f.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/settings-DbZya6GZ.js → aarch64-apple-darwin/runtime/web/assets/settings-B3gO4YZk.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/signin-CCn-yW0m.js → aarch64-apple-darwin/runtime/web/assets/signin-DNF0ckUg.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/team-DDjwdOl0.js → aarch64-apple-darwin/runtime/web/assets/team-BL56C5sF.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/textarea-DeFlZYve.js → aarch64-apple-darwin/runtime/web/assets/textarea-B57VG43g.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/theme-toggle-CcB6O_vF.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/use-optimistic-mutation-CrovtKU_.js → aarch64-apple-darwin/runtime/web/assets/use-optimistic-mutation-BCZ8tApt.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useBaseQuery-DsHrqVxr.js → aarch64-apple-darwin/runtime/web/assets/useBaseQuery-B3PCmH7w.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useCompositeItem-C3Tz1oAb.js → aarch64-apple-darwin/runtime/web/assets/useCompositeItem-DqawtL5i.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/web/assets/useQuery-Bj5cJCZc.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/web/assets/useSuspenseQuery-ZQGYM-g4.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/zod-Ch0Zejov.js → aarch64-apple-darwin/runtime/web/assets/zod-BgAmwIO1.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/index.html +14 -14
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +1356 -540
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/_org_slug-CknLp7vH.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/audit-BusA9tVb.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/budget-BHaHi4Ta.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/connect-database-cblAefi9.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/dropdown-menu-CD1w2p82.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/index-BBPJeil4.css +0 -2
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/index-DefoCtD4.js +0 -10
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/integrations-Ck1I0Lcz.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/organization-query-keys-DwLucsD_.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/theme-toggle-DrtO5ON3.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/useQuery-8xe0Ctrs.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/web/assets/useSuspenseQuery-CUebzdcR.js +0 -1
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/sql-parser/sql_parser_wasm_bg.wasm +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconArrowRight-DsOD7mDl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconCheck-Gc24xPT2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconChevronDown-B-39MA7-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/IconCoins-C7Nn0L6R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/IconHistory-BqAd-xl2.js → aarch64-apple-darwin/runtime/web/assets/IconHistory-k3NVXypq.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/IconLoader2-B3B6M8nQ.js → aarch64-apple-darwin/runtime/web/assets/IconLoader2-CZSIppar.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/IconPlus-C3-kRhGX.js → aarch64-apple-darwin/runtime/web/assets/IconPlus-Ie-KpLOF.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/IconX-BQkA009b.js → aarch64-apple-darwin/runtime/web/assets/IconX-Cg43mUxH.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/alert-CgZYtErJ.js → aarch64-apple-darwin/runtime/web/assets/alert-TnJXtO0T.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/api-base-url-DIb6qukm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/api-client-B2Cc7TWF.js → aarch64-apple-darwin/runtime/web/assets/api-client-F8Y7IuHn.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/api-paths-DM-NAvAZ.js → aarch64-apple-darwin/runtime/web/assets/api-paths-DcYkf-C_.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/app-routes-CnJncMlZ.js → aarch64-apple-darwin/runtime/web/assets/app-routes-DM5pppqD.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/auth-client-DF1BsKzX.js → aarch64-apple-darwin/runtime/web/assets/auth-client-Dj6z7Pcl.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/card-BWqhQk-T.js → aarch64-apple-darwin/runtime/web/assets/card-CZCl7QNy.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/compiler-runtime-DCc3R3Xn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/dist-TeLLf3Fl.js → aarch64-apple-darwin/runtime/web/assets/dist-Cg-lnuP8.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/empty-nwzd6339.js → aarch64-apple-darwin/runtime/web/assets/empty-DjRo5ytz.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/format-date-Ctrh7my1.js → aarch64-apple-darwin/runtime/web/assets/format-date-B5v-Ga9z.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/jsx-runtime-DG_AJzB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/label-DDLGZnWP.js → aarch64-apple-darwin/runtime/web/assets/label-CUY3W2yp.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/link-Cgvqhh5w.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/matchContext-CDajBC0L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/organization-permissions-BQQ5PJbI.js → aarch64-apple-darwin/runtime/web/assets/organization-permissions-PidGz2SY.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/query-timing-LGzitMXx.js → aarch64-apple-darwin/runtime/web/assets/query-timing-C8VVOl1e.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/queryOptions-BHw87wTZ.js → aarch64-apple-darwin/runtime/web/assets/queryOptions-LX_zDC40.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/removable-BfDesq3B.js → aarch64-apple-darwin/runtime/web/assets/removable-DwbP0VJV.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/src-DCIPwIx0.js → aarch64-apple-darwin/runtime/web/assets/src-Cs2YIecp.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/table-Bzsu823v.js → aarch64-apple-darwin/runtime/web/assets/table-mA0t_uVk.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useBaseUiId-BLFGpnYJ.js → aarch64-apple-darwin/runtime/web/assets/useBaseUiId-Cn1kR417.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useControlled-B8q0aJoo.js → aarch64-apple-darwin/runtime/web/assets/useControlled-C1S7R-1A.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useRender-B2c9_UYd.js → aarch64-apple-darwin/runtime/web/assets/useRender-DFMo54_d.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/useRouterState-DpT8luFk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/useValueChanged-C3CBkPge.js → aarch64-apple-darwin/runtime/web/assets/useValueChanged-CH03vPJ5.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/assets/utils-C8DGLIgm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc/runtime/web/assets/xstate-react.esm-U3P0kbzA.js → aarch64-apple-darwin/runtime/web/assets/xstate-react.esm-CfqAjJyu.js} +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/favicon.ico +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step1_settings_sidebar.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step2_projects.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step3_project_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/amplitude/step4_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step2_bigquery_roles.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step3_add_key_menu.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/bigquery/step4_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step2_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step3_add_user_viewer.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/ga4/step4_property_details.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step1_signin.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/github-token-guide/step4_token_created_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step2_create_service_account.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step3_credentials.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/mixpanel/step4_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/postgresql/step1_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/postgresql/step2_connection.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step1_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step2_personal_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/posthog/step3_create_key_modal.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step1_connect.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step2_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step3_grant.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/rds/step4_info.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step1_personal_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step2_create_token_permissions.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step3_organization_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/images/sentry/step4_project_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/linear.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/web/onequery.svg +0 -0
|
@@ -18963,7 +18963,7 @@ function timeSource$1(args) {
|
|
|
18963
18963
|
const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
|
|
18964
18964
|
return typeof args.precision === "number" ? args.precision === -1 ? `${hhmm}` : args.precision === 0 ? `${hhmm}:[0-5]\\d` : `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}` : `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
|
|
18965
18965
|
}
|
|
18966
|
-
function time$
|
|
18966
|
+
function time$5(args) {
|
|
18967
18967
|
return new RegExp(`^${timeSource$1(args)}$`);
|
|
18968
18968
|
}
|
|
18969
18969
|
function datetime$3(args) {
|
|
@@ -19597,7 +19597,7 @@ const $ZodISODate$1 = /* @__PURE__ */ $constructor$1("$ZodISODate", (inst, def)
|
|
|
19597
19597
|
$ZodStringFormat$1.init(inst, def);
|
|
19598
19598
|
});
|
|
19599
19599
|
const $ZodISOTime$1 = /* @__PURE__ */ $constructor$1("$ZodISOTime", (inst, def) => {
|
|
19600
|
-
def.pattern ?? (def.pattern = time$
|
|
19600
|
+
def.pattern ?? (def.pattern = time$5(def));
|
|
19601
19601
|
$ZodStringFormat$1.init(inst, def);
|
|
19602
19602
|
});
|
|
19603
19603
|
const $ZodISODuration$1 = /* @__PURE__ */ $constructor$1("$ZodISODuration", (inst, def) => {
|
|
@@ -21853,7 +21853,7 @@ const ZodISOTime$1 = /* @__PURE__ */ $constructor$1("ZodISOTime", (inst, def) =>
|
|
|
21853
21853
|
$ZodISOTime$1.init(inst, def);
|
|
21854
21854
|
ZodStringFormat$1.init(inst, def);
|
|
21855
21855
|
});
|
|
21856
|
-
function time$
|
|
21856
|
+
function time$4(params) {
|
|
21857
21857
|
return /* @__PURE__ */ _isoTime$1(ZodISOTime$1, params);
|
|
21858
21858
|
}
|
|
21859
21859
|
const ZodISODuration$1 = /* @__PURE__ */ $constructor$1("ZodISODuration", (inst, def) => {
|
|
@@ -22031,7 +22031,7 @@ const ZodString$1 = /* @__PURE__ */ $constructor$1("ZodString", (inst, def) => {
|
|
|
22031
22031
|
inst.e164 = (params) => inst.check(/* @__PURE__ */ _e164$1(ZodE164$1, params));
|
|
22032
22032
|
inst.datetime = (params) => inst.check(datetime$2(params));
|
|
22033
22033
|
inst.date = (params) => inst.check(date$7(params));
|
|
22034
|
-
inst.time = (params) => inst.check(time$
|
|
22034
|
+
inst.time = (params) => inst.check(time$4(params));
|
|
22035
22035
|
inst.duration = (params) => inst.check(duration$2(params));
|
|
22036
22036
|
});
|
|
22037
22037
|
function string$3(params) {
|
|
@@ -40458,7 +40458,7 @@ var PgTime = class extends PgColumn {
|
|
|
40458
40458
|
return `time${this.precision === void 0 ? "" : `(${this.precision})`}${this.withTimezone ? " with time zone" : ""}`;
|
|
40459
40459
|
}
|
|
40460
40460
|
};
|
|
40461
|
-
function time$
|
|
40461
|
+
function time$3(a, b = {}) {
|
|
40462
40462
|
const { name, config } = getColumnNameAndConfig(a, b);
|
|
40463
40463
|
return new PgTimeBuilder(name, config.withTimezone ?? false, config.precision);
|
|
40464
40464
|
}
|
|
@@ -40724,7 +40724,7 @@ function getPgColumnBuilders() {
|
|
|
40724
40724
|
smallint,
|
|
40725
40725
|
smallserial,
|
|
40726
40726
|
text,
|
|
40727
|
-
time: time$
|
|
40727
|
+
time: time$3,
|
|
40728
40728
|
timestamp,
|
|
40729
40729
|
uuid: uuid$2,
|
|
40730
40730
|
varchar,
|
|
@@ -49338,7 +49338,7 @@ var init_color_depth = __esmMin((() => {
|
|
|
49338
49338
|
function shouldPublishLog(currentLogLevel, logLevel) {
|
|
49339
49339
|
return levels.indexOf(logLevel) >= levels.indexOf(currentLogLevel);
|
|
49340
49340
|
}
|
|
49341
|
-
var TTY_COLORS, levels, levelColors, formatMessage, createLogger, logger$
|
|
49341
|
+
var TTY_COLORS, levels, levelColors, formatMessage, createLogger, logger$1;
|
|
49342
49342
|
var init_logger = __esmMin((() => {
|
|
49343
49343
|
init_color_depth();
|
|
49344
49344
|
TTY_COLORS = {
|
|
@@ -49412,7 +49412,7 @@ var init_logger = __esmMin((() => {
|
|
|
49412
49412
|
}
|
|
49413
49413
|
};
|
|
49414
49414
|
};
|
|
49415
|
-
logger$
|
|
49415
|
+
logger$1 = createLogger();
|
|
49416
49416
|
}));
|
|
49417
49417
|
//#endregion
|
|
49418
49418
|
//#region node_modules/.bun/@better-auth+core@1.5.5+6ae8d5c790b3026b/node_modules/@better-auth/core/dist/env/index.mjs
|
|
@@ -53628,7 +53628,7 @@ const info = new Uint8Array([
|
|
|
53628
53628
|
101,
|
|
53629
53629
|
121
|
|
53630
53630
|
]);
|
|
53631
|
-
const now = () => Date.now() / 1e3 | 0;
|
|
53631
|
+
const now$1 = () => Date.now() / 1e3 | 0;
|
|
53632
53632
|
const alg = "dir";
|
|
53633
53633
|
const enc = "A256CBC-HS512";
|
|
53634
53634
|
function deriveEncryptionSecret(secret, salt) {
|
|
@@ -53666,7 +53666,7 @@ async function symmetricEncodeJWT(payload, secret, salt, expiresIn = 3600) {
|
|
|
53666
53666
|
alg,
|
|
53667
53667
|
enc,
|
|
53668
53668
|
kid: thumbprint
|
|
53669
|
-
}).setIssuedAt().setExpirationTime(now() + expiresIn).setJti(crypto.randomUUID()).encrypt(encryptionSecret);
|
|
53669
|
+
}).setIssuedAt().setExpirationTime(now$1() + expiresIn).setJti(crypto.randomUUID()).encrypt(encryptionSecret);
|
|
53670
53670
|
}
|
|
53671
53671
|
const jwtDecryptOpts = {
|
|
53672
53672
|
clockTolerance: 15,
|
|
@@ -56292,7 +56292,7 @@ var regexes_exports = /* @__PURE__ */ __exportAll$1({
|
|
|
56292
56292
|
sha512_base64url: () => sha512_base64url,
|
|
56293
56293
|
sha512_hex: () => sha512_hex,
|
|
56294
56294
|
string: () => string$2,
|
|
56295
|
-
time: () => time$
|
|
56295
|
+
time: () => time$2,
|
|
56296
56296
|
ulid: () => ulid$1,
|
|
56297
56297
|
undefined: () => _undefined$2,
|
|
56298
56298
|
unicodeEmail: () => unicodeEmail,
|
|
@@ -56358,7 +56358,7 @@ function timeSource(args) {
|
|
|
56358
56358
|
const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
|
|
56359
56359
|
return typeof args.precision === "number" ? args.precision === -1 ? `${hhmm}` : args.precision === 0 ? `${hhmm}:[0-5]\\d` : `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}` : `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
|
|
56360
56360
|
}
|
|
56361
|
-
function time$
|
|
56361
|
+
function time$2(args) {
|
|
56362
56362
|
return new RegExp(`^${timeSource(args)}$`);
|
|
56363
56363
|
}
|
|
56364
56364
|
function datetime$1(args) {
|
|
@@ -57163,7 +57163,7 @@ const $ZodISODate = /* @__PURE__ */ $constructor("$ZodISODate", (inst, def) => {
|
|
|
57163
57163
|
$ZodStringFormat.init(inst, def);
|
|
57164
57164
|
});
|
|
57165
57165
|
const $ZodISOTime = /* @__PURE__ */ $constructor("$ZodISOTime", (inst, def) => {
|
|
57166
|
-
def.pattern ?? (def.pattern = time$
|
|
57166
|
+
def.pattern ?? (def.pattern = time$2(def));
|
|
57167
57167
|
$ZodStringFormat.init(inst, def);
|
|
57168
57168
|
});
|
|
57169
57169
|
const $ZodISODuration = /* @__PURE__ */ $constructor("$ZodISODuration", (inst, def) => {
|
|
@@ -66233,7 +66233,7 @@ var iso_exports = /* @__PURE__ */ __exportAll$1({
|
|
|
66233
66233
|
date: () => date$3,
|
|
66234
66234
|
datetime: () => datetime,
|
|
66235
66235
|
duration: () => duration,
|
|
66236
|
-
time: () => time$
|
|
66236
|
+
time: () => time$1
|
|
66237
66237
|
});
|
|
66238
66238
|
const ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
66239
66239
|
$ZodISODateTime.init(inst, def);
|
|
@@ -66253,7 +66253,7 @@ const ZodISOTime = /* @__PURE__ */ $constructor("ZodISOTime", (inst, def) => {
|
|
|
66253
66253
|
$ZodISOTime.init(inst, def);
|
|
66254
66254
|
ZodStringFormat.init(inst, def);
|
|
66255
66255
|
});
|
|
66256
|
-
function time$
|
|
66256
|
+
function time$1(params) {
|
|
66257
66257
|
return /* @__PURE__ */ _isoTime(ZodISOTime, params);
|
|
66258
66258
|
}
|
|
66259
66259
|
const ZodISODuration = /* @__PURE__ */ $constructor("ZodISODuration", (inst, def) => {
|
|
@@ -66597,7 +66597,7 @@ const ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
|
66597
66597
|
inst.e164 = (params) => inst.check(/* @__PURE__ */ _e164(ZodE164, params));
|
|
66598
66598
|
inst.datetime = (params) => inst.check(datetime(params));
|
|
66599
66599
|
inst.date = (params) => inst.check(date$3(params));
|
|
66600
|
-
inst.time = (params) => inst.check(time$
|
|
66600
|
+
inst.time = (params) => inst.check(time$1(params));
|
|
66601
66601
|
inst.duration = (params) => inst.check(duration(params));
|
|
66602
66602
|
});
|
|
66603
66603
|
function string$1(params) {
|
|
@@ -68637,7 +68637,7 @@ function safeJSONParse(data) {
|
|
|
68637
68637
|
}
|
|
68638
68638
|
return JSON.parse(data, (_, value) => reviveDate(value));
|
|
68639
68639
|
} catch (e) {
|
|
68640
|
-
logger$
|
|
68640
|
+
logger$1.error("Error parsing JSON", { error: e });
|
|
68641
68641
|
return null;
|
|
68642
68642
|
}
|
|
68643
68643
|
}
|
|
@@ -73368,7 +73368,7 @@ const atlassian = (options) => {
|
|
|
73368
73368
|
name: "Atlassian",
|
|
73369
73369
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI }) {
|
|
73370
73370
|
if (!options.clientId || !options.clientSecret) {
|
|
73371
|
-
logger$
|
|
73371
|
+
logger$1.error("Client Id and Secret are required for Atlassian");
|
|
73372
73372
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
73373
73373
|
}
|
|
73374
73374
|
if (!codeVerifier) throw new BetterAuthError("codeVerifier is required for Atlassian");
|
|
@@ -73425,7 +73425,7 @@ const atlassian = (options) => {
|
|
|
73425
73425
|
data: profile
|
|
73426
73426
|
};
|
|
73427
73427
|
} catch (error) {
|
|
73428
|
-
logger$
|
|
73428
|
+
logger$1.error("Failed to fetch user info from Figma:", error);
|
|
73429
73429
|
return null;
|
|
73430
73430
|
}
|
|
73431
73431
|
},
|
|
@@ -73439,7 +73439,7 @@ init_env();
|
|
|
73439
73439
|
init_error();
|
|
73440
73440
|
const cognito = (options) => {
|
|
73441
73441
|
if (!options.domain || !options.region || !options.userPoolId) {
|
|
73442
|
-
logger$
|
|
73442
|
+
logger$1.error("Domain, region and userPoolId are required for Amazon Cognito. Make sure to provide them in the options.");
|
|
73443
73443
|
throw new BetterAuthError("DOMAIN_AND_REGION_REQUIRED");
|
|
73444
73444
|
}
|
|
73445
73445
|
const cleanDomain = options.domain.replace(/^https?:\/\//, "");
|
|
@@ -73451,11 +73451,11 @@ const cognito = (options) => {
|
|
|
73451
73451
|
name: "Cognito",
|
|
73452
73452
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI }) {
|
|
73453
73453
|
if (!options.clientId) {
|
|
73454
|
-
logger$
|
|
73454
|
+
logger$1.error("ClientId is required for Amazon Cognito. Make sure to provide them in the options.");
|
|
73455
73455
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
73456
73456
|
}
|
|
73457
73457
|
if (options.requireClientSecret && !options.clientSecret) {
|
|
73458
|
-
logger$
|
|
73458
|
+
logger$1.error("Client Secret is required when requireClientSecret is true. Make sure to provide it in the options.");
|
|
73459
73459
|
throw new BetterAuthError("CLIENT_SECRET_REQUIRED");
|
|
73460
73460
|
}
|
|
73461
73461
|
const _scopes = options.disableDefaultScope ? [] : [
|
|
@@ -73522,7 +73522,7 @@ const cognito = (options) => {
|
|
|
73522
73522
|
if (nonce && jwtClaims.nonce !== nonce) return false;
|
|
73523
73523
|
return true;
|
|
73524
73524
|
} catch (error) {
|
|
73525
|
-
logger$
|
|
73525
|
+
logger$1.error("Failed to verify ID token:", error);
|
|
73526
73526
|
return false;
|
|
73527
73527
|
}
|
|
73528
73528
|
},
|
|
@@ -73549,7 +73549,7 @@ const cognito = (options) => {
|
|
|
73549
73549
|
data: enrichedProfile
|
|
73550
73550
|
};
|
|
73551
73551
|
} catch (error) {
|
|
73552
|
-
logger$
|
|
73552
|
+
logger$1.error("Failed to decode ID token:", error);
|
|
73553
73553
|
}
|
|
73554
73554
|
if (token.accessToken) try {
|
|
73555
73555
|
const { data: userInfo } = await betterFetch(userInfoEndpoint, { headers: { Authorization: `Bearer ${token.accessToken}` } });
|
|
@@ -73568,7 +73568,7 @@ const cognito = (options) => {
|
|
|
73568
73568
|
};
|
|
73569
73569
|
}
|
|
73570
73570
|
} catch (error) {
|
|
73571
|
-
logger$
|
|
73571
|
+
logger$1.error("Failed to fetch user info from Cognito:", error);
|
|
73572
73572
|
}
|
|
73573
73573
|
return null;
|
|
73574
73574
|
},
|
|
@@ -73584,7 +73584,7 @@ const getCognitoPublicKey = async (kid, region, userPoolId) => {
|
|
|
73584
73584
|
if (!jwk) throw new Error(`JWK with kid ${kid} not found`);
|
|
73585
73585
|
return await importJWK(jwk, jwk.alg);
|
|
73586
73586
|
} catch (error) {
|
|
73587
|
-
logger$
|
|
73587
|
+
logger$1.error("Failed to fetch Cognito public key:", error);
|
|
73588
73588
|
throw error;
|
|
73589
73589
|
}
|
|
73590
73590
|
};
|
|
@@ -73834,7 +73834,7 @@ const figma = (options) => {
|
|
|
73834
73834
|
name: "Figma",
|
|
73835
73835
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI }) {
|
|
73836
73836
|
if (!options.clientId || !options.clientSecret) {
|
|
73837
|
-
logger$
|
|
73837
|
+
logger$1.error("Client Id and Client Secret are required for Figma. Make sure to provide them in the options.");
|
|
73838
73838
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
73839
73839
|
}
|
|
73840
73840
|
if (!codeVerifier) throw new BetterAuthError("codeVerifier is required for Figma");
|
|
@@ -73878,7 +73878,7 @@ const figma = (options) => {
|
|
|
73878
73878
|
try {
|
|
73879
73879
|
const { data: profile } = await betterFetch("https://api.figma.com/v1/me", { headers: { Authorization: `Bearer ${token.accessToken}` } });
|
|
73880
73880
|
if (!profile) {
|
|
73881
|
-
logger$
|
|
73881
|
+
logger$1.error("Failed to fetch user from Figma");
|
|
73882
73882
|
return null;
|
|
73883
73883
|
}
|
|
73884
73884
|
const userMap = await options.mapProfileToUser?.(profile);
|
|
@@ -73894,7 +73894,7 @@ const figma = (options) => {
|
|
|
73894
73894
|
data: profile
|
|
73895
73895
|
};
|
|
73896
73896
|
} catch (error) {
|
|
73897
|
-
logger$
|
|
73897
|
+
logger$1.error("Failed to fetch user info from Figma:", error);
|
|
73898
73898
|
return null;
|
|
73899
73899
|
}
|
|
73900
73900
|
},
|
|
@@ -73939,11 +73939,11 @@ const github = (options) => {
|
|
|
73939
73939
|
headers: requestHeaders
|
|
73940
73940
|
});
|
|
73941
73941
|
if (error) {
|
|
73942
|
-
logger$
|
|
73942
|
+
logger$1.error("GitHub OAuth token exchange failed:", error);
|
|
73943
73943
|
return null;
|
|
73944
73944
|
}
|
|
73945
73945
|
if ("error" in data) {
|
|
73946
|
-
logger$
|
|
73946
|
+
logger$1.error("GitHub OAuth token exchange failed:", data);
|
|
73947
73947
|
return null;
|
|
73948
73948
|
}
|
|
73949
73949
|
return getOAuth2Tokens(data);
|
|
@@ -74073,7 +74073,7 @@ const google = (options) => {
|
|
|
74073
74073
|
name: "Google",
|
|
74074
74074
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI, loginHint, display }) {
|
|
74075
74075
|
if (!options.clientId || !options.clientSecret) {
|
|
74076
|
-
logger$
|
|
74076
|
+
logger$1.error("Client Id and Client Secret is required for Google. Make sure to provide them in the options.");
|
|
74077
74077
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
74078
74078
|
}
|
|
74079
74079
|
if (!codeVerifier) throw new BetterAuthError("codeVerifier is required for Google");
|
|
@@ -74676,7 +74676,7 @@ const microsoft = (options) => {
|
|
|
74676
74676
|
if (nonce && jwtClaims.nonce !== nonce) return false;
|
|
74677
74677
|
return true;
|
|
74678
74678
|
} catch (error) {
|
|
74679
|
-
logger$
|
|
74679
|
+
logger$1.error("Failed to verify ID token:", error);
|
|
74680
74680
|
return false;
|
|
74681
74681
|
}
|
|
74682
74682
|
},
|
|
@@ -74693,7 +74693,7 @@ const microsoft = (options) => {
|
|
|
74693
74693
|
const pictureBuffer = await context.response.clone().arrayBuffer();
|
|
74694
74694
|
user.picture = `data:image/jpeg;base64, ${base64$2.encode(pictureBuffer)}`;
|
|
74695
74695
|
} catch (e) {
|
|
74696
|
-
logger$
|
|
74696
|
+
logger$1.error(e && typeof e === "object" && "name" in e ? e.name : "", e);
|
|
74697
74697
|
}
|
|
74698
74698
|
}
|
|
74699
74699
|
});
|
|
@@ -74880,7 +74880,7 @@ const paybin = (options) => {
|
|
|
74880
74880
|
name: "Paybin",
|
|
74881
74881
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI, loginHint }) {
|
|
74882
74882
|
if (!options.clientId || !options.clientSecret) {
|
|
74883
|
-
logger$
|
|
74883
|
+
logger$1.error("Client Id and Client Secret is required for Paybin. Make sure to provide them in the options.");
|
|
74884
74884
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
74885
74885
|
}
|
|
74886
74886
|
if (!codeVerifier) throw new BetterAuthError("codeVerifier is required for Paybin");
|
|
@@ -74958,7 +74958,7 @@ const paypal = (options) => {
|
|
|
74958
74958
|
name: "PayPal",
|
|
74959
74959
|
async createAuthorizationURL({ state, codeVerifier, redirectURI }) {
|
|
74960
74960
|
if (!options.clientId || !options.clientSecret) {
|
|
74961
|
-
logger$
|
|
74961
|
+
logger$1.error("Client Id and Client Secret is required for PayPal. Make sure to provide them in the options.");
|
|
74962
74962
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
74963
74963
|
}
|
|
74964
74964
|
return await createAuthorizationURL({
|
|
@@ -75001,7 +75001,7 @@ const paypal = (options) => {
|
|
|
75001
75001
|
idToken: data.id_token
|
|
75002
75002
|
};
|
|
75003
75003
|
} catch (error) {
|
|
75004
|
-
logger$
|
|
75004
|
+
logger$1.error("PayPal token exchange failed:", error);
|
|
75005
75005
|
throw new BetterAuthError("FAILED_TO_GET_ACCESS_TOKEN");
|
|
75006
75006
|
}
|
|
75007
75007
|
},
|
|
@@ -75029,7 +75029,7 @@ const paypal = (options) => {
|
|
|
75029
75029
|
accessTokenExpiresAt: data.expires_in ? new Date(Date.now() + data.expires_in * 1e3) : void 0
|
|
75030
75030
|
};
|
|
75031
75031
|
} catch (error) {
|
|
75032
|
-
logger$
|
|
75032
|
+
logger$1.error("PayPal token refresh failed:", error);
|
|
75033
75033
|
throw new BetterAuthError("FAILED_TO_REFRESH_ACCESS_TOKEN");
|
|
75034
75034
|
}
|
|
75035
75035
|
},
|
|
@@ -75039,14 +75039,14 @@ const paypal = (options) => {
|
|
|
75039
75039
|
try {
|
|
75040
75040
|
return !!decodeJwt(token).sub;
|
|
75041
75041
|
} catch (error) {
|
|
75042
|
-
logger$
|
|
75042
|
+
logger$1.error("Failed to verify PayPal ID token:", error);
|
|
75043
75043
|
return false;
|
|
75044
75044
|
}
|
|
75045
75045
|
},
|
|
75046
75046
|
async getUserInfo(token) {
|
|
75047
75047
|
if (options.getUserInfo) return options.getUserInfo(token);
|
|
75048
75048
|
if (!token.accessToken) {
|
|
75049
|
-
logger$
|
|
75049
|
+
logger$1.error("Access token is required to fetch PayPal user info");
|
|
75050
75050
|
return null;
|
|
75051
75051
|
}
|
|
75052
75052
|
try {
|
|
@@ -75055,7 +75055,7 @@ const paypal = (options) => {
|
|
|
75055
75055
|
Accept: "application/json"
|
|
75056
75056
|
} });
|
|
75057
75057
|
if (!response.data) {
|
|
75058
|
-
logger$
|
|
75058
|
+
logger$1.error("Failed to fetch user info from PayPal");
|
|
75059
75059
|
return null;
|
|
75060
75060
|
}
|
|
75061
75061
|
const userInfo = response.data;
|
|
@@ -75072,7 +75072,7 @@ const paypal = (options) => {
|
|
|
75072
75072
|
data: userInfo
|
|
75073
75073
|
};
|
|
75074
75074
|
} catch (error) {
|
|
75075
|
-
logger$
|
|
75075
|
+
logger$1.error("Failed to fetch user info from PayPal:", error);
|
|
75076
75076
|
return null;
|
|
75077
75077
|
}
|
|
75078
75078
|
},
|
|
@@ -75354,7 +75354,7 @@ const salesforce = (options) => {
|
|
|
75354
75354
|
name: "Salesforce",
|
|
75355
75355
|
async createAuthorizationURL({ state, scopes, codeVerifier, redirectURI }) {
|
|
75356
75356
|
if (!options.clientId || !options.clientSecret) {
|
|
75357
|
-
logger$
|
|
75357
|
+
logger$1.error("Client Id and Client Secret are required for Salesforce. Make sure to provide them in the options.");
|
|
75358
75358
|
throw new BetterAuthError("CLIENT_ID_AND_SECRET_REQUIRED");
|
|
75359
75359
|
}
|
|
75360
75360
|
if (!codeVerifier) throw new BetterAuthError("codeVerifier is required for Salesforce");
|
|
@@ -75399,7 +75399,7 @@ const salesforce = (options) => {
|
|
|
75399
75399
|
try {
|
|
75400
75400
|
const { data: user } = await betterFetch(userInfoEndpoint, { headers: { Authorization: `Bearer ${token.accessToken}` } });
|
|
75401
75401
|
if (!user) {
|
|
75402
|
-
logger$
|
|
75402
|
+
logger$1.error("Failed to fetch user info from Salesforce");
|
|
75403
75403
|
return null;
|
|
75404
75404
|
}
|
|
75405
75405
|
const userMap = await options.mapProfileToUser?.(user);
|
|
@@ -75415,7 +75415,7 @@ const salesforce = (options) => {
|
|
|
75415
75415
|
data: user
|
|
75416
75416
|
};
|
|
75417
75417
|
} catch (error) {
|
|
75418
|
-
logger$
|
|
75418
|
+
logger$1.error("Failed to fetch user info from Salesforce:", error);
|
|
75419
75419
|
return null;
|
|
75420
75420
|
}
|
|
75421
75421
|
},
|
|
@@ -75651,7 +75651,7 @@ const twitch = (options) => {
|
|
|
75651
75651
|
if (options.getUserInfo) return options.getUserInfo(token);
|
|
75652
75652
|
const idToken = token.idToken;
|
|
75653
75653
|
if (!idToken) {
|
|
75654
|
-
logger$
|
|
75654
|
+
logger$1.error("No idToken found in token");
|
|
75655
75655
|
return null;
|
|
75656
75656
|
}
|
|
75657
75657
|
const profile = decodeJwt(idToken);
|
|
@@ -76756,7 +76756,7 @@ init_env();
|
|
|
76756
76756
|
async function handleOAuthUserInfo(c, opts) {
|
|
76757
76757
|
const { userInfo, account, callbackURL, disableSignUp, overrideUserInfo } = opts;
|
|
76758
76758
|
const dbUser = await c.context.internalAdapter.findOAuthUser(userInfo.email.toLowerCase(), account.accountId, account.providerId).catch((e) => {
|
|
76759
|
-
logger$
|
|
76759
|
+
logger$1.error("Better auth was unable to query your database.\nError: ", e);
|
|
76760
76760
|
const errorURL = c.context.options.onAPIError?.errorURL || `${c.context.baseURL}/error`;
|
|
76761
76761
|
throw c.redirect(`${errorURL}?error=internal_server_error`);
|
|
76762
76762
|
});
|
|
@@ -76767,7 +76767,7 @@ async function handleOAuthUserInfo(c, opts) {
|
|
|
76767
76767
|
if (!linkedAccount) {
|
|
76768
76768
|
const accountLinking = c.context.options.account?.accountLinking;
|
|
76769
76769
|
if (!(opts.isTrustedProvider || c.context.trustedProviders.includes(account.providerId)) && !userInfo.emailVerified || accountLinking?.enabled === false || accountLinking?.disableImplicitLinking === true) {
|
|
76770
|
-
if (isDevelopment()) logger$
|
|
76770
|
+
if (isDevelopment()) logger$1.warn(`User already exist but account isn't linked to ${account.providerId}. To read more about how account linking works in Better Auth see https://www.better-auth.com/docs/concepts/users-accounts#account-linking.`);
|
|
76771
76771
|
return {
|
|
76772
76772
|
error: "account not linked",
|
|
76773
76773
|
data: null
|
|
@@ -76786,7 +76786,7 @@ async function handleOAuthUserInfo(c, opts) {
|
|
|
76786
76786
|
scope: account.scope
|
|
76787
76787
|
});
|
|
76788
76788
|
} catch (e) {
|
|
76789
|
-
logger$
|
|
76789
|
+
logger$1.error("Unable to link account", e);
|
|
76790
76790
|
return {
|
|
76791
76791
|
error: "unable to link account",
|
|
76792
76792
|
data: null
|
|
@@ -76851,7 +76851,7 @@ async function handleOAuthUserInfo(c, opts) {
|
|
|
76851
76851
|
}, c.request));
|
|
76852
76852
|
}
|
|
76853
76853
|
} catch (e) {
|
|
76854
|
-
logger$
|
|
76854
|
+
logger$1.error(e);
|
|
76855
76855
|
if (isAPIError(e)) return {
|
|
76856
76856
|
error: e.message,
|
|
76857
76857
|
data: null,
|
|
@@ -79090,7 +79090,7 @@ const router = (ctx, options) => {
|
|
|
79090
79090
|
return;
|
|
79091
79091
|
}
|
|
79092
79092
|
const optLogLevel = options.logger?.level;
|
|
79093
|
-
const log = optLogLevel === "error" || optLogLevel === "warn" || optLogLevel === "debug" ? logger$
|
|
79093
|
+
const log = optLogLevel === "error" || optLogLevel === "warn" || optLogLevel === "debug" ? logger$1 : void 0;
|
|
79094
79094
|
if (options.logger?.disabled !== true) {
|
|
79095
79095
|
if (e && typeof e === "object" && "message" in e && typeof e.message === "string") {
|
|
79096
79096
|
if (e.message.includes("no column") || e.message.includes("column") || e.message.includes("relation") || e.message.includes("table") || e.message.includes("does not exist")) {
|
|
@@ -79226,7 +79226,7 @@ var init_get_id_field = __esmMin((() => {
|
|
|
79226
79226
|
if (forceAllowId && typeof value === "string") if (/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(value)) return value;
|
|
79227
79227
|
else {
|
|
79228
79228
|
const stack = (/* @__PURE__ */ new Error()).stack?.split("\n").filter((_, i) => i !== 1).join("\n").replace("Error:", "");
|
|
79229
|
-
logger$
|
|
79229
|
+
logger$1.warn("[Adapter Factory] - Invalid UUID value for field `id` provided when `forceAllowId` is true. Generating a new UUID.", stack);
|
|
79230
79230
|
}
|
|
79231
79231
|
if (typeof value !== "string" && !supportsUUIDs) return crypto.randomUUID();
|
|
79232
79232
|
return;
|
|
@@ -80166,7 +80166,7 @@ var init_dist$2 = __esmMin((() => {
|
|
|
80166
80166
|
const baseRecords = (() => {
|
|
80167
80167
|
const table = db[model];
|
|
80168
80168
|
if (!table) {
|
|
80169
|
-
logger$
|
|
80169
|
+
logger$1.error(`[MemoryAdapter] Model ${model} not found in the DB`, Object.keys(db));
|
|
80170
80170
|
throw new Error(`Model ${model} not found`);
|
|
80171
80171
|
}
|
|
80172
80172
|
const evalClause = (record, clause) => {
|
|
@@ -80227,7 +80227,7 @@ var init_dist$2 = __esmMin((() => {
|
|
|
80227
80227
|
const joinModelName = getModelName(joinModel);
|
|
80228
80228
|
const joinTable = db[joinModelName];
|
|
80229
80229
|
if (!joinTable) {
|
|
80230
|
-
logger$
|
|
80230
|
+
logger$1.error(`[MemoryAdapter] JoinOption model ${joinModelName} not found in the DB`, Object.keys(db));
|
|
80231
80231
|
throw new Error(`JoinOption model ${joinModelName} not found`);
|
|
80232
80232
|
}
|
|
80233
80233
|
const matchingRecords = joinTable.filter((joinRecord) => joinRecord[joinAttr.on.to] === baseRecord[joinAttr.on.from]);
|
|
@@ -80342,7 +80342,7 @@ async function getBaseAdapter(options, handleDirectDatabase) {
|
|
|
80342
80342
|
} else if (typeof options.database === "function") adapter = options.database(options);
|
|
80343
80343
|
else adapter = await handleDirectDatabase(options);
|
|
80344
80344
|
if (!adapter.transaction) {
|
|
80345
|
-
logger$
|
|
80345
|
+
logger$1.warn("Adapter does not correctly implement transaction function, patching it automatically. Please update your adapter implementation.");
|
|
80346
80346
|
adapter.transaction = async (cb) => {
|
|
80347
80347
|
return cb(adapter);
|
|
80348
80348
|
};
|
|
@@ -98719,12 +98719,12 @@ async function createTelemetry(options, context) {
|
|
|
98719
98719
|
const telemetryEndpoint = ENV.BETTER_AUTH_TELEMETRY_ENDPOINT;
|
|
98720
98720
|
if (!telemetryEndpoint && !context?.customTrack) return { publish: noop$1 };
|
|
98721
98721
|
const track = async (event) => {
|
|
98722
|
-
if (context?.customTrack) await context.customTrack(event).catch(logger$
|
|
98723
|
-
else if (telemetryEndpoint) if (debugEnabled) logger$
|
|
98722
|
+
if (context?.customTrack) await context.customTrack(event).catch(logger$1.error);
|
|
98723
|
+
else if (telemetryEndpoint) if (debugEnabled) logger$1.info("telemetry event", JSON.stringify(event, null, 2));
|
|
98724
98724
|
else await betterFetch(telemetryEndpoint, {
|
|
98725
98725
|
method: "POST",
|
|
98726
98726
|
body: event
|
|
98727
|
-
}).catch(logger$
|
|
98727
|
+
}).catch(logger$1.error);
|
|
98728
98728
|
};
|
|
98729
98729
|
const isEnabled = async () => {
|
|
98730
98730
|
const telemetryEnabled = options.telemetry?.enabled !== void 0 ? options.telemetry.enabled : false;
|
|
@@ -99252,8 +99252,8 @@ const drizzleAdapter = (db, config) => {
|
|
|
99252
99252
|
if (options.experimental?.joins) {
|
|
99253
99253
|
const queryModel = getQueryModel(model);
|
|
99254
99254
|
if (!db.query || !queryModel) {
|
|
99255
|
-
logger$
|
|
99256
|
-
logger$
|
|
99255
|
+
logger$1.error(`[# Drizzle Adapter]: The model "${model}" was not found in the query object. Please update your Drizzle schema to include relations or re-generate using "npx auth@latest generate".`);
|
|
99256
|
+
logger$1.info("Falling back to regular query");
|
|
99257
99257
|
} else {
|
|
99258
99258
|
let includes;
|
|
99259
99259
|
const pluralJoinResults = [];
|
|
@@ -99307,8 +99307,8 @@ const drizzleAdapter = (db, config) => {
|
|
|
99307
99307
|
if (options.experimental?.joins) {
|
|
99308
99308
|
const queryModel = getQueryModel(model);
|
|
99309
99309
|
if (!queryModel) {
|
|
99310
|
-
logger$
|
|
99311
|
-
logger$
|
|
99310
|
+
logger$1.error(`[# Drizzle Adapter]: The model "${model}" was not found in the query object. Please update your Drizzle schema to include relations or re-generate using "npx auth@latest generate".`);
|
|
99311
|
+
logger$1.info("Falling back to regular query");
|
|
99312
99312
|
} else {
|
|
99313
99313
|
let includes;
|
|
99314
99314
|
const pluralJoinResults = [];
|
|
@@ -99399,7 +99399,7 @@ const drizzleAdapter = (db, config) => {
|
|
|
99399
99399
|
if (res && "rowCount" in res) count = res.rowCount;
|
|
99400
99400
|
else if (Array.isArray(res)) count = res.length;
|
|
99401
99401
|
else if (res && ("affectedRows" in res || "rowsAffected" in res || "changes" in res)) count = res.affectedRows ?? res.rowsAffected ?? res.changes;
|
|
99402
|
-
if (typeof count !== "number") logger$
|
|
99402
|
+
if (typeof count !== "number") logger$1.error("[Drizzle Adapter] The result of the deleteMany operation is not a number. This is likely a bug in the adapter. Please report this issue to the Better Auth team.", {
|
|
99403
99403
|
res,
|
|
99404
99404
|
model,
|
|
99405
99405
|
where
|
|
@@ -115992,6 +115992,44 @@ var fs_lite_default = defineDriver((opts = {}) => {
|
|
|
115992
115992
|
};
|
|
115993
115993
|
});
|
|
115994
115994
|
//#endregion
|
|
115995
|
+
//#region node_modules/.bun/@hono+structured-logger@0.1.0+6e90117f666a3766/node_modules/@hono/structured-logger/dist/index.js
|
|
115996
|
+
const now = typeof performance !== "undefined" ? () => performance.now() : () => Date.now();
|
|
115997
|
+
function defaultOnRequest(logger, c) {
|
|
115998
|
+
logger.info({
|
|
115999
|
+
method: c.req.method,
|
|
116000
|
+
path: c.req.path
|
|
116001
|
+
}, "request start");
|
|
116002
|
+
}
|
|
116003
|
+
function defaultOnResponse(logger, c, elapsedMs) {
|
|
116004
|
+
logger.info({
|
|
116005
|
+
method: c.req.method,
|
|
116006
|
+
path: c.req.path,
|
|
116007
|
+
status: c.res.status,
|
|
116008
|
+
elapsedMs
|
|
116009
|
+
}, "request end");
|
|
116010
|
+
}
|
|
116011
|
+
function defaultOnError(logger, err, c) {
|
|
116012
|
+
logger.error({
|
|
116013
|
+
err,
|
|
116014
|
+
method: c.req.method,
|
|
116015
|
+
path: c.req.path,
|
|
116016
|
+
status: c.res.status
|
|
116017
|
+
}, "request error");
|
|
116018
|
+
}
|
|
116019
|
+
function structuredLogger(options) {
|
|
116020
|
+
const { createLogger, contextKey = "logger", onRequest = defaultOnRequest, onResponse = defaultOnResponse, onError = defaultOnError } = options;
|
|
116021
|
+
return async (c, next) => {
|
|
116022
|
+
const logger = createLogger(c);
|
|
116023
|
+
c.set(contextKey, logger);
|
|
116024
|
+
const start = now();
|
|
116025
|
+
await onRequest(logger, c);
|
|
116026
|
+
await next();
|
|
116027
|
+
const elapsed = now() - start;
|
|
116028
|
+
if (c.error) await onError(logger, c.error instanceof Error ? c.error : new Error(String(c.error)), c);
|
|
116029
|
+
else await onResponse(logger, c, elapsed);
|
|
116030
|
+
};
|
|
116031
|
+
}
|
|
116032
|
+
//#endregion
|
|
115995
116033
|
//#region packages/base/src/device-auth.ts
|
|
115996
116034
|
const DEVICE_USER_CODE_PATTERN = new RegExp(`^[A-Z0-9]{8}$`);
|
|
115997
116035
|
function normalizeDeviceUserCode(value) {
|
|
@@ -123865,6 +123903,79 @@ const auditListResponseSchema = object$1({
|
|
|
123865
123903
|
projectionLag: auditProjectionLagSchema,
|
|
123866
123904
|
projectedThrough: auditProjectedThroughSchema
|
|
123867
123905
|
}).strict();
|
|
123906
|
+
const auditPayloadBytesSchema = object$1({
|
|
123907
|
+
base64: string$3(),
|
|
123908
|
+
byteLength: number$4().int().nonnegative()
|
|
123909
|
+
}).strict();
|
|
123910
|
+
const auditWorkflowCommandTraceSchema = object$1({
|
|
123911
|
+
actor: auditOriginActorSchema,
|
|
123912
|
+
causedByEventId: string$3().nullable(),
|
|
123913
|
+
commandInvocationId: string$3(),
|
|
123914
|
+
commandPayload: auditPayloadBytesSchema,
|
|
123915
|
+
commandType: string$3(),
|
|
123916
|
+
createdAt: datetime$2(),
|
|
123917
|
+
decodedPayload: unknown$1().nullable(),
|
|
123918
|
+
decisionKind: string$3(),
|
|
123919
|
+
id: string$3(),
|
|
123920
|
+
rejectCode: string$3().nullable(),
|
|
123921
|
+
rejectDetail: string$3().nullable(),
|
|
123922
|
+
requestId: string$3(),
|
|
123923
|
+
surface: string$3()
|
|
123924
|
+
}).strict();
|
|
123925
|
+
const auditWorkflowEventTraceSchema = object$1({
|
|
123926
|
+
commandId: string$3(),
|
|
123927
|
+
commitPosition: string$3(),
|
|
123928
|
+
eventType: string$3(),
|
|
123929
|
+
id: string$3(),
|
|
123930
|
+
occurredAt: datetime$2(),
|
|
123931
|
+
payload: auditPayloadBytesSchema,
|
|
123932
|
+
decodedPayload: unknown$1().nullable(),
|
|
123933
|
+
sequence: number$4().int().positive()
|
|
123934
|
+
}).strict();
|
|
123935
|
+
const auditDetailBaseSchema = object$1({
|
|
123936
|
+
commands: array$1(auditWorkflowCommandTraceSchema),
|
|
123937
|
+
events: array$1(auditWorkflowEventTraceSchema),
|
|
123938
|
+
feedEntry: auditListItemSchema
|
|
123939
|
+
}).strict();
|
|
123940
|
+
const auditQueryActionDetailSchema = auditDetailBaseSchema.extend({
|
|
123941
|
+
action: object$1({
|
|
123942
|
+
completedAt: datetime$2().nullable(),
|
|
123943
|
+
failureCode: _enum$2(AUDIT_QUERY_ACTION_FAILURE_CODES).nullable(),
|
|
123944
|
+
id: string$3(),
|
|
123945
|
+
lastEventId: string$3(),
|
|
123946
|
+
lastEventSequence: number$4().int().positive(),
|
|
123947
|
+
outcome: _enum$2(AUDIT_OUTCOMES),
|
|
123948
|
+
phase: _enum$2(AUDIT_QUERY_ACTION_PHASES),
|
|
123949
|
+
queryMode: string$3(),
|
|
123950
|
+
queryText: string$3(),
|
|
123951
|
+
sourceDescriptor: unknown$1().nullable(),
|
|
123952
|
+
startedAt: datetime$2(),
|
|
123953
|
+
usageRecordingStatus: _enum$2(AUDIT_QUERY_ACTION_USAGE_RECORDING_STATUSES),
|
|
123954
|
+
validatedQuery: string$3().nullable()
|
|
123955
|
+
}).strict(),
|
|
123956
|
+
family: literal$1("query_action")
|
|
123957
|
+
}).strict();
|
|
123958
|
+
const auditSourceApiActionDetailSchema = auditDetailBaseSchema.extend({
|
|
123959
|
+
action: object$1({
|
|
123960
|
+
attemptNumber: number$4().int().nullable(),
|
|
123961
|
+
completedAt: datetime$2().nullable(),
|
|
123962
|
+
failureCode: _enum$2(AUDIT_SOURCE_API_ACTION_FAILURE_CODES).nullable(),
|
|
123963
|
+
id: string$3(),
|
|
123964
|
+
invokeMode: _enum$2(AUDIT_SOURCE_API_ACTION_INVOKE_MODES).nullable(),
|
|
123965
|
+
lastEventId: string$3(),
|
|
123966
|
+
lastEventSequence: number$4().int().positive(),
|
|
123967
|
+
outcome: _enum$2(AUDIT_OUTCOMES),
|
|
123968
|
+
pageProgress: unknown$1().nullable(),
|
|
123969
|
+
phase: _enum$2(AUDIT_SOURCE_API_ACTION_PHASES),
|
|
123970
|
+
preparedRequestFingerprint: string$3().nullable(),
|
|
123971
|
+
requestDescriptor: unknown$1().nullable(),
|
|
123972
|
+
requestKind: string$3(),
|
|
123973
|
+
sourceDescriptor: unknown$1().nullable(),
|
|
123974
|
+
startedAt: datetime$2()
|
|
123975
|
+
}).strict(),
|
|
123976
|
+
family: literal$1("source_api_action")
|
|
123977
|
+
}).strict();
|
|
123978
|
+
const auditActionDetailSchema = discriminatedUnion$1("family", [auditQueryActionDetailSchema, auditSourceApiActionDetailSchema]);
|
|
123868
123979
|
//#endregion
|
|
123869
123980
|
//#region packages/server/src/audit/feed/cursor.ts
|
|
123870
123981
|
function buildAuditFeedId(family, familyActionId) {
|
|
@@ -123926,20 +124037,6 @@ function formatAuditFeedProjectionCorruptPayloadDiagnostic(input) {
|
|
|
123926
124037
|
].join(" ");
|
|
123927
124038
|
}
|
|
123928
124039
|
//#endregion
|
|
123929
|
-
//#region packages/server/src/audit/feed/constants.ts
|
|
123930
|
-
const AUDIT_FEED_PROJECTION_NAME = "audit_feed_entries";
|
|
123931
|
-
//#endregion
|
|
123932
|
-
//#region packages/server/src/audit/feed/filtering.ts
|
|
123933
|
-
function escapeLikePattern(value) {
|
|
123934
|
-
return value.replaceAll("\\", "\\\\").replaceAll("%", "\\%").replaceAll("_", "\\_");
|
|
123935
|
-
}
|
|
123936
|
-
function buildCaseInsensitiveContains(column, value) {
|
|
123937
|
-
return sql$1`lower(coalesce(${column}, '')) like ${`%${escapeLikePattern(value.toLowerCase())}%`} escape '\\'`;
|
|
123938
|
-
}
|
|
123939
|
-
function buildCaseInsensitiveEquals(column, value) {
|
|
123940
|
-
return sql$1`lower(coalesce(${column}, '')) = ${value.toLowerCase()}`;
|
|
123941
|
-
}
|
|
123942
|
-
//#endregion
|
|
123943
124040
|
//#region packages/proto-workflow/src/buf/validate/validate_pb.ts
|
|
123944
124041
|
/**
|
|
123945
124042
|
* Describes the file buf/validate/validate.proto.
|
|
@@ -124552,6 +124649,417 @@ let QueryActionQueryLogicalType = /* @__PURE__ */ function(QueryActionQueryLogic
|
|
|
124552
124649
|
*/
|
|
124553
124650
|
const QueryActionQueryLogicalTypeSchema = enumDesc(file_onequery_workflow_v1_query_action, 1);
|
|
124554
124651
|
//#endregion
|
|
124652
|
+
//#region packages/proto-workflow/src/onequery/workflow/v1/source_api_action_pb.ts
|
|
124653
|
+
/**
|
|
124654
|
+
* Describes the file onequery/workflow/v1/source_api_action.proto.
|
|
124655
|
+
*/
|
|
124656
|
+
const file_onequery_workflow_v1_source_api_action = fileDesc("CixvbmVxdWVyeS93b3JrZmxvdy92MS9zb3VyY2VfYXBpX2FjdGlvbi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05fRkFJTFVSRV9DT0RFX0lOVkFMSURfUkVRVUVTVBADEjQKMFNPVVJDRV9BUElfQUNUSU9OX0ZBSUxVUkVfQ09ERV9QRVJNSVNTSU9OX0RFTklFRBAEEjQKMFNPVVJDRV9BUElfQUNUSU9OX0ZBSUxVUkVfQ09ERV9SRVFVRVNUX1RJTUVEX09VVBAFEjMKL1NPVVJDRV9BUElfQUNUSU9OX0ZBSUxVUkVfQ09ERV9FWEVDVVRJT05fRkFJTEVEEAYSOgo2U09VUkNFX0FQSV9BQ1RJT05fRkFJTFVSRV9DT0RFX0VYRUNVVElPTl9TVEFURV9JTlZBTElEEAdiCGVkaXRpb25zcOgH", [
|
|
124657
|
+
file_buf_validate_validate,
|
|
124658
|
+
file_google_protobuf_struct,
|
|
124659
|
+
file_onequery_workflow_v1_common
|
|
124660
|
+
]);
|
|
124661
|
+
/**
|
|
124662
|
+
* Describes the message onequery.workflow.v1.SourceApiActionCommandPayload.
|
|
124663
|
+
* Use `create(SourceApiActionCommandPayloadSchema)` to create a new message.
|
|
124664
|
+
*/
|
|
124665
|
+
const SourceApiActionCommandPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 0);
|
|
124666
|
+
/**
|
|
124667
|
+
* Describes the message onequery.workflow.v1.SourceApiActionEventPayload.
|
|
124668
|
+
* Use `create(SourceApiActionEventPayloadSchema)` to create a new message.
|
|
124669
|
+
*/
|
|
124670
|
+
const SourceApiActionEventPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 1);
|
|
124671
|
+
/**
|
|
124672
|
+
* Describes the message onequery.workflow.v1.SourceApiActionEffectPayload.
|
|
124673
|
+
* Use `create(SourceApiActionEffectPayloadSchema)` to create a new message.
|
|
124674
|
+
*/
|
|
124675
|
+
const SourceApiActionEffectPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 2);
|
|
124676
|
+
/**
|
|
124677
|
+
* Describes the message onequery.workflow.v1.SourceApiActionStartDescribeCommand.
|
|
124678
|
+
* Use `create(SourceApiActionStartDescribeCommandSchema)` to create a new message.
|
|
124679
|
+
*/
|
|
124680
|
+
const SourceApiActionStartDescribeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 3);
|
|
124681
|
+
/**
|
|
124682
|
+
* Describes the message onequery.workflow.v1.SourceApiActionStartInvokeCommand.
|
|
124683
|
+
* Use `create(SourceApiActionStartInvokeCommandSchema)` to create a new message.
|
|
124684
|
+
*/
|
|
124685
|
+
const SourceApiActionStartInvokeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 4);
|
|
124686
|
+
/**
|
|
124687
|
+
* Describes the message onequery.workflow.v1.SourceApiActionResumeInvokeCommand.
|
|
124688
|
+
* Use `create(SourceApiActionResumeInvokeCommandSchema)` to create a new message.
|
|
124689
|
+
*/
|
|
124690
|
+
const SourceApiActionResumeInvokeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 5);
|
|
124691
|
+
/**
|
|
124692
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordSourceFoundCommand.
|
|
124693
|
+
* Use `create(SourceApiActionRecordSourceFoundCommandSchema)` to create a new message.
|
|
124694
|
+
*/
|
|
124695
|
+
const SourceApiActionRecordSourceFoundCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 6);
|
|
124696
|
+
/**
|
|
124697
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordSourceNotFoundCommand.
|
|
124698
|
+
* Use `create(SourceApiActionRecordSourceNotFoundCommandSchema)` to create a new message.
|
|
124699
|
+
*/
|
|
124700
|
+
const SourceApiActionRecordSourceNotFoundCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 7);
|
|
124701
|
+
/**
|
|
124702
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordDescriptorResolvedCommand.
|
|
124703
|
+
* Use `create(SourceApiActionRecordDescriptorResolvedCommandSchema)` to create a new message.
|
|
124704
|
+
*/
|
|
124705
|
+
const SourceApiActionRecordDescriptorResolvedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 8);
|
|
124706
|
+
/**
|
|
124707
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordDescriptorResolutionFailedCommand.
|
|
124708
|
+
* Use `create(SourceApiActionRecordDescriptorResolutionFailedCommandSchema)` to create a new message.
|
|
124709
|
+
*/
|
|
124710
|
+
const SourceApiActionRecordDescriptorResolutionFailedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 9);
|
|
124711
|
+
/**
|
|
124712
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordRequestPreparedCommand.
|
|
124713
|
+
* Use `create(SourceApiActionRecordRequestPreparedCommandSchema)` to create a new message.
|
|
124714
|
+
*/
|
|
124715
|
+
const SourceApiActionRecordRequestPreparedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 10);
|
|
124716
|
+
/**
|
|
124717
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordRequestPreparationFailedCommand.
|
|
124718
|
+
* Use `create(SourceApiActionRecordRequestPreparationFailedCommandSchema)` to create a new message.
|
|
124719
|
+
*/
|
|
124720
|
+
const SourceApiActionRecordRequestPreparationFailedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 11);
|
|
124721
|
+
/**
|
|
124722
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordPageFetchSucceededCommand.
|
|
124723
|
+
* Use `create(SourceApiActionRecordPageFetchSucceededCommandSchema)` to create a new message.
|
|
124724
|
+
*/
|
|
124725
|
+
const SourceApiActionRecordPageFetchSucceededCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 12);
|
|
124726
|
+
/**
|
|
124727
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRecordPageFetchTerminalFailureCommand.
|
|
124728
|
+
* Use `create(SourceApiActionRecordPageFetchTerminalFailureCommandSchema)` to create a new message.
|
|
124729
|
+
*/
|
|
124730
|
+
const SourceApiActionRecordPageFetchTerminalFailureCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 13);
|
|
124731
|
+
/**
|
|
124732
|
+
* Describes the message onequery.workflow.v1.SourceApiActionReceivedEvent.
|
|
124733
|
+
* Use `create(SourceApiActionReceivedEventSchema)` to create a new message.
|
|
124734
|
+
*/
|
|
124735
|
+
const SourceApiActionReceivedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 14);
|
|
124736
|
+
/**
|
|
124737
|
+
* Describes the message onequery.workflow.v1.SourceApiActionSourceLoadedEvent.
|
|
124738
|
+
* Use `create(SourceApiActionSourceLoadedEventSchema)` to create a new message.
|
|
124739
|
+
*/
|
|
124740
|
+
const SourceApiActionSourceLoadedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 15);
|
|
124741
|
+
/**
|
|
124742
|
+
* Describes the message onequery.workflow.v1.SourceApiActionSourceNotFoundEvent.
|
|
124743
|
+
* Use `create(SourceApiActionSourceNotFoundEventSchema)` to create a new message.
|
|
124744
|
+
*/
|
|
124745
|
+
const SourceApiActionSourceNotFoundEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 16);
|
|
124746
|
+
/**
|
|
124747
|
+
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorResolvedEvent.
|
|
124748
|
+
* Use `create(SourceApiActionDescriptorResolvedEventSchema)` to create a new message.
|
|
124749
|
+
*/
|
|
124750
|
+
const SourceApiActionDescriptorResolvedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 17);
|
|
124751
|
+
/**
|
|
124752
|
+
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorResolutionFailedEvent.
|
|
124753
|
+
* Use `create(SourceApiActionDescriptorResolutionFailedEventSchema)` to create a new message.
|
|
124754
|
+
*/
|
|
124755
|
+
const SourceApiActionDescriptorResolutionFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 18);
|
|
124756
|
+
/**
|
|
124757
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRequestPreparedEvent.
|
|
124758
|
+
* Use `create(SourceApiActionRequestPreparedEventSchema)` to create a new message.
|
|
124759
|
+
*/
|
|
124760
|
+
const SourceApiActionRequestPreparedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 19);
|
|
124761
|
+
/**
|
|
124762
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRequestPreparationFailedEvent.
|
|
124763
|
+
* Use `create(SourceApiActionRequestPreparationFailedEventSchema)` to create a new message.
|
|
124764
|
+
*/
|
|
124765
|
+
const SourceApiActionRequestPreparationFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 20);
|
|
124766
|
+
/**
|
|
124767
|
+
* Describes the message onequery.workflow.v1.SourceApiActionResumeRequestedEvent.
|
|
124768
|
+
* Use `create(SourceApiActionResumeRequestedEventSchema)` to create a new message.
|
|
124769
|
+
*/
|
|
124770
|
+
const SourceApiActionResumeRequestedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 21);
|
|
124771
|
+
/**
|
|
124772
|
+
* Describes the message onequery.workflow.v1.SourceApiActionPageFetchSucceededEvent.
|
|
124773
|
+
* Use `create(SourceApiActionPageFetchSucceededEventSchema)` to create a new message.
|
|
124774
|
+
*/
|
|
124775
|
+
const SourceApiActionPageFetchSucceededEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 22);
|
|
124776
|
+
/**
|
|
124777
|
+
* Describes the message onequery.workflow.v1.SourceApiActionPageFetchFailedEvent.
|
|
124778
|
+
* Use `create(SourceApiActionPageFetchFailedEventSchema)` to create a new message.
|
|
124779
|
+
*/
|
|
124780
|
+
const SourceApiActionPageFetchFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 23);
|
|
124781
|
+
/**
|
|
124782
|
+
* Describes the message onequery.workflow.v1.SourceApiActionLoadSourceEffect.
|
|
124783
|
+
* Use `create(SourceApiActionLoadSourceEffectSchema)` to create a new message.
|
|
124784
|
+
*/
|
|
124785
|
+
const SourceApiActionLoadSourceEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 24);
|
|
124786
|
+
/**
|
|
124787
|
+
* Describes the message onequery.workflow.v1.SourceApiActionResolveDescriptorEffect.
|
|
124788
|
+
* Use `create(SourceApiActionResolveDescriptorEffectSchema)` to create a new message.
|
|
124789
|
+
*/
|
|
124790
|
+
const SourceApiActionResolveDescriptorEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 25);
|
|
124791
|
+
/**
|
|
124792
|
+
* Describes the message onequery.workflow.v1.SourceApiActionPrepareRequestEffect.
|
|
124793
|
+
* Use `create(SourceApiActionPrepareRequestEffectSchema)` to create a new message.
|
|
124794
|
+
*/
|
|
124795
|
+
const SourceApiActionPrepareRequestEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 26);
|
|
124796
|
+
/**
|
|
124797
|
+
* Describes the message onequery.workflow.v1.SourceApiActionExecutePageEffect.
|
|
124798
|
+
* Use `create(SourceApiActionExecutePageEffectSchema)` to create a new message.
|
|
124799
|
+
*/
|
|
124800
|
+
const SourceApiActionExecutePageEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 27);
|
|
124801
|
+
/**
|
|
124802
|
+
* Describes the message onequery.workflow.v1.SourceApiActionSourceDescriptor.
|
|
124803
|
+
* Use `create(SourceApiActionSourceDescriptorSchema)` to create a new message.
|
|
124804
|
+
*/
|
|
124805
|
+
const SourceApiActionSourceDescriptorSchema$1 = messageDesc(file_onequery_workflow_v1_source_api_action, 28);
|
|
124806
|
+
/**
|
|
124807
|
+
* Describes the message onequery.workflow.v1.SourceApiActionRequestDescriptor.
|
|
124808
|
+
* Use `create(SourceApiActionRequestDescriptorSchema)` to create a new message.
|
|
124809
|
+
*/
|
|
124810
|
+
const SourceApiActionRequestDescriptorSchema$1 = messageDesc(file_onequery_workflow_v1_source_api_action, 29);
|
|
124811
|
+
/**
|
|
124812
|
+
* Describes the message onequery.workflow.v1.SourceApiActionDescriptor.
|
|
124813
|
+
* Use `create(SourceApiActionDescriptorSchema)` to create a new message.
|
|
124814
|
+
*/
|
|
124815
|
+
const SourceApiActionDescriptorSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 30);
|
|
124816
|
+
/**
|
|
124817
|
+
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorSource.
|
|
124818
|
+
* Use `create(SourceApiActionDescriptorSourceSchema)` to create a new message.
|
|
124819
|
+
*/
|
|
124820
|
+
const SourceApiActionDescriptorSourceSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 31);
|
|
124821
|
+
/**
|
|
124822
|
+
* Describes the message onequery.workflow.v1.SourceApiActionOperation.
|
|
124823
|
+
* Use `create(SourceApiActionOperationSchema)` to create a new message.
|
|
124824
|
+
*/
|
|
124825
|
+
const SourceApiActionOperationSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 32);
|
|
124826
|
+
/**
|
|
124827
|
+
* Describes the message onequery.workflow.v1.SourceApiActionMethodPolicy.
|
|
124828
|
+
* Use `create(SourceApiActionMethodPolicySchema)` to create a new message.
|
|
124829
|
+
*/
|
|
124830
|
+
const SourceApiActionMethodPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 33);
|
|
124831
|
+
/**
|
|
124832
|
+
* Describes the message onequery.workflow.v1.SourceApiActionFieldPolicy.
|
|
124833
|
+
* Use `create(SourceApiActionFieldPolicySchema)` to create a new message.
|
|
124834
|
+
*/
|
|
124835
|
+
const SourceApiActionFieldPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 34);
|
|
124836
|
+
/**
|
|
124837
|
+
* Describes the message onequery.workflow.v1.SourceApiActionHeaderPolicy.
|
|
124838
|
+
* Use `create(SourceApiActionHeaderPolicySchema)` to create a new message.
|
|
124839
|
+
*/
|
|
124840
|
+
const SourceApiActionHeaderPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 35);
|
|
124841
|
+
/**
|
|
124842
|
+
* Describes the message onequery.workflow.v1.SourceApiActionExample.
|
|
124843
|
+
* Use `create(SourceApiActionExampleSchema)` to create a new message.
|
|
124844
|
+
*/
|
|
124845
|
+
const SourceApiActionExampleSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 36);
|
|
124846
|
+
/**
|
|
124847
|
+
* Describes the message onequery.workflow.v1.WorkflowSourceHeader.
|
|
124848
|
+
* Use `create(WorkflowSourceHeaderSchema)` to create a new message.
|
|
124849
|
+
*/
|
|
124850
|
+
const WorkflowSourceHeaderSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 37);
|
|
124851
|
+
/**
|
|
124852
|
+
* Describes the message onequery.workflow.v1.SourceApiActionExecutionResult.
|
|
124853
|
+
* Use `create(SourceApiActionExecutionResultSchema)` to create a new message.
|
|
124854
|
+
*/
|
|
124855
|
+
const SourceApiActionExecutionResultSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 38);
|
|
124856
|
+
/**
|
|
124857
|
+
* Describes the message onequery.workflow.v1.SourceApiActionExecutionSource.
|
|
124858
|
+
* Use `create(SourceApiActionExecutionSourceSchema)` to create a new message.
|
|
124859
|
+
*/
|
|
124860
|
+
const SourceApiActionExecutionSourceSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 39);
|
|
124861
|
+
/**
|
|
124862
|
+
* Describes the message onequery.workflow.v1.SourceApiActionEmptyBody.
|
|
124863
|
+
* Use `create(SourceApiActionEmptyBodySchema)` to create a new message.
|
|
124864
|
+
*/
|
|
124865
|
+
const SourceApiActionEmptyBodySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 40);
|
|
124866
|
+
/**
|
|
124867
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionRequestKind
|
|
124868
|
+
*/
|
|
124869
|
+
let SourceApiActionRequestKind = /* @__PURE__ */ function(SourceApiActionRequestKind) {
|
|
124870
|
+
/**
|
|
124871
|
+
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_UNSPECIFIED = 0;
|
|
124872
|
+
*/
|
|
124873
|
+
SourceApiActionRequestKind[SourceApiActionRequestKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124874
|
+
/**
|
|
124875
|
+
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_DESCRIBE = 1;
|
|
124876
|
+
*/
|
|
124877
|
+
SourceApiActionRequestKind[SourceApiActionRequestKind["DESCRIBE"] = 1] = "DESCRIBE";
|
|
124878
|
+
/**
|
|
124879
|
+
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_INVOKE = 2;
|
|
124880
|
+
*/
|
|
124881
|
+
SourceApiActionRequestKind[SourceApiActionRequestKind["INVOKE"] = 2] = "INVOKE";
|
|
124882
|
+
return SourceApiActionRequestKind;
|
|
124883
|
+
}({});
|
|
124884
|
+
/**
|
|
124885
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionRequestKind.
|
|
124886
|
+
*/
|
|
124887
|
+
const SourceApiActionRequestKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 0);
|
|
124888
|
+
/**
|
|
124889
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionInvokeMode
|
|
124890
|
+
*/
|
|
124891
|
+
let SourceApiActionInvokeMode = /* @__PURE__ */ function(SourceApiActionInvokeMode) {
|
|
124892
|
+
/**
|
|
124893
|
+
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_UNSPECIFIED = 0;
|
|
124894
|
+
*/
|
|
124895
|
+
SourceApiActionInvokeMode[SourceApiActionInvokeMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124896
|
+
/**
|
|
124897
|
+
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_PREVIEW_ONLY = 1;
|
|
124898
|
+
*/
|
|
124899
|
+
SourceApiActionInvokeMode[SourceApiActionInvokeMode["PREVIEW_ONLY"] = 1] = "PREVIEW_ONLY";
|
|
124900
|
+
/**
|
|
124901
|
+
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_EXECUTE = 2;
|
|
124902
|
+
*/
|
|
124903
|
+
SourceApiActionInvokeMode[SourceApiActionInvokeMode["EXECUTE"] = 2] = "EXECUTE";
|
|
124904
|
+
return SourceApiActionInvokeMode;
|
|
124905
|
+
}({});
|
|
124906
|
+
/**
|
|
124907
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionInvokeMode.
|
|
124908
|
+
*/
|
|
124909
|
+
const SourceApiActionInvokeModeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 1);
|
|
124910
|
+
/**
|
|
124911
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionOperationKind
|
|
124912
|
+
*/
|
|
124913
|
+
let SourceApiActionOperationKind = /* @__PURE__ */ function(SourceApiActionOperationKind) {
|
|
124914
|
+
/**
|
|
124915
|
+
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_UNSPECIFIED = 0;
|
|
124916
|
+
*/
|
|
124917
|
+
SourceApiActionOperationKind[SourceApiActionOperationKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124918
|
+
/**
|
|
124919
|
+
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_HTTP_REQUEST = 1;
|
|
124920
|
+
*/
|
|
124921
|
+
SourceApiActionOperationKind[SourceApiActionOperationKind["HTTP_REQUEST"] = 1] = "HTTP_REQUEST";
|
|
124922
|
+
/**
|
|
124923
|
+
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_STRUCTURED_REQUEST = 2;
|
|
124924
|
+
*/
|
|
124925
|
+
SourceApiActionOperationKind[SourceApiActionOperationKind["STRUCTURED_REQUEST"] = 2] = "STRUCTURED_REQUEST";
|
|
124926
|
+
return SourceApiActionOperationKind;
|
|
124927
|
+
}({});
|
|
124928
|
+
/**
|
|
124929
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionOperationKind.
|
|
124930
|
+
*/
|
|
124931
|
+
const SourceApiActionOperationKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 2);
|
|
124932
|
+
/**
|
|
124933
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionSelectorKind
|
|
124934
|
+
*/
|
|
124935
|
+
let SourceApiActionSelectorKind = /* @__PURE__ */ function(SourceApiActionSelectorKind) {
|
|
124936
|
+
/**
|
|
124937
|
+
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_UNSPECIFIED = 0;
|
|
124938
|
+
*/
|
|
124939
|
+
SourceApiActionSelectorKind[SourceApiActionSelectorKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124940
|
+
/**
|
|
124941
|
+
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_NONE = 1;
|
|
124942
|
+
*/
|
|
124943
|
+
SourceApiActionSelectorKind[SourceApiActionSelectorKind["NONE"] = 1] = "NONE";
|
|
124944
|
+
/**
|
|
124945
|
+
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_PATH = 2;
|
|
124946
|
+
*/
|
|
124947
|
+
SourceApiActionSelectorKind[SourceApiActionSelectorKind["PATH"] = 2] = "PATH";
|
|
124948
|
+
/**
|
|
124949
|
+
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_IDENTIFIER = 3;
|
|
124950
|
+
*/
|
|
124951
|
+
SourceApiActionSelectorKind[SourceApiActionSelectorKind["IDENTIFIER"] = 3] = "IDENTIFIER";
|
|
124952
|
+
return SourceApiActionSelectorKind;
|
|
124953
|
+
}({});
|
|
124954
|
+
/**
|
|
124955
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionSelectorKind.
|
|
124956
|
+
*/
|
|
124957
|
+
const SourceApiActionSelectorKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 3);
|
|
124958
|
+
/**
|
|
124959
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionPaginationPolicy
|
|
124960
|
+
*/
|
|
124961
|
+
let SourceApiActionPaginationPolicy = /* @__PURE__ */ function(SourceApiActionPaginationPolicy) {
|
|
124962
|
+
/**
|
|
124963
|
+
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_UNSPECIFIED = 0;
|
|
124964
|
+
*/
|
|
124965
|
+
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124966
|
+
/**
|
|
124967
|
+
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_NONE = 1;
|
|
124968
|
+
*/
|
|
124969
|
+
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["NONE"] = 1] = "NONE";
|
|
124970
|
+
/**
|
|
124971
|
+
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_CONTINUATION_TOKEN = 2;
|
|
124972
|
+
*/
|
|
124973
|
+
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["CONTINUATION_TOKEN"] = 2] = "CONTINUATION_TOKEN";
|
|
124974
|
+
return SourceApiActionPaginationPolicy;
|
|
124975
|
+
}({});
|
|
124976
|
+
/**
|
|
124977
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionPaginationPolicy.
|
|
124978
|
+
*/
|
|
124979
|
+
const SourceApiActionPaginationPolicySchema = enumDesc(file_onequery_workflow_v1_source_api_action, 4);
|
|
124980
|
+
/**
|
|
124981
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionInputMode
|
|
124982
|
+
*/
|
|
124983
|
+
let SourceApiActionInputMode = /* @__PURE__ */ function(SourceApiActionInputMode) {
|
|
124984
|
+
/**
|
|
124985
|
+
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_UNSPECIFIED = 0;
|
|
124986
|
+
*/
|
|
124987
|
+
SourceApiActionInputMode[SourceApiActionInputMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
124988
|
+
/**
|
|
124989
|
+
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_NONE = 1;
|
|
124990
|
+
*/
|
|
124991
|
+
SourceApiActionInputMode[SourceApiActionInputMode["NONE"] = 1] = "NONE";
|
|
124992
|
+
/**
|
|
124993
|
+
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_REQUEST_OBJECT = 2;
|
|
124994
|
+
*/
|
|
124995
|
+
SourceApiActionInputMode[SourceApiActionInputMode["REQUEST_OBJECT"] = 2] = "REQUEST_OBJECT";
|
|
124996
|
+
/**
|
|
124997
|
+
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_REQUEST_BODY = 3;
|
|
124998
|
+
*/
|
|
124999
|
+
SourceApiActionInputMode[SourceApiActionInputMode["REQUEST_BODY"] = 3] = "REQUEST_BODY";
|
|
125000
|
+
return SourceApiActionInputMode;
|
|
125001
|
+
}({});
|
|
125002
|
+
/**
|
|
125003
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionInputMode.
|
|
125004
|
+
*/
|
|
125005
|
+
const SourceApiActionInputModeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 5);
|
|
125006
|
+
/**
|
|
125007
|
+
* @generated from enum onequery.workflow.v1.SourceApiActionFailureCode
|
|
125008
|
+
*/
|
|
125009
|
+
let SourceApiActionFailureCode = /* @__PURE__ */ function(SourceApiActionFailureCode) {
|
|
125010
|
+
/**
|
|
125011
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_UNSPECIFIED = 0;
|
|
125012
|
+
*/
|
|
125013
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125014
|
+
/**
|
|
125015
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_SOURCE_NOT_FOUND = 1;
|
|
125016
|
+
*/
|
|
125017
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["SOURCE_NOT_FOUND"] = 1] = "SOURCE_NOT_FOUND";
|
|
125018
|
+
/**
|
|
125019
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_DESCRIPTOR_UNAVAILABLE = 2;
|
|
125020
|
+
*/
|
|
125021
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["DESCRIPTOR_UNAVAILABLE"] = 2] = "DESCRIPTOR_UNAVAILABLE";
|
|
125022
|
+
/**
|
|
125023
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_INVALID_REQUEST = 3;
|
|
125024
|
+
*/
|
|
125025
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["INVALID_REQUEST"] = 3] = "INVALID_REQUEST";
|
|
125026
|
+
/**
|
|
125027
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_PERMISSION_DENIED = 4;
|
|
125028
|
+
*/
|
|
125029
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["PERMISSION_DENIED"] = 4] = "PERMISSION_DENIED";
|
|
125030
|
+
/**
|
|
125031
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_REQUEST_TIMED_OUT = 5;
|
|
125032
|
+
*/
|
|
125033
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["REQUEST_TIMED_OUT"] = 5] = "REQUEST_TIMED_OUT";
|
|
125034
|
+
/**
|
|
125035
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_EXECUTION_FAILED = 6;
|
|
125036
|
+
*/
|
|
125037
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["EXECUTION_FAILED"] = 6] = "EXECUTION_FAILED";
|
|
125038
|
+
/**
|
|
125039
|
+
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_EXECUTION_STATE_INVALID = 7;
|
|
125040
|
+
*/
|
|
125041
|
+
SourceApiActionFailureCode[SourceApiActionFailureCode["EXECUTION_STATE_INVALID"] = 7] = "EXECUTION_STATE_INVALID";
|
|
125042
|
+
return SourceApiActionFailureCode;
|
|
125043
|
+
}({});
|
|
125044
|
+
/**
|
|
125045
|
+
* Describes the enum onequery.workflow.v1.SourceApiActionFailureCode.
|
|
125046
|
+
*/
|
|
125047
|
+
const SourceApiActionFailureCodeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 6);
|
|
125048
|
+
//#endregion
|
|
125049
|
+
//#region packages/server/src/audit/feed/constants.ts
|
|
125050
|
+
const AUDIT_FEED_PROJECTION_NAME = "audit_feed_entries";
|
|
125051
|
+
//#endregion
|
|
125052
|
+
//#region packages/server/src/audit/feed/filtering.ts
|
|
125053
|
+
function escapeLikePattern(value) {
|
|
125054
|
+
return value.replaceAll("\\", "\\\\").replaceAll("%", "\\%").replaceAll("_", "\\_");
|
|
125055
|
+
}
|
|
125056
|
+
function buildCaseInsensitiveContains(column, value) {
|
|
125057
|
+
return sql$1`lower(coalesce(${column}, '')) like ${`%${escapeLikePattern(value.toLowerCase())}%`} escape '\\'`;
|
|
125058
|
+
}
|
|
125059
|
+
function buildCaseInsensitiveEquals(column, value) {
|
|
125060
|
+
return sql$1`lower(coalesce(${column}, '')) = ${value.toLowerCase()}`;
|
|
125061
|
+
}
|
|
125062
|
+
//#endregion
|
|
124555
125063
|
//#region packages/server/src/audit/feed/protobuf-utils.ts
|
|
124556
125064
|
function assertNever$7(value) {
|
|
124557
125065
|
throw new Error(`Unexpected workflow payload variant: ${String(value)}`);
|
|
@@ -125114,403 +125622,6 @@ function parseStoredQueryActionRow(row) {
|
|
|
125114
125622
|
});
|
|
125115
125623
|
}
|
|
125116
125624
|
//#endregion
|
|
125117
|
-
//#region packages/proto-workflow/src/onequery/workflow/v1/source_api_action_pb.ts
|
|
125118
|
-
/**
|
|
125119
|
-
* Describes the file onequery/workflow/v1/source_api_action.proto.
|
|
125120
|
-
*/
|
|
125121
|
-
const file_onequery_workflow_v1_source_api_action = fileDesc("CixvbmVxdWVyeS93b3JrZmxvdy92MS9zb3VyY2VfYXBpX2FjdGlvbi5wcm90bxIUb25lcXVlcnkud29ya2Zsb3cudjEinAkKHVNvdXJjZUFwaUFjdGlvbkNvbW1hbmRQYXlsb2FkElMKDnN0YXJ0X2Rlc2NyaWJlGAEgASgLMjkub25lcXVlcnkud29ya2Zsb3cudjEuU291cmNlQXBpQWN0aW9uU3RhcnREZXNjcmliZUNvbW1hbmRIABJPCgxzdGFydF9pbnZva2UYAiABKAsyNy5vbmVxdWVyeS53b3JrZmxvdy52MS5Tb3VyY2VBcGlBY3Rpb25TdGFydEludm9rZUNvbW1hbmRIABJRCg1yZXN1bWV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FX0VYRUNVVElPTl9TVEFURV9JTlZBTElEEAdiCGVkaXRpb25zcOgH", [
|
|
125122
|
-
file_buf_validate_validate,
|
|
125123
|
-
file_google_protobuf_struct,
|
|
125124
|
-
file_onequery_workflow_v1_common
|
|
125125
|
-
]);
|
|
125126
|
-
/**
|
|
125127
|
-
* Describes the message onequery.workflow.v1.SourceApiActionCommandPayload.
|
|
125128
|
-
* Use `create(SourceApiActionCommandPayloadSchema)` to create a new message.
|
|
125129
|
-
*/
|
|
125130
|
-
const SourceApiActionCommandPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 0);
|
|
125131
|
-
/**
|
|
125132
|
-
* Describes the message onequery.workflow.v1.SourceApiActionEventPayload.
|
|
125133
|
-
* Use `create(SourceApiActionEventPayloadSchema)` to create a new message.
|
|
125134
|
-
*/
|
|
125135
|
-
const SourceApiActionEventPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 1);
|
|
125136
|
-
/**
|
|
125137
|
-
* Describes the message onequery.workflow.v1.SourceApiActionEffectPayload.
|
|
125138
|
-
* Use `create(SourceApiActionEffectPayloadSchema)` to create a new message.
|
|
125139
|
-
*/
|
|
125140
|
-
const SourceApiActionEffectPayloadSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 2);
|
|
125141
|
-
/**
|
|
125142
|
-
* Describes the message onequery.workflow.v1.SourceApiActionStartDescribeCommand.
|
|
125143
|
-
* Use `create(SourceApiActionStartDescribeCommandSchema)` to create a new message.
|
|
125144
|
-
*/
|
|
125145
|
-
const SourceApiActionStartDescribeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 3);
|
|
125146
|
-
/**
|
|
125147
|
-
* Describes the message onequery.workflow.v1.SourceApiActionStartInvokeCommand.
|
|
125148
|
-
* Use `create(SourceApiActionStartInvokeCommandSchema)` to create a new message.
|
|
125149
|
-
*/
|
|
125150
|
-
const SourceApiActionStartInvokeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 4);
|
|
125151
|
-
/**
|
|
125152
|
-
* Describes the message onequery.workflow.v1.SourceApiActionResumeInvokeCommand.
|
|
125153
|
-
* Use `create(SourceApiActionResumeInvokeCommandSchema)` to create a new message.
|
|
125154
|
-
*/
|
|
125155
|
-
const SourceApiActionResumeInvokeCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 5);
|
|
125156
|
-
/**
|
|
125157
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordSourceFoundCommand.
|
|
125158
|
-
* Use `create(SourceApiActionRecordSourceFoundCommandSchema)` to create a new message.
|
|
125159
|
-
*/
|
|
125160
|
-
const SourceApiActionRecordSourceFoundCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 6);
|
|
125161
|
-
/**
|
|
125162
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordSourceNotFoundCommand.
|
|
125163
|
-
* Use `create(SourceApiActionRecordSourceNotFoundCommandSchema)` to create a new message.
|
|
125164
|
-
*/
|
|
125165
|
-
const SourceApiActionRecordSourceNotFoundCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 7);
|
|
125166
|
-
/**
|
|
125167
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordDescriptorResolvedCommand.
|
|
125168
|
-
* Use `create(SourceApiActionRecordDescriptorResolvedCommandSchema)` to create a new message.
|
|
125169
|
-
*/
|
|
125170
|
-
const SourceApiActionRecordDescriptorResolvedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 8);
|
|
125171
|
-
/**
|
|
125172
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordDescriptorResolutionFailedCommand.
|
|
125173
|
-
* Use `create(SourceApiActionRecordDescriptorResolutionFailedCommandSchema)` to create a new message.
|
|
125174
|
-
*/
|
|
125175
|
-
const SourceApiActionRecordDescriptorResolutionFailedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 9);
|
|
125176
|
-
/**
|
|
125177
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordRequestPreparedCommand.
|
|
125178
|
-
* Use `create(SourceApiActionRecordRequestPreparedCommandSchema)` to create a new message.
|
|
125179
|
-
*/
|
|
125180
|
-
const SourceApiActionRecordRequestPreparedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 10);
|
|
125181
|
-
/**
|
|
125182
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordRequestPreparationFailedCommand.
|
|
125183
|
-
* Use `create(SourceApiActionRecordRequestPreparationFailedCommandSchema)` to create a new message.
|
|
125184
|
-
*/
|
|
125185
|
-
const SourceApiActionRecordRequestPreparationFailedCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 11);
|
|
125186
|
-
/**
|
|
125187
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordPageFetchSucceededCommand.
|
|
125188
|
-
* Use `create(SourceApiActionRecordPageFetchSucceededCommandSchema)` to create a new message.
|
|
125189
|
-
*/
|
|
125190
|
-
const SourceApiActionRecordPageFetchSucceededCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 12);
|
|
125191
|
-
/**
|
|
125192
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRecordPageFetchTerminalFailureCommand.
|
|
125193
|
-
* Use `create(SourceApiActionRecordPageFetchTerminalFailureCommandSchema)` to create a new message.
|
|
125194
|
-
*/
|
|
125195
|
-
const SourceApiActionRecordPageFetchTerminalFailureCommandSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 13);
|
|
125196
|
-
/**
|
|
125197
|
-
* Describes the message onequery.workflow.v1.SourceApiActionReceivedEvent.
|
|
125198
|
-
* Use `create(SourceApiActionReceivedEventSchema)` to create a new message.
|
|
125199
|
-
*/
|
|
125200
|
-
const SourceApiActionReceivedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 14);
|
|
125201
|
-
/**
|
|
125202
|
-
* Describes the message onequery.workflow.v1.SourceApiActionSourceLoadedEvent.
|
|
125203
|
-
* Use `create(SourceApiActionSourceLoadedEventSchema)` to create a new message.
|
|
125204
|
-
*/
|
|
125205
|
-
const SourceApiActionSourceLoadedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 15);
|
|
125206
|
-
/**
|
|
125207
|
-
* Describes the message onequery.workflow.v1.SourceApiActionSourceNotFoundEvent.
|
|
125208
|
-
* Use `create(SourceApiActionSourceNotFoundEventSchema)` to create a new message.
|
|
125209
|
-
*/
|
|
125210
|
-
const SourceApiActionSourceNotFoundEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 16);
|
|
125211
|
-
/**
|
|
125212
|
-
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorResolvedEvent.
|
|
125213
|
-
* Use `create(SourceApiActionDescriptorResolvedEventSchema)` to create a new message.
|
|
125214
|
-
*/
|
|
125215
|
-
const SourceApiActionDescriptorResolvedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 17);
|
|
125216
|
-
/**
|
|
125217
|
-
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorResolutionFailedEvent.
|
|
125218
|
-
* Use `create(SourceApiActionDescriptorResolutionFailedEventSchema)` to create a new message.
|
|
125219
|
-
*/
|
|
125220
|
-
const SourceApiActionDescriptorResolutionFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 18);
|
|
125221
|
-
/**
|
|
125222
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRequestPreparedEvent.
|
|
125223
|
-
* Use `create(SourceApiActionRequestPreparedEventSchema)` to create a new message.
|
|
125224
|
-
*/
|
|
125225
|
-
const SourceApiActionRequestPreparedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 19);
|
|
125226
|
-
/**
|
|
125227
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRequestPreparationFailedEvent.
|
|
125228
|
-
* Use `create(SourceApiActionRequestPreparationFailedEventSchema)` to create a new message.
|
|
125229
|
-
*/
|
|
125230
|
-
const SourceApiActionRequestPreparationFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 20);
|
|
125231
|
-
/**
|
|
125232
|
-
* Describes the message onequery.workflow.v1.SourceApiActionResumeRequestedEvent.
|
|
125233
|
-
* Use `create(SourceApiActionResumeRequestedEventSchema)` to create a new message.
|
|
125234
|
-
*/
|
|
125235
|
-
const SourceApiActionResumeRequestedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 21);
|
|
125236
|
-
/**
|
|
125237
|
-
* Describes the message onequery.workflow.v1.SourceApiActionPageFetchSucceededEvent.
|
|
125238
|
-
* Use `create(SourceApiActionPageFetchSucceededEventSchema)` to create a new message.
|
|
125239
|
-
*/
|
|
125240
|
-
const SourceApiActionPageFetchSucceededEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 22);
|
|
125241
|
-
/**
|
|
125242
|
-
* Describes the message onequery.workflow.v1.SourceApiActionPageFetchFailedEvent.
|
|
125243
|
-
* Use `create(SourceApiActionPageFetchFailedEventSchema)` to create a new message.
|
|
125244
|
-
*/
|
|
125245
|
-
const SourceApiActionPageFetchFailedEventSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 23);
|
|
125246
|
-
/**
|
|
125247
|
-
* Describes the message onequery.workflow.v1.SourceApiActionLoadSourceEffect.
|
|
125248
|
-
* Use `create(SourceApiActionLoadSourceEffectSchema)` to create a new message.
|
|
125249
|
-
*/
|
|
125250
|
-
const SourceApiActionLoadSourceEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 24);
|
|
125251
|
-
/**
|
|
125252
|
-
* Describes the message onequery.workflow.v1.SourceApiActionResolveDescriptorEffect.
|
|
125253
|
-
* Use `create(SourceApiActionResolveDescriptorEffectSchema)` to create a new message.
|
|
125254
|
-
*/
|
|
125255
|
-
const SourceApiActionResolveDescriptorEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 25);
|
|
125256
|
-
/**
|
|
125257
|
-
* Describes the message onequery.workflow.v1.SourceApiActionPrepareRequestEffect.
|
|
125258
|
-
* Use `create(SourceApiActionPrepareRequestEffectSchema)` to create a new message.
|
|
125259
|
-
*/
|
|
125260
|
-
const SourceApiActionPrepareRequestEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 26);
|
|
125261
|
-
/**
|
|
125262
|
-
* Describes the message onequery.workflow.v1.SourceApiActionExecutePageEffect.
|
|
125263
|
-
* Use `create(SourceApiActionExecutePageEffectSchema)` to create a new message.
|
|
125264
|
-
*/
|
|
125265
|
-
const SourceApiActionExecutePageEffectSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 27);
|
|
125266
|
-
/**
|
|
125267
|
-
* Describes the message onequery.workflow.v1.SourceApiActionSourceDescriptor.
|
|
125268
|
-
* Use `create(SourceApiActionSourceDescriptorSchema)` to create a new message.
|
|
125269
|
-
*/
|
|
125270
|
-
const SourceApiActionSourceDescriptorSchema$1 = messageDesc(file_onequery_workflow_v1_source_api_action, 28);
|
|
125271
|
-
/**
|
|
125272
|
-
* Describes the message onequery.workflow.v1.SourceApiActionRequestDescriptor.
|
|
125273
|
-
* Use `create(SourceApiActionRequestDescriptorSchema)` to create a new message.
|
|
125274
|
-
*/
|
|
125275
|
-
const SourceApiActionRequestDescriptorSchema$1 = messageDesc(file_onequery_workflow_v1_source_api_action, 29);
|
|
125276
|
-
/**
|
|
125277
|
-
* Describes the message onequery.workflow.v1.SourceApiActionDescriptor.
|
|
125278
|
-
* Use `create(SourceApiActionDescriptorSchema)` to create a new message.
|
|
125279
|
-
*/
|
|
125280
|
-
const SourceApiActionDescriptorSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 30);
|
|
125281
|
-
/**
|
|
125282
|
-
* Describes the message onequery.workflow.v1.SourceApiActionDescriptorSource.
|
|
125283
|
-
* Use `create(SourceApiActionDescriptorSourceSchema)` to create a new message.
|
|
125284
|
-
*/
|
|
125285
|
-
const SourceApiActionDescriptorSourceSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 31);
|
|
125286
|
-
/**
|
|
125287
|
-
* Describes the message onequery.workflow.v1.SourceApiActionOperation.
|
|
125288
|
-
* Use `create(SourceApiActionOperationSchema)` to create a new message.
|
|
125289
|
-
*/
|
|
125290
|
-
const SourceApiActionOperationSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 32);
|
|
125291
|
-
/**
|
|
125292
|
-
* Describes the message onequery.workflow.v1.SourceApiActionMethodPolicy.
|
|
125293
|
-
* Use `create(SourceApiActionMethodPolicySchema)` to create a new message.
|
|
125294
|
-
*/
|
|
125295
|
-
const SourceApiActionMethodPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 33);
|
|
125296
|
-
/**
|
|
125297
|
-
* Describes the message onequery.workflow.v1.SourceApiActionFieldPolicy.
|
|
125298
|
-
* Use `create(SourceApiActionFieldPolicySchema)` to create a new message.
|
|
125299
|
-
*/
|
|
125300
|
-
const SourceApiActionFieldPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 34);
|
|
125301
|
-
/**
|
|
125302
|
-
* Describes the message onequery.workflow.v1.SourceApiActionHeaderPolicy.
|
|
125303
|
-
* Use `create(SourceApiActionHeaderPolicySchema)` to create a new message.
|
|
125304
|
-
*/
|
|
125305
|
-
const SourceApiActionHeaderPolicySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 35);
|
|
125306
|
-
/**
|
|
125307
|
-
* Describes the message onequery.workflow.v1.SourceApiActionExample.
|
|
125308
|
-
* Use `create(SourceApiActionExampleSchema)` to create a new message.
|
|
125309
|
-
*/
|
|
125310
|
-
const SourceApiActionExampleSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 36);
|
|
125311
|
-
/**
|
|
125312
|
-
* Describes the message onequery.workflow.v1.WorkflowSourceHeader.
|
|
125313
|
-
* Use `create(WorkflowSourceHeaderSchema)` to create a new message.
|
|
125314
|
-
*/
|
|
125315
|
-
const WorkflowSourceHeaderSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 37);
|
|
125316
|
-
/**
|
|
125317
|
-
* Describes the message onequery.workflow.v1.SourceApiActionExecutionResult.
|
|
125318
|
-
* Use `create(SourceApiActionExecutionResultSchema)` to create a new message.
|
|
125319
|
-
*/
|
|
125320
|
-
const SourceApiActionExecutionResultSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 38);
|
|
125321
|
-
/**
|
|
125322
|
-
* Describes the message onequery.workflow.v1.SourceApiActionExecutionSource.
|
|
125323
|
-
* Use `create(SourceApiActionExecutionSourceSchema)` to create a new message.
|
|
125324
|
-
*/
|
|
125325
|
-
const SourceApiActionExecutionSourceSchema = messageDesc(file_onequery_workflow_v1_source_api_action, 39);
|
|
125326
|
-
/**
|
|
125327
|
-
* Describes the message onequery.workflow.v1.SourceApiActionEmptyBody.
|
|
125328
|
-
* Use `create(SourceApiActionEmptyBodySchema)` to create a new message.
|
|
125329
|
-
*/
|
|
125330
|
-
const SourceApiActionEmptyBodySchema = messageDesc(file_onequery_workflow_v1_source_api_action, 40);
|
|
125331
|
-
/**
|
|
125332
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionRequestKind
|
|
125333
|
-
*/
|
|
125334
|
-
let SourceApiActionRequestKind = /* @__PURE__ */ function(SourceApiActionRequestKind) {
|
|
125335
|
-
/**
|
|
125336
|
-
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_UNSPECIFIED = 0;
|
|
125337
|
-
*/
|
|
125338
|
-
SourceApiActionRequestKind[SourceApiActionRequestKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125339
|
-
/**
|
|
125340
|
-
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_DESCRIBE = 1;
|
|
125341
|
-
*/
|
|
125342
|
-
SourceApiActionRequestKind[SourceApiActionRequestKind["DESCRIBE"] = 1] = "DESCRIBE";
|
|
125343
|
-
/**
|
|
125344
|
-
* @generated from enum value: SOURCE_API_ACTION_REQUEST_KIND_INVOKE = 2;
|
|
125345
|
-
*/
|
|
125346
|
-
SourceApiActionRequestKind[SourceApiActionRequestKind["INVOKE"] = 2] = "INVOKE";
|
|
125347
|
-
return SourceApiActionRequestKind;
|
|
125348
|
-
}({});
|
|
125349
|
-
/**
|
|
125350
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionRequestKind.
|
|
125351
|
-
*/
|
|
125352
|
-
const SourceApiActionRequestKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 0);
|
|
125353
|
-
/**
|
|
125354
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionInvokeMode
|
|
125355
|
-
*/
|
|
125356
|
-
let SourceApiActionInvokeMode = /* @__PURE__ */ function(SourceApiActionInvokeMode) {
|
|
125357
|
-
/**
|
|
125358
|
-
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_UNSPECIFIED = 0;
|
|
125359
|
-
*/
|
|
125360
|
-
SourceApiActionInvokeMode[SourceApiActionInvokeMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125361
|
-
/**
|
|
125362
|
-
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_PREVIEW_ONLY = 1;
|
|
125363
|
-
*/
|
|
125364
|
-
SourceApiActionInvokeMode[SourceApiActionInvokeMode["PREVIEW_ONLY"] = 1] = "PREVIEW_ONLY";
|
|
125365
|
-
/**
|
|
125366
|
-
* @generated from enum value: SOURCE_API_ACTION_INVOKE_MODE_EXECUTE = 2;
|
|
125367
|
-
*/
|
|
125368
|
-
SourceApiActionInvokeMode[SourceApiActionInvokeMode["EXECUTE"] = 2] = "EXECUTE";
|
|
125369
|
-
return SourceApiActionInvokeMode;
|
|
125370
|
-
}({});
|
|
125371
|
-
/**
|
|
125372
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionInvokeMode.
|
|
125373
|
-
*/
|
|
125374
|
-
const SourceApiActionInvokeModeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 1);
|
|
125375
|
-
/**
|
|
125376
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionOperationKind
|
|
125377
|
-
*/
|
|
125378
|
-
let SourceApiActionOperationKind = /* @__PURE__ */ function(SourceApiActionOperationKind) {
|
|
125379
|
-
/**
|
|
125380
|
-
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_UNSPECIFIED = 0;
|
|
125381
|
-
*/
|
|
125382
|
-
SourceApiActionOperationKind[SourceApiActionOperationKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125383
|
-
/**
|
|
125384
|
-
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_HTTP_REQUEST = 1;
|
|
125385
|
-
*/
|
|
125386
|
-
SourceApiActionOperationKind[SourceApiActionOperationKind["HTTP_REQUEST"] = 1] = "HTTP_REQUEST";
|
|
125387
|
-
/**
|
|
125388
|
-
* @generated from enum value: SOURCE_API_ACTION_OPERATION_KIND_STRUCTURED_REQUEST = 2;
|
|
125389
|
-
*/
|
|
125390
|
-
SourceApiActionOperationKind[SourceApiActionOperationKind["STRUCTURED_REQUEST"] = 2] = "STRUCTURED_REQUEST";
|
|
125391
|
-
return SourceApiActionOperationKind;
|
|
125392
|
-
}({});
|
|
125393
|
-
/**
|
|
125394
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionOperationKind.
|
|
125395
|
-
*/
|
|
125396
|
-
const SourceApiActionOperationKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 2);
|
|
125397
|
-
/**
|
|
125398
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionSelectorKind
|
|
125399
|
-
*/
|
|
125400
|
-
let SourceApiActionSelectorKind = /* @__PURE__ */ function(SourceApiActionSelectorKind) {
|
|
125401
|
-
/**
|
|
125402
|
-
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_UNSPECIFIED = 0;
|
|
125403
|
-
*/
|
|
125404
|
-
SourceApiActionSelectorKind[SourceApiActionSelectorKind["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125405
|
-
/**
|
|
125406
|
-
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_NONE = 1;
|
|
125407
|
-
*/
|
|
125408
|
-
SourceApiActionSelectorKind[SourceApiActionSelectorKind["NONE"] = 1] = "NONE";
|
|
125409
|
-
/**
|
|
125410
|
-
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_PATH = 2;
|
|
125411
|
-
*/
|
|
125412
|
-
SourceApiActionSelectorKind[SourceApiActionSelectorKind["PATH"] = 2] = "PATH";
|
|
125413
|
-
/**
|
|
125414
|
-
* @generated from enum value: SOURCE_API_ACTION_SELECTOR_KIND_IDENTIFIER = 3;
|
|
125415
|
-
*/
|
|
125416
|
-
SourceApiActionSelectorKind[SourceApiActionSelectorKind["IDENTIFIER"] = 3] = "IDENTIFIER";
|
|
125417
|
-
return SourceApiActionSelectorKind;
|
|
125418
|
-
}({});
|
|
125419
|
-
/**
|
|
125420
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionSelectorKind.
|
|
125421
|
-
*/
|
|
125422
|
-
const SourceApiActionSelectorKindSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 3);
|
|
125423
|
-
/**
|
|
125424
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionPaginationPolicy
|
|
125425
|
-
*/
|
|
125426
|
-
let SourceApiActionPaginationPolicy = /* @__PURE__ */ function(SourceApiActionPaginationPolicy) {
|
|
125427
|
-
/**
|
|
125428
|
-
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_UNSPECIFIED = 0;
|
|
125429
|
-
*/
|
|
125430
|
-
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125431
|
-
/**
|
|
125432
|
-
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_NONE = 1;
|
|
125433
|
-
*/
|
|
125434
|
-
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["NONE"] = 1] = "NONE";
|
|
125435
|
-
/**
|
|
125436
|
-
* @generated from enum value: SOURCE_API_ACTION_PAGINATION_POLICY_CONTINUATION_TOKEN = 2;
|
|
125437
|
-
*/
|
|
125438
|
-
SourceApiActionPaginationPolicy[SourceApiActionPaginationPolicy["CONTINUATION_TOKEN"] = 2] = "CONTINUATION_TOKEN";
|
|
125439
|
-
return SourceApiActionPaginationPolicy;
|
|
125440
|
-
}({});
|
|
125441
|
-
/**
|
|
125442
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionPaginationPolicy.
|
|
125443
|
-
*/
|
|
125444
|
-
const SourceApiActionPaginationPolicySchema = enumDesc(file_onequery_workflow_v1_source_api_action, 4);
|
|
125445
|
-
/**
|
|
125446
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionInputMode
|
|
125447
|
-
*/
|
|
125448
|
-
let SourceApiActionInputMode = /* @__PURE__ */ function(SourceApiActionInputMode) {
|
|
125449
|
-
/**
|
|
125450
|
-
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_UNSPECIFIED = 0;
|
|
125451
|
-
*/
|
|
125452
|
-
SourceApiActionInputMode[SourceApiActionInputMode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125453
|
-
/**
|
|
125454
|
-
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_NONE = 1;
|
|
125455
|
-
*/
|
|
125456
|
-
SourceApiActionInputMode[SourceApiActionInputMode["NONE"] = 1] = "NONE";
|
|
125457
|
-
/**
|
|
125458
|
-
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_REQUEST_OBJECT = 2;
|
|
125459
|
-
*/
|
|
125460
|
-
SourceApiActionInputMode[SourceApiActionInputMode["REQUEST_OBJECT"] = 2] = "REQUEST_OBJECT";
|
|
125461
|
-
/**
|
|
125462
|
-
* @generated from enum value: SOURCE_API_ACTION_INPUT_MODE_REQUEST_BODY = 3;
|
|
125463
|
-
*/
|
|
125464
|
-
SourceApiActionInputMode[SourceApiActionInputMode["REQUEST_BODY"] = 3] = "REQUEST_BODY";
|
|
125465
|
-
return SourceApiActionInputMode;
|
|
125466
|
-
}({});
|
|
125467
|
-
/**
|
|
125468
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionInputMode.
|
|
125469
|
-
*/
|
|
125470
|
-
const SourceApiActionInputModeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 5);
|
|
125471
|
-
/**
|
|
125472
|
-
* @generated from enum onequery.workflow.v1.SourceApiActionFailureCode
|
|
125473
|
-
*/
|
|
125474
|
-
let SourceApiActionFailureCode = /* @__PURE__ */ function(SourceApiActionFailureCode) {
|
|
125475
|
-
/**
|
|
125476
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_UNSPECIFIED = 0;
|
|
125477
|
-
*/
|
|
125478
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
125479
|
-
/**
|
|
125480
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_SOURCE_NOT_FOUND = 1;
|
|
125481
|
-
*/
|
|
125482
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["SOURCE_NOT_FOUND"] = 1] = "SOURCE_NOT_FOUND";
|
|
125483
|
-
/**
|
|
125484
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_DESCRIPTOR_UNAVAILABLE = 2;
|
|
125485
|
-
*/
|
|
125486
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["DESCRIPTOR_UNAVAILABLE"] = 2] = "DESCRIPTOR_UNAVAILABLE";
|
|
125487
|
-
/**
|
|
125488
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_INVALID_REQUEST = 3;
|
|
125489
|
-
*/
|
|
125490
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["INVALID_REQUEST"] = 3] = "INVALID_REQUEST";
|
|
125491
|
-
/**
|
|
125492
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_PERMISSION_DENIED = 4;
|
|
125493
|
-
*/
|
|
125494
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["PERMISSION_DENIED"] = 4] = "PERMISSION_DENIED";
|
|
125495
|
-
/**
|
|
125496
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_REQUEST_TIMED_OUT = 5;
|
|
125497
|
-
*/
|
|
125498
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["REQUEST_TIMED_OUT"] = 5] = "REQUEST_TIMED_OUT";
|
|
125499
|
-
/**
|
|
125500
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_EXECUTION_FAILED = 6;
|
|
125501
|
-
*/
|
|
125502
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["EXECUTION_FAILED"] = 6] = "EXECUTION_FAILED";
|
|
125503
|
-
/**
|
|
125504
|
-
* @generated from enum value: SOURCE_API_ACTION_FAILURE_CODE_EXECUTION_STATE_INVALID = 7;
|
|
125505
|
-
*/
|
|
125506
|
-
SourceApiActionFailureCode[SourceApiActionFailureCode["EXECUTION_STATE_INVALID"] = 7] = "EXECUTION_STATE_INVALID";
|
|
125507
|
-
return SourceApiActionFailureCode;
|
|
125508
|
-
}({});
|
|
125509
|
-
/**
|
|
125510
|
-
* Describes the enum onequery.workflow.v1.SourceApiActionFailureCode.
|
|
125511
|
-
*/
|
|
125512
|
-
const SourceApiActionFailureCodeSchema = enumDesc(file_onequery_workflow_v1_source_api_action, 6);
|
|
125513
|
-
//#endregion
|
|
125514
125625
|
//#region packages/server/src/audit/feed/source-api-action-payload-codec.ts
|
|
125515
125626
|
function parseSourceApiStartCommand(record) {
|
|
125516
125627
|
return readAuditFeedProjectionPayload({
|
|
@@ -126281,6 +126392,175 @@ async function listAuditFeedPage(input) {
|
|
|
126281
126392
|
});
|
|
126282
126393
|
}
|
|
126283
126394
|
//#endregion
|
|
126395
|
+
//#region packages/server/src/audit/feed/detail.ts
|
|
126396
|
+
function serializeBytes(bytes) {
|
|
126397
|
+
const buffer = Buffer.from(bytes);
|
|
126398
|
+
return {
|
|
126399
|
+
base64: buffer.toString("base64"),
|
|
126400
|
+
byteLength: buffer.byteLength
|
|
126401
|
+
};
|
|
126402
|
+
}
|
|
126403
|
+
function decodeJsonPayload(schema, bytes) {
|
|
126404
|
+
return toJson(schema, decodeValidatedAuditFeedPayload(schema, Buffer.from(bytes)));
|
|
126405
|
+
}
|
|
126406
|
+
function serializeDecodedPayload(input) {
|
|
126407
|
+
try {
|
|
126408
|
+
if (input.family === "query_action") return decodeJsonPayload(input.entity === "command" ? QueryActionCommandPayloadSchema : QueryActionEventPayloadSchema, input.bytes);
|
|
126409
|
+
return decodeJsonPayload(input.entity === "command" ? SourceApiActionCommandPayloadSchema : SourceApiActionEventPayloadSchema, input.bytes);
|
|
126410
|
+
} catch (error) {
|
|
126411
|
+
return { decodeError: error instanceof Error ? error.message : String(error) };
|
|
126412
|
+
}
|
|
126413
|
+
}
|
|
126414
|
+
function serializeCommand(row) {
|
|
126415
|
+
return {
|
|
126416
|
+
actor: auditOriginActorSchema.parse(row.actorSnapshotJson),
|
|
126417
|
+
causedByEventId: row.causedByEventId,
|
|
126418
|
+
commandInvocationId: row.commandInvocationId,
|
|
126419
|
+
commandPayload: serializeBytes(row.commandPayloadBytes),
|
|
126420
|
+
commandType: row.commandType,
|
|
126421
|
+
createdAt: row.createdAt.toISOString(),
|
|
126422
|
+
decodedPayload: serializeDecodedPayload({
|
|
126423
|
+
bytes: row.commandPayloadBytes,
|
|
126424
|
+
entity: "command",
|
|
126425
|
+
family: row.family
|
|
126426
|
+
}),
|
|
126427
|
+
decisionKind: row.decisionKind,
|
|
126428
|
+
id: row.id,
|
|
126429
|
+
rejectCode: row.rejectCode,
|
|
126430
|
+
rejectDetail: row.rejectDetail,
|
|
126431
|
+
requestId: row.requestId,
|
|
126432
|
+
surface: row.surface
|
|
126433
|
+
};
|
|
126434
|
+
}
|
|
126435
|
+
function serializeQueryEvent(row) {
|
|
126436
|
+
return {
|
|
126437
|
+
commandId: row.commandId,
|
|
126438
|
+
commitPosition: row.commitPosition.toString(),
|
|
126439
|
+
eventType: row.eventType,
|
|
126440
|
+
id: row.id,
|
|
126441
|
+
occurredAt: row.occurredAt.toISOString(),
|
|
126442
|
+
payload: serializeBytes(row.payloadBytes),
|
|
126443
|
+
decodedPayload: serializeDecodedPayload({
|
|
126444
|
+
bytes: row.payloadBytes,
|
|
126445
|
+
entity: "event",
|
|
126446
|
+
family: "query_action"
|
|
126447
|
+
}),
|
|
126448
|
+
sequence: row.sequence
|
|
126449
|
+
};
|
|
126450
|
+
}
|
|
126451
|
+
function serializeSourceApiEvent(row) {
|
|
126452
|
+
return {
|
|
126453
|
+
commandId: row.commandId,
|
|
126454
|
+
commitPosition: row.commitPosition.toString(),
|
|
126455
|
+
eventType: row.eventType,
|
|
126456
|
+
id: row.id,
|
|
126457
|
+
occurredAt: row.occurredAt.toISOString(),
|
|
126458
|
+
payload: serializeBytes(row.payloadBytes),
|
|
126459
|
+
decodedPayload: serializeDecodedPayload({
|
|
126460
|
+
bytes: row.payloadBytes,
|
|
126461
|
+
entity: "event",
|
|
126462
|
+
family: "source_api_action"
|
|
126463
|
+
}),
|
|
126464
|
+
sequence: row.sequence
|
|
126465
|
+
};
|
|
126466
|
+
}
|
|
126467
|
+
async function loadCommands(input) {
|
|
126468
|
+
return (await input.db.select().from(workflowCommands).where(and(eq(workflowCommands.actionId, input.actionId), eq(workflowCommands.family, input.family), eq(workflowCommands.organizationId, input.organizationId))).orderBy(asc(workflowCommands.createdAt), asc(workflowCommands.id))).map(serializeCommand);
|
|
126469
|
+
}
|
|
126470
|
+
async function loadFeedEntry(input) {
|
|
126471
|
+
const [row] = await input.db.select().from(auditFeedEntries).where(and(eq(auditFeedEntries.familyActionId, input.actionId), eq(auditFeedEntries.family, input.family), eq(auditFeedEntries.organizationId, input.organizationId))).limit(1);
|
|
126472
|
+
return row ? serializeAuditFeedItem(row) : null;
|
|
126473
|
+
}
|
|
126474
|
+
async function loadQueryActionDetail(input) {
|
|
126475
|
+
const [action] = await input.db.select().from(queryActions).where(and(eq(queryActions.id, input.actionId), eq(queryActions.organizationId, input.organizationId))).limit(1);
|
|
126476
|
+
if (!action) return null;
|
|
126477
|
+
const [commands, events, feedEntry] = await Promise.all([
|
|
126478
|
+
loadCommands({
|
|
126479
|
+
actionId: input.actionId,
|
|
126480
|
+
db: input.db,
|
|
126481
|
+
family: "query_action",
|
|
126482
|
+
organizationId: input.organizationId
|
|
126483
|
+
}),
|
|
126484
|
+
input.db.select().from(queryActionEvents).where(eq(queryActionEvents.actionId, input.actionId)).orderBy(asc(queryActionEvents.sequence)).then((rows) => rows.map(serializeQueryEvent)),
|
|
126485
|
+
loadFeedEntry({
|
|
126486
|
+
actionId: input.actionId,
|
|
126487
|
+
db: input.db,
|
|
126488
|
+
family: "query_action",
|
|
126489
|
+
organizationId: input.organizationId
|
|
126490
|
+
})
|
|
126491
|
+
]);
|
|
126492
|
+
if (!feedEntry) return null;
|
|
126493
|
+
return auditActionDetailSchema.parse({
|
|
126494
|
+
action: {
|
|
126495
|
+
completedAt: action.completedAt?.toISOString() ?? null,
|
|
126496
|
+
failureCode: action.failureCode,
|
|
126497
|
+
id: action.id,
|
|
126498
|
+
lastEventId: action.lastEventId,
|
|
126499
|
+
lastEventSequence: action.lastEventSequence,
|
|
126500
|
+
outcome: action.outcome,
|
|
126501
|
+
phase: action.phase,
|
|
126502
|
+
queryMode: action.queryMode,
|
|
126503
|
+
queryText: action.queryText,
|
|
126504
|
+
sourceDescriptor: action.sourceDescriptorJson ?? null,
|
|
126505
|
+
startedAt: action.startedAt.toISOString(),
|
|
126506
|
+
usageRecordingStatus: action.usageRecordingStatus,
|
|
126507
|
+
validatedQuery: action.validatedQuery
|
|
126508
|
+
},
|
|
126509
|
+
commands,
|
|
126510
|
+
events,
|
|
126511
|
+
family: "query_action",
|
|
126512
|
+
feedEntry
|
|
126513
|
+
});
|
|
126514
|
+
}
|
|
126515
|
+
async function loadSourceApiActionDetail(input) {
|
|
126516
|
+
const [action] = await input.db.select().from(sourceApiActions).where(and(eq(sourceApiActions.id, input.actionId), eq(sourceApiActions.organizationId, input.organizationId))).limit(1);
|
|
126517
|
+
if (!action) return null;
|
|
126518
|
+
const [commands, events, feedEntry] = await Promise.all([
|
|
126519
|
+
loadCommands({
|
|
126520
|
+
actionId: input.actionId,
|
|
126521
|
+
db: input.db,
|
|
126522
|
+
family: "source_api_action",
|
|
126523
|
+
organizationId: input.organizationId
|
|
126524
|
+
}),
|
|
126525
|
+
input.db.select().from(sourceApiActionEvents).where(eq(sourceApiActionEvents.actionId, input.actionId)).orderBy(asc(sourceApiActionEvents.sequence)).then((rows) => rows.map(serializeSourceApiEvent)),
|
|
126526
|
+
loadFeedEntry({
|
|
126527
|
+
actionId: input.actionId,
|
|
126528
|
+
db: input.db,
|
|
126529
|
+
family: "source_api_action",
|
|
126530
|
+
organizationId: input.organizationId
|
|
126531
|
+
})
|
|
126532
|
+
]);
|
|
126533
|
+
if (!feedEntry) return null;
|
|
126534
|
+
return auditActionDetailSchema.parse({
|
|
126535
|
+
action: {
|
|
126536
|
+
attemptNumber: action.attemptNumber,
|
|
126537
|
+
completedAt: action.completedAt?.toISOString() ?? null,
|
|
126538
|
+
failureCode: action.failureCode,
|
|
126539
|
+
id: action.id,
|
|
126540
|
+
invokeMode: action.invokeMode,
|
|
126541
|
+
lastEventId: action.lastEventId,
|
|
126542
|
+
lastEventSequence: action.lastEventSequence,
|
|
126543
|
+
outcome: action.outcome,
|
|
126544
|
+
pageProgress: action.pageProgressJson ?? null,
|
|
126545
|
+
phase: action.phase,
|
|
126546
|
+
preparedRequestFingerprint: action.preparedRequestFingerprint,
|
|
126547
|
+
requestDescriptor: action.requestDescriptorJson ?? null,
|
|
126548
|
+
requestKind: action.requestKind,
|
|
126549
|
+
sourceDescriptor: action.sourceDescriptorJson ?? null,
|
|
126550
|
+
startedAt: action.startedAt.toISOString()
|
|
126551
|
+
},
|
|
126552
|
+
commands,
|
|
126553
|
+
events,
|
|
126554
|
+
family: "source_api_action",
|
|
126555
|
+
feedEntry
|
|
126556
|
+
});
|
|
126557
|
+
}
|
|
126558
|
+
async function getAuditActionDetail(input) {
|
|
126559
|
+
await syncAuditFeedProjection(input.db);
|
|
126560
|
+
if (input.family === "query_action") return loadQueryActionDetail(input);
|
|
126561
|
+
return loadSourceApiActionDetail(input);
|
|
126562
|
+
}
|
|
126563
|
+
//#endregion
|
|
126284
126564
|
//#region packages/cli-server/src/connect/service/query/audit-projection.ts
|
|
126285
126565
|
init_dist$3();
|
|
126286
126566
|
var CliQueryAuditProjectionSyncError = class extends h$11("CliQueryAuditProjectionSyncError")() {
|
|
@@ -173968,7 +174248,7 @@ var init_copyDocumentWithTransform = __esmMin((() => {
|
|
|
173968
174248
|
}));
|
|
173969
174249
|
//#endregion
|
|
173970
174250
|
//#region node_modules/.bun/@smithy+core@3.23.14/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
173971
|
-
var parseBoolean, expectBoolean, expectNumber, MAX_FLOAT, expectFloat32, expectLong, expectInt, expectInt32, expectShort, expectByte, expectSizedInt, castInt, expectNonNull, expectObject, expectString, expectUnion, strictParseDouble, strictParseFloat, strictParseFloat32, NUMBER_REGEX, parseNumber, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, parseFloatString, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, stackTraceWarning, logger
|
|
174251
|
+
var parseBoolean, expectBoolean, expectNumber, MAX_FLOAT, expectFloat32, expectLong, expectInt, expectInt32, expectShort, expectByte, expectSizedInt, castInt, expectNonNull, expectObject, expectString, expectUnion, strictParseDouble, strictParseFloat, strictParseFloat32, NUMBER_REGEX, parseNumber, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, parseFloatString, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, stackTraceWarning, logger;
|
|
173972
174252
|
var init_parse_utils = __esmMin((() => {
|
|
173973
174253
|
parseBoolean = (value) => {
|
|
173974
174254
|
switch (value) {
|
|
@@ -173980,13 +174260,13 @@ var init_parse_utils = __esmMin((() => {
|
|
|
173980
174260
|
expectBoolean = (value) => {
|
|
173981
174261
|
if (value === null || value === void 0) return;
|
|
173982
174262
|
if (typeof value === "number") {
|
|
173983
|
-
if (value === 0 || value === 1) logger
|
|
174263
|
+
if (value === 0 || value === 1) logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
|
|
173984
174264
|
if (value === 0) return false;
|
|
173985
174265
|
if (value === 1) return true;
|
|
173986
174266
|
}
|
|
173987
174267
|
if (typeof value === "string") {
|
|
173988
174268
|
const lower = value.toLowerCase();
|
|
173989
|
-
if (lower === "false" || lower === "true") logger
|
|
174269
|
+
if (lower === "false" || lower === "true") logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`));
|
|
173990
174270
|
if (lower === "false") return false;
|
|
173991
174271
|
if (lower === "true") return true;
|
|
173992
174272
|
}
|
|
@@ -173998,7 +174278,7 @@ var init_parse_utils = __esmMin((() => {
|
|
|
173998
174278
|
if (typeof value === "string") {
|
|
173999
174279
|
const parsed = parseFloat(value);
|
|
174000
174280
|
if (!Number.isNaN(parsed)) {
|
|
174001
|
-
if (String(parsed) !== String(value)) logger
|
|
174281
|
+
if (String(parsed) !== String(value)) logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`));
|
|
174002
174282
|
return parsed;
|
|
174003
174283
|
}
|
|
174004
174284
|
}
|
|
@@ -174054,7 +174334,7 @@ var init_parse_utils = __esmMin((() => {
|
|
|
174054
174334
|
"number",
|
|
174055
174335
|
"bigint"
|
|
174056
174336
|
].includes(typeof value)) {
|
|
174057
|
-
logger
|
|
174337
|
+
logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`));
|
|
174058
174338
|
return String(value);
|
|
174059
174339
|
}
|
|
174060
174340
|
throw new TypeError(`Expected string, got ${typeof value}: ${value}`);
|
|
@@ -174120,7 +174400,7 @@ var init_parse_utils = __esmMin((() => {
|
|
|
174120
174400
|
stackTraceWarning = (message) => {
|
|
174121
174401
|
return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n");
|
|
174122
174402
|
};
|
|
174123
|
-
logger
|
|
174403
|
+
logger = { warn: console.warn };
|
|
174124
174404
|
}));
|
|
174125
174405
|
//#endregion
|
|
174126
174406
|
//#region node_modules/.bun/@smithy+core@3.23.14/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
@@ -174377,17 +174657,17 @@ function range(v, min, max) {
|
|
|
174377
174657
|
const _v = Number(v);
|
|
174378
174658
|
if (_v < min || _v > max) throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
|
|
174379
174659
|
}
|
|
174380
|
-
var ddd, mmm, time
|
|
174660
|
+
var ddd, mmm, time, date, year, RFC3339_WITH_OFFSET, IMF_FIXDATE, RFC_850_DATE, ASC_TIME, months, _parseEpochTimestamp, _parseRfc3339DateTimeWithOffset, _parseRfc7231DateTime;
|
|
174381
174661
|
var init_schema_date_utils = __esmMin((() => {
|
|
174382
174662
|
ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
174383
174663
|
mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
174384
|
-
time
|
|
174664
|
+
time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
174385
174665
|
date = `(\\d?\\d)`;
|
|
174386
174666
|
year = `(\\d{4})`;
|
|
174387
174667
|
RFC3339_WITH_OFFSET = /* @__PURE__ */ new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);
|
|
174388
|
-
IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time
|
|
174389
|
-
RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time
|
|
174390
|
-
ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time
|
|
174668
|
+
IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);
|
|
174669
|
+
RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`);
|
|
174670
|
+
ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`);
|
|
174391
174671
|
months = [
|
|
174392
174672
|
"Jan",
|
|
174393
174673
|
"Feb",
|
|
@@ -174576,7 +174856,7 @@ var serde_exports = /* @__PURE__ */ __exportAll$1({
|
|
|
174576
174856
|
limitedParseDouble: () => limitedParseDouble,
|
|
174577
174857
|
limitedParseFloat: () => limitedParseFloat,
|
|
174578
174858
|
limitedParseFloat32: () => limitedParseFloat32,
|
|
174579
|
-
logger: () => logger
|
|
174859
|
+
logger: () => logger,
|
|
174580
174860
|
nv: () => nv,
|
|
174581
174861
|
parseBoolean: () => parseBoolean,
|
|
174582
174862
|
parseEpochTimestamp: () => parseEpochTimestamp,
|
|
@@ -190443,7 +190723,7 @@ var require_common$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
190443
190723
|
}));
|
|
190444
190724
|
//#endregion
|
|
190445
190725
|
//#region node_modules/.bun/debug@4.4.3/node_modules/debug/src/browser.js
|
|
190446
|
-
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
190726
|
+
var require_browser$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
190447
190727
|
/**
|
|
190448
190728
|
* This is the web browser implementation of `debug()`.
|
|
190449
190729
|
*/
|
|
@@ -190929,7 +191209,7 @@ var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
190929
191209
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
190930
191210
|
* treat as a browser.
|
|
190931
191211
|
*/
|
|
190932
|
-
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) module.exports = require_browser();
|
|
191212
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) module.exports = require_browser$1();
|
|
190933
191213
|
else module.exports = require_node$1();
|
|
190934
191214
|
}));
|
|
190935
191215
|
//#endregion
|
|
@@ -266469,6 +266749,10 @@ const healthRoute = new Hono().get("/health", (c) => c.json({
|
|
|
266469
266749
|
//#endregion
|
|
266470
266750
|
//#region packages/server/src/routes/organizations.ts
|
|
266471
266751
|
const OrganizationSlugParamsSchema = object$1({ slug: string$3().min(1, "slug is required") });
|
|
266752
|
+
const AuditActionParamsSchema = OrganizationSlugParamsSchema.extend({
|
|
266753
|
+
actionId: string$3().min(1, "action id is required"),
|
|
266754
|
+
family: _enum$2(AUDIT_FAMILIES)
|
|
266755
|
+
});
|
|
266472
266756
|
const UpdateOrgSettingsSchema = object$1({ monthlyBudgetUsd: number$4().min(0).nullable().optional() }).refine((body) => body.monthlyBudgetUsd !== void 0, { message: "At least one organization setting must be provided" });
|
|
266473
266757
|
function getOrganizationSettingsSelection() {
|
|
266474
266758
|
return { monthlyBudgetUsd: organizationProfiles.monthlyBudgetUsd };
|
|
@@ -266531,6 +266815,27 @@ const organizationsRoute = new Hono().get("/:slug", async (c) => {
|
|
|
266531
266815
|
if (error instanceof InvalidAuditCursorError) return c.json({ error: "Invalid cursor" }, 400);
|
|
266532
266816
|
throw error;
|
|
266533
266817
|
}
|
|
266818
|
+
}).get("/:slug/audit/:family/:actionId", zValidator("param", AuditActionParamsSchema, zodProblemHook()), async (c) => {
|
|
266819
|
+
const { actionId, family, slug } = c.req.valid("param");
|
|
266820
|
+
const db = c.var.storage.db;
|
|
266821
|
+
const session = c.get("session");
|
|
266822
|
+
if (!session?.user) return c.json({ error: "Unauthorized" }, 401);
|
|
266823
|
+
const membership = await findOrganizationMembershipBySlug({
|
|
266824
|
+
db,
|
|
266825
|
+
slug,
|
|
266826
|
+
userId: session.user.id
|
|
266827
|
+
});
|
|
266828
|
+
if (membership.kind === "not_found") return c.json({ error: "Organization not found" }, 404);
|
|
266829
|
+
if (membership.kind === "forbidden") return c.json({ error: "Forbidden: Not a member of this organization" }, 403);
|
|
266830
|
+
if (!canReadOrganizationAudit({ rawRole: membership.rawRole })) return c.json({ error: "Forbidden: You do not have permission to view audit" }, 403);
|
|
266831
|
+
const detail = await getAuditActionDetail({
|
|
266832
|
+
actionId,
|
|
266833
|
+
db,
|
|
266834
|
+
family,
|
|
266835
|
+
organizationId: membership.organizationId
|
|
266836
|
+
});
|
|
266837
|
+
if (!detail) return c.json({ error: "Audit action not found" }, 404);
|
|
266838
|
+
return c.json(detail);
|
|
266534
266839
|
}).get("/:slug/settings", async (c) => {
|
|
266535
266840
|
const slug = c.req.param("slug");
|
|
266536
266841
|
const db = c.var.storage.db;
|
|
@@ -266719,55 +267024,6 @@ function createServerApi(input) {
|
|
|
266719
267024
|
return new Hono().onError(createProblemDetailsErrorHandler("packages/server/createServerApi")).use("*", requestId()).use("*", serverRuntimeMiddleware(input.runtime)).use("*", serverStorageMiddleware(storage)).use("*", apiRateLimiter({ enabled: input.runtime.rateLimit.enabled })).use("/organizations", sessionMiddleware()).use("/organizations/*", sessionMiddleware()).use("/stats", sessionMiddleware()).use("/stats/*", sessionMiddleware()).use("/team", sessionMiddleware()).use("/team/*", sessionMiddleware()).use("/data-sources", sessionMiddleware()).use("/data-sources/*", sessionMiddleware()).use("/budget", sessionMiddleware()).use("/budget/*", sessionMiddleware()).route("/", healthRoute).route("/bootstrap", bootstrapRoute).route("/budget", budgetRoute).route("/connectors", connectorsRoute).route("/jobs", connectorJobsRoute).route("/auth", authRoute).route("/data-sources", dataSourcesRoute).route("/organizations", organizationsRoute).route("/stats", statsRoute).route("/team", teamRoute);
|
|
266720
267025
|
}
|
|
266721
267026
|
//#endregion
|
|
266722
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/utils/color.js
|
|
266723
|
-
function getColorEnabled() {
|
|
266724
|
-
const { process, Deno } = globalThis;
|
|
266725
|
-
return !(typeof Deno?.noColor === "boolean" ? Deno.noColor : process !== void 0 ? "NO_COLOR" in process?.env : false);
|
|
266726
|
-
}
|
|
266727
|
-
async function getColorEnabledAsync() {
|
|
266728
|
-
const { navigator } = globalThis;
|
|
266729
|
-
const cfWorkers = "cloudflare:workers";
|
|
266730
|
-
return !(navigator !== void 0 && navigator.userAgent === "Cloudflare-Workers" ? await (async () => {
|
|
266731
|
-
try {
|
|
266732
|
-
return "NO_COLOR" in ((await import(cfWorkers)).env ?? {});
|
|
266733
|
-
} catch {
|
|
266734
|
-
return false;
|
|
266735
|
-
}
|
|
266736
|
-
})() : !getColorEnabled());
|
|
266737
|
-
}
|
|
266738
|
-
//#endregion
|
|
266739
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/middleware/logger/index.js
|
|
266740
|
-
var humanize = (times) => {
|
|
266741
|
-
const [delimiter, separator] = [",", "."];
|
|
266742
|
-
return times.map((v) => v.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + delimiter)).join(separator);
|
|
266743
|
-
};
|
|
266744
|
-
var time = (start) => {
|
|
266745
|
-
const delta = Date.now() - start;
|
|
266746
|
-
return humanize([delta < 1e3 ? delta + "ms" : Math.round(delta / 1e3) + "s"]);
|
|
266747
|
-
};
|
|
266748
|
-
var colorStatus = async (status) => {
|
|
266749
|
-
if (await getColorEnabledAsync()) switch (status / 100 | 0) {
|
|
266750
|
-
case 5: return `\x1B[31m${status}\x1B[0m`;
|
|
266751
|
-
case 4: return `\x1B[33m${status}\x1B[0m`;
|
|
266752
|
-
case 3: return `\x1B[36m${status}\x1B[0m`;
|
|
266753
|
-
case 2: return `\x1B[32m${status}\x1B[0m`;
|
|
266754
|
-
}
|
|
266755
|
-
return `${status}`;
|
|
266756
|
-
};
|
|
266757
|
-
async function log(fn, prefix, method, path, status = 0, elapsed) {
|
|
266758
|
-
fn(prefix === "<--" ? `${prefix} ${method} ${path}` : `${prefix} ${method} ${path} ${await colorStatus(status)} ${elapsed}`);
|
|
266759
|
-
}
|
|
266760
|
-
var logger = (fn = console.log) => {
|
|
266761
|
-
return async function logger2(c, next) {
|
|
266762
|
-
const { method, url } = c.req;
|
|
266763
|
-
const path = url.slice(url.indexOf("/", 8));
|
|
266764
|
-
await log(fn, "<--", method, path);
|
|
266765
|
-
const start = Date.now();
|
|
266766
|
-
await next();
|
|
266767
|
-
await log(fn, "-->", method, path, c.res.status, time(start));
|
|
266768
|
-
};
|
|
266769
|
-
};
|
|
266770
|
-
//#endregion
|
|
266771
267027
|
//#region packages/self-host-runtime/src/constants.ts
|
|
266772
267028
|
const API_ROUTE_PREFIX = "/api";
|
|
266773
267029
|
const CLI_API_ROUTE_PREFIX = `${API_ROUTE_PREFIX}/cli`;
|
|
@@ -266777,16 +267033,576 @@ function isApiRoutePath(path) {
|
|
|
266777
267033
|
return path === "/api" || path.startsWith(`/api/`);
|
|
266778
267034
|
}
|
|
266779
267035
|
//#endregion
|
|
267036
|
+
//#region node_modules/.bun/quick-format-unescaped@4.0.4/node_modules/quick-format-unescaped/index.js
|
|
267037
|
+
var require_quick_format_unescaped = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
267038
|
+
function tryStringify(o) {
|
|
267039
|
+
try {
|
|
267040
|
+
return JSON.stringify(o);
|
|
267041
|
+
} catch (e) {
|
|
267042
|
+
return "\"[Circular]\"";
|
|
267043
|
+
}
|
|
267044
|
+
}
|
|
267045
|
+
module.exports = format;
|
|
267046
|
+
function format(f, args, opts) {
|
|
267047
|
+
var ss = opts && opts.stringify || tryStringify;
|
|
267048
|
+
var offset = 1;
|
|
267049
|
+
if (typeof f === "object" && f !== null) {
|
|
267050
|
+
var len = args.length + offset;
|
|
267051
|
+
if (len === 1) return f;
|
|
267052
|
+
var objects = new Array(len);
|
|
267053
|
+
objects[0] = ss(f);
|
|
267054
|
+
for (var index = 1; index < len; index++) objects[index] = ss(args[index]);
|
|
267055
|
+
return objects.join(" ");
|
|
267056
|
+
}
|
|
267057
|
+
if (typeof f !== "string") return f;
|
|
267058
|
+
var argLen = args.length;
|
|
267059
|
+
if (argLen === 0) return f;
|
|
267060
|
+
var str = "";
|
|
267061
|
+
var a = 1 - offset;
|
|
267062
|
+
var lastPos = -1;
|
|
267063
|
+
var flen = f && f.length || 0;
|
|
267064
|
+
for (var i = 0; i < flen;) {
|
|
267065
|
+
if (f.charCodeAt(i) === 37 && i + 1 < flen) {
|
|
267066
|
+
lastPos = lastPos > -1 ? lastPos : 0;
|
|
267067
|
+
switch (f.charCodeAt(i + 1)) {
|
|
267068
|
+
case 100:
|
|
267069
|
+
case 102:
|
|
267070
|
+
if (a >= argLen) break;
|
|
267071
|
+
if (args[a] == null) break;
|
|
267072
|
+
if (lastPos < i) str += f.slice(lastPos, i);
|
|
267073
|
+
str += Number(args[a]);
|
|
267074
|
+
lastPos = i + 2;
|
|
267075
|
+
i++;
|
|
267076
|
+
break;
|
|
267077
|
+
case 105:
|
|
267078
|
+
if (a >= argLen) break;
|
|
267079
|
+
if (args[a] == null) break;
|
|
267080
|
+
if (lastPos < i) str += f.slice(lastPos, i);
|
|
267081
|
+
str += Math.floor(Number(args[a]));
|
|
267082
|
+
lastPos = i + 2;
|
|
267083
|
+
i++;
|
|
267084
|
+
break;
|
|
267085
|
+
case 79:
|
|
267086
|
+
case 111:
|
|
267087
|
+
case 106:
|
|
267088
|
+
if (a >= argLen) break;
|
|
267089
|
+
if (args[a] === void 0) break;
|
|
267090
|
+
if (lastPos < i) str += f.slice(lastPos, i);
|
|
267091
|
+
var type = typeof args[a];
|
|
267092
|
+
if (type === "string") {
|
|
267093
|
+
str += "'" + args[a] + "'";
|
|
267094
|
+
lastPos = i + 2;
|
|
267095
|
+
i++;
|
|
267096
|
+
break;
|
|
267097
|
+
}
|
|
267098
|
+
if (type === "function") {
|
|
267099
|
+
str += args[a].name || "<anonymous>";
|
|
267100
|
+
lastPos = i + 2;
|
|
267101
|
+
i++;
|
|
267102
|
+
break;
|
|
267103
|
+
}
|
|
267104
|
+
str += ss(args[a]);
|
|
267105
|
+
lastPos = i + 2;
|
|
267106
|
+
i++;
|
|
267107
|
+
break;
|
|
267108
|
+
case 115:
|
|
267109
|
+
if (a >= argLen) break;
|
|
267110
|
+
if (lastPos < i) str += f.slice(lastPos, i);
|
|
267111
|
+
str += String(args[a]);
|
|
267112
|
+
lastPos = i + 2;
|
|
267113
|
+
i++;
|
|
267114
|
+
break;
|
|
267115
|
+
case 37:
|
|
267116
|
+
if (lastPos < i) str += f.slice(lastPos, i);
|
|
267117
|
+
str += "%";
|
|
267118
|
+
lastPos = i + 2;
|
|
267119
|
+
i++;
|
|
267120
|
+
a--;
|
|
267121
|
+
break;
|
|
267122
|
+
}
|
|
267123
|
+
++a;
|
|
267124
|
+
}
|
|
267125
|
+
++i;
|
|
267126
|
+
}
|
|
267127
|
+
if (lastPos === -1) return f;
|
|
267128
|
+
else if (lastPos < flen) str += f.slice(lastPos);
|
|
267129
|
+
return str;
|
|
267130
|
+
}
|
|
267131
|
+
}));
|
|
267132
|
+
//#endregion
|
|
267133
|
+
//#region node_modules/.bun/pino@10.3.1/node_modules/pino/browser.js
|
|
267134
|
+
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
267135
|
+
const format = require_quick_format_unescaped();
|
|
267136
|
+
module.exports = pino;
|
|
267137
|
+
const _console = pfGlobalThisOrFallback().console || {};
|
|
267138
|
+
const stdSerializers = {
|
|
267139
|
+
mapHttpRequest: mock,
|
|
267140
|
+
mapHttpResponse: mock,
|
|
267141
|
+
wrapRequestSerializer: passthrough,
|
|
267142
|
+
wrapResponseSerializer: passthrough,
|
|
267143
|
+
wrapErrorSerializer: passthrough,
|
|
267144
|
+
req: mock,
|
|
267145
|
+
res: mock,
|
|
267146
|
+
err: asErrValue,
|
|
267147
|
+
errWithCause: asErrValue
|
|
267148
|
+
};
|
|
267149
|
+
function levelToValue(level, logger) {
|
|
267150
|
+
return level === "silent" ? Infinity : logger.levels.values[level];
|
|
267151
|
+
}
|
|
267152
|
+
const baseLogFunctionSymbol = Symbol("pino.logFuncs");
|
|
267153
|
+
const hierarchySymbol = Symbol("pino.hierarchy");
|
|
267154
|
+
const logFallbackMap = {
|
|
267155
|
+
error: "log",
|
|
267156
|
+
fatal: "error",
|
|
267157
|
+
warn: "error",
|
|
267158
|
+
info: "log",
|
|
267159
|
+
debug: "log",
|
|
267160
|
+
trace: "log"
|
|
267161
|
+
};
|
|
267162
|
+
function appendChildLogger(parentLogger, childLogger) {
|
|
267163
|
+
childLogger[hierarchySymbol] = {
|
|
267164
|
+
logger: childLogger,
|
|
267165
|
+
parent: parentLogger[hierarchySymbol]
|
|
267166
|
+
};
|
|
267167
|
+
}
|
|
267168
|
+
function setupBaseLogFunctions(logger, levels, proto) {
|
|
267169
|
+
const logFunctions = {};
|
|
267170
|
+
levels.forEach((level) => {
|
|
267171
|
+
logFunctions[level] = proto[level] ? proto[level] : _console[level] || _console[logFallbackMap[level] || "log"] || noop;
|
|
267172
|
+
});
|
|
267173
|
+
logger[baseLogFunctionSymbol] = logFunctions;
|
|
267174
|
+
}
|
|
267175
|
+
function shouldSerialize(serialize, serializers) {
|
|
267176
|
+
if (Array.isArray(serialize)) return serialize.filter(function(k) {
|
|
267177
|
+
return k !== "!stdSerializers.err";
|
|
267178
|
+
});
|
|
267179
|
+
else if (serialize === true) return Object.keys(serializers);
|
|
267180
|
+
return false;
|
|
267181
|
+
}
|
|
267182
|
+
function pino(opts) {
|
|
267183
|
+
opts = opts || {};
|
|
267184
|
+
opts.browser = opts.browser || {};
|
|
267185
|
+
const transmit = opts.browser.transmit;
|
|
267186
|
+
if (transmit && typeof transmit.send !== "function") throw Error("pino: transmit option must have a send function");
|
|
267187
|
+
const proto = opts.browser.write || _console;
|
|
267188
|
+
if (opts.browser.write) opts.browser.asObject = true;
|
|
267189
|
+
const serializers = opts.serializers || {};
|
|
267190
|
+
const serialize = shouldSerialize(opts.browser.serialize, serializers);
|
|
267191
|
+
let stdErrSerialize = opts.browser.serialize;
|
|
267192
|
+
if (Array.isArray(opts.browser.serialize) && opts.browser.serialize.indexOf("!stdSerializers.err") > -1) stdErrSerialize = false;
|
|
267193
|
+
const customLevels = Object.keys(opts.customLevels || {});
|
|
267194
|
+
const levels = [
|
|
267195
|
+
"error",
|
|
267196
|
+
"fatal",
|
|
267197
|
+
"warn",
|
|
267198
|
+
"info",
|
|
267199
|
+
"debug",
|
|
267200
|
+
"trace"
|
|
267201
|
+
].concat(customLevels);
|
|
267202
|
+
if (typeof proto === "function") levels.forEach(function(level) {
|
|
267203
|
+
proto[level] = proto;
|
|
267204
|
+
});
|
|
267205
|
+
if (opts.enabled === false || opts.browser.disabled) opts.level = "silent";
|
|
267206
|
+
const level = opts.level || "info";
|
|
267207
|
+
const logger = Object.create(proto);
|
|
267208
|
+
if (!logger.log) logger.log = noop;
|
|
267209
|
+
setupBaseLogFunctions(logger, levels, proto);
|
|
267210
|
+
appendChildLogger({}, logger);
|
|
267211
|
+
Object.defineProperty(logger, "levelVal", { get: getLevelVal });
|
|
267212
|
+
Object.defineProperty(logger, "level", {
|
|
267213
|
+
get: getLevel,
|
|
267214
|
+
set: setLevel
|
|
267215
|
+
});
|
|
267216
|
+
const setOpts = {
|
|
267217
|
+
transmit,
|
|
267218
|
+
serialize,
|
|
267219
|
+
asObject: opts.browser.asObject,
|
|
267220
|
+
asObjectBindingsOnly: opts.browser.asObjectBindingsOnly,
|
|
267221
|
+
formatters: opts.browser.formatters,
|
|
267222
|
+
reportCaller: opts.browser.reportCaller,
|
|
267223
|
+
levels,
|
|
267224
|
+
timestamp: getTimeFunction(opts),
|
|
267225
|
+
messageKey: opts.messageKey || "msg",
|
|
267226
|
+
onChild: opts.onChild || noop
|
|
267227
|
+
};
|
|
267228
|
+
logger.levels = getLevels(opts);
|
|
267229
|
+
logger.level = level;
|
|
267230
|
+
logger.isLevelEnabled = function(level) {
|
|
267231
|
+
if (!this.levels.values[level]) return false;
|
|
267232
|
+
return this.levels.values[level] >= this.levels.values[this.level];
|
|
267233
|
+
};
|
|
267234
|
+
logger.setMaxListeners = logger.getMaxListeners = logger.emit = logger.addListener = logger.on = logger.prependListener = logger.once = logger.prependOnceListener = logger.removeListener = logger.removeAllListeners = logger.listeners = logger.listenerCount = logger.eventNames = logger.write = logger.flush = noop;
|
|
267235
|
+
logger.serializers = serializers;
|
|
267236
|
+
logger._serialize = serialize;
|
|
267237
|
+
logger._stdErrSerialize = stdErrSerialize;
|
|
267238
|
+
logger.child = function(...args) {
|
|
267239
|
+
return child.call(this, setOpts, ...args);
|
|
267240
|
+
};
|
|
267241
|
+
if (transmit) logger._logEvent = createLogEventShape();
|
|
267242
|
+
function getLevelVal() {
|
|
267243
|
+
return levelToValue(this.level, this);
|
|
267244
|
+
}
|
|
267245
|
+
function getLevel() {
|
|
267246
|
+
return this._level;
|
|
267247
|
+
}
|
|
267248
|
+
function setLevel(level) {
|
|
267249
|
+
if (level !== "silent" && !this.levels.values[level]) throw Error("unknown level " + level);
|
|
267250
|
+
this._level = level;
|
|
267251
|
+
set(this, setOpts, logger, "error");
|
|
267252
|
+
set(this, setOpts, logger, "fatal");
|
|
267253
|
+
set(this, setOpts, logger, "warn");
|
|
267254
|
+
set(this, setOpts, logger, "info");
|
|
267255
|
+
set(this, setOpts, logger, "debug");
|
|
267256
|
+
set(this, setOpts, logger, "trace");
|
|
267257
|
+
customLevels.forEach((level) => {
|
|
267258
|
+
set(this, setOpts, logger, level);
|
|
267259
|
+
});
|
|
267260
|
+
}
|
|
267261
|
+
function child(setOpts, bindings, childOptions) {
|
|
267262
|
+
if (!bindings) throw new Error("missing bindings for child Pino");
|
|
267263
|
+
childOptions = childOptions || {};
|
|
267264
|
+
if (serialize && bindings.serializers) childOptions.serializers = bindings.serializers;
|
|
267265
|
+
const childOptionsSerializers = childOptions.serializers;
|
|
267266
|
+
if (serialize && childOptionsSerializers) {
|
|
267267
|
+
var childSerializers = Object.assign({}, serializers, childOptionsSerializers);
|
|
267268
|
+
var childSerialize = opts.browser.serialize === true ? Object.keys(childSerializers) : serialize;
|
|
267269
|
+
delete bindings.serializers;
|
|
267270
|
+
applySerializers([bindings], childSerialize, childSerializers, this._stdErrSerialize);
|
|
267271
|
+
}
|
|
267272
|
+
function Child(parent) {
|
|
267273
|
+
this._childLevel = (parent._childLevel | 0) + 1;
|
|
267274
|
+
this.bindings = bindings;
|
|
267275
|
+
if (childSerializers) {
|
|
267276
|
+
this.serializers = childSerializers;
|
|
267277
|
+
this._serialize = childSerialize;
|
|
267278
|
+
}
|
|
267279
|
+
if (transmit) this._logEvent = createLogEventShape([].concat(parent._logEvent.bindings, bindings));
|
|
267280
|
+
}
|
|
267281
|
+
Child.prototype = this;
|
|
267282
|
+
const newLogger = new Child(this);
|
|
267283
|
+
appendChildLogger(this, newLogger);
|
|
267284
|
+
newLogger.child = function(...args) {
|
|
267285
|
+
return child.call(this, setOpts, ...args);
|
|
267286
|
+
};
|
|
267287
|
+
newLogger.level = childOptions.level || this.level;
|
|
267288
|
+
setOpts.onChild(newLogger);
|
|
267289
|
+
return newLogger;
|
|
267290
|
+
}
|
|
267291
|
+
return logger;
|
|
267292
|
+
}
|
|
267293
|
+
function getLevels(opts) {
|
|
267294
|
+
const customLevels = opts.customLevels || {};
|
|
267295
|
+
return {
|
|
267296
|
+
values: Object.assign({}, pino.levels.values, customLevels),
|
|
267297
|
+
labels: Object.assign({}, pino.levels.labels, invertObject(customLevels))
|
|
267298
|
+
};
|
|
267299
|
+
}
|
|
267300
|
+
function invertObject(obj) {
|
|
267301
|
+
const inverted = {};
|
|
267302
|
+
Object.keys(obj).forEach(function(key) {
|
|
267303
|
+
inverted[obj[key]] = key;
|
|
267304
|
+
});
|
|
267305
|
+
return inverted;
|
|
267306
|
+
}
|
|
267307
|
+
pino.levels = {
|
|
267308
|
+
values: {
|
|
267309
|
+
fatal: 60,
|
|
267310
|
+
error: 50,
|
|
267311
|
+
warn: 40,
|
|
267312
|
+
info: 30,
|
|
267313
|
+
debug: 20,
|
|
267314
|
+
trace: 10
|
|
267315
|
+
},
|
|
267316
|
+
labels: {
|
|
267317
|
+
10: "trace",
|
|
267318
|
+
20: "debug",
|
|
267319
|
+
30: "info",
|
|
267320
|
+
40: "warn",
|
|
267321
|
+
50: "error",
|
|
267322
|
+
60: "fatal"
|
|
267323
|
+
}
|
|
267324
|
+
};
|
|
267325
|
+
pino.stdSerializers = stdSerializers;
|
|
267326
|
+
pino.stdTimeFunctions = Object.assign({}, {
|
|
267327
|
+
nullTime,
|
|
267328
|
+
epochTime,
|
|
267329
|
+
unixTime,
|
|
267330
|
+
isoTime
|
|
267331
|
+
});
|
|
267332
|
+
function getBindingChain(logger) {
|
|
267333
|
+
const bindings = [];
|
|
267334
|
+
if (logger.bindings) bindings.push(logger.bindings);
|
|
267335
|
+
let hierarchy = logger[hierarchySymbol];
|
|
267336
|
+
while (hierarchy.parent) {
|
|
267337
|
+
hierarchy = hierarchy.parent;
|
|
267338
|
+
if (hierarchy.logger.bindings) bindings.push(hierarchy.logger.bindings);
|
|
267339
|
+
}
|
|
267340
|
+
return bindings.reverse();
|
|
267341
|
+
}
|
|
267342
|
+
function set(self, opts, rootLogger, level) {
|
|
267343
|
+
Object.defineProperty(self, level, {
|
|
267344
|
+
value: levelToValue(self.level, rootLogger) > levelToValue(level, rootLogger) ? noop : rootLogger[baseLogFunctionSymbol][level],
|
|
267345
|
+
writable: true,
|
|
267346
|
+
enumerable: true,
|
|
267347
|
+
configurable: true
|
|
267348
|
+
});
|
|
267349
|
+
if (self[level] === noop) {
|
|
267350
|
+
if (!opts.transmit) return;
|
|
267351
|
+
const transmitValue = levelToValue(opts.transmit.level || self.level, rootLogger);
|
|
267352
|
+
if (levelToValue(level, rootLogger) < transmitValue) return;
|
|
267353
|
+
}
|
|
267354
|
+
self[level] = createWrap(self, opts, rootLogger, level);
|
|
267355
|
+
const bindings = getBindingChain(self);
|
|
267356
|
+
if (bindings.length === 0) return;
|
|
267357
|
+
self[level] = prependBindingsInArguments(bindings, self[level]);
|
|
267358
|
+
}
|
|
267359
|
+
function prependBindingsInArguments(bindings, logFunc) {
|
|
267360
|
+
return function() {
|
|
267361
|
+
return logFunc.apply(this, [...bindings, ...arguments]);
|
|
267362
|
+
};
|
|
267363
|
+
}
|
|
267364
|
+
function createWrap(self, opts, rootLogger, level) {
|
|
267365
|
+
return (function(write) {
|
|
267366
|
+
return function LOG() {
|
|
267367
|
+
const ts = opts.timestamp();
|
|
267368
|
+
const args = new Array(arguments.length);
|
|
267369
|
+
const proto = Object.getPrototypeOf && Object.getPrototypeOf(this) === _console ? _console : this;
|
|
267370
|
+
for (var i = 0; i < args.length; i++) args[i] = arguments[i];
|
|
267371
|
+
var argsIsSerialized = false;
|
|
267372
|
+
if (opts.serialize) {
|
|
267373
|
+
applySerializers(args, this._serialize, this.serializers, this._stdErrSerialize);
|
|
267374
|
+
argsIsSerialized = true;
|
|
267375
|
+
}
|
|
267376
|
+
if (opts.asObject || opts.formatters) {
|
|
267377
|
+
const out = asObject(this, level, args, ts, opts);
|
|
267378
|
+
if (opts.reportCaller && out && out.length > 0 && out[0] && typeof out[0] === "object") try {
|
|
267379
|
+
const caller = getCallerLocation();
|
|
267380
|
+
if (caller) out[0].caller = caller;
|
|
267381
|
+
} catch (e) {}
|
|
267382
|
+
write.call(proto, ...out);
|
|
267383
|
+
} else {
|
|
267384
|
+
if (opts.reportCaller) try {
|
|
267385
|
+
const caller = getCallerLocation();
|
|
267386
|
+
if (caller) args.push(caller);
|
|
267387
|
+
} catch (e) {}
|
|
267388
|
+
write.apply(proto, args);
|
|
267389
|
+
}
|
|
267390
|
+
if (opts.transmit) {
|
|
267391
|
+
const transmitLevel = opts.transmit.level || self._level;
|
|
267392
|
+
const transmitValue = levelToValue(transmitLevel, rootLogger);
|
|
267393
|
+
const methodValue = levelToValue(level, rootLogger);
|
|
267394
|
+
if (methodValue < transmitValue) return;
|
|
267395
|
+
transmit(this, {
|
|
267396
|
+
ts,
|
|
267397
|
+
methodLevel: level,
|
|
267398
|
+
methodValue,
|
|
267399
|
+
transmitLevel,
|
|
267400
|
+
transmitValue: rootLogger.levels.values[opts.transmit.level || self._level],
|
|
267401
|
+
send: opts.transmit.send,
|
|
267402
|
+
val: levelToValue(self._level, rootLogger)
|
|
267403
|
+
}, args, argsIsSerialized);
|
|
267404
|
+
}
|
|
267405
|
+
};
|
|
267406
|
+
})(self[baseLogFunctionSymbol][level]);
|
|
267407
|
+
}
|
|
267408
|
+
function asObject(logger, level, args, ts, opts) {
|
|
267409
|
+
const { level: levelFormatter, log: logObjectFormatter = (obj) => obj } = opts.formatters || {};
|
|
267410
|
+
const argsCloned = args.slice();
|
|
267411
|
+
let msg = argsCloned[0];
|
|
267412
|
+
const logObject = {};
|
|
267413
|
+
let lvl = (logger._childLevel | 0) + 1;
|
|
267414
|
+
if (lvl < 1) lvl = 1;
|
|
267415
|
+
if (ts) logObject.time = ts;
|
|
267416
|
+
if (levelFormatter) {
|
|
267417
|
+
const formattedLevel = levelFormatter(level, logger.levels.values[level]);
|
|
267418
|
+
Object.assign(logObject, formattedLevel);
|
|
267419
|
+
} else logObject.level = logger.levels.values[level];
|
|
267420
|
+
if (opts.asObjectBindingsOnly) {
|
|
267421
|
+
if (msg !== null && typeof msg === "object") while (lvl-- && typeof argsCloned[0] === "object") Object.assign(logObject, argsCloned.shift());
|
|
267422
|
+
return [logObjectFormatter(logObject), ...argsCloned];
|
|
267423
|
+
} else {
|
|
267424
|
+
if (msg !== null && typeof msg === "object") {
|
|
267425
|
+
while (lvl-- && typeof argsCloned[0] === "object") Object.assign(logObject, argsCloned.shift());
|
|
267426
|
+
msg = argsCloned.length ? format(argsCloned.shift(), argsCloned) : void 0;
|
|
267427
|
+
} else if (typeof msg === "string") msg = format(argsCloned.shift(), argsCloned);
|
|
267428
|
+
if (msg !== void 0) logObject[opts.messageKey] = msg;
|
|
267429
|
+
return [logObjectFormatter(logObject)];
|
|
267430
|
+
}
|
|
267431
|
+
}
|
|
267432
|
+
function applySerializers(args, serialize, serializers, stdErrSerialize) {
|
|
267433
|
+
for (const i in args) if (stdErrSerialize && args[i] instanceof Error) args[i] = pino.stdSerializers.err(args[i]);
|
|
267434
|
+
else if (typeof args[i] === "object" && !Array.isArray(args[i]) && serialize) {
|
|
267435
|
+
for (const k in args[i]) if (serialize.indexOf(k) > -1 && k in serializers) args[i][k] = serializers[k](args[i][k]);
|
|
267436
|
+
}
|
|
267437
|
+
}
|
|
267438
|
+
function transmit(logger, opts, args, argsIsSerialized = false) {
|
|
267439
|
+
const send = opts.send;
|
|
267440
|
+
const ts = opts.ts;
|
|
267441
|
+
const methodLevel = opts.methodLevel;
|
|
267442
|
+
const methodValue = opts.methodValue;
|
|
267443
|
+
const val = opts.val;
|
|
267444
|
+
const bindings = logger._logEvent.bindings;
|
|
267445
|
+
if (!argsIsSerialized) applySerializers(args, logger._serialize || Object.keys(logger.serializers), logger.serializers, logger._stdErrSerialize === void 0 ? true : logger._stdErrSerialize);
|
|
267446
|
+
logger._logEvent.ts = ts;
|
|
267447
|
+
logger._logEvent.messages = args.filter(function(arg) {
|
|
267448
|
+
return bindings.indexOf(arg) === -1;
|
|
267449
|
+
});
|
|
267450
|
+
logger._logEvent.level.label = methodLevel;
|
|
267451
|
+
logger._logEvent.level.value = methodValue;
|
|
267452
|
+
send(methodLevel, logger._logEvent, val);
|
|
267453
|
+
logger._logEvent = createLogEventShape(bindings);
|
|
267454
|
+
}
|
|
267455
|
+
function createLogEventShape(bindings) {
|
|
267456
|
+
return {
|
|
267457
|
+
ts: 0,
|
|
267458
|
+
messages: [],
|
|
267459
|
+
bindings: bindings || [],
|
|
267460
|
+
level: {
|
|
267461
|
+
label: "",
|
|
267462
|
+
value: 0
|
|
267463
|
+
}
|
|
267464
|
+
};
|
|
267465
|
+
}
|
|
267466
|
+
function asErrValue(err) {
|
|
267467
|
+
const obj = {
|
|
267468
|
+
type: err.constructor.name,
|
|
267469
|
+
msg: err.message,
|
|
267470
|
+
stack: err.stack
|
|
267471
|
+
};
|
|
267472
|
+
for (const key in err) if (obj[key] === void 0) obj[key] = err[key];
|
|
267473
|
+
return obj;
|
|
267474
|
+
}
|
|
267475
|
+
function getTimeFunction(opts) {
|
|
267476
|
+
if (typeof opts.timestamp === "function") return opts.timestamp;
|
|
267477
|
+
if (opts.timestamp === false) return nullTime;
|
|
267478
|
+
return epochTime;
|
|
267479
|
+
}
|
|
267480
|
+
function mock() {
|
|
267481
|
+
return {};
|
|
267482
|
+
}
|
|
267483
|
+
function passthrough(a) {
|
|
267484
|
+
return a;
|
|
267485
|
+
}
|
|
267486
|
+
function noop() {}
|
|
267487
|
+
function nullTime() {
|
|
267488
|
+
return false;
|
|
267489
|
+
}
|
|
267490
|
+
function epochTime() {
|
|
267491
|
+
return Date.now();
|
|
267492
|
+
}
|
|
267493
|
+
function unixTime() {
|
|
267494
|
+
return Math.round(Date.now() / 1e3);
|
|
267495
|
+
}
|
|
267496
|
+
function isoTime() {
|
|
267497
|
+
return new Date(Date.now()).toISOString();
|
|
267498
|
+
}
|
|
267499
|
+
/* istanbul ignore next */
|
|
267500
|
+
function pfGlobalThisOrFallback() {
|
|
267501
|
+
function defd(o) {
|
|
267502
|
+
return typeof o !== "undefined" && o;
|
|
267503
|
+
}
|
|
267504
|
+
try {
|
|
267505
|
+
if (typeof globalThis !== "undefined") return globalThis;
|
|
267506
|
+
Object.defineProperty(Object.prototype, "globalThis", {
|
|
267507
|
+
get: function() {
|
|
267508
|
+
delete Object.prototype.globalThis;
|
|
267509
|
+
return this.globalThis = this;
|
|
267510
|
+
},
|
|
267511
|
+
configurable: true
|
|
267512
|
+
});
|
|
267513
|
+
return globalThis;
|
|
267514
|
+
} catch (e) {
|
|
267515
|
+
return defd(self) || defd(window) || defd(this) || {};
|
|
267516
|
+
}
|
|
267517
|
+
}
|
|
267518
|
+
module.exports.default = pino;
|
|
267519
|
+
module.exports.pino = pino;
|
|
267520
|
+
/* istanbul ignore next */
|
|
267521
|
+
function getCallerLocation() {
|
|
267522
|
+
const stack = (/* @__PURE__ */ new Error()).stack;
|
|
267523
|
+
if (!stack) return null;
|
|
267524
|
+
const lines = stack.split("\n");
|
|
267525
|
+
for (let i = 1; i < lines.length; i++) {
|
|
267526
|
+
const l = lines[i].trim();
|
|
267527
|
+
if (/(^at\s+)?(createWrap|LOG|set\s*\(|asObject|Object\.apply|Function\.apply)/.test(l)) continue;
|
|
267528
|
+
if (l.indexOf("browser.js") !== -1) continue;
|
|
267529
|
+
if (l.indexOf("node:internal") !== -1) continue;
|
|
267530
|
+
if (l.indexOf("node_modules") !== -1) continue;
|
|
267531
|
+
let m = l.match(/\((.*?):(\d+):(\d+)\)/);
|
|
267532
|
+
if (!m) m = l.match(/at\s+(.*?):(\d+):(\d+)/);
|
|
267533
|
+
if (m) {
|
|
267534
|
+
const file = m[1];
|
|
267535
|
+
const line = m[2];
|
|
267536
|
+
const col = m[3];
|
|
267537
|
+
return file + ":" + line + ":" + col;
|
|
267538
|
+
}
|
|
267539
|
+
}
|
|
267540
|
+
return null;
|
|
267541
|
+
}
|
|
267542
|
+
}));
|
|
267543
|
+
//#endregion
|
|
267544
|
+
//#region packages/self-host-runtime/src/runtime-logger.ts
|
|
267545
|
+
var import_browser = /* @__PURE__ */ __toESM(require_browser(), 1);
|
|
267546
|
+
function writeRuntimeLog(record) {
|
|
267547
|
+
switch (record.level) {
|
|
267548
|
+
case "error":
|
|
267549
|
+
console.error(record);
|
|
267550
|
+
return;
|
|
267551
|
+
case "warn":
|
|
267552
|
+
console.warn(record);
|
|
267553
|
+
return;
|
|
267554
|
+
case "debug":
|
|
267555
|
+
console.debug(record);
|
|
267556
|
+
return;
|
|
267557
|
+
default: console.info(record);
|
|
267558
|
+
}
|
|
267559
|
+
}
|
|
267560
|
+
const runtimeRootLogger = (0, import_browser.default)({
|
|
267561
|
+
browser: {
|
|
267562
|
+
asObject: true,
|
|
267563
|
+
formatters: { level: (level) => ({ level }) },
|
|
267564
|
+
write: writeRuntimeLog
|
|
267565
|
+
},
|
|
267566
|
+
messageKey: "message",
|
|
267567
|
+
timestamp: import_browser.default.stdTimeFunctions.isoTime
|
|
267568
|
+
}).child({ service: "@onequery/self-host-runtime" });
|
|
267569
|
+
function createRuntimeLogger(bindings) {
|
|
267570
|
+
return runtimeRootLogger.child(bindings);
|
|
267571
|
+
}
|
|
267572
|
+
//#endregion
|
|
266780
267573
|
//#region packages/self-host-runtime/src/app.ts
|
|
266781
|
-
function
|
|
266782
|
-
|
|
267574
|
+
function getRuntimeRequestLogMethod(logger, status) {
|
|
267575
|
+
if (status >= 500) return logger.error.bind(logger);
|
|
267576
|
+
if (status >= 400) return logger.warn.bind(logger);
|
|
267577
|
+
return logger.info.bind(logger);
|
|
266783
267578
|
}
|
|
266784
267579
|
function resolveStorage(input) {
|
|
266785
267580
|
return input.storage ?? createServerStorage(input.runtime, createMemoryApiRateLimitStorage(), { enableAuthTestUtils: input.enableAuthTestUtils });
|
|
266786
267581
|
}
|
|
266787
267582
|
function createApiApp(input) {
|
|
266788
267583
|
const storage = resolveStorage(input);
|
|
266789
|
-
return new Hono().use("*",
|
|
267584
|
+
return new Hono().use("*", requestId()).use("*", structuredLogger({
|
|
267585
|
+
createLogger: (c) => createRuntimeLogger({
|
|
267586
|
+
method: c.req.method,
|
|
267587
|
+
path: c.req.path,
|
|
267588
|
+
requestId: c.var.requestId
|
|
267589
|
+
}),
|
|
267590
|
+
onError: (logger, error, c) => {
|
|
267591
|
+
logger.error({
|
|
267592
|
+
err: error,
|
|
267593
|
+
event: "request.failed",
|
|
267594
|
+
status: c.res.status
|
|
267595
|
+
}, "request failed");
|
|
267596
|
+
},
|
|
267597
|
+
onRequest: () => {},
|
|
267598
|
+
onResponse: (logger, c, elapsedMs) => {
|
|
267599
|
+
getRuntimeRequestLogMethod(logger, c.res.status)({
|
|
267600
|
+
durationMs: Math.max(0, Math.round(elapsedMs)),
|
|
267601
|
+
event: "request.finished",
|
|
267602
|
+
status: c.res.status
|
|
267603
|
+
}, "request finished");
|
|
267604
|
+
}
|
|
267605
|
+
})).route(DEVICE_AUTHORIZATION_API_ROUTE_PREFIX, createDeviceAuthorizationBrowserRoute({
|
|
266790
267606
|
runtime: input.runtime,
|
|
266791
267607
|
storage
|
|
266792
267608
|
})).route(CLI_API_ROUTE_PREFIX, createCliRoute({
|