@onequery/cli 0.1.50-alpha.1-win32-x64 → 0.1.50-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/dashboard/assets/_authenticated-CGmAYz8Z.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-DJ_4zmt8.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-f6xppY7b.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-COtToeSC.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-LQg_2-5v.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-L0p_sbmf.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/budget-CpNnCDvc.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-wu4tr9JD.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-DX7qJ2z3.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-3pvIA31m.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-veJddN9s.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-DiO7zB9V.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-DcFcmY-G.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-C0JyH5J3.js → aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-DGIyt0OF.js} +2 -2
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/device-GZIoJtbw.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-CLot8VIw.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-1lFANFIg.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-CZKXq9HA.js → aarch64-apple-darwin/runtime/dashboard/assets/home-BL1SSXlH.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-C_q-gtGv.js → aarch64-apple-darwin/runtime/dashboard/assets/index-BZrWlEXZ.js} +2 -2
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-B2b7o-ye.js → aarch64-apple-darwin/runtime/dashboard/assets/integrations-B4PT4c-V.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-D0BbiY9f.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-BTttPHZm.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-jr9opiO_.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/signin-VOTh7Maw.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/team-CWGusGkh.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-CcB6O_vF.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-CdJo4s34.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-BCZ8tApt.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-D88ezW6g.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-B3PCmH7w.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-C_843G5v.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-jz7A3Y4u.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-BXj42YYV.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/xstate-react.esm--l_MSO73.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +1 -1
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +328 -320
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-jeO_g_0N.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/device-DJhBvm-V.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-Dt2OlNDo.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-DNF0ckUg.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/team-BL56C5sF.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-Bj5cJCZc.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-ZQGYM-g4.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/xstate-react.esm-CfqAjJyu.js +0 -1
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeItem-CZdKsA45.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeList-C9xWKWEY.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/DialogTitle-DSjY6Xud.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconDatabase-BLZDgpcN.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconHistory-k3NVXypq.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconLoader2-CZSIppar.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconPlus-Ie-KpLOF.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconX-Cg43mUxH.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/Separator-Di8cGnYl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/alert-TnJXtO0T.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-client-F8Y7IuHn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-paths-DcYkf-C_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/app-routes-DM5pppqD.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-bootstrap-query-KhD_VRw3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-client-Dj6z7Pcl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/avatar-DoLsibq3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/badge-D8XKsDus.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/card-CZCl7QNy.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/checkbox-BLYovhFU.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/dist-Cg-lnuP8.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/empty-DjRo5ytz.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/format-date-B5v-Ga9z.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getDisabledMountTransitionStyles-f3pOCbyk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getPseudoElementBounds-BpCtHFAC.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/index-ClbN-fUj.css +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/input-DSkIbIFK.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/label-CUY3W2yp.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-permissions-PidGz2SY.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-query-keys-Dl2dsKXD.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-timing-C8VVOl1e.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/queryOptions-LX_zDC40.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/removable-DwbP0VJV.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/schemas-K0ZhTj23.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/select-BSubTgC3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/separator-CWjuJH0f.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/settings-B3gO4YZk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/src-Cs2YIecp.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/table-mA0t_uVk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/textarea-B57VG43g.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useBaseUiId-Cn1kR417.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useCompositeItem-DqawtL5i.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useControlled-C1S7R-1A.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRender-DFMo54_d.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useValueChanged-CH03vPJ5.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/zod-BgAmwIO1.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step2_new_fine_grained_token_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/linear.svg +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
- /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
|
@@ -116030,6 +116030,150 @@ function structuredLogger(options) {
|
|
|
116030
116030
|
};
|
|
116031
116031
|
}
|
|
116032
116032
|
//#endregion
|
|
116033
|
+
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/utils/cookie.js
|
|
116034
|
+
var validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
|
|
116035
|
+
var validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
|
|
116036
|
+
var trimCookieWhitespace = (value) => {
|
|
116037
|
+
let start = 0;
|
|
116038
|
+
let end = value.length;
|
|
116039
|
+
while (start < end) {
|
|
116040
|
+
const charCode = value.charCodeAt(start);
|
|
116041
|
+
if (charCode !== 32 && charCode !== 9) break;
|
|
116042
|
+
start++;
|
|
116043
|
+
}
|
|
116044
|
+
while (end > start) {
|
|
116045
|
+
const charCode = value.charCodeAt(end - 1);
|
|
116046
|
+
if (charCode !== 32 && charCode !== 9) break;
|
|
116047
|
+
end--;
|
|
116048
|
+
}
|
|
116049
|
+
return start === 0 && end === value.length ? value : value.slice(start, end);
|
|
116050
|
+
};
|
|
116051
|
+
var parse$1 = (cookie, name) => {
|
|
116052
|
+
if (name && cookie.indexOf(name) === -1) return {};
|
|
116053
|
+
const pairs = cookie.split(";");
|
|
116054
|
+
const parsedCookie = {};
|
|
116055
|
+
for (const pairStr of pairs) {
|
|
116056
|
+
const valueStartPos = pairStr.indexOf("=");
|
|
116057
|
+
if (valueStartPos === -1) continue;
|
|
116058
|
+
const cookieName = trimCookieWhitespace(pairStr.substring(0, valueStartPos));
|
|
116059
|
+
if (name && name !== cookieName || !validCookieNameRegEx.test(cookieName)) continue;
|
|
116060
|
+
let cookieValue = trimCookieWhitespace(pairStr.substring(valueStartPos + 1));
|
|
116061
|
+
if (cookieValue.startsWith("\"") && cookieValue.endsWith("\"")) cookieValue = cookieValue.slice(1, -1);
|
|
116062
|
+
if (validCookieValueRegEx.test(cookieValue)) {
|
|
116063
|
+
parsedCookie[cookieName] = cookieValue.indexOf("%") !== -1 ? tryDecode$3(cookieValue, decodeURIComponent_) : cookieValue;
|
|
116064
|
+
if (name) break;
|
|
116065
|
+
}
|
|
116066
|
+
}
|
|
116067
|
+
return parsedCookie;
|
|
116068
|
+
};
|
|
116069
|
+
//#endregion
|
|
116070
|
+
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/helper/cookie/index.js
|
|
116071
|
+
var getCookie = (c, key, prefix) => {
|
|
116072
|
+
const cookie = c.req.raw.headers.get("Cookie");
|
|
116073
|
+
if (typeof key === "string") {
|
|
116074
|
+
if (!cookie) return;
|
|
116075
|
+
let finalKey = key;
|
|
116076
|
+
if (prefix === "secure") finalKey = "__Secure-" + key;
|
|
116077
|
+
else if (prefix === "host") finalKey = "__Host-" + key;
|
|
116078
|
+
return parse$1(cookie, finalKey)[finalKey];
|
|
116079
|
+
}
|
|
116080
|
+
if (!cookie) return {};
|
|
116081
|
+
return parse$1(cookie);
|
|
116082
|
+
};
|
|
116083
|
+
//#endregion
|
|
116084
|
+
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/utils/buffer.js
|
|
116085
|
+
var bufferToFormData = (arrayBuffer, contentType) => {
|
|
116086
|
+
return new Response(arrayBuffer, { headers: { "Content-Type": contentType } }).formData();
|
|
116087
|
+
};
|
|
116088
|
+
//#endregion
|
|
116089
|
+
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/validator/validator.js
|
|
116090
|
+
var jsonRegex = /^application\/([a-z-\.]+\+)?json(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
|
|
116091
|
+
var multipartRegex = /^multipart\/form-data(;\s?boundary=[a-zA-Z0-9'"()+_,\-./:=?]+)?$/;
|
|
116092
|
+
var urlencodedRegex = /^application\/x-www-form-urlencoded(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
|
|
116093
|
+
var validator = (target, validationFunc) => {
|
|
116094
|
+
return async (c, next) => {
|
|
116095
|
+
let value = {};
|
|
116096
|
+
const contentType = c.req.header("Content-Type");
|
|
116097
|
+
switch (target) {
|
|
116098
|
+
case "json":
|
|
116099
|
+
if (!contentType || !jsonRegex.test(contentType)) break;
|
|
116100
|
+
try {
|
|
116101
|
+
value = await c.req.json();
|
|
116102
|
+
} catch {
|
|
116103
|
+
throw new HTTPException(400, { message: "Malformed JSON in request body" });
|
|
116104
|
+
}
|
|
116105
|
+
break;
|
|
116106
|
+
case "form": {
|
|
116107
|
+
if (!contentType || !(multipartRegex.test(contentType) || urlencodedRegex.test(contentType))) break;
|
|
116108
|
+
let formData;
|
|
116109
|
+
if (c.req.bodyCache.formData) formData = await c.req.bodyCache.formData;
|
|
116110
|
+
else try {
|
|
116111
|
+
formData = await bufferToFormData(await c.req.arrayBuffer(), contentType);
|
|
116112
|
+
c.req.bodyCache.formData = formData;
|
|
116113
|
+
} catch (e) {
|
|
116114
|
+
let message = "Malformed FormData request.";
|
|
116115
|
+
message += e instanceof Error ? ` ${e.message}` : ` ${String(e)}`;
|
|
116116
|
+
throw new HTTPException(400, { message });
|
|
116117
|
+
}
|
|
116118
|
+
const form = /* @__PURE__ */ Object.create(null);
|
|
116119
|
+
formData.forEach((value2, key) => {
|
|
116120
|
+
if (key.endsWith("[]")) (form[key] ??= []).push(value2);
|
|
116121
|
+
else if (Array.isArray(form[key])) form[key].push(value2);
|
|
116122
|
+
else if (Object.hasOwn(form, key)) form[key] = [form[key], value2];
|
|
116123
|
+
else form[key] = value2;
|
|
116124
|
+
});
|
|
116125
|
+
value = form;
|
|
116126
|
+
break;
|
|
116127
|
+
}
|
|
116128
|
+
case "query":
|
|
116129
|
+
value = Object.fromEntries(Object.entries(c.req.queries()).map(([k, v]) => {
|
|
116130
|
+
return v.length === 1 ? [k, v[0]] : [k, v];
|
|
116131
|
+
}));
|
|
116132
|
+
break;
|
|
116133
|
+
case "param":
|
|
116134
|
+
value = c.req.param();
|
|
116135
|
+
break;
|
|
116136
|
+
case "header":
|
|
116137
|
+
value = c.req.header();
|
|
116138
|
+
break;
|
|
116139
|
+
case "cookie":
|
|
116140
|
+
value = getCookie(c);
|
|
116141
|
+
break;
|
|
116142
|
+
}
|
|
116143
|
+
const res = await validationFunc(value, c);
|
|
116144
|
+
if (res instanceof Response) return res;
|
|
116145
|
+
c.req.addValidatedData(target, res);
|
|
116146
|
+
return await next();
|
|
116147
|
+
};
|
|
116148
|
+
};
|
|
116149
|
+
//#endregion
|
|
116150
|
+
//#region node_modules/.bun/@hono+zod-validator@0.7.6+e150c50e5b27a1c6/node_modules/@hono/zod-validator/dist/index.js
|
|
116151
|
+
function zValidatorFunction(target, schema, hook, options) {
|
|
116152
|
+
return validator(target, async (value, c) => {
|
|
116153
|
+
let validatorValue = value;
|
|
116154
|
+
if (target === "header" && "_def" in schema || target === "header" && "_zod" in schema) {
|
|
116155
|
+
const schemaKeys = Object.keys("in" in schema ? schema.in.shape : schema.shape);
|
|
116156
|
+
const caseInsensitiveKeymap = Object.fromEntries(schemaKeys.map((key) => [key.toLowerCase(), key]));
|
|
116157
|
+
validatorValue = Object.fromEntries(Object.entries(value).map(([key, value$1]) => [caseInsensitiveKeymap[key] || key, value$1]));
|
|
116158
|
+
}
|
|
116159
|
+
const result = options && options.validationFunction ? await options.validationFunction(schema, validatorValue) : await schema.safeParseAsync(validatorValue);
|
|
116160
|
+
if (hook) {
|
|
116161
|
+
const hookResult = await hook({
|
|
116162
|
+
data: validatorValue,
|
|
116163
|
+
...result,
|
|
116164
|
+
target
|
|
116165
|
+
}, c);
|
|
116166
|
+
if (hookResult) {
|
|
116167
|
+
if (hookResult instanceof Response) return hookResult;
|
|
116168
|
+
if ("response" in hookResult) return hookResult.response;
|
|
116169
|
+
}
|
|
116170
|
+
}
|
|
116171
|
+
if (!result.success) return c.json(result, 400);
|
|
116172
|
+
return result.data;
|
|
116173
|
+
});
|
|
116174
|
+
}
|
|
116175
|
+
const zValidator = zValidatorFunction;
|
|
116176
|
+
//#endregion
|
|
116033
116177
|
//#region packages/base/src/device-auth.ts
|
|
116034
116178
|
const DEVICE_USER_CODE_PATTERN = new RegExp(`^[A-Z0-9]{8}$`);
|
|
116035
116179
|
function normalizeDeviceUserCode(value) {
|
|
@@ -116038,6 +116182,163 @@ function normalizeDeviceUserCode(value) {
|
|
|
116038
116182
|
return normalized;
|
|
116039
116183
|
}
|
|
116040
116184
|
//#endregion
|
|
116185
|
+
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-JW7PXR25.js
|
|
116186
|
+
var STATUS_PHRASES = {
|
|
116187
|
+
400: "Bad Request",
|
|
116188
|
+
401: "Unauthorized",
|
|
116189
|
+
402: "Payment Required",
|
|
116190
|
+
403: "Forbidden",
|
|
116191
|
+
404: "Not Found",
|
|
116192
|
+
405: "Method Not Allowed",
|
|
116193
|
+
406: "Not Acceptable",
|
|
116194
|
+
407: "Proxy Authentication Required",
|
|
116195
|
+
408: "Request Timeout",
|
|
116196
|
+
409: "Conflict",
|
|
116197
|
+
410: "Gone",
|
|
116198
|
+
411: "Length Required",
|
|
116199
|
+
412: "Precondition Failed",
|
|
116200
|
+
413: "Content Too Large",
|
|
116201
|
+
414: "URI Too Long",
|
|
116202
|
+
415: "Unsupported Media Type",
|
|
116203
|
+
416: "Range Not Satisfiable",
|
|
116204
|
+
417: "Expectation Failed",
|
|
116205
|
+
418: "I'm a Teapot",
|
|
116206
|
+
421: "Misdirected Request",
|
|
116207
|
+
422: "Unprocessable Content",
|
|
116208
|
+
423: "Locked",
|
|
116209
|
+
424: "Failed Dependency",
|
|
116210
|
+
425: "Too Early",
|
|
116211
|
+
426: "Upgrade Required",
|
|
116212
|
+
428: "Precondition Required",
|
|
116213
|
+
429: "Too Many Requests",
|
|
116214
|
+
431: "Request Header Fields Too Large",
|
|
116215
|
+
451: "Unavailable For Legal Reasons",
|
|
116216
|
+
500: "Internal Server Error",
|
|
116217
|
+
501: "Not Implemented",
|
|
116218
|
+
502: "Bad Gateway",
|
|
116219
|
+
503: "Service Unavailable",
|
|
116220
|
+
504: "Gateway Timeout",
|
|
116221
|
+
505: "HTTP Version Not Supported",
|
|
116222
|
+
506: "Variant Also Negotiates",
|
|
116223
|
+
507: "Insufficient Storage",
|
|
116224
|
+
508: "Loop Detected",
|
|
116225
|
+
510: "Not Extended",
|
|
116226
|
+
511: "Network Authentication Required"
|
|
116227
|
+
};
|
|
116228
|
+
var STATUS_SLUGS = Object.fromEntries(Object.entries(STATUS_PHRASES).map(([code, phrase]) => [Number(code), phrase.toLowerCase().replace(/'/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")]));
|
|
116229
|
+
function statusToPhrase(status) {
|
|
116230
|
+
return STATUS_PHRASES[status];
|
|
116231
|
+
}
|
|
116232
|
+
function statusToSlug(status) {
|
|
116233
|
+
return STATUS_SLUGS[status];
|
|
116234
|
+
}
|
|
116235
|
+
//#endregion
|
|
116236
|
+
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-63332VQA.js
|
|
116237
|
+
var PROBLEM_JSON_CONTENT_TYPE = "application/problem+json; charset=utf-8";
|
|
116238
|
+
var DANGEROUS_KEYS = /* @__PURE__ */ new Set([
|
|
116239
|
+
"__proto__",
|
|
116240
|
+
"constructor",
|
|
116241
|
+
"prototype"
|
|
116242
|
+
]);
|
|
116243
|
+
function sanitizeExtensions(extensions) {
|
|
116244
|
+
if (!extensions) return extensions;
|
|
116245
|
+
let filtered;
|
|
116246
|
+
for (const key of Object.keys(extensions)) if (DANGEROUS_KEYS.has(key)) {
|
|
116247
|
+
if (!filtered) filtered = { ...extensions };
|
|
116248
|
+
delete filtered[key];
|
|
116249
|
+
}
|
|
116250
|
+
return filtered ?? extensions;
|
|
116251
|
+
}
|
|
116252
|
+
function clampHttpStatus(status) {
|
|
116253
|
+
return Number.isInteger(status) && status >= 200 && status <= 599 ? status : 500;
|
|
116254
|
+
}
|
|
116255
|
+
var FALLBACK_BODY = JSON.stringify({
|
|
116256
|
+
type: "about:blank",
|
|
116257
|
+
status: 500,
|
|
116258
|
+
title: "Internal Server Error"
|
|
116259
|
+
});
|
|
116260
|
+
function normalizeProblemDetails(input) {
|
|
116261
|
+
return {
|
|
116262
|
+
type: input.type ?? "about:blank",
|
|
116263
|
+
status: input.status,
|
|
116264
|
+
title: input.title ?? statusToPhrase(input.status) ?? "Unknown Error",
|
|
116265
|
+
detail: input.detail,
|
|
116266
|
+
instance: input.instance,
|
|
116267
|
+
extensions: input.extensions
|
|
116268
|
+
};
|
|
116269
|
+
}
|
|
116270
|
+
function buildProblemResponse(pd) {
|
|
116271
|
+
const { extensions, ...standard } = pd;
|
|
116272
|
+
const { json, fallback } = safeStringify({
|
|
116273
|
+
...sanitizeExtensions(extensions),
|
|
116274
|
+
...standard
|
|
116275
|
+
});
|
|
116276
|
+
return new Response(json, {
|
|
116277
|
+
status: fallback ? 500 : clampHttpStatus(pd.status),
|
|
116278
|
+
headers: { "Content-Type": PROBLEM_JSON_CONTENT_TYPE }
|
|
116279
|
+
});
|
|
116280
|
+
}
|
|
116281
|
+
function safeStringify(body) {
|
|
116282
|
+
try {
|
|
116283
|
+
return {
|
|
116284
|
+
json: JSON.stringify(body),
|
|
116285
|
+
fallback: false
|
|
116286
|
+
};
|
|
116287
|
+
} catch {
|
|
116288
|
+
return {
|
|
116289
|
+
json: FALLBACK_BODY,
|
|
116290
|
+
fallback: true
|
|
116291
|
+
};
|
|
116292
|
+
}
|
|
116293
|
+
}
|
|
116294
|
+
//#endregion
|
|
116295
|
+
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-O5AEI2VV.js
|
|
116296
|
+
var CONTROL_CHAR_RE = /[\x00-\x1f\x7f]/g;
|
|
116297
|
+
function stripControlChars(input) {
|
|
116298
|
+
return input.replace(CONTROL_CHAR_RE, "");
|
|
116299
|
+
}
|
|
116300
|
+
function sanitizeError(error) {
|
|
116301
|
+
return {
|
|
116302
|
+
field: stripControlChars(error.field),
|
|
116303
|
+
message: stripControlChars(error.message),
|
|
116304
|
+
...error.code !== void 0 ? { code: stripControlChars(error.code) } : {}
|
|
116305
|
+
};
|
|
116306
|
+
}
|
|
116307
|
+
function buildValidationResponse(errors, options) {
|
|
116308
|
+
const body = {
|
|
116309
|
+
type: "about:blank",
|
|
116310
|
+
status: 422,
|
|
116311
|
+
title: options?.title ?? "Validation Error",
|
|
116312
|
+
detail: options?.detail ?? "Request validation failed",
|
|
116313
|
+
errors: errors.map(sanitizeError)
|
|
116314
|
+
};
|
|
116315
|
+
return new Response(JSON.stringify(body), {
|
|
116316
|
+
status: 422,
|
|
116317
|
+
headers: { "Content-Type": PROBLEM_JSON_CONTENT_TYPE }
|
|
116318
|
+
});
|
|
116319
|
+
}
|
|
116320
|
+
//#endregion
|
|
116321
|
+
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/integrations/zod.js
|
|
116322
|
+
function formatErrors(zodError) {
|
|
116323
|
+
return zodError.issues.map((issue) => ({
|
|
116324
|
+
field: issue.path.join("."),
|
|
116325
|
+
message: issue.message,
|
|
116326
|
+
code: issue.code
|
|
116327
|
+
}));
|
|
116328
|
+
}
|
|
116329
|
+
function zodProblemHook$1(options) {
|
|
116330
|
+
return (result, _c) => {
|
|
116331
|
+
if (result.success) return;
|
|
116332
|
+
return buildValidationResponse(formatErrors(result.error), options);
|
|
116333
|
+
};
|
|
116334
|
+
}
|
|
116335
|
+
//#endregion
|
|
116336
|
+
//#region packages/server/src/problem-details/zod-problem-hook.ts
|
|
116337
|
+
function zodProblemHook(options) {
|
|
116338
|
+
const hook = zodProblemHook$1(options);
|
|
116339
|
+
return (result, c) => hook(result, c);
|
|
116340
|
+
}
|
|
116341
|
+
//#endregion
|
|
116041
116342
|
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/middleware/request-id/request-id.js
|
|
116042
116343
|
var requestId = ({ limitLength = 255, headerName = "X-Request-Id", generator = () => crypto.randomUUID() } = {}) => {
|
|
116043
116344
|
return async function requestId2(c, next) {
|
|
@@ -116326,6 +116627,19 @@ const DeviceVerifySchema = object$1({
|
|
|
116326
116627
|
]),
|
|
116327
116628
|
user_code: string$3()
|
|
116328
116629
|
});
|
|
116630
|
+
const DeviceUserCodeSchema = string$3().transform((value, context) => {
|
|
116631
|
+
const userCode = normalizeUserCode(value);
|
|
116632
|
+
if (!userCode) {
|
|
116633
|
+
context.addIssue({
|
|
116634
|
+
code: "custom",
|
|
116635
|
+
message: "Enter the code shown in your terminal to continue."
|
|
116636
|
+
});
|
|
116637
|
+
return NEVER$1;
|
|
116638
|
+
}
|
|
116639
|
+
return userCode;
|
|
116640
|
+
});
|
|
116641
|
+
const DeviceUserCodeQuerySchema = object$1({ user_code: DeviceUserCodeSchema });
|
|
116642
|
+
const DeviceUserCodeFormSchema = object$1({ user_code: DeviceUserCodeSchema });
|
|
116329
116643
|
const DeviceVerifyApiResponseSchema = object$1({
|
|
116330
116644
|
status: DeviceVerifySchema.shape.status,
|
|
116331
116645
|
userCode: string$3().min(1)
|
|
@@ -116350,9 +116664,8 @@ function createDeviceAuthorizationBrowserRoute(input) {
|
|
|
116350
116664
|
return c.redirect(buildSigninUrl(c.req.url, c.var.runtime.auth.baseURL, userCode), 302);
|
|
116351
116665
|
}
|
|
116352
116666
|
return c.redirect(buildDevicePageUrl(c.req.url, userCode), 302);
|
|
116353
|
-
}).get("/verify", async (c) => {
|
|
116354
|
-
const userCode =
|
|
116355
|
-
if (!userCode) return c.json({ error: "Enter the code shown in your terminal to continue." }, 400);
|
|
116667
|
+
}).get("/verify", zValidator("query", DeviceUserCodeQuerySchema, zodProblemHook()), async (c) => {
|
|
116668
|
+
const { user_code: userCode } = c.req.valid("query");
|
|
116356
116669
|
const verification = await verifyDeviceCode(c.var.storage.auth, c.req.raw, userCode);
|
|
116357
116670
|
if (verification.kind === "invalid") {
|
|
116358
116671
|
logCliEvent({
|
|
@@ -116366,21 +116679,19 @@ function createDeviceAuthorizationBrowserRoute(input) {
|
|
|
116366
116679
|
status: verification.status,
|
|
116367
116680
|
userCode: verification.userCode
|
|
116368
116681
|
}), 200);
|
|
116369
|
-
}).post("/approve", async (c) => handleDeviceDecision(c, {
|
|
116682
|
+
}).post("/approve", zValidator("form", DeviceUserCodeFormSchema, zodProblemHook()), async (c) => handleDeviceDecision(c, c.req.valid("form").user_code, {
|
|
116370
116683
|
successEvent: "auth.device.approved",
|
|
116371
116684
|
successMessage: "Return to your terminal to continue. You can close this tab.",
|
|
116372
116685
|
successTitle: "Device Approved",
|
|
116373
116686
|
targetPath: "/api/auth/device/approve"
|
|
116374
|
-
})).post("/deny", async (c) => handleDeviceDecision(c, {
|
|
116687
|
+
})).post("/deny", zValidator("form", DeviceUserCodeFormSchema, zodProblemHook()), async (c) => handleDeviceDecision(c, c.req.valid("form").user_code, {
|
|
116375
116688
|
successEvent: "auth.device.denied",
|
|
116376
116689
|
successMessage: "The terminal login request was denied.",
|
|
116377
116690
|
successTitle: "Device Denied",
|
|
116378
116691
|
targetPath: "/api/auth/device/deny"
|
|
116379
116692
|
}));
|
|
116380
116693
|
}
|
|
116381
|
-
async function handleDeviceDecision(c, config) {
|
|
116382
|
-
const userCode = normalizeUserCode(await readPostedUserCode(c.req.raw));
|
|
116383
|
-
if (!userCode) return c.json({ error: "Enter the code shown in your terminal to continue." }, 400);
|
|
116694
|
+
async function handleDeviceDecision(c, userCode, config) {
|
|
116384
116695
|
const browserSession = await readBrowserSession(c.var.storage.auth, c.req.raw.headers);
|
|
116385
116696
|
if (!browserSession) return c.json({
|
|
116386
116697
|
error: "Sign in to continue.",
|
|
@@ -116481,10 +116792,6 @@ function buildRelativeDevicePath(requestUrl, userCode) {
|
|
|
116481
116792
|
url.searchParams.set("user_code", userCode);
|
|
116482
116793
|
return `${url.pathname}${url.search}`;
|
|
116483
116794
|
}
|
|
116484
|
-
async function readPostedUserCode(request) {
|
|
116485
|
-
const value = (await request.formData()).get("user_code");
|
|
116486
|
-
return typeof value === "string" ? value : null;
|
|
116487
|
-
}
|
|
116488
116795
|
function normalizeUserCode(value) {
|
|
116489
116796
|
return normalizeDeviceUserCode(value) ?? null;
|
|
116490
116797
|
}
|
|
@@ -127471,7 +127778,9 @@ async function authenticateConnectorInDb(input) {
|
|
|
127471
127778
|
});
|
|
127472
127779
|
}
|
|
127473
127780
|
async function sleep(ms) {
|
|
127474
|
-
await new Promise((resolve) =>
|
|
127781
|
+
await new Promise((resolve) => {
|
|
127782
|
+
setTimeout(resolve, ms);
|
|
127783
|
+
});
|
|
127475
127784
|
}
|
|
127476
127785
|
async function sleepUnlessAborted(input) {
|
|
127477
127786
|
if (input.signal?.aborted) return false;
|
|
@@ -130707,7 +131016,7 @@ var require_type_overrides = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
130707
131016
|
//#endregion
|
|
130708
131017
|
//#region node_modules/.bun/pg-connection-string@2.12.0/node_modules/pg-connection-string/index.js
|
|
130709
131018
|
var require_pg_connection_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
130710
|
-
function parse
|
|
131019
|
+
function parse(str, options = {}) {
|
|
130711
131020
|
if (str.charAt(0) === "/") {
|
|
130712
131021
|
const config = str.split(" ");
|
|
130713
131022
|
return {
|
|
@@ -130809,7 +131118,7 @@ var require_pg_connection_string = /* @__PURE__ */ __commonJSMin(((exports, modu
|
|
|
130809
131118
|
}, {});
|
|
130810
131119
|
}
|
|
130811
131120
|
function parseIntoClientConfig(str) {
|
|
130812
|
-
return toClientConfig(parse
|
|
131121
|
+
return toClientConfig(parse(str));
|
|
130813
131122
|
}
|
|
130814
131123
|
function deprecatedSslModeWarning(sslmode) {
|
|
130815
131124
|
if (!deprecatedSslModeWarning.warned && typeof process !== "undefined" && process.emitWarning) {
|
|
@@ -130824,10 +131133,10 @@ To prepare for this change:
|
|
|
130824
131133
|
See https://www.postgresql.org/docs/current/libpq-ssl.html for libpq SSL mode definitions.`);
|
|
130825
131134
|
}
|
|
130826
131135
|
}
|
|
130827
|
-
module.exports = parse
|
|
130828
|
-
parse
|
|
130829
|
-
parse
|
|
130830
|
-
parse
|
|
131136
|
+
module.exports = parse;
|
|
131137
|
+
parse.parse = parse;
|
|
131138
|
+
parse.toClientConfig = toClientConfig;
|
|
131139
|
+
parse.parseIntoClientConfig = parseIntoClientConfig;
|
|
130831
131140
|
}));
|
|
130832
131141
|
//#endregion
|
|
130833
131142
|
//#region node_modules/.bun/pg@8.17.1+4cf2cdeb76cafa11/node_modules/pg/lib/connection-parameters.js
|
|
@@ -265324,116 +265633,6 @@ function sessionMiddleware() {
|
|
|
265324
265633
|
};
|
|
265325
265634
|
}
|
|
265326
265635
|
//#endregion
|
|
265327
|
-
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-JW7PXR25.js
|
|
265328
|
-
var STATUS_PHRASES = {
|
|
265329
|
-
400: "Bad Request",
|
|
265330
|
-
401: "Unauthorized",
|
|
265331
|
-
402: "Payment Required",
|
|
265332
|
-
403: "Forbidden",
|
|
265333
|
-
404: "Not Found",
|
|
265334
|
-
405: "Method Not Allowed",
|
|
265335
|
-
406: "Not Acceptable",
|
|
265336
|
-
407: "Proxy Authentication Required",
|
|
265337
|
-
408: "Request Timeout",
|
|
265338
|
-
409: "Conflict",
|
|
265339
|
-
410: "Gone",
|
|
265340
|
-
411: "Length Required",
|
|
265341
|
-
412: "Precondition Failed",
|
|
265342
|
-
413: "Content Too Large",
|
|
265343
|
-
414: "URI Too Long",
|
|
265344
|
-
415: "Unsupported Media Type",
|
|
265345
|
-
416: "Range Not Satisfiable",
|
|
265346
|
-
417: "Expectation Failed",
|
|
265347
|
-
418: "I'm a Teapot",
|
|
265348
|
-
421: "Misdirected Request",
|
|
265349
|
-
422: "Unprocessable Content",
|
|
265350
|
-
423: "Locked",
|
|
265351
|
-
424: "Failed Dependency",
|
|
265352
|
-
425: "Too Early",
|
|
265353
|
-
426: "Upgrade Required",
|
|
265354
|
-
428: "Precondition Required",
|
|
265355
|
-
429: "Too Many Requests",
|
|
265356
|
-
431: "Request Header Fields Too Large",
|
|
265357
|
-
451: "Unavailable For Legal Reasons",
|
|
265358
|
-
500: "Internal Server Error",
|
|
265359
|
-
501: "Not Implemented",
|
|
265360
|
-
502: "Bad Gateway",
|
|
265361
|
-
503: "Service Unavailable",
|
|
265362
|
-
504: "Gateway Timeout",
|
|
265363
|
-
505: "HTTP Version Not Supported",
|
|
265364
|
-
506: "Variant Also Negotiates",
|
|
265365
|
-
507: "Insufficient Storage",
|
|
265366
|
-
508: "Loop Detected",
|
|
265367
|
-
510: "Not Extended",
|
|
265368
|
-
511: "Network Authentication Required"
|
|
265369
|
-
};
|
|
265370
|
-
var STATUS_SLUGS = Object.fromEntries(Object.entries(STATUS_PHRASES).map(([code, phrase]) => [Number(code), phrase.toLowerCase().replace(/'/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "")]));
|
|
265371
|
-
function statusToPhrase(status) {
|
|
265372
|
-
return STATUS_PHRASES[status];
|
|
265373
|
-
}
|
|
265374
|
-
function statusToSlug(status) {
|
|
265375
|
-
return STATUS_SLUGS[status];
|
|
265376
|
-
}
|
|
265377
|
-
//#endregion
|
|
265378
|
-
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-63332VQA.js
|
|
265379
|
-
var PROBLEM_JSON_CONTENT_TYPE = "application/problem+json; charset=utf-8";
|
|
265380
|
-
var DANGEROUS_KEYS = /* @__PURE__ */ new Set([
|
|
265381
|
-
"__proto__",
|
|
265382
|
-
"constructor",
|
|
265383
|
-
"prototype"
|
|
265384
|
-
]);
|
|
265385
|
-
function sanitizeExtensions(extensions) {
|
|
265386
|
-
if (!extensions) return extensions;
|
|
265387
|
-
let filtered;
|
|
265388
|
-
for (const key of Object.keys(extensions)) if (DANGEROUS_KEYS.has(key)) {
|
|
265389
|
-
if (!filtered) filtered = { ...extensions };
|
|
265390
|
-
delete filtered[key];
|
|
265391
|
-
}
|
|
265392
|
-
return filtered ?? extensions;
|
|
265393
|
-
}
|
|
265394
|
-
function clampHttpStatus(status) {
|
|
265395
|
-
return Number.isInteger(status) && status >= 200 && status <= 599 ? status : 500;
|
|
265396
|
-
}
|
|
265397
|
-
var FALLBACK_BODY = JSON.stringify({
|
|
265398
|
-
type: "about:blank",
|
|
265399
|
-
status: 500,
|
|
265400
|
-
title: "Internal Server Error"
|
|
265401
|
-
});
|
|
265402
|
-
function normalizeProblemDetails(input) {
|
|
265403
|
-
return {
|
|
265404
|
-
type: input.type ?? "about:blank",
|
|
265405
|
-
status: input.status,
|
|
265406
|
-
title: input.title ?? statusToPhrase(input.status) ?? "Unknown Error",
|
|
265407
|
-
detail: input.detail,
|
|
265408
|
-
instance: input.instance,
|
|
265409
|
-
extensions: input.extensions
|
|
265410
|
-
};
|
|
265411
|
-
}
|
|
265412
|
-
function buildProblemResponse(pd) {
|
|
265413
|
-
const { extensions, ...standard } = pd;
|
|
265414
|
-
const { json, fallback } = safeStringify({
|
|
265415
|
-
...sanitizeExtensions(extensions),
|
|
265416
|
-
...standard
|
|
265417
|
-
});
|
|
265418
|
-
return new Response(json, {
|
|
265419
|
-
status: fallback ? 500 : clampHttpStatus(pd.status),
|
|
265420
|
-
headers: { "Content-Type": PROBLEM_JSON_CONTENT_TYPE }
|
|
265421
|
-
});
|
|
265422
|
-
}
|
|
265423
|
-
function safeStringify(body) {
|
|
265424
|
-
try {
|
|
265425
|
-
return {
|
|
265426
|
-
json: JSON.stringify(body),
|
|
265427
|
-
fallback: false
|
|
265428
|
-
};
|
|
265429
|
-
} catch {
|
|
265430
|
-
return {
|
|
265431
|
-
json: FALLBACK_BODY,
|
|
265432
|
-
fallback: true
|
|
265433
|
-
};
|
|
265434
|
-
}
|
|
265435
|
-
}
|
|
265436
|
-
//#endregion
|
|
265437
265636
|
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/index.js
|
|
265438
265637
|
var ProblemDetailsError = class extends Error {
|
|
265439
265638
|
/** The normalized RFC 9457 Problem Details object. */
|
|
@@ -265544,150 +265743,6 @@ const authRoute = new Hono().get("/bootstrap-state", async (c) => {
|
|
|
265544
265743
|
});
|
|
265545
265744
|
}).on(["POST", "GET"], "/*", async (c) => c.var.storage.auth.handler(c.req.raw));
|
|
265546
265745
|
//#endregion
|
|
265547
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/utils/cookie.js
|
|
265548
|
-
var validCookieNameRegEx = /^[\w!#$%&'*.^`|~+-]+$/;
|
|
265549
|
-
var validCookieValueRegEx = /^[ !#-:<-[\]-~]*$/;
|
|
265550
|
-
var trimCookieWhitespace = (value) => {
|
|
265551
|
-
let start = 0;
|
|
265552
|
-
let end = value.length;
|
|
265553
|
-
while (start < end) {
|
|
265554
|
-
const charCode = value.charCodeAt(start);
|
|
265555
|
-
if (charCode !== 32 && charCode !== 9) break;
|
|
265556
|
-
start++;
|
|
265557
|
-
}
|
|
265558
|
-
while (end > start) {
|
|
265559
|
-
const charCode = value.charCodeAt(end - 1);
|
|
265560
|
-
if (charCode !== 32 && charCode !== 9) break;
|
|
265561
|
-
end--;
|
|
265562
|
-
}
|
|
265563
|
-
return start === 0 && end === value.length ? value : value.slice(start, end);
|
|
265564
|
-
};
|
|
265565
|
-
var parse = (cookie, name) => {
|
|
265566
|
-
if (name && cookie.indexOf(name) === -1) return {};
|
|
265567
|
-
const pairs = cookie.split(";");
|
|
265568
|
-
const parsedCookie = {};
|
|
265569
|
-
for (const pairStr of pairs) {
|
|
265570
|
-
const valueStartPos = pairStr.indexOf("=");
|
|
265571
|
-
if (valueStartPos === -1) continue;
|
|
265572
|
-
const cookieName = trimCookieWhitespace(pairStr.substring(0, valueStartPos));
|
|
265573
|
-
if (name && name !== cookieName || !validCookieNameRegEx.test(cookieName)) continue;
|
|
265574
|
-
let cookieValue = trimCookieWhitespace(pairStr.substring(valueStartPos + 1));
|
|
265575
|
-
if (cookieValue.startsWith("\"") && cookieValue.endsWith("\"")) cookieValue = cookieValue.slice(1, -1);
|
|
265576
|
-
if (validCookieValueRegEx.test(cookieValue)) {
|
|
265577
|
-
parsedCookie[cookieName] = cookieValue.indexOf("%") !== -1 ? tryDecode$3(cookieValue, decodeURIComponent_) : cookieValue;
|
|
265578
|
-
if (name) break;
|
|
265579
|
-
}
|
|
265580
|
-
}
|
|
265581
|
-
return parsedCookie;
|
|
265582
|
-
};
|
|
265583
|
-
//#endregion
|
|
265584
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/helper/cookie/index.js
|
|
265585
|
-
var getCookie = (c, key, prefix) => {
|
|
265586
|
-
const cookie = c.req.raw.headers.get("Cookie");
|
|
265587
|
-
if (typeof key === "string") {
|
|
265588
|
-
if (!cookie) return;
|
|
265589
|
-
let finalKey = key;
|
|
265590
|
-
if (prefix === "secure") finalKey = "__Secure-" + key;
|
|
265591
|
-
else if (prefix === "host") finalKey = "__Host-" + key;
|
|
265592
|
-
return parse(cookie, finalKey)[finalKey];
|
|
265593
|
-
}
|
|
265594
|
-
if (!cookie) return {};
|
|
265595
|
-
return parse(cookie);
|
|
265596
|
-
};
|
|
265597
|
-
//#endregion
|
|
265598
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/utils/buffer.js
|
|
265599
|
-
var bufferToFormData = (arrayBuffer, contentType) => {
|
|
265600
|
-
return new Response(arrayBuffer, { headers: { "Content-Type": contentType } }).formData();
|
|
265601
|
-
};
|
|
265602
|
-
//#endregion
|
|
265603
|
-
//#region node_modules/.bun/hono@4.12.14/node_modules/hono/dist/validator/validator.js
|
|
265604
|
-
var jsonRegex = /^application\/([a-z-\.]+\+)?json(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
|
|
265605
|
-
var multipartRegex = /^multipart\/form-data(;\s?boundary=[a-zA-Z0-9'"()+_,\-./:=?]+)?$/;
|
|
265606
|
-
var urlencodedRegex = /^application\/x-www-form-urlencoded(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
|
|
265607
|
-
var validator = (target, validationFunc) => {
|
|
265608
|
-
return async (c, next) => {
|
|
265609
|
-
let value = {};
|
|
265610
|
-
const contentType = c.req.header("Content-Type");
|
|
265611
|
-
switch (target) {
|
|
265612
|
-
case "json":
|
|
265613
|
-
if (!contentType || !jsonRegex.test(contentType)) break;
|
|
265614
|
-
try {
|
|
265615
|
-
value = await c.req.json();
|
|
265616
|
-
} catch {
|
|
265617
|
-
throw new HTTPException(400, { message: "Malformed JSON in request body" });
|
|
265618
|
-
}
|
|
265619
|
-
break;
|
|
265620
|
-
case "form": {
|
|
265621
|
-
if (!contentType || !(multipartRegex.test(contentType) || urlencodedRegex.test(contentType))) break;
|
|
265622
|
-
let formData;
|
|
265623
|
-
if (c.req.bodyCache.formData) formData = await c.req.bodyCache.formData;
|
|
265624
|
-
else try {
|
|
265625
|
-
formData = await bufferToFormData(await c.req.arrayBuffer(), contentType);
|
|
265626
|
-
c.req.bodyCache.formData = formData;
|
|
265627
|
-
} catch (e) {
|
|
265628
|
-
let message = "Malformed FormData request.";
|
|
265629
|
-
message += e instanceof Error ? ` ${e.message}` : ` ${String(e)}`;
|
|
265630
|
-
throw new HTTPException(400, { message });
|
|
265631
|
-
}
|
|
265632
|
-
const form = /* @__PURE__ */ Object.create(null);
|
|
265633
|
-
formData.forEach((value2, key) => {
|
|
265634
|
-
if (key.endsWith("[]")) (form[key] ??= []).push(value2);
|
|
265635
|
-
else if (Array.isArray(form[key])) form[key].push(value2);
|
|
265636
|
-
else if (Object.hasOwn(form, key)) form[key] = [form[key], value2];
|
|
265637
|
-
else form[key] = value2;
|
|
265638
|
-
});
|
|
265639
|
-
value = form;
|
|
265640
|
-
break;
|
|
265641
|
-
}
|
|
265642
|
-
case "query":
|
|
265643
|
-
value = Object.fromEntries(Object.entries(c.req.queries()).map(([k, v]) => {
|
|
265644
|
-
return v.length === 1 ? [k, v[0]] : [k, v];
|
|
265645
|
-
}));
|
|
265646
|
-
break;
|
|
265647
|
-
case "param":
|
|
265648
|
-
value = c.req.param();
|
|
265649
|
-
break;
|
|
265650
|
-
case "header":
|
|
265651
|
-
value = c.req.header();
|
|
265652
|
-
break;
|
|
265653
|
-
case "cookie":
|
|
265654
|
-
value = getCookie(c);
|
|
265655
|
-
break;
|
|
265656
|
-
}
|
|
265657
|
-
const res = await validationFunc(value, c);
|
|
265658
|
-
if (res instanceof Response) return res;
|
|
265659
|
-
c.req.addValidatedData(target, res);
|
|
265660
|
-
return await next();
|
|
265661
|
-
};
|
|
265662
|
-
};
|
|
265663
|
-
//#endregion
|
|
265664
|
-
//#region node_modules/.bun/@hono+zod-validator@0.7.6+e150c50e5b27a1c6/node_modules/@hono/zod-validator/dist/index.js
|
|
265665
|
-
function zValidatorFunction(target, schema, hook, options) {
|
|
265666
|
-
return validator(target, async (value, c) => {
|
|
265667
|
-
let validatorValue = value;
|
|
265668
|
-
if (target === "header" && "_def" in schema || target === "header" && "_zod" in schema) {
|
|
265669
|
-
const schemaKeys = Object.keys("in" in schema ? schema.in.shape : schema.shape);
|
|
265670
|
-
const caseInsensitiveKeymap = Object.fromEntries(schemaKeys.map((key) => [key.toLowerCase(), key]));
|
|
265671
|
-
validatorValue = Object.fromEntries(Object.entries(value).map(([key, value$1]) => [caseInsensitiveKeymap[key] || key, value$1]));
|
|
265672
|
-
}
|
|
265673
|
-
const result = options && options.validationFunction ? await options.validationFunction(schema, validatorValue) : await schema.safeParseAsync(validatorValue);
|
|
265674
|
-
if (hook) {
|
|
265675
|
-
const hookResult = await hook({
|
|
265676
|
-
data: validatorValue,
|
|
265677
|
-
...result,
|
|
265678
|
-
target
|
|
265679
|
-
}, c);
|
|
265680
|
-
if (hookResult) {
|
|
265681
|
-
if (hookResult instanceof Response) return hookResult;
|
|
265682
|
-
if ("response" in hookResult) return hookResult.response;
|
|
265683
|
-
}
|
|
265684
|
-
}
|
|
265685
|
-
if (!result.success) return c.json(result, 400);
|
|
265686
|
-
return result.data;
|
|
265687
|
-
});
|
|
265688
|
-
}
|
|
265689
|
-
const zValidator = zValidatorFunction;
|
|
265690
|
-
//#endregion
|
|
265691
265746
|
//#region packages/server/src/lib/bootstrap-state.ts
|
|
265692
265747
|
async function readBootstrapState(db) {
|
|
265693
265748
|
const isBootstrapped = await db.query.user.findFirst({ columns: { id: true } }) !== void 0;
|
|
@@ -265697,53 +265752,6 @@ async function readBootstrapState(db) {
|
|
|
265697
265752
|
};
|
|
265698
265753
|
}
|
|
265699
265754
|
//#endregion
|
|
265700
|
-
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/chunk-O5AEI2VV.js
|
|
265701
|
-
var CONTROL_CHAR_RE = /[\x00-\x1f\x7f]/g;
|
|
265702
|
-
function stripControlChars(input) {
|
|
265703
|
-
return input.replace(CONTROL_CHAR_RE, "");
|
|
265704
|
-
}
|
|
265705
|
-
function sanitizeError(error) {
|
|
265706
|
-
return {
|
|
265707
|
-
field: stripControlChars(error.field),
|
|
265708
|
-
message: stripControlChars(error.message),
|
|
265709
|
-
...error.code !== void 0 ? { code: stripControlChars(error.code) } : {}
|
|
265710
|
-
};
|
|
265711
|
-
}
|
|
265712
|
-
function buildValidationResponse(errors, options) {
|
|
265713
|
-
const body = {
|
|
265714
|
-
type: "about:blank",
|
|
265715
|
-
status: 422,
|
|
265716
|
-
title: options?.title ?? "Validation Error",
|
|
265717
|
-
detail: options?.detail ?? "Request validation failed",
|
|
265718
|
-
errors: errors.map(sanitizeError)
|
|
265719
|
-
};
|
|
265720
|
-
return new Response(JSON.stringify(body), {
|
|
265721
|
-
status: 422,
|
|
265722
|
-
headers: { "Content-Type": PROBLEM_JSON_CONTENT_TYPE }
|
|
265723
|
-
});
|
|
265724
|
-
}
|
|
265725
|
-
//#endregion
|
|
265726
|
-
//#region node_modules/.bun/hono-problem-details@0.4.0+30baaf2f6d59bb81/node_modules/hono-problem-details/dist/integrations/zod.js
|
|
265727
|
-
function formatErrors(zodError) {
|
|
265728
|
-
return zodError.issues.map((issue) => ({
|
|
265729
|
-
field: issue.path.join("."),
|
|
265730
|
-
message: issue.message,
|
|
265731
|
-
code: issue.code
|
|
265732
|
-
}));
|
|
265733
|
-
}
|
|
265734
|
-
function zodProblemHook$1(options) {
|
|
265735
|
-
return (result, _c) => {
|
|
265736
|
-
if (result.success) return;
|
|
265737
|
-
return buildValidationResponse(formatErrors(result.error), options);
|
|
265738
|
-
};
|
|
265739
|
-
}
|
|
265740
|
-
//#endregion
|
|
265741
|
-
//#region packages/server/src/problem-details/zod-problem-hook.ts
|
|
265742
|
-
function zodProblemHook(options) {
|
|
265743
|
-
const hook = zodProblemHook$1(options);
|
|
265744
|
-
return (result, c) => hook(result, c);
|
|
265745
|
-
}
|
|
265746
|
-
//#endregion
|
|
265747
265755
|
//#region packages/server/src/routes/bootstrap.ts
|
|
265748
265756
|
const CompleteBootstrapBodySchema = object$1({
|
|
265749
265757
|
email: email$2("Please enter a valid email address"),
|