better-supabase 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-sql-Dao1C0fz.js +383 -0
- package/dist/actor-B5b0i1Fs.js +149 -0
- package/dist/actor-DseNR02I.d.ts +104 -0
- package/dist/adapter-CPPN80mx.js +2231 -0
- package/dist/agents-BEiBtYmh.d.ts +115 -0
- package/dist/ai-cache-D9D36eh4.js +86 -0
- package/dist/ai-cache-FMYzw7lW.d.ts +80 -0
- package/dist/ai-chat-B_P--Ie2.d.ts +532 -0
- package/dist/ai-files-DCMVGSds.js +337 -0
- package/dist/ai-message-cnroprVB.js +13 -0
- package/dist/ai-schedules-D_q1iclL.d.ts +164 -0
- package/dist/ai-sdk/agents/index.d.ts +8 -12
- package/dist/ai-sdk/agents/index.js +10 -12
- package/dist/ai-sdk/batches/index.d.ts +12 -7
- package/dist/ai-sdk/batches/index.js +16 -9
- package/dist/ai-sdk/cache/index.d.ts +2 -4
- package/dist/ai-sdk/cache/index.js +3 -4
- package/dist/ai-sdk/chat/index.d.ts +77 -2
- package/dist/ai-sdk/chat/index.js +179 -28
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.js +1 -1
- package/dist/ai-sdk/files/index.d.ts +3 -5
- package/dist/ai-sdk/files/index.js +5 -6
- package/dist/ai-sdk/index.d.ts +75 -21
- package/dist/ai-sdk/index.js +112 -66
- package/dist/ai-sdk/mcp/index.d.ts +28 -13
- package/dist/ai-sdk/mcp/index.js +56 -17
- package/dist/ai-sdk/memory/index.d.ts +3 -5
- package/dist/ai-sdk/memory/index.js +3 -4
- package/dist/ai-sdk/react/index.d.ts +2 -2
- package/dist/ai-sdk/react/index.js +3 -1
- package/dist/ai-sdk/react/server.d.ts +7 -4
- package/dist/ai-sdk/react/server.js +10 -3
- package/dist/ai-sdk/workflow/index.d.ts +12 -13
- package/dist/ai-sdk/workflow/index.js +17 -17
- package/dist/ai-sdk/workflow/react/index.d.ts +1 -3
- package/dist/ai-sdk/workflow/react/index.js +3 -3
- package/dist/ai-sdk/workflow/react/server.d.ts +1 -3
- package/dist/ai-sdk/workflow/react/server.js +1 -2
- package/dist/anchors-sCLvYj-8.d.ts +36 -0
- package/dist/api-CwzVbbw4.d.ts +483 -0
- package/dist/api-keys-u2sXB-CZ.d.ts +211 -0
- package/dist/api-wwix_K5c.js +691 -0
- package/dist/app-tables-DomvYx5b.d.ts +26 -0
- package/dist/approvals-Da4uAANx.js +166 -0
- package/dist/approvals-idpuhILk.d.ts +127 -0
- package/dist/assistant-CMKsaeJd.d.ts +209 -0
- package/dist/astro/index.d.ts +8 -10
- package/dist/astro/index.js +8 -9
- package/dist/attachments-BWtUQgsL.js +375 -0
- package/dist/attributes-BZNkR2z2.js +51 -0
- package/dist/auth-link-BmJsQG4a.js +117 -0
- package/dist/auth-link-DRjtI1Ky.d.ts +102 -0
- package/dist/auth-module-CVo86UKh.js +50 -0
- package/dist/auth-reply-BMPJQssh.d.ts +9 -0
- package/dist/auth-reply-Cnwn3I_q.js +30 -0
- package/dist/auth-wFlGgwTZ.js +19 -0
- package/dist/authorization-CYu_UKX4.d.ts +3723 -0
- package/dist/authorization-hooks-CldgvzBZ.d.ts +219 -0
- package/dist/authorizer-AswD5q6g.d.ts +116 -0
- package/dist/authorizer-D6po_XZA.js +171 -0
- package/dist/automation-acq3iK9y.js +74 -0
- package/dist/automations-BfH8GJqv.js +27 -0
- package/dist/automations-Bw5cX7oj.js +29 -0
- package/dist/automations-CCc5RUw-.js +31 -0
- package/dist/automations-Dou1t3lt.js +313 -0
- package/dist/availability-CebEOfMN.d.ts +236 -0
- package/dist/base64-CVyKHBBw.js +41 -0
- package/dist/batch-limit-DqQ3d6op.js +4 -0
- package/dist/before-route-Ra3OhI2x.js +29 -0
- package/dist/better-result/index.d.ts +4 -6
- package/dist/better-result/index.js +2 -3
- package/dist/bind-8LYVJE5W.d.ts +102 -0
- package/dist/block-authors-C5z3tGVu.d.ts +10 -0
- package/dist/block-authors-DCQ4zl8e.js +13 -0
- package/dist/block-env-BsLgZL2l.d.ts +30 -0
- package/dist/block-event-listener-DCi7c89M.js +15 -0
- package/dist/block-events-Bp6GPIBN.js +82 -0
- package/dist/block-fields-Bjcv6_zc.js +139 -0
- package/dist/block-fields-Puv5m5D3.d.ts +56 -0
- package/dist/block-helpers-I7UzjNEf.js +435 -0
- package/dist/block-helpers-JxiD1iw4.d.ts +56 -0
- package/dist/block-hooks-CJP5kGEa.d.ts +115 -0
- package/dist/block-hooks-CadxQ9-_.js +129 -0
- package/dist/block-method-DIbWG4Mj.js +20 -0
- package/dist/block-method-QSaPsL2P.d.ts +12 -0
- package/dist/block-subjects-SyJwfgrX.d.ts +4 -0
- package/dist/block-subjects-cRlVtKDO.js +54 -0
- package/dist/block-tenant-Bun03JuO.js +13 -0
- package/dist/block-transport-Bbf1ZZre.d.ts +67 -0
- package/dist/blocks/access-requests/index.d.ts +9 -15
- package/dist/blocks/access-requests/index.js +11 -14
- package/dist/blocks/activities/index.d.ts +13 -21
- package/dist/blocks/activities/index.js +16 -21
- package/dist/blocks/agents/index.d.ts +4 -8
- package/dist/blocks/agents/index.js +11 -14
- package/dist/blocks/ai-cache/index.d.ts +3 -5
- package/dist/blocks/ai-cache/index.js +5 -6
- package/dist/blocks/ai-chat/index.d.ts +10 -19
- package/dist/blocks/ai-chat/index.js +20 -28
- package/dist/blocks/ai-files/index.d.ts +5 -9
- package/dist/blocks/ai-files/index.js +5 -6
- package/dist/blocks/ai-keys/index.d.ts +4 -10
- package/dist/blocks/ai-keys/index.js +14 -18
- package/dist/blocks/ai-schedules/index.d.ts +3 -5
- package/dist/blocks/ai-schedules/index.js +14 -16
- package/dist/blocks/announcements/index.d.ts +12 -20
- package/dist/blocks/announcements/index.js +12 -16
- package/dist/blocks/api-keys/index.d.ts +8 -16
- package/dist/blocks/api-keys/index.js +17 -22
- package/dist/blocks/approvals/index.d.ts +4 -8
- package/dist/blocks/approvals/index.js +7 -173
- package/dist/blocks/assets/index.d.ts +9 -17
- package/dist/blocks/assets/index.js +13 -17
- package/dist/blocks/assignment/index.d.ts +9 -17
- package/dist/blocks/assignment/index.js +10 -14
- package/dist/blocks/attachments/index.d.ts +6 -18
- package/dist/blocks/attachments/index.js +19 -24
- package/dist/blocks/audit/index.d.ts +15 -31
- package/dist/blocks/audit/index.js +27 -35
- package/dist/blocks/automations/index.d.ts +14 -26
- package/dist/blocks/automations/index.js +18 -23
- package/dist/blocks/billable-time/index.d.ts +9 -19
- package/dist/blocks/billable-time/index.js +15 -20
- package/dist/blocks/billing/index.d.ts +12 -22
- package/dist/blocks/billing/index.js +19 -24
- package/dist/blocks/bookings/index.d.ts +8 -18
- package/dist/blocks/bookings/index.js +17 -23
- package/dist/blocks/bulk/index.d.ts +6 -12
- package/dist/blocks/bulk/index.js +10 -13
- package/dist/blocks/calendar/index.d.ts +13 -23
- package/dist/blocks/calendar/index.js +35 -32
- package/dist/blocks/catalog/index.d.ts +12 -20
- package/dist/blocks/catalog/index.js +17 -21
- package/dist/blocks/channels/index.d.ts +9 -17
- package/dist/blocks/channels/index.js +11 -15
- package/dist/blocks/collections/index.d.ts +11 -17
- package/dist/blocks/collections/index.js +13 -16
- package/dist/blocks/comments/index.d.ts +16 -26
- package/dist/blocks/comments/index.js +21 -26
- package/dist/blocks/compliance/index.d.ts +9 -17
- package/dist/blocks/compliance/index.js +13 -17
- package/dist/blocks/connectors/index.d.ts +4 -8
- package/dist/blocks/connectors/index.js +13 -16
- package/dist/blocks/contacts/index.d.ts +10 -18
- package/dist/blocks/contacts/index.js +12 -16
- package/dist/blocks/content/index.d.ts +8 -16
- package/dist/blocks/content/index.js +13 -17
- package/dist/blocks/contracts/index.d.ts +11 -21
- package/dist/blocks/contracts/index.js +17 -22
- package/dist/blocks/courses/index.d.ts +11 -21
- package/dist/blocks/courses/index.js +17 -22
- package/dist/blocks/created-by/index.d.ts +3 -7
- package/dist/blocks/created-by/index.js +4 -5
- package/dist/blocks/custom-fields/index.d.ts +10 -16
- package/dist/blocks/custom-fields/index.js +13 -16
- package/dist/blocks/data-lifecycle/index.d.ts +10 -26
- package/dist/blocks/data-lifecycle/index.js +17 -23
- package/dist/blocks/deals/index.d.ts +12 -20
- package/dist/blocks/deals/index.js +18 -22
- package/dist/blocks/dispatch/index.d.ts +11 -23
- package/dist/blocks/dispatch/index.js +19 -24
- package/dist/blocks/documents/index.d.ts +4 -8
- package/dist/blocks/documents/index.js +9 -12
- package/dist/blocks/domains/index.d.ts +8 -14
- package/dist/blocks/domains/index.js +12 -15
- package/dist/blocks/donations/index.d.ts +13 -23
- package/dist/blocks/donations/index.js +21 -26
- package/dist/blocks/drive/index.d.ts +116 -20
- package/dist/blocks/drive/index.js +138 -26
- package/dist/blocks/employees/index.d.ts +13 -23
- package/dist/blocks/employees/index.js +18 -23
- package/dist/blocks/enrichment/index.d.ts +8 -16
- package/dist/blocks/enrichment/index.js +11 -15
- package/dist/blocks/enrollments/index.d.ts +9 -17
- package/dist/blocks/enrollments/index.js +13 -17
- package/dist/blocks/entitlements/index.d.ts +8 -14
- package/dist/blocks/entitlements/index.js +8 -11
- package/dist/blocks/expenses/index.d.ts +22 -19
- package/dist/blocks/expenses/index.js +25 -23
- package/dist/blocks/field-history/index.d.ts +6 -10
- package/dist/blocks/field-history/index.js +5 -7
- package/dist/blocks/flags/index.d.ts +49 -20
- package/dist/blocks/flags/index.js +65 -19
- package/dist/blocks/forecasts/index.d.ts +10 -16
- package/dist/blocks/forecasts/index.js +11 -14
- package/dist/blocks/forms/index.d.ts +11 -25
- package/dist/blocks/forms/index.js +17 -24
- package/dist/blocks/goals/index.d.ts +8 -12
- package/dist/blocks/goals/index.js +9 -11
- package/dist/blocks/guests/index.d.ts +9 -19
- package/dist/blocks/guests/index.js +14 -19
- package/dist/blocks/hiring/index.d.ts +10 -18
- package/dist/blocks/hiring/index.js +12 -15
- package/dist/blocks/identities/index.d.ts +7 -11
- package/dist/blocks/identities/index.js +7 -9
- package/dist/blocks/imports/index.d.ts +8 -18
- package/dist/blocks/imports/index.js +11 -16
- package/dist/blocks/inbox/index.d.ts +11 -21
- package/dist/blocks/inbox/index.js +26 -23
- package/dist/blocks/incidents/index.d.ts +9 -17
- package/dist/blocks/incidents/index.js +14 -18
- package/dist/blocks/index.d.ts +14 -20
- package/dist/blocks/index.js +17 -20
- package/dist/blocks/inventory/index.d.ts +11 -17
- package/dist/blocks/inventory/index.js +12 -15
- package/dist/blocks/invoices/index.d.ts +34 -21
- package/dist/blocks/invoices/index.js +31 -18
- package/dist/blocks/knowledge/index.d.ts +3 -5
- package/dist/blocks/knowledge/index.js +5 -6
- package/dist/blocks/lead-scoring/index.d.ts +10 -14
- package/dist/blocks/lead-scoring/index.js +11 -13
- package/dist/blocks/leases/index.d.ts +11 -21
- package/dist/blocks/leases/index.js +20 -25
- package/dist/blocks/leave/index.d.ts +50 -17
- package/dist/blocks/leave/index.js +35 -14
- package/dist/blocks/ledger/index.d.ts +9 -17
- package/dist/blocks/ledger/index.js +13 -17
- package/dist/blocks/mail-sync/index.d.ts +6 -12
- package/dist/blocks/mail-sync/index.js +26 -25
- package/dist/blocks/memberships/index.d.ts +5 -9
- package/dist/blocks/memberships/index.js +4 -5
- package/dist/blocks/memory/index.d.ts +4 -8
- package/dist/blocks/memory/index.js +12 -15
- package/dist/blocks/messaging/index.d.ts +14 -24
- package/dist/blocks/messaging/index.js +19 -24
- package/dist/blocks/metrics/index.d.ts +9 -17
- package/dist/blocks/metrics/index.js +14 -18
- package/dist/blocks/mfa/index.d.ts +5 -9
- package/dist/blocks/mfa/index.js +7 -9
- package/dist/blocks/moderation/index.d.ts +9 -17
- package/dist/blocks/moderation/index.js +13 -17
- package/dist/blocks/notifications/index.d.ts +18 -34
- package/dist/blocks/notifications/index.js +32 -42
- package/dist/blocks/numbering/index.d.ts +6 -12
- package/dist/blocks/numbering/index.js +8 -11
- package/dist/blocks/oauth-server/index.d.ts +7 -13
- package/dist/blocks/oauth-server/index.js +12 -15
- package/dist/blocks/onboarding/index.d.ts +7 -13
- package/dist/blocks/onboarding/index.js +8 -11
- package/dist/blocks/orders/index.d.ts +17 -29
- package/dist/blocks/orders/index.js +22 -28
- package/dist/blocks/organizations/index.d.ts +11 -21
- package/dist/blocks/organizations/index.js +16 -19
- package/dist/blocks/outbox/index.d.ts +4 -6
- package/dist/blocks/outbox/index.js +11 -13
- package/dist/blocks/passes/index.d.ts +12 -22
- package/dist/blocks/passes/index.js +20 -25
- package/dist/blocks/permissions/index.d.ts +45 -15
- package/dist/blocks/permissions/index.js +99 -19
- package/dist/blocks/pipelines/index.d.ts +12 -18
- package/dist/blocks/pipelines/index.js +12 -15
- package/dist/blocks/posts/index.d.ts +10 -18
- package/dist/blocks/posts/index.js +15 -19
- package/dist/blocks/profiles/index.d.ts +8 -12
- package/dist/blocks/profiles/index.js +9 -11
- package/dist/blocks/promotions/index.d.ts +11 -17
- package/dist/blocks/promotions/index.js +13 -16
- package/dist/blocks/push/index.d.ts +12 -18
- package/dist/blocks/push/index.js +13 -16
- package/dist/blocks/queue/index.d.ts +187 -39
- package/dist/blocks/queue/index.js +226 -60
- package/dist/blocks/quotes/index.d.ts +13 -21
- package/dist/blocks/quotes/index.js +14 -17
- package/dist/blocks/rank/index.d.ts +7 -13
- package/dist/blocks/rank/index.js +8 -10
- package/dist/blocks/reactions/index.d.ts +11 -19
- package/dist/blocks/reactions/index.js +13 -17
- package/dist/blocks/relations/index.d.ts +11 -21
- package/dist/blocks/relations/index.js +18 -23
- package/dist/blocks/reminders/index.d.ts +12 -22
- package/dist/blocks/reminders/index.js +21 -25
- package/dist/blocks/reviews/index.d.ts +9 -15
- package/dist/blocks/reviews/index.js +11 -14
- package/dist/blocks/saved-views/index.d.ts +11 -21
- package/dist/blocks/saved-views/index.js +16 -21
- package/dist/blocks/scores/index.d.ts +6 -12
- package/dist/blocks/scores/index.js +10 -13
- package/dist/blocks/search/index.d.ts +9 -19
- package/dist/blocks/search/index.js +15 -19
- package/dist/blocks/security-events/index.d.ts +10 -24
- package/dist/blocks/security-events/index.js +17 -23
- package/dist/blocks/segments/index.d.ts +10 -18
- package/dist/blocks/segments/index.js +11 -15
- package/dist/blocks/sequences/index.d.ts +9 -17
- package/dist/blocks/sequences/index.js +15 -19
- package/dist/blocks/service-accounts/index.d.ts +9 -15
- package/dist/blocks/service-accounts/index.js +11 -14
- package/dist/blocks/sessions/index.d.ts +4 -8
- package/dist/blocks/sessions/index.js +9 -11
- package/dist/blocks/settings/index.d.ts +8 -16
- package/dist/blocks/settings/index.js +14 -18
- package/dist/blocks/share-links/index.d.ts +9 -17
- package/dist/blocks/share-links/index.js +16 -20
- package/dist/blocks/shipments/index.d.ts +14 -24
- package/dist/blocks/shipments/index.js +25 -31
- package/dist/blocks/signatures/index.d.ts +10 -16
- package/dist/blocks/signatures/index.js +10 -13
- package/dist/blocks/signing-keys/index.d.ts +5 -9
- package/dist/blocks/signing-keys/index.js +8 -10
- package/dist/blocks/sla/index.d.ts +11 -19
- package/dist/blocks/sla/index.js +17 -21
- package/dist/blocks/sso/index.d.ts +7 -19
- package/dist/blocks/sso/index.js +14 -21
- package/dist/blocks/state-machine/index.d.ts +7 -13
- package/dist/blocks/state-machine/index.js +9 -12
- package/dist/blocks/subjects/index.d.ts +7 -11
- package/dist/blocks/subjects/index.js +12 -14
- package/dist/blocks/tags/index.d.ts +11 -21
- package/dist/blocks/tags/index.js +20 -25
- package/dist/blocks/tasks/index.d.ts +13 -27
- package/dist/blocks/tasks/index.js +22 -29
- package/dist/blocks/teams/index.d.ts +8 -14
- package/dist/blocks/teams/index.js +10 -13
- package/dist/blocks/templates/index.d.ts +12 -22
- package/dist/blocks/templates/index.js +16 -21
- package/dist/blocks/time-tracking/index.d.ts +31 -25
- package/dist/blocks/time-tracking/index.js +29 -29
- package/dist/blocks/timeline/index.d.ts +10 -14
- package/dist/blocks/timeline/index.js +11 -13
- package/dist/blocks/trash/index.d.ts +10 -18
- package/dist/blocks/trash/index.js +11 -14
- package/dist/blocks/undo/index.d.ts +4 -8
- package/dist/blocks/undo/index.js +6 -8
- package/dist/blocks/updated-at/index.d.ts +3 -7
- package/dist/blocks/updated-at/index.js +4 -5
- package/dist/blocks/usage/index.d.ts +6 -10
- package/dist/blocks/usage/index.js +10 -13
- package/dist/blocks/vercel-marketplace/index.d.ts +9 -17
- package/dist/blocks/vercel-marketplace/index.js +17 -21
- package/dist/blocks/versions/index.d.ts +10 -20
- package/dist/blocks/versions/index.js +17 -22
- package/dist/blocks/waitlist/index.d.ts +10 -16
- package/dist/blocks/waitlist/index.js +11 -14
- package/dist/blocks/webhooks/index.d.ts +16 -34
- package/dist/blocks/webhooks/index.js +33 -44
- package/dist/blocks/workflow-editor/index.d.ts +13 -21
- package/dist/blocks/workflow-editor/index.js +21 -27
- package/dist/blocks/workflows/index.d.ts +8 -14
- package/dist/blocks/workflows/index.js +14 -18
- package/dist/bookings-DG443336.d.ts +285 -0
- package/dist/bucket-Clq5xINQ.d.ts +693 -0
- package/dist/build-Ckxct2EX.js +2065 -0
- package/dist/build-D1-V9dd8.js +732 -0
- package/dist/carrier-D2b_028L.d.ts +165 -0
- package/dist/casing-DQzG9ANZ.js +15 -0
- package/dist/channel-B_kufDZy.d.ts +101 -0
- package/dist/channels-BxeTTtCY.js +113 -0
- package/dist/chat-sdk/index.d.ts +174 -41
- package/dist/chat-sdk/index.js +425 -83
- package/dist/claims-DRmafYVK.js +90 -0
- package/dist/claims-DouHL7ZL.js +62 -0
- package/dist/cli/_format-Ba0DoWjl.js +99 -0
- package/dist/cli/add-ChoHyBhz.js +1222 -0
- package/dist/cli/add-DlYL-1mF.js +1 -0
- package/dist/cli/add-fzRPyIED.js +98 -0
- package/dist/cli/agent-59XWXsRi.js +184 -0
- package/dist/cli/app-table-files-C0OtdUVu.js +343 -0
- package/dist/cli/arazzo-1.0-D3OaSeZw.js +531 -0
- package/dist/cli/arazzo-1.1-DaT2KAkP.js +704 -0
- package/dist/cli/args-_ZVgRBkx.js +26 -0
- package/dist/cli/asyncapi-3.0.0-Ca-UwtUW.js +5592 -0
- package/dist/cli/asyncapi-3.1.0-DUxf5zNu.js +5832 -0
- package/dist/cli/backfill-Dq2XMXf9.js +292 -0
- package/dist/cli/bin.js +5 -5
- package/dist/cli/blocks-CCzp0eAH.js +155 -0
- package/dist/cli/blocks-DVhJOzFj.js +1 -0
- package/dist/cli/cache-CoC-1i1O.js +643 -0
- package/dist/cli/codemod-block-renames-Dt3X1Wvg.js +238 -0
- package/dist/cli/codemod-pyf6HmS9.js +2883 -0
- package/dist/cli/command-BpZ4AuhR.js +1021 -0
- package/dist/cli/compare-yl4sSwVn.js +8 -0
- package/dist/cli/completion-B08Q0xB3.js +29 -0
- package/dist/cli/completion-CwL7e93t.js +210 -0
- package/dist/cli/completion-DHTT6rjI.js +1 -0
- package/dist/cli/config-D-Upz3jV.js +46 -0
- package/dist/cli/config-D0m2rQqk.js +1 -0
- package/dist/cli/config-Dyl3iX3u.js +2029 -0
- package/dist/cli/config-edit-C6sQ1MqT.js +619 -0
- package/dist/cli/config-group-D4JWh4kG.js +388 -0
- package/dist/cli/content-mapper-ChSVT9Tq.js +181 -0
- package/dist/cli/db-B8zfxjl2.js +77 -0
- package/dist/cli/db-dFzhcozO.js +246 -0
- package/dist/cli/detect-BcUDaO8I.js +83 -0
- package/dist/cli/dist-CYnD1kyT.js +128 -0
- package/dist/cli/dist-MKwjiW2w.js +1114 -0
- package/dist/cli/doctor-BKZsztFV.js +4647 -0
- package/dist/cli/env-BAJn6wCA.js +142 -0
- package/dist/cli/env-BCuUsWOh.js +1109 -0
- package/dist/cli/env-D70ihdbB.js +1 -0
- package/dist/cli/env-UN6PJFX6.js +1 -0
- package/dist/cli/errors-DcJ_PayO.js +97 -0
- package/dist/cli/exec-CXBufciC.js +461 -0
- package/dist/cli/fastest-levenshtein-B_QF6At5.js +119 -0
- package/dist/cli/files-DQayErI8.js +999 -0
- package/dist/cli/fresh-import-CdO2oQaQ.js +39 -0
- package/dist/cli/gen-BN_eh6rE.js +390 -0
- package/dist/cli/guards-DxwRG0Uv.js +7 -0
- package/dist/cli/in-stack-diff-huI7fGMX.js +185 -0
- package/dist/cli/index.d.ts +1 -53
- package/dist/cli/index.js +10 -11
- package/dist/cli/init-CaDDt8F6.js +556 -0
- package/dist/cli/io-CQzy8PEZ.js +36 -0
- package/dist/cli/json5-DhsZB2va.js +784 -0
- package/dist/cli/jsonc-DU9Clnrz.js +1 -0
- package/dist/cli/jsonc-u_UiXFxs.js +43 -0
- package/dist/cli/keys-CxajkV_7.js +105 -0
- package/dist/cli/legacy-prefix-D8Jfku6I.js +153 -0
- package/dist/cli/live-KU41LMGE.js +339 -0
- package/dist/cli/mcp-C_m-TpLJ.js +240 -0
- package/dist/cli/metadata-Bq4ra7zo.js +149 -0
- package/dist/cli/migrate-DHG2Qz_K.js +45 -0
- package/dist/cli/migration-safety-STVbiKhz.js +925 -0
- package/dist/cli/migrations-O1QZoMiH.js +116 -0
- package/dist/cli/module-migration-DB9ntWM-.js +118 -0
- package/dist/cli/moved-BAFPdJz_.js +253 -0
- package/dist/cli/ohash-imLR_J5Y.js +276 -0
- package/dist/cli/openapi-3.0-BJiTNq_x.js +927 -0
- package/dist/cli/openapi-3.1-BcWCoii2.js +869 -0
- package/dist/cli/openapi-3.2-MXPkeoTk.js +1030 -0
- package/dist/cli/orphans-CPcR85QN.js +27 -0
- package/dist/cli/parse-BueItuNJ.js +181 -0
- package/dist/cli/powersync-CN3QPF2K.js +375 -0
- package/dist/cli/powersync-DfeGl5N1.js +1 -0
- package/dist/cli/preset-BQnjDCSR.js +100 -0
- package/dist/cli/print-DG7TRCi8.js +66 -0
- package/dist/cli/prompts-D9b6uf21.js +1133 -0
- package/dist/cli/providers-DpfoF3VC.js +298 -0
- package/dist/cli/prune-workflows-DcNJUS1m.js +153 -0
- package/dist/cli/redact--zOGdWzo.js +37 -0
- package/dist/cli/remove-BpfYqP45.js +237 -0
- package/dist/cli/render-Q7jnLn_C.js +2213 -0
- package/dist/cli/rolldown-runtime-DegdyBIC.js +25 -0
- package/dist/cli/run-9NfabanB.js +703 -0
- package/dist/cli/run-D6K-qQIX.js +1450 -0
- package/dist/cli/run-dY9uOC3W.js +62 -0
- package/dist/cli/seed-B4H0Lco9.js +187 -0
- package/dist/cli/seed-BIB6-WPa.js +1 -0
- package/dist/cli/shared-PrvYREVy.js +150 -0
- package/dist/cli/shell-C1U618XA.js +9 -0
- package/dist/cli/skills-jZThjL3B.js +120 -0
- package/dist/cli/snapshot-UfJsqfys.js +728 -0
- package/dist/cli/source-F3YTVvFo.js +317 -0
- package/dist/cli/source-args-DJMrW_jW.js +58 -0
- package/dist/cli/spec-DsLQuJKp.js +7449 -0
- package/dist/cli/spec-HQOBVbEO.js +1 -0
- package/dist/cli/sql-layout-CZ66pY8j.js +260 -0
- package/dist/cli/stack-147NqctC.js +134 -0
- package/dist/cli/stack-env-BQhbUFa7.js +92 -0
- package/dist/cli/stack-status-Mxgqb3I4.js +45 -0
- package/dist/cli/stacks-C5YL6Un9.js +230 -0
- package/dist/cli/style-B5-nByxb.js +34 -0
- package/dist/cli/supabase-toml-B6-eEV5p.js +1155 -0
- package/dist/cli/sync-B12wbtFd.js +318 -0
- package/dist/cli/table-D9FbJS8h.js +88 -0
- package/dist/cli/toml-VX0BsvYq.js +422 -0
- package/dist/cli/topics-Cdg0V7Tt.js +29 -0
- package/dist/cli/trace-D3TNqWBg.js +6 -0
- package/dist/cli/upgrade-AgUXFDo6.js +270 -0
- package/dist/cli/upgrade-C20z49De.js +40 -0
- package/dist/cli/validate-C_WTnX1U.js +7426 -0
- package/dist/cli/version-DEUWW8cv.js +3 -0
- package/dist/cli/yaml-JsusTbcC.js +2250 -0
- package/dist/client/index.d.ts +7 -7
- package/dist/client/index.js +9 -12
- package/dist/client/native/index.d.ts +7 -23
- package/dist/client/native/index.js +15 -22
- package/dist/client-BLor58Je.js +290 -0
- package/dist/clone-H_gCsL29.js +32 -0
- package/dist/cloud-event-CLvsaPqH.js +62 -0
- package/dist/cloud-event-bcaMqEbN.d.ts +62 -0
- package/dist/codecs-B1VO2BGL.d.ts +220 -0
- package/dist/codecs-B9v5Y5HH.js +357 -0
- package/dist/commerce/index.d.ts +5 -13
- package/dist/commerce/index.js +13 -16
- package/dist/compiler-CWishtY2.d.ts +12 -0
- package/dist/compose-BRBlPSEY.js +52 -0
- package/dist/composite-BZMkWNOQ.js +125 -0
- package/dist/composite-ClLWZIwX.d.ts +79 -0
- package/dist/config/index.d.ts +6 -6
- package/dist/config/index.js +7 -7
- package/dist/config-BhExAhNK.js +1102 -0
- package/dist/config-MDRA2sre.js +1672 -0
- package/dist/connectors-BImAu75R.d.ts +145 -0
- package/dist/context-DSevnLrT.js +40 -0
- package/dist/context-DcxfrCml.d.ts +4267 -0
- package/dist/controller-BJmh7gFm.js +78 -0
- package/dist/controller-D_UJBaEU.d.ts +50 -0
- package/dist/controller-y1kSMuCU.js +72 -0
- package/dist/conversion-7U1WeLxK.d.ts +84 -0
- package/dist/conversion-Bj9j3KnG.js +76 -0
- package/dist/cookie-DDkqvqe4.d.ts +3 -0
- package/dist/cookie-DJI6xXJ9.js +4 -0
- package/dist/cors-9SDsndtb.d.ts +13 -0
- package/dist/cors-DrDFLMNn.js +23 -0
- package/dist/create/index.d.ts +4 -28
- package/dist/create/index.js +9 -15
- package/dist/create/lite/index.d.ts +5 -25
- package/dist/create/lite/index.js +14 -24
- package/dist/create/oauth/index.d.ts +1 -1
- package/dist/create/oauth/index.js +1 -2
- package/dist/create/supabase/index.d.ts +2 -4
- package/dist/create/supabase/index.js +3 -6
- package/dist/create-blocks-D7q1boXV.js +367 -0
- package/dist/credentials/index.d.ts +6 -10
- package/dist/credentials/index.js +11 -12
- package/dist/cron-BD8VrQQl.js +147 -0
- package/dist/cron-route-DSITg1yC.js +23 -0
- package/dist/csv-Bwn9insJ.js +88 -0
- package/dist/csv-Dd1iKsk-.d.ts +26 -0
- package/dist/data-engine-B-D6bdyx.d.ts +269 -0
- package/dist/data-engine-BbqQwso_.js +174 -0
- package/dist/data-hooks-BToeAcQ_.js +277 -0
- package/dist/db-exception-Dv18UZ-I.js +30 -0
- package/dist/deal-forecast-CN_BEy9s.d.ts +21 -0
- package/dist/deal-forecast-DsVFoMkJ.js +38 -0
- package/dist/define-3RbqoF1S.d.ts +1242 -0
- package/dist/define-B6D55cO0.js +2073 -0
- package/dist/define-block-22Jv4U_-.js +63 -0
- package/dist/define-block-B_i9VPcc.d.ts +1669 -0
- package/dist/delegation-BRHHXERz.js +152 -0
- package/dist/delivery-CWcbh87x.d.ts +69 -0
- package/dist/delivery-SmPHu2_H.js +28 -0
- package/dist/delivery-events-0mAEuscm.js +52 -0
- package/dist/documents-6ov2gWh3.d.ts +150 -0
- package/dist/edge/index.d.ts +17 -23
- package/dist/edge/index.js +18 -22
- package/dist/elysia/index.d.ts +2 -6
- package/dist/elysia/index.js +4 -6
- package/dist/email-BRm6wMWQ.d.ts +40 -0
- package/dist/embeddings--v4BJdUL.js +127 -0
- package/dist/embeddings-K0lH--nt.d.ts +76 -0
- package/dist/ended-CCoE7XXY.d.ts +22 -0
- package/dist/entitlements-XwpuBbKN.d.ts +52 -0
- package/dist/entitlements-sLoj3M6Y.js +44 -0
- package/dist/entity-naming-BES3pkQI.js +130 -0
- package/dist/entity-schema-DEIz0I8i.js +38 -0
- package/dist/env/index.d.ts +1 -1
- package/dist/env/index.js +1 -2
- package/dist/envelope-DAtaFJue.js +89 -0
- package/dist/errors-B7tCfCvX.js +327 -0
- package/dist/errors-BdjHv5SV.js +43 -0
- package/dist/errors-D3-4c-XF.js +102 -0
- package/dist/escape-like-CK6L7gkj.d.ts +26 -0
- package/dist/escape-like-gxNXs145.js +6 -0
- package/dist/eve/index.d.ts +247 -16
- package/dist/eve/index.js +334 -26
- package/dist/eve-Cf-QRGij.d.ts +213 -0
- package/dist/event-calendar-DUtFyRrv.d.ts +63 -0
- package/dist/event-map-DxfsFgQT.js +18 -0
- package/dist/events/index.d.ts +3 -3
- package/dist/events/index.js +7 -8
- package/dist/events-BRKIxVQD.js +25 -0
- package/dist/events-CfDdOwqg.d.ts +850 -0
- package/dist/events-Da482tiF.js +81 -0
- package/dist/executor-BDMqPbVU.js +482 -0
- package/dist/executor-C0_TT717.js +840 -0
- package/dist/executor-CAhykadW.d.ts +168 -0
- package/dist/executor-CbDX34I9.d.ts +99 -0
- package/dist/executor-Dc4Pl44u.js +207 -0
- package/dist/executor-ynEwaUZy.d.ts +35 -0
- package/dist/expo/index.d.ts +5 -9
- package/dist/expo/index.js +10 -12
- package/dist/extension-DQ9-oOVC.js +58 -0
- package/dist/extension-LgaDPMJs.js +120 -0
- package/dist/extension-WdHd5uqI.js +102 -0
- package/dist/extension-rdpYvpyN.js +52 -0
- package/dist/extension-shared-DJb_PfD4.js +59 -0
- package/dist/extra-Dz9n5y1s.js +9 -0
- package/dist/field-errors-tQr-anYL.d.ts +208 -0
- package/dist/field-formats-Cap-V7UP.js +101 -0
- package/dist/field-formats-DVukMbRa.d.ts +36 -0
- package/dist/fields-AKKMirg_.d.ts +76 -0
- package/dist/fields-BBcdKD-S.js +107 -0
- package/dist/filter-evaluate-Bhq99aEN.d.ts +35 -0
- package/dist/filter-evaluate-D_LLfdtE.js +216 -0
- package/dist/filter-query-B7A4l2xn.d.ts +131 -0
- package/dist/filter-query-Ds7Z6lgZ.js +565 -0
- package/dist/flags-B5B4mkZV.d.ts +315 -0
- package/dist/flags-D0npSE-5.js +361 -0
- package/dist/flags-sdk/index.d.ts +217 -28
- package/dist/flags-sdk/index.js +255 -35
- package/dist/form-definition-8cCCt5zj.js +362 -0
- package/dist/form-definition-BN8shngm.d.ts +117 -0
- package/dist/format-BT0Z3V54.d.ts +77 -0
- package/dist/framework-B1h-uquj.js +57 -0
- package/dist/framework-CyDn_SXR.d.ts +45 -0
- package/dist/function-contract-Bf6llTkE.js +7 -0
- package/dist/function-contract-DgDBYbXu.d.ts +25 -0
- package/dist/gateway-Cg_MgGen.d.ts +120 -0
- package/dist/gateway-options-DQGQzdkD.js +26 -0
- package/dist/gateway-options-Mut8jih_.d.ts +27 -0
- package/dist/guards-CsRa6v57.js +11 -0
- package/dist/guest-actions-CEwttioE.js +8 -0
- package/dist/guest-actions-DfHHp98H.d.ts +3 -0
- package/dist/h3/index.d.ts +2 -6
- package/dist/h3/index.js +4 -6
- package/dist/h3/v1/index.d.ts +3 -5
- package/dist/h3/v1/index.js +4 -5
- package/dist/history-6KiVNWdH.js +269 -0
- package/dist/hmac-DNcfpmI9.js +22 -0
- package/dist/hono/index.d.ts +14 -19
- package/dist/hono/index.js +14 -16
- package/dist/http-BDC1IvBX.js +27 -0
- package/dist/http-BRUI3qim.js +140 -0
- package/dist/http-D4lH1xqY.js +39 -0
- package/dist/image-url-bsGeybeg.js +83 -0
- package/dist/impersonation-BOCJcsmS.d.ts +26 -0
- package/dist/impersonation-D-quM36V.js +61 -0
- package/dist/inbox-BmSA9K01.d.ts +326 -0
- package/dist/index-8w4OB5En.d.ts +102 -0
- package/dist/index-B2871MHr.d.ts +234 -0
- package/dist/index-B5_J-MaK.d.ts +152 -0
- package/dist/index-BWR29Vvw.d.ts +76 -0
- package/dist/index-CRrBZtKm.d.ts +326 -0
- package/dist/index-CTpEQvIv.d.ts +291 -0
- package/dist/index-D2BGCjIz.d.ts +570 -0
- package/dist/index-D66_dYVi.d.ts +667 -0
- package/dist/index-Dj4VKpYZ.d.ts +49 -0
- package/dist/index-DzBFdI9I.d.ts +145 -0
- package/dist/index-lazpPVr0.d.ts +402 -0
- package/dist/index-xCpjvDVm.d.ts +637 -0
- package/dist/index.d.ts +13 -41
- package/dist/index.js +29 -34
- package/dist/instance-property-BlH7QSDl.js +6 -0
- package/dist/instances-D31jrmKh.js +16636 -0
- package/dist/invalidate-DAB9CaPm.d.ts +19 -0
- package/dist/iso4217-oKsif_hW.js +175 -0
- package/dist/json-O5vFw243.js +21 -0
- package/dist/json-schema-D9eVL_xi.js +884 -0
- package/dist/jwks-cache-IZaiICAV.js +48 -0
- package/dist/jws-B8p0ppgh.js +204 -0
- package/dist/jws-CxgTsbgG.d.ts +64 -0
- package/dist/kit-CJKo0soh.d.ts +92 -0
- package/dist/kit-CVZDd1X9.js +132 -0
- package/dist/knowledge-BUwbpS8I.d.ts +215 -0
- package/dist/knowledge-DdZzUTQ-.js +299 -0
- package/dist/lint/index.d.ts +1 -5
- package/dist/lint/index.js +8 -10
- package/dist/list/index.d.ts +3 -3
- package/dist/list/index.js +3 -3
- package/dist/list-query-CZ-K5aHX.d.ts +220 -0
- package/dist/list-query-D-tgs1eY.js +558 -0
- package/dist/live-BVi3q4bX.js +277 -0
- package/dist/logger-0LfhvwE4.d.ts +16 -0
- package/dist/logger-BkF8ukXV.js +20 -0
- package/dist/lookup-upE-e1zw.js +17 -0
- package/dist/management-DtX4ic1F.d.ts +55 -0
- package/dist/mapper/bin.js +13 -17
- package/dist/mcp/index.d.ts +8 -18
- package/dist/mcp/index.js +24 -29
- package/dist/mcp/sdk/index.d.ts +7 -11
- package/dist/mcp/sdk/index.js +12 -14
- package/dist/message-Cc4bkdNw.d.ts +97 -0
- package/dist/messages-CRk1g6oe.js +512 -0
- package/dist/messaging-DMhtGxVv.d.ts +295 -0
- package/dist/methods-BjfDv4Gy.js +9 -0
- package/dist/metric-definition-2KQYeUZ1.d.ts +67 -0
- package/dist/metric-definition-D4H6IQT7.js +116 -0
- package/dist/mfa-CM5r904M.d.ts +34 -0
- package/dist/model-Lxa_mOzB.d.ts +338 -0
- package/dist/model-messages-BcrkjsPE.js +205 -0
- package/dist/model-messages-CGSUU450.d.ts +32 -0
- package/dist/money-BgpAd7d3.d.ts +89 -0
- package/dist/money-DH--bbYr.js +196 -0
- package/dist/money-codec-SKPm8FPw.js +40 -0
- package/dist/my-work-kinds-DNPq3ccL.js +10 -0
- package/dist/nestjs/index.d.ts +3 -5
- package/dist/nestjs/index.js +5 -6
- package/dist/next/client/index.d.ts +1 -5
- package/dist/next/client/index.js +2 -4
- package/dist/next/image/index.d.ts +1 -3
- package/dist/next/image/index.js +2 -3
- package/dist/next/index.d.ts +93 -103
- package/dist/next/index.js +87 -87
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +6 -7
- package/dist/node-headers-C3FExlg9.js +54 -0
- package/dist/node-headers-TnS4T7V_.d.ts +25 -0
- package/dist/nuxt/index.d.ts +0 -2
- package/dist/nuxt/index.js +1 -2
- package/dist/operations-BNFbWv1t.js +28 -0
- package/dist/operations-D51ONRvR.d.ts +4 -0
- package/dist/optional-peer-5SOYr3lL.js +31 -0
- package/dist/options--rohtkkC.js +4 -0
- package/dist/options-1iHDmlZ5.js +8 -0
- package/dist/options-2QJXZPPS.js +4 -0
- package/dist/options-B-JqrC61.d.ts +8 -0
- package/dist/options-B3xH2JvJ.js +8 -0
- package/dist/options-B4sTqDrt.js +4 -0
- package/dist/options-B56njigZ.js +19 -0
- package/dist/options-B5A3UmKY.d.ts +17 -0
- package/dist/options-B6m9gYRH.d.ts +11 -0
- package/dist/options-B7Pl708M.js +8 -0
- package/dist/options-B7YrdiUc.js +11 -0
- package/dist/options-B8c2_hIB.js +9 -0
- package/dist/options-B9w_Y08G.d.ts +6 -0
- package/dist/options-BDF60ouf.js +4 -0
- package/dist/options-BDMPjyrI.js +4 -0
- package/dist/options-BHdHuY5r.js +14 -0
- package/dist/options-BLMeCbtT.js +31 -0
- package/dist/options-BLQePOPy.d.ts +8 -0
- package/dist/options-BLn1PFyu.js +4 -0
- package/dist/options-BMO-FnOT.js +7 -0
- package/dist/options-BNRvoEkj.js +4 -0
- package/dist/options-BPQOiVx2.js +7 -0
- package/dist/options-BSTJmfX4.js +10 -0
- package/dist/options-BTRH26MJ.js +9 -0
- package/dist/options-BTaQszYn.js +9 -0
- package/dist/options-BYo7hMHK.js +10 -0
- package/dist/options-B_bxCZYM.js +7 -0
- package/dist/options-BaBaVWS-.js +10 -0
- package/dist/options-BamaRO-q.d.ts +12 -0
- package/dist/options-BcBdiPSZ.js +7 -0
- package/dist/options-BfY4pyQE.js +23 -0
- package/dist/options-BgCS5ODi.js +9 -0
- package/dist/options-Bi96Lzuf.js +9 -0
- package/dist/options-BjEsSoFp.js +17 -0
- package/dist/options-Bkx8vwip.js +4 -0
- package/dist/options-BmFSI07A.js +4 -0
- package/dist/options-BmwDdKwE.js +7 -0
- package/dist/options-Bn3NjXfn.js +7 -0
- package/dist/options-BqK4xV67.js +13 -0
- package/dist/options-Bs2dC-at.js +11 -0
- package/dist/options-BvttpM1M.js +4 -0
- package/dist/options-Bwrwb8do.d.ts +10 -0
- package/dist/options-BxdqA2Ex.js +19 -0
- package/dist/options-BzxR82Tu.js +9 -0
- package/dist/options-C-NFS6e3.js +13 -0
- package/dist/options-C13-dVMH.js +7 -0
- package/dist/options-C1RIyAe1.js +7 -0
- package/dist/options-C1kZ3qLd.js +8 -0
- package/dist/options-C2RjdunU.js +27 -0
- package/dist/options-C4kpi6HE.js +8 -0
- package/dist/options-C5MfwOAO.js +8 -0
- package/dist/options-C5fKQ3EJ.d.ts +10 -0
- package/dist/options-CJR59q8s.js +17 -0
- package/dist/options-CJVYQue3.d.ts +10 -0
- package/dist/options-CLy7CcMn.js +8 -0
- package/dist/options-COfEYic3.js +8 -0
- package/dist/options-CRwTY_q2.d.ts +58 -0
- package/dist/options-CcW7h8mv.js +9 -0
- package/dist/options-Ceu2j1vv.js +7 -0
- package/dist/options-CgBKgmI8.js +7 -0
- package/dist/options-CgMiQGOF.js +9 -0
- package/dist/options-CptvcSmF.js +11 -0
- package/dist/options-CsLUAt04.js +8 -0
- package/dist/options-CtyjhSGk.js +15 -0
- package/dist/options-CuPWezcV.js +7 -0
- package/dist/options-CyDOOWlk.js +7 -0
- package/dist/options-CyYZvdSy.js +10 -0
- package/dist/options-CzIPn0fF.js +4 -0
- package/dist/options-CzWjw2HY.js +10 -0
- package/dist/options-CztbWdz9.js +4 -0
- package/dist/options-D4LuPM8a.js +4 -0
- package/dist/options-D4dxMGHF.js +7 -0
- package/dist/options-D5a9CHgP.js +7 -0
- package/dist/options-D6tpMRvp.d.ts +13 -0
- package/dist/options-D848Os4l.js +10 -0
- package/dist/options-DCZPW5gR.d.ts +15 -0
- package/dist/options-DFSHZFLN.js +4 -0
- package/dist/options-DFemc2im.js +9 -0
- package/dist/options-DFgHHwzD.js +12 -0
- package/dist/options-DNZ9r_Vo.d.ts +8 -0
- package/dist/options-DP7NwQPZ.js +4 -0
- package/dist/options-DPQaafyc.js +7 -0
- package/dist/options-DQkhhBLy.js +4 -0
- package/dist/options-DTTz33na.js +9 -0
- package/dist/options-DToWdVqW.js +4 -0
- package/dist/options-DUNUGuhM.js +4 -0
- package/dist/options-DWgpi5ns.js +7 -0
- package/dist/options-DeamnVOY.d.ts +12 -0
- package/dist/options-Dg7eK-_J.d.ts +8 -0
- package/dist/options-DiIlMZpc.js +8 -0
- package/dist/options-DjFbIRgV.js +16 -0
- package/dist/options-DjtCYRWb.js +4 -0
- package/dist/options-Dk6D88Zx.d.ts +6 -0
- package/dist/options-DpwRG4tO.js +8 -0
- package/dist/options-DvgKdZ2K.js +9 -0
- package/dist/options-DwIoRvic.js +4 -0
- package/dist/options-GwwLsKf5.js +8 -0
- package/dist/options-I1ZHfDP0.d.ts +58 -0
- package/dist/options-Itq7QYoW.js +20 -0
- package/dist/options-JnPEVbBJ.js +17 -0
- package/dist/options-Jwux4JDX.js +7 -0
- package/dist/options-Lg76d-cV.js +7 -0
- package/dist/options-Lh6uxepF.d.ts +24 -0
- package/dist/options-Oki2W_c3.js +4 -0
- package/dist/options-PM7IaIFP.js +10 -0
- package/dist/options-PTLBl6QT.js +7 -0
- package/dist/options-PheFo4JY.js +10 -0
- package/dist/options-SlC_jZ7y.js +4 -0
- package/dist/options-Sq4bYbf5.js +13 -0
- package/dist/options-XiD_Y3oK.js +14 -0
- package/dist/options-Z-bd_H1E.js +88 -0
- package/dist/options-ax_ssX_m.js +4 -0
- package/dist/options-bNB8_nlW.js +23 -0
- package/dist/options-eIEk0vqV.js +4 -0
- package/dist/options-eLIedotm.js +7 -0
- package/dist/options-jg0FMHA5.js +4 -0
- package/dist/options-mypVYaqR.js +9 -0
- package/dist/options-ompJjxkV.js +4 -0
- package/dist/options-pbc4H8_A.js +7 -0
- package/dist/options-uUGi0Phf.d.ts +14 -0
- package/dist/options-yRwYr4up.js +4 -0
- package/dist/options-z2Zhi97E.js +9 -0
- package/dist/options-zYV6M0vr.js +8 -0
- package/dist/orpc/index.d.ts +13 -19
- package/dist/orpc/index.js +20 -23
- package/dist/otel/index.d.ts +4 -6
- package/dist/otel/index.js +8 -10
- package/dist/outbox-C44Aa94K.d.ts +197 -0
- package/dist/payments-B4JchZuJ.js +15 -0
- package/dist/payments-BBGSGRQ7.d.ts +112 -0
- package/dist/permissions-B9aZZ9LR.js +43 -0
- package/dist/permissions-controller-B4uI5IPH.js +33 -0
- package/dist/pg-error-D92B6jlF.js +25 -0
- package/dist/plugin-Ca2qBiFZ.js +47 -0
- package/dist/pool-Bji4lnQM.d.ts +121 -0
- package/dist/pool-errors-JrZie6u3.js +26 -0
- package/dist/ports-C-hdygkZ.js +150 -0
- package/dist/ports-zFqRNXVJ.d.ts +87 -0
- package/dist/postgres/index.d.ts +5 -11
- package/dist/postgres/index.js +7 -9
- package/dist/postgrest-2WjRrtmX.d.ts +51 -0
- package/dist/postgrest-executor-lf8Mt4J0.js +1064 -0
- package/dist/powersync/index.d.ts +7 -25
- package/dist/powersync/index.js +14 -24
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/preset-om2rbdYw.js +1038 -0
- package/dist/problem-C0SVHhd3.js +161 -0
- package/dist/problem-NGBjN-TO.d.ts +77 -0
- package/dist/project-oNHntJ6T.js +1749 -0
- package/dist/provider-B6qpleR9.js +56 -0
- package/dist/provider-CH8McX3b.d.ts +142 -0
- package/dist/providers-C9sBIBYE.js +62 -0
- package/dist/push-token-CO28k46S.js +15 -0
- package/dist/push-token-a3Ev1U3L.d.ts +22 -0
- package/dist/queries-BLrxg_GL.js +238 -0
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +11 -15
- package/dist/range-BN3kpJAE.d.ts +6 -0
- package/dist/range-Nrh_qtb_.js +6 -0
- package/dist/rank-keys-CEBzd9Xa.js +59 -0
- package/dist/rank-result-B_xLQCBV.d.ts +12 -0
- package/dist/rank-result-DzaTKKhH.js +17 -0
- package/dist/rate-limit-C89Yzwd9.d.ts +48 -0
- package/dist/rate-limit-CRhlLFhP.js +380 -0
- package/dist/rate-limit-DXJbLVg0.js +48 -0
- package/dist/ratelimit-headers-CpB-cDD6.js +61 -0
- package/dist/react/index.d.ts +11 -11
- package/dist/react/index.js +6 -6
- package/dist/react/native/index.d.ts +3 -5
- package/dist/react/native/index.js +5 -5
- package/dist/react/server.d.ts +13 -15
- package/dist/react/server.js +9 -10
- package/dist/react/session.d.ts +4 -6
- package/dist/react/session.js +2 -3
- package/dist/react-C40oomj7.js +1006 -0
- package/dist/react-CqOVutZj.js +80 -0
- package/dist/react-router/index.d.ts +8 -12
- package/dist/react-router/index.js +9 -11
- package/dist/read-set-DEDoIHMM.js +198 -0
- package/dist/realtime/index.d.ts +7 -7
- package/dist/realtime/index.js +6 -7
- package/dist/realtime-status-CocmAOPv.js +10 -0
- package/dist/realtime-status-D3oUx3o4.d.ts +6 -0
- package/dist/record-bindings-jTZw-GVe.js +25 -0
- package/dist/record-form-DCIui2Ol.d.ts +80 -0
- package/dist/record-type-oQxekQTX.js +219 -0
- package/dist/recordings-Dlpq8jUG.d.ts +117 -0
- package/dist/records/index.d.ts +10 -14
- package/dist/records/index.js +13 -16
- package/dist/refresh-B8t_KE3s.js +142 -0
- package/dist/refresh-BK9epzeC.d.ts +52 -0
- package/dist/refusal-DEuFVi4s.d.ts +30 -0
- package/dist/refusal-DhX7Xpfp.js +63 -0
- package/dist/relay-CllqA-lV.js +248 -0
- package/dist/resolve-DVOtYTAc.d.ts +287 -0
- package/dist/resolve-FW8oeXvh.js +927 -0
- package/dist/resolved-names-DYYyh35i.js +130 -0
- package/dist/resource-BfsTJnxZ.d.ts +119 -0
- package/dist/resource-Cn6Bn-_o.js +517 -0
- package/dist/resource-DQ4kIBpa.js +104 -0
- package/dist/resource-execute-DQRS7PFt.d.ts +13 -0
- package/dist/resource-schemas-Bq0g2RCQ.js +81 -0
- package/dist/resource-types-DF6KDAZM.d.ts +155 -0
- package/dist/resources-B0Vy7_wv.js +63 -0
- package/dist/resources-CeY53FiJ.d.ts +5 -0
- package/dist/respond-C2qvP1wv.js +106 -0
- package/dist/respond-CkwkvFdZ.d.ts +108 -0
- package/dist/result-8xza7w5W.js +145 -0
- package/dist/result-DTOQRyGY.d.ts +347 -0
- package/dist/rows-Ce8dsmfM.js +79 -0
- package/dist/rows-D-RqIsRz.js +38 -0
- package/dist/rrule-BLpe2449.js +289 -0
- package/dist/run-keys-BnzqxtYc.d.ts +59 -0
- package/dist/run-state-D0Tbl-nM.d.ts +11 -0
- package/dist/run-state-DGiyDQxH.js +12 -0
- package/dist/run-watch-DJk4Q603.js +52 -0
- package/dist/runtime-qslVrC9l.js +43 -0
- package/dist/sales-lines-Bde9cV5F.d.ts +36 -0
- package/dist/sales-lines-axwWhnLk.js +44 -0
- package/dist/sales-shared-CY3s_wBx.js +21 -0
- package/dist/sandboxes-DDWuD9fh.d.ts +85 -0
- package/dist/schemas-CpoEiAeT.js +213 -0
- package/dist/scope-dD_OAgRU.js +89 -0
- package/dist/scores-Bql-ABl0.d.ts +172 -0
- package/dist/scores-Bvk_JgXL.js +176 -0
- package/dist/search-DtbkD0h0.js +8 -0
- package/dist/server/index.d.ts +35 -69
- package/dist/server/index.js +51 -59
- package/dist/server-types-C3p3jUqr.d.ts +583 -0
- package/dist/session-BOch2y2z.d.ts +96 -0
- package/dist/session-status-DRBRnZHx.d.ts +80 -0
- package/dist/shared-Bmcnxwie.js +16 -0
- package/dist/shared-Ci1g9nl4.js +90 -0
- package/dist/shared-DsBcvj6q.d.ts +9 -0
- package/dist/sign-in-BmigClRh.js +730 -0
- package/dist/sign-in-C9pZE1kM.d.ts +53 -0
- package/dist/sign-in-CXOg2Dwb.js +399 -0
- package/dist/sign-in-Dxyi4aKu.d.ts +83 -0
- package/dist/signatures-CBn7w4VR.js +144 -0
- package/dist/signatures-jPr9JXyw.d.ts +41 -0
- package/dist/signers-Cz5ZhTHH.d.ts +380 -0
- package/dist/signing-keys-BC5_hJN5.js +163 -0
- package/dist/signing-keys-DS-rIVzz.d.ts +117 -0
- package/dist/simplify-BzThKn5b.js +82 -0
- package/dist/solid/index.d.ts +12 -22
- package/dist/solid/index.js +10 -16
- package/dist/solid-start/index.d.ts +7 -9
- package/dist/solid-start/index.js +8 -9
- package/dist/spec/index.d.ts +6 -48
- package/dist/spec/index.js +23 -39
- package/dist/spec-6Vr7sc0Z.js +123 -0
- package/dist/spec-pins-CuQ2anBw.d.ts +125 -0
- package/dist/spec-pins-FKUzgF6K.js +61 -0
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +4 -4
- package/dist/sql-BPV51R3A.js +140626 -0
- package/dist/sql-C1K5JALb.js +420 -0
- package/dist/sql-type-XWMeZRAl.js +33 -0
- package/dist/sqlite/index.d.ts +3 -9
- package/dist/sqlite/index.js +5 -8
- package/dist/sso-BEvNf1oW.d.ts +159 -0
- package/dist/sso-CRnaFJh0.js +216 -0
- package/dist/ssr/index.d.ts +5 -5
- package/dist/ssr/index.js +3 -3
- package/dist/standard-BD2aOUsf.js +24 -0
- package/dist/standard-DRX6Ch1j.d.ts +5 -0
- package/dist/stats-BTJgRMEp.js +82 -0
- package/dist/statuses-BTrQ5H4S.js +27 -0
- package/dist/statuses-Bv-0XoYC.js +27 -0
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +27 -40
- package/dist/storage-api-COQr77e8.js +9 -0
- package/dist/store-CKKzmsWB.js +68 -0
- package/dist/store-c7QxUHX-.d.ts +81 -0
- package/dist/streams/index.d.ts +3 -7
- package/dist/streams/index.js +5 -6
- package/dist/streams/redis/index.d.ts +1 -3
- package/dist/streams/redis/index.js +6 -7
- package/dist/stripe/index.d.ts +1 -3
- package/dist/stripe/index.js +3 -4
- package/dist/stripe-Bl-sjnl6.d.ts +154 -0
- package/dist/stripe-DKRwRWew.js +31 -0
- package/dist/subject-readers-BARV5rNp.js +48 -0
- package/dist/subject-readers-DWkVSbFr.d.ts +19 -0
- package/dist/subject-type-BarjdHZV.js +7 -0
- package/dist/subjects-BGwLJ3IB.d.ts +148 -0
- package/dist/subjects-vci6Wufh.d.ts +86 -0
- package/dist/subscribers-C57054Pc.js +32 -0
- package/dist/summaries-CUemsYwV.d.ts +67 -0
- package/dist/supabase-mcp-DY32eoax.d.ts +44 -0
- package/dist/supabase-mcp-QvebHckf.js +27 -0
- package/dist/support-rZbdU35s.d.ts +351 -0
- package/dist/support-view-CvDEgyGY.js +17 -0
- package/dist/support-view-WY4Y-A40.d.ts +15 -0
- package/dist/svelte/index.d.ts +11 -21
- package/dist/svelte/index.js +9 -15
- package/dist/sveltekit/index.d.ts +10 -14
- package/dist/sveltekit/index.js +12 -14
- package/dist/table-schema-CwXg7oBz.d.ts +77 -0
- package/dist/table-schema-D-ss9ozY.js +291 -0
- package/dist/tables-BSiVuKKx.js +72 -0
- package/dist/tags-BVLELhOf.d.ts +28 -0
- package/dist/tags-CW-KvjdL.js +38 -0
- package/dist/tanstack-db/index.d.ts +4 -8
- package/dist/tanstack-db/index.js +4 -6
- package/dist/tanstack-start/index.d.ts +8 -12
- package/dist/tanstack-start/index.js +8 -10
- package/dist/tax-BD9dN1rx.d.ts +168 -0
- package/dist/tax-BwckP5dv.js +139 -0
- package/dist/tee-CVOMhEX-.js +100 -0
- package/dist/template-CNq9xcfx.js +125 -0
- package/dist/temporal-DKTdGK9i.js +94 -0
- package/dist/temporal-required-w_2u4EDp.js +19 -0
- package/dist/tenant-BR7fvPj7.js +26 -0
- package/dist/tenant-RKvGBB-U.d.ts +15 -0
- package/dist/tenant-source-46lMuMEn.js +7 -0
- package/dist/testing/index.d.ts +77 -123
- package/dist/testing/index.js +145 -117
- package/dist/timeline-Bs-FGMIJ.js +49 -0
- package/dist/timeline-Ck8OFuAN.d.ts +147 -0
- package/dist/timing-B6yHayKA.js +94 -0
- package/dist/topic-BBBCVLyS.js +640 -0
- package/dist/topic-Dr8VYE4D.d.ts +411 -0
- package/dist/transport-CS4cVH4S.js +30 -0
- package/dist/ttl-cache-C5S0L2wx.js +31 -0
- package/dist/types-BiedVwz_.d.ts +192 -0
- package/dist/types-CCmW3MqI.d.ts +449 -0
- package/dist/types-CL-z0A4K.d.ts +660 -0
- package/dist/types-CvlJNzX4.d.ts +215 -0
- package/dist/types-D9FY9qSJ.d.ts +247 -0
- package/dist/types-DWZubmwk.d.ts +648 -0
- package/dist/types-DnrJ_crV.js +28 -0
- package/dist/types-Pv5WPfIC.d.ts +175 -0
- package/dist/types-WZUVlTXs.d.ts +907 -0
- package/dist/undo-BdoEJ6Ot.d.ts +44 -0
- package/dist/undo-Dki6Ujak.js +43 -0
- package/dist/upload-claim-Bo2mpBz4.js +32 -0
- package/dist/usage-D27Uw426.d.ts +230 -0
- package/dist/user-change-Ngy8z1fZ.js +133 -0
- package/dist/variants-BaMleC56.js +51 -0
- package/dist/vault-Dx0LaNMX.d.ts +60 -0
- package/dist/vercel-connect/index.d.ts +194 -20
- package/dist/vercel-connect/index.js +265 -33
- package/dist/vercel-sandbox/index.d.ts +166 -0
- package/dist/vercel-sandbox/index.js +171 -0
- package/dist/verify-DY_j4GPZ.js +129 -0
- package/dist/verify-DnL0Fgu0.d.ts +144 -0
- package/dist/view-DmEZA1fL.d.ts +95 -0
- package/dist/view-YnesSUEa.js +244 -0
- package/dist/vue/index.d.ts +12 -22
- package/dist/vue/index.js +10 -16
- package/dist/watch-topic-BB7T05sc.d.ts +29 -0
- package/dist/watch-topic-C2KxpeaB.js +56 -0
- package/dist/wire-DIoLA8VL.js +90 -0
- package/dist/wiring-DJBSLdyF.js +12 -0
- package/dist/workflow-sdk/builder/index.d.ts +12 -14
- package/dist/workflow-sdk/builder/index.js +12 -11
- package/dist/workflow-sdk/index.d.ts +62 -6
- package/dist/workflow-sdk/index.js +75 -10
- package/dist/workflow-sdk/world/index.d.ts +13 -20
- package/dist/workflow-sdk/world/index.js +115 -26
- package/dist/workflow-sdk-BL3wzkdp.js +2749 -0
- package/dist/workflow-sdk-D5zRSwxh.js +302 -0
- package/dist/workflow-sdk-DMpVSMB7.d.ts +171 -0
- package/dist/workflows-DKTw2PZo.d.ts +256 -0
- package/dist/yjs/index.d.ts +3 -5
- package/dist/yjs/index.js +6 -7
- package/package.json +45 -31
- package/schemas/config-v1.json +57 -3
- package/schemas/snapshot-v2.json +7 -0
- package/skills/better-supabase/SKILL.md +4 -4
- package/skills/better-supabase/references/block-extensions.md +2 -2
- package/skills/better-supabase/references/troubleshooting.md +1 -1
- package/skills/better-supabase/references/ui-recipes.md +73 -36
- package/skills/better-supabase-api/SKILL.md +1 -1
- package/skills/better-supabase-api/references/adapters.md +3 -3
- package/skills/better-supabase-api/references/ai.md +8 -0
- package/skills/better-supabase-auth/SKILL.md +19 -19
- package/skills/better-supabase-auth/references/authorization-providers.md +1 -1
- package/dist/access-sql-CTDNuxRv.js +0 -385
- package/dist/actor-CoveJgya.d.ts +0 -106
- package/dist/actor-go7p9-CJ.js +0 -150
- package/dist/adapter-BTbj5N9C.js +0 -2251
- package/dist/agents-CM_cCtcr.d.ts +0 -117
- package/dist/ai-cache-BFRKxgZ4.js +0 -87
- package/dist/ai-cache-BTGqckta.d.ts +0 -82
- package/dist/ai-chat-B7_vQvxU.d.ts +0 -619
- package/dist/ai-files-m_2z3rH1.js +0 -339
- package/dist/ai-message-DfaP8sis.js +0 -14
- package/dist/ai-schedules-CZEfo-_M.d.ts +0 -166
- package/dist/anchors-7F34QyHa.d.ts +0 -40
- package/dist/api-3C0AWFeP.js +0 -696
- package/dist/api-59rv5hL6.d.ts +0 -495
- package/dist/api-keys-JE-aykZE.d.ts +0 -213
- package/dist/app-tables-B2mKMNRQ.d.ts +0 -28
- package/dist/approvals-BfEafAzt.d.ts +0 -129
- package/dist/assistant-B49qATbj.d.ts +0 -157
- package/dist/attachments-BXbLnNxm.js +0 -376
- package/dist/attributes-Bzf51_nc.js +0 -47
- package/dist/auth-DyF_LRxd.js +0 -20
- package/dist/auth-link-B4NL84XU.d.ts +0 -104
- package/dist/auth-link-D3-bU6yz.js +0 -118
- package/dist/auth-module-BbmX-N4L.js +0 -52
- package/dist/auth-reply-Dj124sbX.d.ts +0 -11
- package/dist/auth-reply-tlXB2FQ9.js +0 -31
- package/dist/authorization-DfEkyFt_.d.ts +0 -3867
- package/dist/authorization-hooks-BWhkMZfH.d.ts +0 -221
- package/dist/authorizer-B6X09otb.d.ts +0 -118
- package/dist/authorizer-BGhXaDmo.js +0 -172
- package/dist/automation-D41DXyvT.js +0 -75
- package/dist/automations-8L3NEuoq.js +0 -29
- package/dist/automations-BKjJpktQ.js +0 -33
- package/dist/automations-BMuqwZZn.js +0 -314
- package/dist/automations-EzXteupo.js +0 -31
- package/dist/availability-BdeKCHpl.d.ts +0 -236
- package/dist/base64-B9Wlsdj7.js +0 -42
- package/dist/batch-limit-DKVQDz4o.js +0 -5
- package/dist/before-route-B23K2zYU.js +0 -30
- package/dist/bind-DAx0bMSi.d.ts +0 -104
- package/dist/block-authors-Bw3zdzgl.js +0 -14
- package/dist/block-authors-DzXLUiIq.d.ts +0 -12
- package/dist/block-env-Dz7Caxk0.d.ts +0 -32
- package/dist/block-event-listener-Bu6G0TFH.js +0 -16
- package/dist/block-events-IWAyafO3.js +0 -83
- package/dist/block-fields-BE7pInWZ.d.ts +0 -58
- package/dist/block-fields-BjXgX_5c.js +0 -140
- package/dist/block-helpers-B0f0ZVb5.js +0 -437
- package/dist/block-helpers-D5emQ2O6.d.ts +0 -62
- package/dist/block-hooks-B8itxzEE.d.ts +0 -117
- package/dist/block-hooks-DKtz0HRh.js +0 -130
- package/dist/block-method-C9hWdHom.js +0 -21
- package/dist/block-method-CiVa2G-J.d.ts +0 -14
- package/dist/block-subjects-C1_9DkSA.d.ts +0 -6
- package/dist/block-subjects-DFSuFY1a.js +0 -55
- package/dist/block-tenant-DHp7subc.js +0 -14
- package/dist/block-transport-9EUA3q_I.d.ts +0 -69
- package/dist/bookings-xsmM2TA_.d.ts +0 -289
- package/dist/bucket-SvRQwYS4.d.ts +0 -705
- package/dist/build-CH2N3Yf0.js +0 -2073
- package/dist/build-DbIRFcHQ.js +0 -735
- package/dist/carrier-KzeYXVrW.d.ts +0 -169
- package/dist/casing-DdFWEtqr.js +0 -16
- package/dist/channel-JcMd5lNP.d.ts +0 -105
- package/dist/channels-CfcFPuo_.js +0 -114
- package/dist/claims-Bp9My7XP.js +0 -88
- package/dist/claims-DTy6R6my.js +0 -63
- package/dist/cli/_format-Cax5EsM9.js +0 -101
- package/dist/cli/add-B9wP0YGU.js +0 -99
- package/dist/cli/add-DjZXKd7X.js +0 -1231
- package/dist/cli/add-ZcEOEK23.js +0 -1
- package/dist/cli/agent-CbuPvI2x.js +0 -185
- package/dist/cli/app-table-files-mtvjHa48.js +0 -346
- package/dist/cli/arazzo-1.0-BalU61-_.js +0 -532
- package/dist/cli/arazzo-1.1-Bnfasbun.js +0 -705
- package/dist/cli/args-UEwg0l-N.js +0 -27
- package/dist/cli/asyncapi-3.0.0-C78dBjR6.js +0 -5593
- package/dist/cli/asyncapi-3.1.0-g-7aIfV1.js +0 -5833
- package/dist/cli/backfill-Coshdvh_.js +0 -293
- package/dist/cli/blocks-BWCuA0nq.js +0 -156
- package/dist/cli/blocks-hiSazThw.js +0 -1
- package/dist/cli/cache-x2wWAy0h.js +0 -607
- package/dist/cli/codemod-BnjV7BpC.js +0 -2634
- package/dist/cli/codemod-block-renames-BuSaTE_G.js +0 -239
- package/dist/cli/command-CCAwhiOh.js +0 -1003
- package/dist/cli/compare-BmIWVEui.js +0 -9
- package/dist/cli/completion-BJaB84Pe.js +0 -211
- package/dist/cli/completion-BkUhs1ms.js +0 -1
- package/dist/cli/completion-DmUVsUVQ.js +0 -30
- package/dist/cli/config-Cskysxp-.js +0 -2000
- package/dist/cli/config-Df5cXWNN.js +0 -1
- package/dist/cli/config-edit-CrWfk8s3.js +0 -621
- package/dist/cli/config-group-CP-B9uRt.js +0 -390
- package/dist/cli/config-zId1jkLx.js +0 -47
- package/dist/cli/content-mapper-DvOSOdTE.js +0 -182
- package/dist/cli/db-CQCLx7cx.js +0 -78
- package/dist/cli/db-DXKyVEDF.js +0 -247
- package/dist/cli/detect-D9JaAX20.js +0 -84
- package/dist/cli/dist-D_VbPAMR.js +0 -129
- package/dist/cli/dist-DuiMMRbJ.js +0 -1112
- package/dist/cli/doctor-Ywy8oJEU.js +0 -4684
- package/dist/cli/env-BK0xKMeU.js +0 -1113
- package/dist/cli/env-Bat6ogep.js +0 -1
- package/dist/cli/env-CNjT_uOV.js +0 -1
- package/dist/cli/env-XMiKvhtV.js +0 -143
- package/dist/cli/errors-BTe6A15O.js +0 -98
- package/dist/cli/exec-Ca5s-ygi.js +0 -463
- package/dist/cli/fastest-levenshtein-dhRRvrM2.js +0 -120
- package/dist/cli/files-CX71yBm8.js +0 -1010
- package/dist/cli/fresh-import-DzgsGHkX.js +0 -40
- package/dist/cli/gen-B-FbQmG1.js +0 -394
- package/dist/cli/guards-CUlDNYZs.js +0 -8
- package/dist/cli/in-stack-diff-Cp-tVPj2.js +0 -186
- package/dist/cli/init-fb9e1BKX.js +0 -559
- package/dist/cli/io-DH1kcmmP.js +0 -37
- package/dist/cli/json5-ChRycquj.js +0 -787
- package/dist/cli/jsonc-C8M0EhHB.js +0 -1
- package/dist/cli/jsonc-D5Fu67jw.js +0 -45
- package/dist/cli/keys-ORiPz1sM.js +0 -106
- package/dist/cli/legacy-prefix-R7UChFFl.js +0 -154
- package/dist/cli/live-DIt7TP-N.js +0 -341
- package/dist/cli/mcp-CVWwraga.js +0 -241
- package/dist/cli/metadata-CannIjel.js +0 -150
- package/dist/cli/migrate-Ht2TzIQF.js +0 -46
- package/dist/cli/migration-safety-nNyB05I-.js +0 -928
- package/dist/cli/migrations-bAd7dpk1.js +0 -117
- package/dist/cli/module-migration-CkNux8dr.js +0 -119
- package/dist/cli/moved-C3WyRHkA.js +0 -254
- package/dist/cli/ohash-BjQY1cBb.js +0 -277
- package/dist/cli/openapi-3.0-t7xwkuRH.js +0 -928
- package/dist/cli/openapi-3.1-CVze7tBS.js +0 -870
- package/dist/cli/openapi-3.2-CFoMYM01.js +0 -1031
- package/dist/cli/orphans-BAboqyVM.js +0 -28
- package/dist/cli/parse-DjHbTaFI.js +0 -182
- package/dist/cli/powersync-B2v0tDwp.js +0 -377
- package/dist/cli/powersync-D3mAQ6QE.js +0 -1
- package/dist/cli/preset-BwmIfFnh.js +0 -101
- package/dist/cli/print-CxQ0rBKT.js +0 -68
- package/dist/cli/prompts-jqnr94b9.js +0 -1140
- package/dist/cli/providers-DtI90lSw.js +0 -301
- package/dist/cli/redact-KGAk2Ul9.js +0 -38
- package/dist/cli/remove-DYtE4IZ4.js +0 -239
- package/dist/cli/render-QGWfEoiB.js +0 -2225
- package/dist/cli/rolldown-runtime-kJ_i4yPo.js +0 -26
- package/dist/cli/run-B5aMwErM.js +0 -63
- package/dist/cli/run-BNoJKf5I.js +0 -706
- package/dist/cli/run-DiYX1XEa.js +0 -1459
- package/dist/cli/seed-C-Hu2n_E.js +0 -188
- package/dist/cli/seed-Cm-c0BDd.js +0 -1
- package/dist/cli/shared-D_CFi5di.js +0 -151
- package/dist/cli/shell-Btv_4Yhe.js +0 -10
- package/dist/cli/skills-D98y0bSB.js +0 -121
- package/dist/cli/snapshot-BlQ4DDcJ.js +0 -734
- package/dist/cli/source-CelMBQMj.js +0 -320
- package/dist/cli/source-args-v8ljFDfc.js +0 -59
- package/dist/cli/spec-BxcoGE0h.js +0 -1
- package/dist/cli/spec-iBx1LcYO.js +0 -7530
- package/dist/cli/sql-layout-Dp4Rottt.js +0 -261
- package/dist/cli/stack-B2slzrYH.js +0 -135
- package/dist/cli/stack-env-3ziggrU3.js +0 -93
- package/dist/cli/stack-status-BkkYRlXG.js +0 -46
- package/dist/cli/stacks-CiDBH1dB.js +0 -232
- package/dist/cli/style-Bm2X5JrN.js +0 -35
- package/dist/cli/supabase-toml-CncmQbO0.js +0 -1164
- package/dist/cli/sync-BnORI43S.js +0 -322
- package/dist/cli/table-D6HUECKI.js +0 -89
- package/dist/cli/toml-DB-MNnFs.js +0 -424
- package/dist/cli/topics-BpdnYmWb.js +0 -30
- package/dist/cli/trace-VbdO6bcN.js +0 -7
- package/dist/cli/upgrade-CR6-WmIc.js +0 -272
- package/dist/cli/upgrade-fz92aCnh.js +0 -41
- package/dist/cli/validate-B3lF3-jB.js +0 -7522
- package/dist/cli/version-Dz8ZlOuh.js +0 -4
- package/dist/cli/yaml-CYCbJ6et.js +0 -2252
- package/dist/client-C_mlji5R.js +0 -288
- package/dist/clone-CkG0-hlI.js +0 -33
- package/dist/cloud-event-0pQ9vFNS.d.ts +0 -64
- package/dist/cloud-event-XsM53POL.js +0 -63
- package/dist/codecs-CMWlhHZ0.d.ts +0 -222
- package/dist/codecs-CSUFGrdP.js +0 -358
- package/dist/compiler-BEeVWXPS.d.ts +0 -14
- package/dist/compose-DKW0Tr3e.js +0 -53
- package/dist/composite-B4qB6k31.js +0 -130
- package/dist/composite-BJ9s-IJJ.d.ts +0 -83
- package/dist/config-B7g-HDis.js +0 -1111
- package/dist/config-R0m0fBiD.js +0 -1679
- package/dist/connectors-uC5baoFV.d.ts +0 -147
- package/dist/context-DBicfUNz.js +0 -41
- package/dist/context-DWWoP1wK.d.ts +0 -4344
- package/dist/controller-BEliOBOv.js +0 -79
- package/dist/controller-Br9dGKGe.d.ts +0 -52
- package/dist/controller-W97g2WGG.js +0 -73
- package/dist/conversion-Dq1S7xzE.js +0 -77
- package/dist/conversion-g8HzH9My.d.ts +0 -86
- package/dist/cors-h_v7TPxl.js +0 -24
- package/dist/cors-kLq6VM06.d.ts +0 -15
- package/dist/create-blocks-BfrDUSM6.js +0 -370
- package/dist/cron-DdT4ti8a.js +0 -148
- package/dist/cron-route-FjKgRvTY.js +0 -24
- package/dist/csv-2rXGPNtP.js +0 -89
- package/dist/csv-DhHQS2x_.d.ts +0 -28
- package/dist/data-engine-D1BkmBoR.js +0 -173
- package/dist/data-engine-rvbR2C4F.d.ts +0 -273
- package/dist/data-hooks-CdcZfVS1.js +0 -280
- package/dist/db-exception-Lngc1W49.js +0 -31
- package/dist/deal-forecast-CKBnRodz.js +0 -39
- package/dist/deal-forecast-LwO-Z4_C.d.ts +0 -23
- package/dist/define-D-dLADd5.js +0 -2084
- package/dist/define-D8_9X5fZ.d.ts +0 -1263
- package/dist/define-block-BGqOO8B3.js +0 -64
- package/dist/define-block-DWVZSZv1.d.ts +0 -1687
- package/dist/delegation-C7eWP2r8.d.ts +0 -14
- package/dist/delegation-DGOIiT8k.js +0 -153
- package/dist/delivery-Bm0jxmzI.js +0 -29
- package/dist/delivery-events-DbL8IHIY.js +0 -53
- package/dist/delivery-n6lZGuGx.d.ts +0 -71
- package/dist/documents-BbwYyynk.d.ts +0 -152
- package/dist/email-B3YxEzwC.d.ts +0 -42
- package/dist/embeddings-I3s5sTDt.d.ts +0 -78
- package/dist/embeddings-vVzseUw0.js +0 -128
- package/dist/ended-EZzN9QTM.d.ts +0 -26
- package/dist/entitlements-CBjm2lvD.d.ts +0 -54
- package/dist/entitlements-tGL6-69B.js +0 -45
- package/dist/entity-naming-Dtyq5sKE.js +0 -131
- package/dist/entity-schema-B1YmMtP8.js +0 -39
- package/dist/envelope-DEI2iX-d.js +0 -90
- package/dist/errors-BVFgt8BZ.js +0 -328
- package/dist/errors-CyxMxzlu.js +0 -44
- package/dist/escape-like-DHfx6jRr.js +0 -7
- package/dist/escape-like-PReMbEEU.d.ts +0 -30
- package/dist/eve-BfhVFV33.d.ts +0 -157
- package/dist/event-calendar-DVLs2wUO.d.ts +0 -65
- package/dist/event-map-CtPFhcOp.js +0 -19
- package/dist/events-B2qbZps6.d.ts +0 -854
- package/dist/events-D6IZ5CE8.js +0 -82
- package/dist/events-DuLhzjP6.js +0 -26
- package/dist/executor-BfirBzOr.d.ts +0 -174
- package/dist/executor-BlS0kCrN.d.ts +0 -104
- package/dist/executor-C2Ne-Scm.js +0 -208
- package/dist/executor-DXQIx4sW.d.ts +0 -37
- package/dist/executor-DqIci3Jb.js +0 -486
- package/dist/executor-WolvKszH.js +0 -843
- package/dist/extension-DTaHjwdc.js +0 -59
- package/dist/extension-DeAd_MqI.js +0 -121
- package/dist/extension-DzCc0IOd.js +0 -103
- package/dist/extension-mGylYROs.js +0 -53
- package/dist/extension-shared-Djm8mGHD.js +0 -60
- package/dist/extra-CGQ2_q3S.js +0 -10
- package/dist/field-errors-CEjsMAgd.d.ts +0 -216
- package/dist/field-formats-C6QKA3UR.js +0 -102
- package/dist/field-formats-CAFNkKSN.d.ts +0 -38
- package/dist/fields-BBm49w-E.js +0 -108
- package/dist/fields-snbaZ14h.d.ts +0 -78
- package/dist/filter-evaluate-BRpNiNPG.d.ts +0 -37
- package/dist/filter-evaluate-lCToXzZI.js +0 -217
- package/dist/filter-query-CQ6d5GnQ.js +0 -566
- package/dist/filter-query-DBt7OKuH.d.ts +0 -133
- package/dist/flags-DDKTThrO.d.ts +0 -246
- package/dist/flags-DF_SCqp5.js +0 -279
- package/dist/form-definition-BTpM_tz1.js +0 -363
- package/dist/form-definition-BjEtH8BT.d.ts +0 -119
- package/dist/format-u-65igKI.d.ts +0 -79
- package/dist/framework-CqiZk89W.js +0 -58
- package/dist/framework-DVYTtQXA.d.ts +0 -47
- package/dist/function-contract-DxFNOmsm.d.ts +0 -27
- package/dist/function-contract-pEmsaUIf.js +0 -8
- package/dist/gateway-Ve7cByEr.d.ts +0 -115
- package/dist/gateway-options-BlVCqgb8.d.ts +0 -29
- package/dist/gateway-options-Cl74B7k6.js +0 -27
- package/dist/guards-6F2bCtQR.js +0 -12
- package/dist/guest-actions-1T1DeS5Y.d.ts +0 -5
- package/dist/guest-actions-B7zdhfnh.js +0 -9
- package/dist/history-GH1HJWQV.js +0 -271
- package/dist/hmac-B3CTTlfv.js +0 -23
- package/dist/http-7-UvHjQe.js +0 -28
- package/dist/http-BjjojWg3.js +0 -40
- package/dist/http-DzbloBR-.js +0 -141
- package/dist/image-url-_d7xYsXK.js +0 -84
- package/dist/impersonation-DM3oWNoD.js +0 -62
- package/dist/impersonation-YTa9dZUv.d.ts +0 -28
- package/dist/inbox-c8B86Trp.d.ts +0 -321
- package/dist/index-B4wttiLh.d.ts +0 -407
- package/dist/index-Clyd2Goi.d.ts +0 -338
- package/dist/index-Cxsnd-OL.d.ts +0 -305
- package/dist/index-D98bQs8a.d.ts +0 -665
- package/dist/index-DIdPoQtO.d.ts +0 -240
- package/dist/index-DbyDZZlc.d.ts +0 -53
- package/dist/index-I8YLxKq8.d.ts +0 -729
- package/dist/index-NRMMhhEi.d.ts +0 -104
- package/dist/index-X2fkPUwb.d.ts +0 -51
- package/dist/index-eRBuKtMt.d.ts +0 -158
- package/dist/index-pZn6S_iq.d.ts +0 -149
- package/dist/index-uIU65iEn.d.ts +0 -588
- package/dist/instance-property-hRh88y_s.js +0 -7
- package/dist/instances-DY_ORk5g.js +0 -16605
- package/dist/invalidate-DMp4eqfF.d.ts +0 -21
- package/dist/iso4217-B-durg_y.js +0 -176
- package/dist/json-DaByVJpw.js +0 -22
- package/dist/json-schema-DHJxiizN.js +0 -888
- package/dist/jwks-cache-DEsKI0hJ.js +0 -49
- package/dist/jws-D0toeQlA.d.ts +0 -66
- package/dist/jws-DOgHJKHb.js +0 -205
- package/dist/kit-B8yWCRN7.d.ts +0 -94
- package/dist/kit-Bcd9wYCV.js +0 -133
- package/dist/knowledge-CsLPACGJ.d.ts +0 -217
- package/dist/knowledge-tCrrU99q.js +0 -300
- package/dist/list-query-BcU8NnNL.d.ts +0 -222
- package/dist/list-query-BnpA2BDg.js +0 -559
- package/dist/live-C21DgbsD.js +0 -275
- package/dist/logger-DWVYUmwi.d.ts +0 -18
- package/dist/logger-glM28NVN.js +0 -21
- package/dist/lookup-BaP5bI27.js +0 -18
- package/dist/management-wtecfrNf.d.ts +0 -57
- package/dist/message-Bg4TKA12.d.ts +0 -99
- package/dist/messages-ecPW_nOv.js +0 -492
- package/dist/messaging-DQP09JsY.d.ts +0 -297
- package/dist/methods-Cund9ZBe.js +0 -11
- package/dist/metric-definition-BjxVn4R5.js +0 -117
- package/dist/metric-definition-EAYI1r2n.d.ts +0 -69
- package/dist/mfa-oIOYTpvc.d.ts +0 -36
- package/dist/model-hwpvole9.d.ts +0 -340
- package/dist/model-messages-CkZSDDHP.js +0 -206
- package/dist/model-messages-DrR4lZ_c.d.ts +0 -34
- package/dist/money-BNRdJQzA.d.ts +0 -91
- package/dist/money-BZl985O-.js +0 -197
- package/dist/money-codec-BJuS2zEW.js +0 -41
- package/dist/my-work-kinds-BU3SlA-6.js +0 -11
- package/dist/node-headers-BPtMP4_V.d.ts +0 -27
- package/dist/node-headers-C71zNQHe.js +0 -55
- package/dist/operations-DVHRHvv6.js +0 -29
- package/dist/operations-hm1Isvvs.d.ts +0 -6
- package/dist/optional-peer-C1NbBRJm.js +0 -32
- package/dist/options-3OYOU56e.js +0 -11
- package/dist/options-56zYYXxc.js +0 -10
- package/dist/options-5WvWOkAm.d.ts +0 -26
- package/dist/options-62woPFn3.js +0 -12
- package/dist/options-7ixoOoap.js +0 -10
- package/dist/options-9dSU5RML.js +0 -5
- package/dist/options-B0YZtAkb.d.ts +0 -15
- package/dist/options-B2Kz_tCx.js +0 -10
- package/dist/options-B5E2MGIz.js +0 -15
- package/dist/options-B685YSzQ.js +0 -5
- package/dist/options-B692WoK6.js +0 -9
- package/dist/options-BHU1wc74.js +0 -5
- package/dist/options-BHy0Z5Zd.js +0 -5
- package/dist/options-BJtdsK7b.js +0 -8
- package/dist/options-BKDxrPvE.js +0 -5
- package/dist/options-BLfymS4s.js +0 -5
- package/dist/options-BOCRbzh3.js +0 -5
- package/dist/options-BOqfYsM1.js +0 -13
- package/dist/options-BQWJqwHO.js +0 -9
- package/dist/options-BQunK6_Y.js +0 -8
- package/dist/options-BQyrZjwM.js +0 -28
- package/dist/options-BR9xTHZW.js +0 -5
- package/dist/options-BRUdd5jY.js +0 -8
- package/dist/options-BSsYXjhC.js +0 -9
- package/dist/options-BTmaRzx2.d.ts +0 -60
- package/dist/options-BUCQYAeJ.d.ts +0 -10
- package/dist/options-B_NrjVDt.d.ts +0 -12
- package/dist/options-BawzwlmC.js +0 -11
- package/dist/options-BbLDAp7G.d.ts +0 -10
- package/dist/options-BfPsL7E2.js +0 -9
- package/dist/options-Bfmwwc78.js +0 -8
- package/dist/options-BhsdveDk.js +0 -21
- package/dist/options-BomoTH-8.js +0 -5
- package/dist/options-BtjkzIVh.js +0 -8
- package/dist/options-Bvi9bl4H.js +0 -5
- package/dist/options-BwKNmaJo.js +0 -5
- package/dist/options-BxpLtyk-.js +0 -18
- package/dist/options-BzB2QxL3.js +0 -5
- package/dist/options-C078wBP0.js +0 -5
- package/dist/options-C3AdsFJ6.js +0 -9
- package/dist/options-C7C5OhmL.d.ts +0 -8
- package/dist/options-C87u6eSa.js +0 -10
- package/dist/options-CBAEGxwS.js +0 -8
- package/dist/options-CDSCkYxu.d.ts +0 -14
- package/dist/options-CDUr8zzX.js +0 -8
- package/dist/options-CF6EVF_G.js +0 -17
- package/dist/options-CFjGxfa8.js +0 -5
- package/dist/options-CI6P0xhV.js +0 -10
- package/dist/options-CJFMK9A_.js +0 -8
- package/dist/options-CLpgx7en.js +0 -10
- package/dist/options-CSCXNYJO.d.ts +0 -8
- package/dist/options-CTXHj9zr.js +0 -16
- package/dist/options-CTl8T88w.js +0 -11
- package/dist/options-CUIOOv4z.js +0 -15
- package/dist/options-CZDmtsbV.js +0 -8
- package/dist/options-CZTscdPB.js +0 -5
- package/dist/options-CZdKndeo.js +0 -9
- package/dist/options-C_7g9TTq.d.ts +0 -12
- package/dist/options-Cb2FOFj5.js +0 -5
- package/dist/options-CbOstLa7.js +0 -5
- package/dist/options-CcXgWlvm.js +0 -24
- package/dist/options-CfVPctAw.js +0 -89
- package/dist/options-Cjgaf8ub.js +0 -8
- package/dist/options-CoSPgWKy.js +0 -9
- package/dist/options-CpZ2HlSU.js +0 -32
- package/dist/options-CsSe8Nba.js +0 -8
- package/dist/options-CsvJR-r2.js +0 -9
- package/dist/options-Cucv6sWP.js +0 -12
- package/dist/options-CyjL9lTf.js +0 -5
- package/dist/options-D-OOO9V2.d.ts +0 -10
- package/dist/options-D0Y6ZMe8.js +0 -5
- package/dist/options-D0bzZx9a.d.ts +0 -10
- package/dist/options-D0sj5abR.js +0 -9
- package/dist/options-D1hSuf50.d.ts +0 -12
- package/dist/options-D610Fa6T.js +0 -5
- package/dist/options-D96dScev.js +0 -24
- package/dist/options-DFpyP1bg.js +0 -5
- package/dist/options-DJEcS4DX.js +0 -5
- package/dist/options-DJbN3bi9.js +0 -11
- package/dist/options-DKoQoRCy.js +0 -13
- package/dist/options-DM1qaMMQ.js +0 -9
- package/dist/options-DNgSwhsm.js +0 -11
- package/dist/options-DOIwzRXL.js +0 -16
- package/dist/options-DRIgHh4O.d.ts +0 -16
- package/dist/options-DRrZmJyI.js +0 -8
- package/dist/options-DSCW40_5.js +0 -12
- package/dist/options-DUMUsvml.js +0 -5
- package/dist/options-DWwL5Kaz.js +0 -9
- package/dist/options-DZHZYlpD.js +0 -10
- package/dist/options-DZLkeqWn.js +0 -9
- package/dist/options-DZRpXKQE.js +0 -5
- package/dist/options-DZen3UiC.js +0 -14
- package/dist/options-D_9Vxx7f.js +0 -8
- package/dist/options-DcHl59RC.js +0 -11
- package/dist/options-Dcaql09y.js +0 -11
- package/dist/options-DcnBNYmV.js +0 -8
- package/dist/options-DdpM-fiP.js +0 -9
- package/dist/options-DhoLMknl.js +0 -10
- package/dist/options-DlohRAYd.d.ts +0 -13
- package/dist/options-Dpy-Ruo-.js +0 -14
- package/dist/options-DsVuVRH3.d.ts +0 -17
- package/dist/options-DtAJxfHS.js +0 -8
- package/dist/options-Dz9Yo52Z.js +0 -8
- package/dist/options-HnfETSHr.d.ts +0 -19
- package/dist/options-LqUXTpML.js +0 -8
- package/dist/options-MsloEAIB.js +0 -5
- package/dist/options-P2FxqYpd.js +0 -17
- package/dist/options-_1gAIMq7.d.ts +0 -60
- package/dist/options-aT89JqlB.js +0 -5
- package/dist/options-cVKZu9b0.js +0 -9
- package/dist/options-eTepQ1rZ.js +0 -15
- package/dist/options-fkShrmGQ.js +0 -8
- package/dist/options-gUvfr3no.js +0 -11
- package/dist/options-hynwKWuf.js +0 -20
- package/dist/options-jsOCvLUz.js +0 -10
- package/dist/options-o5wCw8H7.d.ts +0 -14
- package/dist/options-p49DFg3H.js +0 -8
- package/dist/options-pYNpXKcg.js +0 -8
- package/dist/options-qtETCHzW.js +0 -10
- package/dist/options-rnKlqYEr.js +0 -5
- package/dist/options-sU_zGkiV.js +0 -10
- package/dist/options-xq4MXG1M.js +0 -5
- package/dist/options-zzlznRA7.js +0 -10
- package/dist/outbox-BZ712Z3X.d.ts +0 -199
- package/dist/payments-BXvabJOw.js +0 -16
- package/dist/payments-BYcN34Fp.d.ts +0 -114
- package/dist/permissions-controller-BMsqIE5T.js +0 -34
- package/dist/pg-error-B5QLDcbG.js +0 -26
- package/dist/plugin-AKwwe2gF.js +0 -48
- package/dist/pool-DDR1ndk7.d.ts +0 -123
- package/dist/pool-errors-JUBcGrre.js +0 -27
- package/dist/ports-DOrPTJzl.d.ts +0 -89
- package/dist/ports-DvpNseap.js +0 -152
- package/dist/postgrest-AJc8hnJU.d.ts +0 -53
- package/dist/postgrest-executor-B_Uezhrm.js +0 -1068
- package/dist/preset-CXhpPmPV.js +0 -1042
- package/dist/problem-Bf0cJ7tk.js +0 -162
- package/dist/problem-DNwN8iGz.d.ts +0 -79
- package/dist/project-DJ9Uo0sT.js +0 -1760
- package/dist/provider-B6g7rBZX.js +0 -57
- package/dist/provider-CWjzAIX9.d.ts +0 -112
- package/dist/push-token-B4vcIU4s.d.ts +0 -24
- package/dist/push-token-D6REHMMw.js +0 -16
- package/dist/queries-BWYYS9um.js +0 -239
- package/dist/range-DwpWe8e7.js +0 -7
- package/dist/range-p5V4rBhZ.d.ts +0 -8
- package/dist/rank-keys-DcPMt_Jk.js +0 -60
- package/dist/rank-result-BBJIK-k_.js +0 -18
- package/dist/rank-result-Bwe7igy-.d.ts +0 -14
- package/dist/rate-limit-BWKGlhTM.js +0 -49
- package/dist/rate-limit-Bztf32cl.d.ts +0 -50
- package/dist/rate-limit-fZ_d8gSE.js +0 -380
- package/dist/ratelimit-headers-kEcXyO3H.js +0 -62
- package/dist/react-BKCnIuZs.js +0 -79
- package/dist/react-mdVjpewL.js +0 -1016
- package/dist/read-set-B1sDib5O.js +0 -199
- package/dist/realtime-status-BhNkb-Ow.d.ts +0 -8
- package/dist/realtime-status-asHvhiOh.js +0 -11
- package/dist/record-bindings-Z51mGfhB.js +0 -26
- package/dist/record-form-CubgBrtI.d.ts +0 -82
- package/dist/record-type-BEUyEsFx.js +0 -221
- package/dist/recordings-DeZYx-Kv.d.ts +0 -119
- package/dist/refresh-D02Pbf5B.d.ts +0 -54
- package/dist/refresh-DLBgnxjL.js +0 -144
- package/dist/refusal-B0VmlAxF.d.ts +0 -32
- package/dist/refusal-DDlInPff.js +0 -64
- package/dist/relay-CIKcAVjf.js +0 -248
- package/dist/resolve-B0mW2m7f.js +0 -932
- package/dist/resolve-CtX6T0c0.d.ts +0 -288
- package/dist/resolved-names-kMRjmSIy.js +0 -133
- package/dist/resource-BUJcZKiW.js +0 -520
- package/dist/resource-DvgXqZB_.js +0 -105
- package/dist/resource-WxN0IsvB.d.ts +0 -123
- package/dist/resource-execute-BzqR8DdD.d.ts +0 -15
- package/dist/resource-schemas-up6bKOUi.js +0 -82
- package/dist/resource-types-BVbHgTPg.d.ts +0 -157
- package/dist/resources-BSbRa0Ab.d.ts +0 -7
- package/dist/resources-jb3R6rEa.js +0 -64
- package/dist/respond-CZMWbUs3.js +0 -107
- package/dist/respond-Dzu_-EPH.d.ts +0 -112
- package/dist/result-DZeA5KS6.d.ts +0 -351
- package/dist/result-ntFBW2p2.js +0 -146
- package/dist/rows-BdqXmiB-.js +0 -80
- package/dist/rows-jijHLVE_.js +0 -39
- package/dist/rrule-C9Ot6ax8.js +0 -290
- package/dist/run-state-BMCD_1Lt.d.ts +0 -13
- package/dist/run-state-CgBKzYMW.js +0 -13
- package/dist/run-watch-B-LoK5m1.js +0 -53
- package/dist/runtime-LRJM7UqY.js +0 -44
- package/dist/sales-lines-BsmrNHe9.d.ts +0 -38
- package/dist/sales-lines-DO7oRu1o.js +0 -45
- package/dist/sales-shared-BuTA8JK7.js +0 -22
- package/dist/schemas-CLOTvdsC.js +0 -216
- package/dist/scope-DgWjuXUw.js +0 -90
- package/dist/scores-Y8TvyJi1.d.ts +0 -174
- package/dist/scores-bY2Is0kx.js +0 -177
- package/dist/search-Cn_DGluL.js +0 -9
- package/dist/server-types-BkTIxW_H.d.ts +0 -597
- package/dist/session-BOzx2qHC.d.ts +0 -100
- package/dist/session-status-BP8eYVnA.d.ts +0 -82
- package/dist/shared-BeHTi8Fu.js +0 -17
- package/dist/shared-Bf-I13Ht.js +0 -91
- package/dist/shared-CRRfQAKG.d.ts +0 -11
- package/dist/sign-in-BzihC_8k.d.ts +0 -50
- package/dist/sign-in-CmPK1AgM.js +0 -402
- package/dist/sign-in-CuZ1Ag7O.js +0 -718
- package/dist/sign-in-D54FLMQy.d.ts +0 -55
- package/dist/signatures-CX1b4WHa.js +0 -145
- package/dist/signatures-Dkx9OE8j.d.ts +0 -43
- package/dist/signers-ZmxO1I05.d.ts +0 -390
- package/dist/signing-keys-CWtpMask.js +0 -164
- package/dist/signing-keys-udgP7Aod.d.ts +0 -119
- package/dist/simplify-DDO0j0LI.js +0 -83
- package/dist/spec-BMvCCNnd.js +0 -124
- package/dist/spec-pins-BZkKfwY8.d.ts +0 -127
- package/dist/spec-pins-D3zDek-u.js +0 -62
- package/dist/sql-CYt7EhH0.js +0 -421
- package/dist/sql-DHp0L7zK.js +0 -138385
- package/dist/sql-type-iUSZpaUu.js +0 -34
- package/dist/sso-CkU_4mtK.d.ts +0 -161
- package/dist/sso-DdDpJQzw.js +0 -217
- package/dist/standard-BA3mLh6w.js +0 -25
- package/dist/standard-DBV730sF.d.ts +0 -7
- package/dist/stats-BHl1-zj9.js +0 -83
- package/dist/statuses-Alll5Ip6.js +0 -29
- package/dist/statuses-zRcc2TeZ.js +0 -28
- package/dist/storage-api-Dg78Wqsg.js +0 -10
- package/dist/store-CpheI-lN.d.ts +0 -83
- package/dist/store-McN-2esd.js +0 -69
- package/dist/stripe-BJUfp5jM.js +0 -32
- package/dist/stripe-X22LjuH-.d.ts +0 -156
- package/dist/subject-readers-CB5Te02u.d.ts +0 -21
- package/dist/subject-readers-VHcrWhmq.js +0 -49
- package/dist/subject-type-BRnK7Av3.js +0 -8
- package/dist/subjects-BYCL-6hA.d.ts +0 -145
- package/dist/subjects-CiBNKy2y.d.ts +0 -90
- package/dist/subscribers-BvZxcd63.js +0 -33
- package/dist/summaries-8jQTELIX.d.ts +0 -69
- package/dist/supabase-mcp-Dz9DgrKP.js +0 -28
- package/dist/supabase-mcp-Z4vtsuoO.d.ts +0 -46
- package/dist/support-BxyPOFk4.d.ts +0 -357
- package/dist/support-view-g4YLBeqX.js +0 -18
- package/dist/support-view-nqUWKHEs.d.ts +0 -17
- package/dist/table-schema-BlF6k62Q.d.ts +0 -81
- package/dist/table-schema-C80xItaV.js +0 -293
- package/dist/tables-Cb-3_VWc.js +0 -73
- package/dist/tags-CIZTqtlY.js +0 -39
- package/dist/tags-Cm48BsOa.d.ts +0 -30
- package/dist/tax-BkCNWWMc.js +0 -140
- package/dist/tax-DPShHual.d.ts +0 -170
- package/dist/tee-V97_v1ZS.js +0 -101
- package/dist/template-Drgg3v2J.js +0 -126
- package/dist/temporal-Dbo0fLzc.js +0 -95
- package/dist/temporal-required-DcLhnDhQ.js +0 -20
- package/dist/tenant-BgIiMQpo.js +0 -27
- package/dist/tenant-FfgNhd5x.d.ts +0 -17
- package/dist/tenant-source-bqWpSr86.js +0 -8
- package/dist/timeline-DqEoD8bb.d.ts +0 -151
- package/dist/timeline-Dz3hO2I6.js +0 -50
- package/dist/timing-dypS0nxW.js +0 -95
- package/dist/topic-BaUElNw2.d.ts +0 -415
- package/dist/topic-DnsNG4Kj.js +0 -643
- package/dist/ttl-cache-Bhr9swjT.js +0 -32
- package/dist/types-B-D6fYx2.d.ts +0 -194
- package/dist/types-CK2X2wCB.d.ts +0 -618
- package/dist/types-CMN0h_Ix.d.ts +0 -461
- package/dist/types-CPl9uJ0G.d.ts +0 -912
- package/dist/types-CwQgFo8c.d.ts +0 -177
- package/dist/types-DMihLukJ.d.ts +0 -251
- package/dist/types-R6syp1el.js +0 -29
- package/dist/types-iCyZ3lMx.d.ts +0 -217
- package/dist/types-nspa5I-a.d.ts +0 -664
- package/dist/undo-0HkWXASn.d.ts +0 -46
- package/dist/undo-BbftL9-4.js +0 -44
- package/dist/upload-claim-B1ZU8ydB.js +0 -33
- package/dist/usage-BkWAPkg2.d.ts +0 -232
- package/dist/user-change-DgWC6RRC.js +0 -135
- package/dist/variants-Cy--Ub-a.js +0 -53
- package/dist/vault-BkdPmL7f.d.ts +0 -62
- package/dist/verify-41mZmspj.d.ts +0 -146
- package/dist/verify-7EucfCnv.js +0 -130
- package/dist/view-C8Ve14ja.js +0 -247
- package/dist/view-C8_xvD-j.d.ts +0 -97
- package/dist/watch-topic-BabDTZ-L.d.ts +0 -31
- package/dist/watch-topic-CuaWfCuv.js +0 -57
- package/dist/wire-ChYn1g21.js +0 -91
- package/dist/wiring-CDNuQoJJ.js +0 -13
- package/dist/workflow-sdk-Cf0LAOFF.js +0 -242
- package/dist/workflow-sdk-DJJkP0dT.js +0 -2545
- package/dist/workflow-sdk-rg3IbCZC.d.ts +0 -163
- package/dist/workflows-xL6t0TXx.d.ts +0 -258
|
@@ -0,0 +1,1021 @@
|
|
|
1
|
+
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
|
+
import { parseArgs } from "node:util";
|
|
3
|
+
// ../../node_modules/.pnpm/citty@0.2.2/node_modules/citty/dist/_chunks/libs/scule.mjs
|
|
4
|
+
const NUMBER_CHAR_RE = /\d/;
|
|
5
|
+
const STR_SPLITTERS = [
|
|
6
|
+
"-",
|
|
7
|
+
"_",
|
|
8
|
+
"/",
|
|
9
|
+
"."
|
|
10
|
+
];
|
|
11
|
+
function isUppercase(char = "") {
|
|
12
|
+
if (NUMBER_CHAR_RE.test(char)) return;
|
|
13
|
+
return char !== char.toLowerCase();
|
|
14
|
+
}
|
|
15
|
+
function splitByCase(str, separators) {
|
|
16
|
+
const splitters = separators ?? STR_SPLITTERS;
|
|
17
|
+
const parts = [];
|
|
18
|
+
if (!str || typeof str !== "string") return parts;
|
|
19
|
+
let buff = "";
|
|
20
|
+
let previousUpper;
|
|
21
|
+
let previousSplitter;
|
|
22
|
+
for (const char of str) {
|
|
23
|
+
const isSplitter = splitters.includes(char);
|
|
24
|
+
if (isSplitter === true) {
|
|
25
|
+
parts.push(buff);
|
|
26
|
+
buff = "";
|
|
27
|
+
previousUpper = void 0;
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
const isUpper = isUppercase(char);
|
|
31
|
+
if (previousSplitter === false) {
|
|
32
|
+
if (previousUpper === false && isUpper === true) {
|
|
33
|
+
parts.push(buff);
|
|
34
|
+
buff = char;
|
|
35
|
+
previousUpper = isUpper;
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (previousUpper === true && isUpper === false && buff.length > 1) {
|
|
39
|
+
const lastChar = buff.at(-1);
|
|
40
|
+
parts.push(buff.slice(0, Math.max(0, buff.length - 1)));
|
|
41
|
+
buff = lastChar + char;
|
|
42
|
+
previousUpper = isUpper;
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
buff += char;
|
|
47
|
+
previousUpper = isUpper;
|
|
48
|
+
previousSplitter = isSplitter;
|
|
49
|
+
}
|
|
50
|
+
parts.push(buff);
|
|
51
|
+
return parts;
|
|
52
|
+
}
|
|
53
|
+
function upperFirst(str) {
|
|
54
|
+
return str ? str[0].toUpperCase() + str.slice(1) : "";
|
|
55
|
+
}
|
|
56
|
+
function lowerFirst(str) {
|
|
57
|
+
return str ? str[0].toLowerCase() + str.slice(1) : "";
|
|
58
|
+
}
|
|
59
|
+
function pascalCase(str, opts) {
|
|
60
|
+
return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => upperFirst(opts?.normalize ? p.toLowerCase() : p)).join("") : "";
|
|
61
|
+
}
|
|
62
|
+
function camelCase(str, opts) {
|
|
63
|
+
return lowerFirst(pascalCase(str || "", opts));
|
|
64
|
+
}
|
|
65
|
+
function kebabCase(str, joiner) {
|
|
66
|
+
return str ? (Array.isArray(str) ? str : splitByCase(str)).map((p) => p.toLowerCase()).join(joiner ?? "-") : "";
|
|
67
|
+
}
|
|
68
|
+
// ../../node_modules/.pnpm/citty@0.2.2/node_modules/citty/dist/index.mjs
|
|
69
|
+
function toArray(val) {
|
|
70
|
+
if (Array.isArray(val)) return val;
|
|
71
|
+
return val === void 0 ? [] : [val];
|
|
72
|
+
}
|
|
73
|
+
function resolveValue(input) {
|
|
74
|
+
return typeof input === "function" ? input() : input;
|
|
75
|
+
}
|
|
76
|
+
var CLIError = class extends Error {
|
|
77
|
+
code;
|
|
78
|
+
constructor(message, code) {
|
|
79
|
+
super(message);
|
|
80
|
+
this.name = "CLIError";
|
|
81
|
+
this.code = code;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function parseRawArgs(args = [], opts = {}) {
|
|
85
|
+
const booleans = new Set(opts.boolean || []);
|
|
86
|
+
const strings = new Set(opts.string || []);
|
|
87
|
+
const aliasMap = opts.alias || {};
|
|
88
|
+
const defaults = opts.default || {};
|
|
89
|
+
const aliasToMain = /* @__PURE__ */ new Map();
|
|
90
|
+
const mainToAliases = /* @__PURE__ */ new Map();
|
|
91
|
+
for (const [key, value] of Object.entries(aliasMap)) {
|
|
92
|
+
const targets = value;
|
|
93
|
+
for (const target of targets) {
|
|
94
|
+
aliasToMain.set(key, target);
|
|
95
|
+
if (!mainToAliases.has(target)) mainToAliases.set(target, []);
|
|
96
|
+
mainToAliases.get(target).push(key);
|
|
97
|
+
aliasToMain.set(target, key);
|
|
98
|
+
if (!mainToAliases.has(key)) mainToAliases.set(key, []);
|
|
99
|
+
mainToAliases.get(key).push(target);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
const options = {};
|
|
103
|
+
function getType(name) {
|
|
104
|
+
if (booleans.has(name)) return "boolean";
|
|
105
|
+
const aliases = mainToAliases.get(name) || [];
|
|
106
|
+
for (const alias of aliases) if (booleans.has(alias)) return "boolean";
|
|
107
|
+
return "string";
|
|
108
|
+
}
|
|
109
|
+
function isStringType(name) {
|
|
110
|
+
if (strings.has(name)) return true;
|
|
111
|
+
const aliases = mainToAliases.get(name) || [];
|
|
112
|
+
for (const alias of aliases) if (strings.has(alias)) return true;
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
const allOptions = /* @__PURE__ */ new Set([
|
|
116
|
+
...booleans,
|
|
117
|
+
...strings,
|
|
118
|
+
...Object.keys(aliasMap),
|
|
119
|
+
...Object.values(aliasMap).flat(),
|
|
120
|
+
...Object.keys(defaults)
|
|
121
|
+
]);
|
|
122
|
+
for (const name of allOptions) if (!options[name]) options[name] = {
|
|
123
|
+
type: getType(name),
|
|
124
|
+
default: defaults[name]
|
|
125
|
+
};
|
|
126
|
+
for (const [alias, main] of aliasToMain.entries()) if (alias.length === 1 && options[main] && !options[main].short) options[main].short = alias;
|
|
127
|
+
const processedArgs = [];
|
|
128
|
+
const negatedFlags = {};
|
|
129
|
+
for (let i = 0; i < args.length; i++) {
|
|
130
|
+
const arg = args[i];
|
|
131
|
+
if (arg === "--") {
|
|
132
|
+
processedArgs.push(...args.slice(i));
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
if (arg.startsWith("--no-")) {
|
|
136
|
+
const flagName = arg.slice(5);
|
|
137
|
+
negatedFlags[flagName] = true;
|
|
138
|
+
continue;
|
|
139
|
+
}
|
|
140
|
+
processedArgs.push(arg);
|
|
141
|
+
}
|
|
142
|
+
let parsed;
|
|
143
|
+
try {
|
|
144
|
+
parsed = parseArgs({
|
|
145
|
+
args: processedArgs,
|
|
146
|
+
options: Object.keys(options).length > 0 ? options : void 0,
|
|
147
|
+
allowPositionals: true,
|
|
148
|
+
strict: false
|
|
149
|
+
});
|
|
150
|
+
} catch {
|
|
151
|
+
parsed = {
|
|
152
|
+
values: {},
|
|
153
|
+
positionals: processedArgs
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
const out = { _: [] };
|
|
157
|
+
out._ = parsed.positionals;
|
|
158
|
+
for (const [key, value] of Object.entries(parsed.values)) {
|
|
159
|
+
let coerced = value;
|
|
160
|
+
if (getType(key) === "boolean" && typeof value === "string") coerced = value !== "false";
|
|
161
|
+
else if (isStringType(key) && typeof value === "boolean") coerced = "";
|
|
162
|
+
out[key] = coerced;
|
|
163
|
+
}
|
|
164
|
+
for (const [name] of Object.entries(negatedFlags)) {
|
|
165
|
+
out[name] = false;
|
|
166
|
+
const mainName = aliasToMain.get(name);
|
|
167
|
+
if (mainName) out[mainName] = false;
|
|
168
|
+
const aliases = mainToAliases.get(name);
|
|
169
|
+
if (aliases) for (const alias of aliases) out[alias] = false;
|
|
170
|
+
}
|
|
171
|
+
for (const [alias, main] of aliasToMain.entries()) {
|
|
172
|
+
if (out[alias] !== void 0 && out[main] === void 0) out[main] = out[alias];
|
|
173
|
+
if (out[main] !== void 0 && out[alias] === void 0) out[alias] = out[main];
|
|
174
|
+
if (out[alias] !== out[main] && defaults[main] === out[main]) out[main] = out[alias];
|
|
175
|
+
}
|
|
176
|
+
return out;
|
|
177
|
+
}
|
|
178
|
+
const noColor = /* @__PURE__ */ (() => {
|
|
179
|
+
const env = globalThis.process?.env ?? {};
|
|
180
|
+
return env.NO_COLOR === "1" || env.TERM === "dumb" || env.TEST || env.CI;
|
|
181
|
+
})();
|
|
182
|
+
const _c = (c, r = 39) => (t) => noColor ? t : `\u001B[${c}m${t}\u001B[${r}m`;
|
|
183
|
+
const cyan = /* @__PURE__ */ _c(36);
|
|
184
|
+
function parseArgs$2(rawArgs, argsDef) {
|
|
185
|
+
const parseOptions = {
|
|
186
|
+
boolean: [],
|
|
187
|
+
string: [],
|
|
188
|
+
alias: {},
|
|
189
|
+
default: {}
|
|
190
|
+
};
|
|
191
|
+
const args = resolveArgs(argsDef);
|
|
192
|
+
for (const arg of args) {
|
|
193
|
+
if (arg.type === "positional") continue;
|
|
194
|
+
if (arg.type === "string" || arg.type === "enum") parseOptions.string.push(arg.name);
|
|
195
|
+
else if (arg.type === "boolean") parseOptions.boolean.push(arg.name);
|
|
196
|
+
if (arg.default !== void 0) parseOptions.default[arg.name] = arg.default;
|
|
197
|
+
if (arg.alias) parseOptions.alias[arg.name] = arg.alias;
|
|
198
|
+
const camelName = camelCase(arg.name);
|
|
199
|
+
const kebabName = kebabCase(arg.name);
|
|
200
|
+
if (camelName !== arg.name || kebabName !== arg.name) {
|
|
201
|
+
const existingAliases = toArray(parseOptions.alias[arg.name] || []);
|
|
202
|
+
if (camelName !== arg.name && !existingAliases.includes(camelName)) existingAliases.push(camelName);
|
|
203
|
+
if (kebabName !== arg.name && !existingAliases.includes(kebabName)) existingAliases.push(kebabName);
|
|
204
|
+
if (existingAliases.length > 0) parseOptions.alias[arg.name] = existingAliases;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
const parsed = parseRawArgs(rawArgs, parseOptions);
|
|
208
|
+
const [...positionalArguments] = parsed._;
|
|
209
|
+
const parsedArgsProxy = new Proxy(parsed, { get(target, prop) {
|
|
210
|
+
return target[prop] ?? target[camelCase(prop)] ?? target[kebabCase(prop)];
|
|
211
|
+
} });
|
|
212
|
+
for (const [, arg] of args.entries()) if (arg.type === "positional") {
|
|
213
|
+
const nextPositionalArgument = positionalArguments.shift();
|
|
214
|
+
if (nextPositionalArgument !== void 0) parsedArgsProxy[arg.name] = nextPositionalArgument;
|
|
215
|
+
else if (arg.default === void 0 && arg.required !== false) throw new CLIError(`Missing required positional argument: ${arg.name.toUpperCase()}`, "EARG");
|
|
216
|
+
else parsedArgsProxy[arg.name] = arg.default;
|
|
217
|
+
} else if (arg.type === "enum") {
|
|
218
|
+
const argument = parsedArgsProxy[arg.name];
|
|
219
|
+
const options = arg.options || [];
|
|
220
|
+
if (argument !== void 0 && options.length > 0 && !options.includes(argument)) throw new CLIError(`Invalid value for argument: ${cyan(`--${arg.name}`)} (${cyan(argument)}). Expected one of: ${options.map((o) => cyan(o)).join(", ")}.`, "EARG");
|
|
221
|
+
} else if (arg.required && parsedArgsProxy[arg.name] === void 0) throw new CLIError(`Missing required argument: --${arg.name}`, "EARG");
|
|
222
|
+
return parsedArgsProxy;
|
|
223
|
+
}
|
|
224
|
+
function resolveArgs(argsDef) {
|
|
225
|
+
const args = [];
|
|
226
|
+
for (const [name, argDef] of Object.entries(argsDef || {})) args.push({
|
|
227
|
+
...argDef,
|
|
228
|
+
name,
|
|
229
|
+
alias: toArray(argDef.alias)
|
|
230
|
+
});
|
|
231
|
+
return args;
|
|
232
|
+
}
|
|
233
|
+
async function resolvePlugins(plugins) {
|
|
234
|
+
return Promise.all(plugins.map((p) => resolveValue(p)));
|
|
235
|
+
}
|
|
236
|
+
function defineCommand(def) {
|
|
237
|
+
return def;
|
|
238
|
+
}
|
|
239
|
+
async function runCommand(cmd, opts) {
|
|
240
|
+
const cmdArgs = await resolveValue(cmd.args || {});
|
|
241
|
+
const parsedArgs = parseArgs$2(opts.rawArgs, cmdArgs);
|
|
242
|
+
const context = {
|
|
243
|
+
rawArgs: opts.rawArgs,
|
|
244
|
+
args: parsedArgs,
|
|
245
|
+
data: opts.data,
|
|
246
|
+
cmd
|
|
247
|
+
};
|
|
248
|
+
const plugins = await resolvePlugins(cmd.plugins ?? []);
|
|
249
|
+
let result;
|
|
250
|
+
let runError;
|
|
251
|
+
try {
|
|
252
|
+
for (const plugin of plugins) await plugin.setup?.(context);
|
|
253
|
+
if (typeof cmd.setup === "function") await cmd.setup(context);
|
|
254
|
+
const subCommands = await resolveValue(cmd.subCommands);
|
|
255
|
+
if (subCommands && Object.keys(subCommands).length > 0) {
|
|
256
|
+
const subCommandArgIndex = findSubCommandIndex(opts.rawArgs, cmdArgs);
|
|
257
|
+
const explicitName = opts.rawArgs[subCommandArgIndex];
|
|
258
|
+
if (explicitName) {
|
|
259
|
+
const subCommand = await _findSubCommand(subCommands, explicitName);
|
|
260
|
+
if (!subCommand) throw new CLIError(`Unknown command ${cyan(explicitName)}`, "E_UNKNOWN_COMMAND");
|
|
261
|
+
await runCommand(subCommand, { rawArgs: opts.rawArgs.slice(subCommandArgIndex + 1) });
|
|
262
|
+
} else {
|
|
263
|
+
const defaultSubCommand = await resolveValue(cmd.default);
|
|
264
|
+
if (defaultSubCommand) {
|
|
265
|
+
if (cmd.run) throw new CLIError(`Cannot specify both 'run' and 'default' on the same command.`, "E_DEFAULT_CONFLICT");
|
|
266
|
+
const subCommand = await _findSubCommand(subCommands, defaultSubCommand);
|
|
267
|
+
if (!subCommand) throw new CLIError(`Default sub command ${cyan(defaultSubCommand)} not found in subCommands.`, "E_UNKNOWN_COMMAND");
|
|
268
|
+
await runCommand(subCommand, { rawArgs: opts.rawArgs });
|
|
269
|
+
} else if (!cmd.run) throw new CLIError(`No command specified.`, "E_NO_COMMAND");
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
if (typeof cmd.run === "function") result = await cmd.run(context);
|
|
273
|
+
} catch (error) {
|
|
274
|
+
runError = error;
|
|
275
|
+
}
|
|
276
|
+
const cleanupErrors = [];
|
|
277
|
+
if (typeof cmd.cleanup === "function") try {
|
|
278
|
+
await cmd.cleanup(context);
|
|
279
|
+
} catch (error) {
|
|
280
|
+
cleanupErrors.push(error);
|
|
281
|
+
}
|
|
282
|
+
for (const plugin of [...plugins].reverse()) try {
|
|
283
|
+
await plugin.cleanup?.(context);
|
|
284
|
+
} catch (error) {
|
|
285
|
+
cleanupErrors.push(error);
|
|
286
|
+
}
|
|
287
|
+
if (runError) throw runError;
|
|
288
|
+
if (cleanupErrors.length === 1) throw cleanupErrors[0];
|
|
289
|
+
if (cleanupErrors.length > 1) throw new Error("Multiple cleanup errors", { cause: cleanupErrors });
|
|
290
|
+
return { result };
|
|
291
|
+
}
|
|
292
|
+
async function _findSubCommand(subCommands, name) {
|
|
293
|
+
if (name in subCommands) return resolveValue(subCommands[name]);
|
|
294
|
+
for (const sub of Object.values(subCommands)) {
|
|
295
|
+
const resolved = await resolveValue(sub);
|
|
296
|
+
const meta = await resolveValue(resolved?.meta);
|
|
297
|
+
if (meta?.alias) {
|
|
298
|
+
if (toArray(meta.alias).includes(name)) return resolved;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
function findSubCommandIndex(rawArgs, argsDef) {
|
|
303
|
+
for (let i = 0; i < rawArgs.length; i++) {
|
|
304
|
+
const arg = rawArgs[i];
|
|
305
|
+
if (arg === "--") return -1;
|
|
306
|
+
if (arg.startsWith("-")) {
|
|
307
|
+
if (!arg.includes("=") && _isValueFlag(arg, argsDef)) i++;
|
|
308
|
+
continue;
|
|
309
|
+
}
|
|
310
|
+
return i;
|
|
311
|
+
}
|
|
312
|
+
return -1;
|
|
313
|
+
}
|
|
314
|
+
function _isValueFlag(flag, argsDef) {
|
|
315
|
+
const name = flag.replace(/^-{1,2}/, "");
|
|
316
|
+
const normalized = camelCase(name);
|
|
317
|
+
for (const [key, def] of Object.entries(argsDef)) {
|
|
318
|
+
if (def.type !== "string" && def.type !== "enum") continue;
|
|
319
|
+
if (normalized === camelCase(key)) return true;
|
|
320
|
+
if ((Array.isArray(def.alias) ? def.alias : def.alias ? [def.alias] : []).includes(name)) return true;
|
|
321
|
+
}
|
|
322
|
+
return false;
|
|
323
|
+
}
|
|
324
|
+
// src/cli/core/manifest.ts
|
|
325
|
+
/**
|
|
326
|
+
* Root help prints the groups in this order and skips empty ones; `account` is
|
|
327
|
+
* kept for login and other cloud commands.
|
|
328
|
+
*/
|
|
329
|
+
const GROUPS = [
|
|
330
|
+
["setup", "Set up"],
|
|
331
|
+
["generate", "Generate"],
|
|
332
|
+
["local", "Local stack"],
|
|
333
|
+
["inspect", "Inspect"],
|
|
334
|
+
["maintain", "Maintain"],
|
|
335
|
+
["account", "Account"]
|
|
336
|
+
];
|
|
337
|
+
/** Top-level names left free for account and cloud commands. */
|
|
338
|
+
const RESERVED_NAMES = [
|
|
339
|
+
"login",
|
|
340
|
+
"logout",
|
|
341
|
+
"whoami",
|
|
342
|
+
"link",
|
|
343
|
+
"projects",
|
|
344
|
+
"deploy",
|
|
345
|
+
"cloud"
|
|
346
|
+
];
|
|
347
|
+
/** The hidden command the completion scripts call. */
|
|
348
|
+
const COMPLETE_COMMAND = "__complete";
|
|
349
|
+
const DOCS_ORIGIN = "https://bettersupabase.com";
|
|
350
|
+
const FILES = { kind: "files" };
|
|
351
|
+
const READS_DATABASE = {
|
|
352
|
+
kind: "database",
|
|
353
|
+
access: "read"
|
|
354
|
+
};
|
|
355
|
+
const MANAGEMENT_API = {
|
|
356
|
+
kind: "network",
|
|
357
|
+
target: "supabase-api",
|
|
358
|
+
when: "--project-ref"
|
|
359
|
+
};
|
|
360
|
+
const COMMANDS = [
|
|
361
|
+
{
|
|
362
|
+
name: "init",
|
|
363
|
+
description: "Writes better-supabase.config.ts, src/lib/supabase/index.ts and glue for the frameworks in package.json",
|
|
364
|
+
group: "setup",
|
|
365
|
+
docs: "/docs/cli/init",
|
|
366
|
+
examples: [{
|
|
367
|
+
command: "better-supabase init",
|
|
368
|
+
description: "Asks what to set up, then writes the files"
|
|
369
|
+
}, {
|
|
370
|
+
command: "better-supabase init --preset saas --yes",
|
|
371
|
+
description: "Starts from a preset without asking"
|
|
372
|
+
}],
|
|
373
|
+
effects: [FILES]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: "add",
|
|
377
|
+
description: "Adds blocks with what they require, a preset with --preset, existing tables with --adopt, or glue for an integration with --integration",
|
|
378
|
+
group: "setup",
|
|
379
|
+
docs: "/docs/cli/init#add",
|
|
380
|
+
examples: [
|
|
381
|
+
{
|
|
382
|
+
command: "better-supabase add organizations billing",
|
|
383
|
+
description: "Installs two blocks and the blocks they require"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
command: "better-supabase add --preset saas",
|
|
387
|
+
description: "Applies a preset to the config, shows the diff and writes the blocks' SQL"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
command: "better-supabase add teams --adopt --tables public.teams",
|
|
391
|
+
description: "Maps the teams block onto a table the app already has"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
command: "better-supabase add --integration hono",
|
|
395
|
+
description: "Adds the Hono glue"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
effects: [
|
|
399
|
+
FILES,
|
|
400
|
+
{
|
|
401
|
+
...READS_DATABASE,
|
|
402
|
+
when: "--adopt"
|
|
403
|
+
},
|
|
404
|
+
MANAGEMENT_API
|
|
405
|
+
]
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: "remove",
|
|
409
|
+
description: "Removes blocks: their config entries, their clients in lib/blocks.ts and the SQL files no other block needs",
|
|
410
|
+
group: "setup",
|
|
411
|
+
docs: "/docs/cli/init#remove",
|
|
412
|
+
examples: [{
|
|
413
|
+
command: "better-supabase remove comments",
|
|
414
|
+
description: "Removes the block, then names the db diff that drops its tables"
|
|
415
|
+
}],
|
|
416
|
+
effects: [FILES]
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
name: "table",
|
|
420
|
+
description: "Turns a per-table feature on or off with its @bsb tag in the table comment, in the schema file that creates the table",
|
|
421
|
+
group: "setup",
|
|
422
|
+
docs: "/docs/cli/table",
|
|
423
|
+
examples: [{
|
|
424
|
+
command: "better-supabase table invoices enable realtime",
|
|
425
|
+
description: "Adds the realtime tag to the invoices table comment"
|
|
426
|
+
}, {
|
|
427
|
+
command: "better-supabase table public.invoices disable audit",
|
|
428
|
+
description: "Removes the audit tag and keeps the comment's text"
|
|
429
|
+
}],
|
|
430
|
+
effects: [FILES]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
name: "migrate",
|
|
434
|
+
description: "Moves a project to a newer model: schema-first turns appTables into table files you own",
|
|
435
|
+
group: "maintain",
|
|
436
|
+
docs: "/docs/cli/migrate",
|
|
437
|
+
effects: [FILES],
|
|
438
|
+
subcommands: [{
|
|
439
|
+
name: "schema-first",
|
|
440
|
+
description: "Writes the tables appTables renders as files under supabase/schemas, with the per-table features as @bsb tags",
|
|
441
|
+
docs: "/docs/cli/migrate",
|
|
442
|
+
examples: [{
|
|
443
|
+
command: "better-supabase migrate schema-first --dry-run",
|
|
444
|
+
description: "Shows the table files without writing them"
|
|
445
|
+
}],
|
|
446
|
+
effects: [FILES]
|
|
447
|
+
}]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
name: "upgrade",
|
|
451
|
+
description: "Brings the blocks' SQL up to the config and this release: upgrade steps for blocks behind, then every block's files",
|
|
452
|
+
group: "setup",
|
|
453
|
+
docs: "/docs/cli/init#upgrade",
|
|
454
|
+
examples: [{
|
|
455
|
+
command: "better-supabase upgrade",
|
|
456
|
+
description: "Writes the upgrade steps and the blocks' SQL files"
|
|
457
|
+
}, {
|
|
458
|
+
command: "better-supabase upgrade --check",
|
|
459
|
+
description: "Exits 1 when a block is behind or a SQL file is out of date"
|
|
460
|
+
}],
|
|
461
|
+
effects: [FILES]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: "blocks",
|
|
465
|
+
description: "Lists, shows and searches the blocks you can add, and decodes presets",
|
|
466
|
+
group: "setup",
|
|
467
|
+
docs: "/docs/cli/presets#blocks",
|
|
468
|
+
effects: [],
|
|
469
|
+
subcommands: [
|
|
470
|
+
{
|
|
471
|
+
name: "list",
|
|
472
|
+
description: "Lists the blocks, the ones this project installed with --installed, or a preset's with --preset",
|
|
473
|
+
docs: "/docs/cli/presets#blocks",
|
|
474
|
+
examples: [{
|
|
475
|
+
command: "better-supabase blocks list --preset saas",
|
|
476
|
+
description: "Prints the blocks, auth and settings a preset, code or Create URL holds"
|
|
477
|
+
}],
|
|
478
|
+
effects: []
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: "view",
|
|
482
|
+
description: "Shows a block: the blocks it requires, its modes and its client, or its SQL with --sql",
|
|
483
|
+
docs: "/docs/cli/presets#blocks",
|
|
484
|
+
effects: []
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
name: "search",
|
|
488
|
+
description: "Finds blocks by name, description or category",
|
|
489
|
+
docs: "/docs/cli/presets#blocks",
|
|
490
|
+
effects: []
|
|
491
|
+
}
|
|
492
|
+
]
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
name: "skills",
|
|
496
|
+
description: "Installs the Agent Skills that ship with this version of better-supabase",
|
|
497
|
+
group: "setup",
|
|
498
|
+
docs: "/docs/for-ai-agents",
|
|
499
|
+
effects: [FILES],
|
|
500
|
+
subcommands: [{
|
|
501
|
+
name: "list",
|
|
502
|
+
description: "Lists the skills that ship with this version",
|
|
503
|
+
docs: "/docs/for-ai-agents",
|
|
504
|
+
effects: []
|
|
505
|
+
}, {
|
|
506
|
+
name: "install",
|
|
507
|
+
description: "Copies the skills into each agent's skills folder in the project, or the home folder with --global",
|
|
508
|
+
docs: "/docs/for-ai-agents",
|
|
509
|
+
effects: [FILES]
|
|
510
|
+
}]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
name: "completion",
|
|
514
|
+
description: "Prints the shell completion script for bash, zsh or fish, for both better-supabase and bsb",
|
|
515
|
+
group: "setup",
|
|
516
|
+
docs: "/docs/cli/completion",
|
|
517
|
+
examples: [{
|
|
518
|
+
command: "eval \"$(better-supabase completion zsh)\"",
|
|
519
|
+
description: "Turns on completion in the current zsh; add it to ~/.zshrc"
|
|
520
|
+
}],
|
|
521
|
+
effects: []
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
name: "gen",
|
|
525
|
+
description: "Writes the typed client from the database, then every other generated file the config sets up",
|
|
526
|
+
group: "generate",
|
|
527
|
+
docs: "/docs/cli/gen",
|
|
528
|
+
examples: [
|
|
529
|
+
{
|
|
530
|
+
command: "better-supabase gen",
|
|
531
|
+
description: "Regenerates every file the config sets up"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
command: "better-supabase gen --check",
|
|
535
|
+
description: "Exits 1 when a generated file is out of date"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
command: "better-supabase gen --save-snapshot",
|
|
539
|
+
description: "Saves the database schema as a snapshot for offline gen"
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
effects: [
|
|
543
|
+
FILES,
|
|
544
|
+
READS_DATABASE,
|
|
545
|
+
MANAGEMENT_API
|
|
546
|
+
]
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
name: "powersync",
|
|
550
|
+
description: "Writes PowerSync sync streams, the PowerSync schema and the publication migration for the blocks that sync offline",
|
|
551
|
+
group: "generate",
|
|
552
|
+
docs: "/docs/cli/powersync",
|
|
553
|
+
effects: [FILES],
|
|
554
|
+
subcommands: [{
|
|
555
|
+
name: "streams",
|
|
556
|
+
description: "Writes sync-streams.yaml and schema.ts for the synced block instances, and a migration that adds their tables to the powersync publication",
|
|
557
|
+
docs: "/docs/cli/powersync",
|
|
558
|
+
examples: [{
|
|
559
|
+
command: "better-supabase powersync streams",
|
|
560
|
+
description: "Writes the files for gen.powersync.instances"
|
|
561
|
+
}, {
|
|
562
|
+
command: "better-supabase powersync streams --instance notifications --check",
|
|
563
|
+
description: "Exits 1 when a file for notifications is out of date"
|
|
564
|
+
}],
|
|
565
|
+
effects: [FILES]
|
|
566
|
+
}]
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: "spec",
|
|
570
|
+
description: "Writes, checks or validates the OpenAPI and other spec documents your defineApi() module renders",
|
|
571
|
+
group: "generate",
|
|
572
|
+
docs: "/docs/cli/spec",
|
|
573
|
+
effects: [FILES],
|
|
574
|
+
subcommands: [{
|
|
575
|
+
name: "emit",
|
|
576
|
+
description: "Writes the spec documents, or exits 1 when one is out of date with --check",
|
|
577
|
+
docs: "/docs/cli/spec",
|
|
578
|
+
examples: [{
|
|
579
|
+
command: "better-supabase spec emit openapi",
|
|
580
|
+
description: "Writes the OpenAPI document"
|
|
581
|
+
}, {
|
|
582
|
+
command: "better-supabase spec emit --check",
|
|
583
|
+
description: "Exits 1 when a written document is out of date"
|
|
584
|
+
}],
|
|
585
|
+
effects: [FILES]
|
|
586
|
+
}, {
|
|
587
|
+
name: "validate",
|
|
588
|
+
description: "Validates the documents against their specs and lints them, writing nothing",
|
|
589
|
+
docs: "/docs/cli/spec",
|
|
590
|
+
effects: []
|
|
591
|
+
}]
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
name: "dev",
|
|
595
|
+
description: "Works with the local stack: its env file, commands run against it, its signing key and the stacks on this machine",
|
|
596
|
+
group: "local",
|
|
597
|
+
docs: "/docs/cli/dev",
|
|
598
|
+
effects: [
|
|
599
|
+
FILES,
|
|
600
|
+
{ kind: "process" },
|
|
601
|
+
{
|
|
602
|
+
kind: "stacks",
|
|
603
|
+
access: "write"
|
|
604
|
+
}
|
|
605
|
+
],
|
|
606
|
+
subcommands: [
|
|
607
|
+
{
|
|
608
|
+
name: "env",
|
|
609
|
+
description: "Writes the local stack's URL and keys from `supabase status` to an env file, keeping its other lines",
|
|
610
|
+
docs: "/docs/cli/dev#env",
|
|
611
|
+
effects: [FILES],
|
|
612
|
+
examples: [{
|
|
613
|
+
command: "better-supabase dev env --write .env.supabase.local --prefix next",
|
|
614
|
+
description: "Write the URL, keys and JWKS URL, plain and with NEXT_PUBLIC_"
|
|
615
|
+
}]
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: "run",
|
|
619
|
+
description: "Runs the command after -- with the local stack's URL and keys set, overriding the shell and .env files",
|
|
620
|
+
docs: "/docs/cli/dev#run",
|
|
621
|
+
effects: [{ kind: "process" }],
|
|
622
|
+
examples: [{
|
|
623
|
+
command: "better-supabase dev run -- next dev",
|
|
624
|
+
description: "Start Next.js against this worktree's stack"
|
|
625
|
+
}]
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
name: "keys",
|
|
629
|
+
description: "Creates an ES256 signing key for the local stack, so local tokens verify through JWKS like hosted ones",
|
|
630
|
+
docs: "/docs/cli/dev#keys",
|
|
631
|
+
effects: [FILES]
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: "stack",
|
|
635
|
+
description: "Lists the Supabase CLI's managed stacks and prunes the ones whose worktree or branch is gone",
|
|
636
|
+
docs: "/docs/cli/dev#stack",
|
|
637
|
+
effects: [{
|
|
638
|
+
kind: "stacks",
|
|
639
|
+
access: "write"
|
|
640
|
+
}],
|
|
641
|
+
subcommands: [{
|
|
642
|
+
name: "ls",
|
|
643
|
+
description: "Lists every managed stack with its branch, worktree, running state and shared memory segments",
|
|
644
|
+
docs: "/docs/cli/dev#ls",
|
|
645
|
+
effects: [{
|
|
646
|
+
kind: "stacks",
|
|
647
|
+
access: "read"
|
|
648
|
+
}]
|
|
649
|
+
}, {
|
|
650
|
+
name: "prune",
|
|
651
|
+
description: "Destroys stacks whose worktree or branch is gone; --stop-idle also stops other branches' running stacks",
|
|
652
|
+
docs: "/docs/cli/dev#prune",
|
|
653
|
+
examples: [{
|
|
654
|
+
command: "better-supabase dev stack prune --stop-idle --dry-run",
|
|
655
|
+
description: "Print what it would destroy and stop"
|
|
656
|
+
}],
|
|
657
|
+
effects: [{
|
|
658
|
+
kind: "stacks",
|
|
659
|
+
access: "write"
|
|
660
|
+
}]
|
|
661
|
+
}]
|
|
662
|
+
}
|
|
663
|
+
]
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
name: "db",
|
|
667
|
+
description: "Runs SQL files and seeds against the database, backfills columns, prunes ended workflow runs, and diffs the declarative schema: the local stack by default, or the one in the connection string",
|
|
668
|
+
group: "local",
|
|
669
|
+
docs: "/docs/cli/db",
|
|
670
|
+
effects: [{
|
|
671
|
+
kind: "database",
|
|
672
|
+
access: "write"
|
|
673
|
+
}],
|
|
674
|
+
subcommands: [
|
|
675
|
+
{
|
|
676
|
+
name: "query",
|
|
677
|
+
description: "Runs each file as one multi-statement script, in order, optionally in a single transaction",
|
|
678
|
+
docs: "/docs/cli/db#query",
|
|
679
|
+
examples: [{
|
|
680
|
+
command: "better-supabase db query --single-transaction a.sql b.sql",
|
|
681
|
+
description: "Runs both files, or neither when one fails"
|
|
682
|
+
}],
|
|
683
|
+
effects: [{
|
|
684
|
+
kind: "database",
|
|
685
|
+
access: "write"
|
|
686
|
+
}]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
name: "diff",
|
|
690
|
+
description: "Turns the declarative schema into a migration, diffing inside the running stack when the shadow database can't start",
|
|
691
|
+
docs: "/docs/cli/db#diff",
|
|
692
|
+
examples: [{
|
|
693
|
+
command: "better-supabase db diff -f add_invoices",
|
|
694
|
+
description: "Save the diff as a migration, falling back to the running stack"
|
|
695
|
+
}, {
|
|
696
|
+
command: "better-supabase db diff --in-stack",
|
|
697
|
+
description: "Print the diff without starting a shadow database"
|
|
698
|
+
}],
|
|
699
|
+
effects: [{
|
|
700
|
+
kind: "database",
|
|
701
|
+
access: "write"
|
|
702
|
+
}, {
|
|
703
|
+
kind: "files",
|
|
704
|
+
when: "--file"
|
|
705
|
+
}]
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: "seed",
|
|
709
|
+
description: "Renders the fixtures from defineSeed() (better-supabase/testing) to SQL, and runs them with --apply",
|
|
710
|
+
docs: "/docs/cli/db#seed",
|
|
711
|
+
effects: [
|
|
712
|
+
FILES,
|
|
713
|
+
{
|
|
714
|
+
kind: "database",
|
|
715
|
+
access: "write",
|
|
716
|
+
when: "--apply"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
kind: "database",
|
|
720
|
+
access: "write",
|
|
721
|
+
when: "--tenant"
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
name: "backfill",
|
|
727
|
+
description: "Fills the null values of a column in batches, from the table a foreign key references or from a literal",
|
|
728
|
+
docs: "/docs/cli/db#backfill",
|
|
729
|
+
examples: [{
|
|
730
|
+
command: "better-supabase db backfill invoices.organization_id --from projects.organization_id via project_id",
|
|
731
|
+
description: "Copies each invoice's organization from its project, where it is still null"
|
|
732
|
+
}, {
|
|
733
|
+
command: "better-supabase db backfill invoices.currency --value \"'EUR'\" --dry-run",
|
|
734
|
+
description: "Counts the rows it would set to EUR"
|
|
735
|
+
}],
|
|
736
|
+
effects: [{
|
|
737
|
+
kind: "database",
|
|
738
|
+
access: "write"
|
|
739
|
+
}]
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
name: "prune-workflows",
|
|
743
|
+
description: "Deletes ended Workflow SDK runs, with their events, steps, streams and hooks, in batches",
|
|
744
|
+
docs: "/docs/cli/db#prune-workflows",
|
|
745
|
+
examples: [{
|
|
746
|
+
command: "better-supabase db prune-workflows --older-than 30d",
|
|
747
|
+
description: "Deletes completed, failed and cancelled runs older than 30 days"
|
|
748
|
+
}, {
|
|
749
|
+
command: "better-supabase db prune-workflows --older-than 7d --status failed --dry-run",
|
|
750
|
+
description: "Counts the failed runs it would delete"
|
|
751
|
+
}],
|
|
752
|
+
effects: [{
|
|
753
|
+
kind: "database",
|
|
754
|
+
access: "write"
|
|
755
|
+
}]
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
name: "doctor",
|
|
761
|
+
description: "Checks RLS, indexes, drift, auth config and env files; exits 1 on errors, or on warnings with --fail-on warning",
|
|
762
|
+
group: "inspect",
|
|
763
|
+
docs: "/docs/cli/doctor",
|
|
764
|
+
examples: [{
|
|
765
|
+
command: "better-supabase doctor",
|
|
766
|
+
description: "Checks the local database and the project"
|
|
767
|
+
}, {
|
|
768
|
+
command: "better-supabase doctor --format sarif --out doctor.sarif",
|
|
769
|
+
description: "Writes the findings for code scanning"
|
|
770
|
+
}],
|
|
771
|
+
effects: [
|
|
772
|
+
READS_DATABASE,
|
|
773
|
+
{
|
|
774
|
+
kind: "database",
|
|
775
|
+
access: "write",
|
|
776
|
+
when: "--fix"
|
|
777
|
+
},
|
|
778
|
+
MANAGEMENT_API,
|
|
779
|
+
{
|
|
780
|
+
kind: "network",
|
|
781
|
+
target: "github"
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
name: "config",
|
|
787
|
+
description: "Prints the resolved config: the file it came from, the active environment and every option with its default, or the preset it names with --preset",
|
|
788
|
+
group: "inspect",
|
|
789
|
+
docs: "/docs/cli/config#print-the-resolved-config",
|
|
790
|
+
effects: []
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
name: "mcp",
|
|
794
|
+
description: "Serves the CLI to coding agents as an MCP server on stdio: read-only tools, and file writes with --allow-writes and the user's consent",
|
|
795
|
+
group: "inspect",
|
|
796
|
+
docs: "/docs/cli/mcp",
|
|
797
|
+
examples: [{
|
|
798
|
+
command: "better-supabase mcp",
|
|
799
|
+
description: "Starts the read-only server; add it to the agent's MCP config"
|
|
800
|
+
}, {
|
|
801
|
+
command: "better-supabase mcp --allow-writes",
|
|
802
|
+
description: "Adds gen, upgrade, add and remove, each behind a consent token"
|
|
803
|
+
}],
|
|
804
|
+
effects: [READS_DATABASE, {
|
|
805
|
+
kind: "files",
|
|
806
|
+
when: "--allow-writes"
|
|
807
|
+
}]
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
name: "codemod",
|
|
811
|
+
description: "Rewrites imports, calls and config keys for renamed better-supabase APIs",
|
|
812
|
+
group: "maintain",
|
|
813
|
+
docs: "/docs/cli/codemod",
|
|
814
|
+
effects: [FILES],
|
|
815
|
+
subcommands: [
|
|
816
|
+
{
|
|
817
|
+
name: "0.4",
|
|
818
|
+
description: "Renames from 0.3 to 0.4",
|
|
819
|
+
docs: "/docs/cli/codemod",
|
|
820
|
+
effects: [FILES]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
name: "0.5",
|
|
824
|
+
description: "Renames from 0.4 to 0.5",
|
|
825
|
+
docs: "/docs/cli/codemod",
|
|
826
|
+
effects: [FILES]
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
name: "0.6",
|
|
830
|
+
description: "Changes from 0.5 to 0.6: kits become blocks and modules",
|
|
831
|
+
docs: "/docs/cli/codemod",
|
|
832
|
+
effects: [FILES]
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
name: "0.9",
|
|
836
|
+
description: "Changes from 0.8 to 0.9: sql.modules becomes blocks, and CLI calls use the new subcommands and flags",
|
|
837
|
+
docs: "/docs/cli/codemod",
|
|
838
|
+
effects: [FILES]
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
name: "0.11",
|
|
842
|
+
description: "Changes from 0.10 to 0.11: adopted outgoing webhooks get an explicit defaultFormat",
|
|
843
|
+
docs: "/docs/cli/codemod",
|
|
844
|
+
effects: [FILES]
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: "0.15",
|
|
848
|
+
description: "Changes from 0.14 to 0.15: the runtime instance bs becomes bsb, exports take their block, record and provider names, the config regroups, renamed blocks take their 0.15 names, and CLI calls use the new commands",
|
|
849
|
+
docs: "/docs/cli/codemod",
|
|
850
|
+
effects: [FILES]
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
name: "0.29",
|
|
854
|
+
description: "Changes from 0.28 to 0.29: records is renamed back to subjects in the config, and record tags in the schema files become subject tags",
|
|
855
|
+
docs: "/docs/cli/codemod",
|
|
856
|
+
effects: [FILES]
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
name: "0.32",
|
|
860
|
+
description: "Changes from 0.31 to 0.32: tenant is the public word again (auth.tenant, requireTenant), and sign-in, session, proxy and cache names follow supabase-js",
|
|
861
|
+
docs: "/docs/cli/codemod",
|
|
862
|
+
effects: [FILES]
|
|
863
|
+
}
|
|
864
|
+
]
|
|
865
|
+
}
|
|
866
|
+
];
|
|
867
|
+
/** The spec at `path` (`["sql", "add"]`), or `undefined`. */
|
|
868
|
+
function findSpec(path, commands = COMMANDS) {
|
|
869
|
+
let level = commands;
|
|
870
|
+
let found;
|
|
871
|
+
for (const name of path) {
|
|
872
|
+
found = level?.find((spec) => spec.name === name);
|
|
873
|
+
if (!found) return;
|
|
874
|
+
level = found.subcommands;
|
|
875
|
+
}
|
|
876
|
+
return found;
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* The meta a built-in command's `defineCliCommand` takes, read from the
|
|
880
|
+
* manifest.
|
|
881
|
+
*/
|
|
882
|
+
function commandMeta(path) {
|
|
883
|
+
const spec = findSpec(path.split(" "));
|
|
884
|
+
if (!spec) throw new TypeError(`"${path}" is not in the command manifest`);
|
|
885
|
+
return {
|
|
886
|
+
name: spec.name,
|
|
887
|
+
description: spec.description
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
// src/cli/core/command.ts
|
|
891
|
+
/** Options every command accepts; `run()` reads them before the command starts. */
|
|
892
|
+
const GLOBAL_ARGS = {
|
|
893
|
+
cwd: {
|
|
894
|
+
type: "string",
|
|
895
|
+
description: "Project directory",
|
|
896
|
+
valueHint: "dir"
|
|
897
|
+
},
|
|
898
|
+
config: {
|
|
899
|
+
type: "string",
|
|
900
|
+
description: "Config file, relative to --cwd",
|
|
901
|
+
valueHint: "file"
|
|
902
|
+
},
|
|
903
|
+
env: {
|
|
904
|
+
type: "string",
|
|
905
|
+
description: "Config environment to apply ($env.<name> or $<name>). Defaults to $BETTER_SUPABASE_ENV, then ci when $CI is set",
|
|
906
|
+
valueHint: "name"
|
|
907
|
+
},
|
|
908
|
+
json: {
|
|
909
|
+
type: "boolean",
|
|
910
|
+
description: "Print one JSON document on stdout; errors as Problem Details. On by default in agent mode",
|
|
911
|
+
negativeDescription: "Print text, also in agent mode"
|
|
912
|
+
},
|
|
913
|
+
agent: {
|
|
914
|
+
type: "string",
|
|
915
|
+
description: "Agent mode (JSON output, no prompts, consent for destructive work): auto detects a coding agent, yes or no decide. Defaults to $BETTER_SUPABASE_AGENT, then auto",
|
|
916
|
+
valueHint: "auto|yes|no"
|
|
917
|
+
},
|
|
918
|
+
confirm: {
|
|
919
|
+
type: "string",
|
|
920
|
+
description: "The token from a consent_required result, passed once the user agreed",
|
|
921
|
+
valueHint: "token"
|
|
922
|
+
},
|
|
923
|
+
yes: {
|
|
924
|
+
type: "boolean",
|
|
925
|
+
alias: "y",
|
|
926
|
+
description: "Ask nothing; use the flags and the defaults"
|
|
927
|
+
},
|
|
928
|
+
color: {
|
|
929
|
+
type: "boolean",
|
|
930
|
+
default: true,
|
|
931
|
+
description: "Color the output on a terminal",
|
|
932
|
+
negativeDescription: "Print no colors, like $NO_COLOR"
|
|
933
|
+
},
|
|
934
|
+
debug: {
|
|
935
|
+
type: "boolean",
|
|
936
|
+
description: "Print stack traces, the commands the CLI runs, and timings on stderr"
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
const LISTS = /* @__PURE__ */ new WeakMap();
|
|
940
|
+
const COMPLETIONS = /* @__PURE__ */ new WeakMap();
|
|
941
|
+
const RUNS_WITH_INVALID_CONFIG = /* @__PURE__ */ new WeakSet();
|
|
942
|
+
const READS_LEGACY_TABLES = /* @__PURE__ */ new WeakSet();
|
|
943
|
+
/** A citty command that receives the `CliContext` and returns a `CommandResult`. */
|
|
944
|
+
function defineCliCommand(def) {
|
|
945
|
+
const version = def.apiVersion ?? 1;
|
|
946
|
+
if (version !== 1) throw new CliError("usage", `Command "${def.meta.name}" targets CLI command API v${String(version)}; this version supports v1.`);
|
|
947
|
+
const command = defineCommand({
|
|
948
|
+
meta: def.meta,
|
|
949
|
+
args: {
|
|
950
|
+
...def.args,
|
|
951
|
+
...GLOBAL_ARGS
|
|
952
|
+
},
|
|
953
|
+
run: ({ args, data }) => def.run(args, cliContext(data))
|
|
954
|
+
});
|
|
955
|
+
LISTS.set(command, def.lists ?? []);
|
|
956
|
+
COMPLETIONS.set(command, def.completions ?? {});
|
|
957
|
+
if (def.runsWithInvalidConfig === true) RUNS_WITH_INVALID_CONFIG.add(command);
|
|
958
|
+
if (def.readsLegacyTables === true) READS_LEGACY_TABLES.add(command);
|
|
959
|
+
return Object.assign(command, { apiVersion: 1 });
|
|
960
|
+
}
|
|
961
|
+
/** The list options a command declared through `defineCliCommand`. */
|
|
962
|
+
function listArgs(command) {
|
|
963
|
+
return LISTS.get(command) ?? [];
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* The completion values a command declared through `defineCliCommand`, by
|
|
967
|
+
* argument.
|
|
968
|
+
*/
|
|
969
|
+
function completionValues(command) {
|
|
970
|
+
return COMPLETIONS.get(command) ?? {};
|
|
971
|
+
}
|
|
972
|
+
function readsLegacyTables(command) {
|
|
973
|
+
return READS_LEGACY_TABLES.has(command);
|
|
974
|
+
}
|
|
975
|
+
function runsWithInvalidConfig(command) {
|
|
976
|
+
return RUNS_WITH_INVALID_CONFIG.has(command);
|
|
977
|
+
}
|
|
978
|
+
/** Splits a comma-separated option into its trimmed, non-empty parts. */
|
|
979
|
+
function list(value) {
|
|
980
|
+
return (value ?? "").split(",").map((item) => item.trim()).filter(Boolean);
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* Joins repeated list options (`--only a --only b`) into one comma-separated
|
|
984
|
+
* value, because citty keeps only the last occurrence.
|
|
985
|
+
*/
|
|
986
|
+
function joinRepeated(argv, names) {
|
|
987
|
+
if (names.length === 0) return [...argv];
|
|
988
|
+
const lists = new Set(names);
|
|
989
|
+
const values = /* @__PURE__ */ new Map();
|
|
990
|
+
const rest = [];
|
|
991
|
+
for (let index = 0; index < argv.length; index += 1) {
|
|
992
|
+
const token = argv[index];
|
|
993
|
+
if (token === "--") {
|
|
994
|
+
rest.push(...argv.slice(index));
|
|
995
|
+
break;
|
|
996
|
+
}
|
|
997
|
+
const match = /^--([^=]+)(?:=(.*))?$/.exec(token);
|
|
998
|
+
const name = match?.[1];
|
|
999
|
+
if (name === void 0 || !lists.has(name)) {
|
|
1000
|
+
rest.push(token);
|
|
1001
|
+
continue;
|
|
1002
|
+
}
|
|
1003
|
+
let value = match?.[2];
|
|
1004
|
+
if (value === void 0) {
|
|
1005
|
+
const next = argv[index + 1];
|
|
1006
|
+
if (next === void 0 || next.startsWith("-")) continue;
|
|
1007
|
+
value = next;
|
|
1008
|
+
index += 1;
|
|
1009
|
+
}
|
|
1010
|
+
values.set(name, [...values.get(name) ?? [], value]);
|
|
1011
|
+
}
|
|
1012
|
+
return [...[...values].map(([name, parts]) => `--${name}=${parts.join(",")}`), ...rest];
|
|
1013
|
+
}
|
|
1014
|
+
function isCliContext(value) {
|
|
1015
|
+
return typeof value === "object" && value !== null && "config" in value && "io" in value && "env" in value && "json" in value;
|
|
1016
|
+
}
|
|
1017
|
+
function cliContext(data) {
|
|
1018
|
+
if (!isCliContext(data)) throw new TypeError("better-supabase commands run through run() from better-supabase/cli");
|
|
1019
|
+
return data;
|
|
1020
|
+
}
|
|
1021
|
+
export { list as a, runsWithInvalidConfig as c, DOCS_ORIGIN as d, GROUPS as f, runCommand as g, parseArgs$2 as h, joinRepeated as i, COMMANDS as l, commandMeta as m, completionValues as n, listArgs as o, RESERVED_NAMES as p, defineCliCommand as r, readsLegacyTables as s, GLOBAL_ARGS as t, COMPLETE_COMMAND as u };
|