better-supabase 0.25.0 → 0.29.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-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
- package/dist/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
- package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
- package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
- package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +1 -1
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +3 -3
- package/dist/{api-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
- package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
- package/dist/{app-tables-xij_MI5H.d.ts → app-tables-DekyKNQ8.d.ts} +1 -1
- package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
- package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
- package/dist/astro/index.d.ts +7 -7
- package/dist/{authorization-BJV2i8xB.d.ts → authorization-C7nuWMuB.d.ts} +27 -6
- package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-vKDmdu_4.d.ts → bind-DmUGUsBd.d.ts} +7 -7
- package/dist/{block-env-wVLz0KMV.d.ts → block-env-DWtZsqhH.d.ts} +4 -4
- package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
- package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
- package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
- package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +5 -5
- package/dist/blocks/activities/index.d.ts +10 -10
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/agents/index.d.ts +4 -4
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +7 -7
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +6 -6
- package/dist/blocks/approvals/index.d.ts +4 -4
- package/dist/blocks/assets/index.d.ts +6 -6
- package/dist/blocks/assignment/index.d.ts +7 -7
- package/dist/blocks/attachments/index.d.ts +4 -4
- package/dist/blocks/audit/index.d.ts +13 -13
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/billable-time/index.d.ts +6 -6
- package/dist/blocks/billing/index.d.ts +9 -9
- package/dist/blocks/bookings/index.d.ts +4 -4
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +5 -5
- package/dist/blocks/catalog/index.d.ts +6 -6
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/collections/index.d.ts +12 -12
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +10 -10
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/contacts/index.d.ts +7 -7
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.d.ts +5 -5
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/custom-fields/index.d.ts +6 -6
- package/dist/blocks/custom-fields/index.js +1 -1
- package/dist/blocks/data-lifecycle/index.d.ts +8 -8
- package/dist/blocks/deals/index.d.ts +6 -6
- package/dist/blocks/dispatch/index.d.ts +7 -7
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +7 -7
- package/dist/blocks/employees/index.d.ts +8 -8
- package/dist/blocks/employees/index.js +1 -1
- package/dist/blocks/enrichment/index.d.ts +6 -6
- package/dist/blocks/enrollments/index.d.ts +6 -6
- package/dist/blocks/entitlements/index.d.ts +6 -6
- package/dist/blocks/expenses/index.d.ts +5 -5
- package/dist/blocks/field-history/index.d.ts +4 -4
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +6 -6
- package/dist/blocks/forms/index.d.ts +6 -6
- package/dist/blocks/goals/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +6 -6
- package/dist/blocks/hiring/index.d.ts +7 -7
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +5 -5
- package/dist/blocks/inbox/index.d.ts +10 -10
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +9 -9
- package/dist/blocks/inventory/index.d.ts +7 -7
- package/dist/blocks/invoices/index.d.ts +8 -8
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +7 -7
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +5 -5
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +4 -4
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +6 -6
- package/dist/blocks/notifications/index.d.ts +12 -12
- package/dist/blocks/notifications/index.js +1 -1
- package/dist/blocks/numbering/index.d.ts +4 -4
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/onboarding/index.d.ts +5 -5
- package/dist/blocks/orders/index.d.ts +7 -7
- package/dist/blocks/organizations/index.d.ts +8 -8
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/passes/index.d.ts +8 -8
- package/dist/blocks/permissions/index.d.ts +6 -6
- package/dist/blocks/pipelines/index.d.ts +6 -6
- package/dist/blocks/posts/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +4 -4
- package/dist/blocks/promotions/index.d.ts +5 -5
- package/dist/blocks/push/index.d.ts +6 -6
- package/dist/blocks/queue/index.d.ts +6 -6
- package/dist/blocks/quotes/index.d.ts +8 -8
- package/dist/blocks/rank/index.d.ts +5 -5
- package/dist/blocks/reactions/index.d.ts +9 -9
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +9 -9
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +5 -5
- package/dist/blocks/search/index.d.ts +8 -8
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/segments/index.d.ts +8 -8
- package/dist/blocks/sequences/index.d.ts +6 -6
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +6 -6
- package/dist/blocks/share-links/index.d.ts +5 -5
- package/dist/blocks/shipments/index.d.ts +6 -6
- package/dist/blocks/signatures/index.d.ts +5 -5
- package/dist/blocks/signing-keys/index.d.ts +4 -4
- package/dist/blocks/sla/index.d.ts +7 -7
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +5 -5
- package/dist/blocks/subjects/index.d.ts +6 -6
- package/dist/blocks/tags/index.d.ts +6 -6
- package/dist/blocks/tasks/index.d.ts +10 -10
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +4 -4
- package/dist/blocks/templates/index.d.ts +7 -7
- package/dist/blocks/time-tracking/index.d.ts +7 -7
- package/dist/blocks/timeline/index.d.ts +8 -8
- package/dist/blocks/trash/index.d.ts +6 -6
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/versions/index.d.ts +6 -6
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +14 -14
- package/dist/blocks/webhooks/index.js +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
- package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/cli/{add-C2pNvVpu.js → add-BKkV99g9.js} +2 -2
- package/dist/cli/{add-BTVrOGJF.js → add-CrQ3jS7t.js} +55 -88
- package/dist/cli/add-CwhrRJz5.js +1 -0
- package/dist/cli/app-table-files-PnPOpuB4.js +346 -0
- package/dist/cli/{backfill-BicVPugb.js → backfill-DDDLhinm.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-sScN-ik-.js → blocks-BCVcjvbm.js} +1 -1
- package/dist/cli/{blocks-BmYOH4T-.js → blocks-tRfYx_mh.js} +2 -2
- package/dist/cli/{cache-1TfBy2K4.js → cache-DQZ09YOg.js} +1 -1
- package/dist/cli/{codemod-ylE6wGLo.js → codemod-HKuwQmi_.js} +5 -5
- package/dist/cli/{command-BWEEXmtz.js → command-DIPmo0wh.js} +37 -1
- package/dist/cli/{completion-Bt7LMypX.js → completion-DxPxMtyP.js} +2 -2
- package/dist/cli/{completion-8EDK21xj.js → completion-DyLMSjOD.js} +1 -1
- package/dist/cli/{completion-BfnKI4QZ.js → completion-FUgqm2-N.js} +2 -2
- package/dist/cli/{config-WKDixoGK.js → config-BfapErxs.js} +1 -1
- package/dist/cli/{config-BVfeG3A5.js → config-Cskysxp-.js} +327 -16
- package/dist/cli/{config-CeaQMrvS.js → config-Df5cXWNN.js} +1 -1
- package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
- package/dist/cli/{content-mapper-hUW2nb92.js → content-mapper-B0ehR7K-.js} +2 -2
- package/dist/cli/{db-DwjyUbAh.js → db-CWvH1_46.js} +38 -14
- package/dist/cli/{doctor-D3WKFBSv.js → doctor-CXJOhwLB.js} +36 -33
- package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
- package/dist/cli/{env-BCgVZkcb.js → env-BM242BCV.js} +2 -2
- package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
- package/dist/cli/env-uqfUbUzk.js +1 -0
- package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
- package/dist/cli/{gen-CqsUdsB2.js → gen-B7rw4j19.js} +16 -16
- package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
- package/dist/cli/index.d.ts +9 -3
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DryZ5Mp1.js → init-C1bXXB_P.js} +131 -12
- package/dist/cli/{keys-CbaL0lnw.js → keys-V-HcO-21.js} +1 -1
- package/dist/cli/{live-Di45imoV.js → live-PpAh9pAc.js} +2 -2
- package/dist/cli/{mcp-BklC-3eK.js → mcp-BRNAchdH.js} +6 -14
- package/dist/cli/{metadata-7PsBF5Xw.js → metadata-dAAKb_kR.js} +3 -3
- package/dist/cli/migrate-BWYXFnaW.js +46 -0
- package/dist/cli/{migration-safety-Doy9qYO8.js → migration-safety-DGQswWZy.js} +2 -2
- package/dist/cli/migrations-Cqk-lJwu.js +117 -0
- package/dist/cli/{module-migration-ZIn1NCMi.js → module-migration-8-hMiZtW.js} +2 -2
- package/dist/cli/{moved-DVwgE8lV.js → moved-DNOtp9LA.js} +1 -1
- package/dist/cli/{parse-B079x40m.js → parse-BPf3kGnc.js} +1 -1
- package/dist/cli/{powersync-BRGXOCJ0.js → powersync-BWQ-8T3G.js} +4 -3
- package/dist/cli/powersync-CbYxLsjv.js +1 -0
- package/dist/cli/{print-Dfqd4DB-.js → print-DSTnq5xz.js} +2 -2
- package/dist/cli/{migrations-JtsPYv8g.js → providers-Cjf5iOp5.js} +4 -116
- package/dist/cli/{remove-CQzSCYTu.js → remove-CwG8cPv1.js} +7 -7
- package/dist/cli/{render-DWRz-uPQ.js → render-B18iAdsT.js} +9 -6
- package/dist/cli/{run-DPLedqTF.js → run-C2Yg5MWt.js} +42 -40
- package/dist/cli/{run-DmOTMa44.js → run-CvPl8iQd.js} +4 -4
- package/dist/cli/{run-j54rk2w-.js → run-Wx_2Acgv.js} +11 -11
- package/dist/cli/seed-BOun22-k.js +1 -0
- package/dist/cli/{seed-BMynpMPy.js → seed-CDnL4Tnc.js} +3 -3
- package/dist/cli/{shared-CslNcs-R.js → shared-BHbtUOvh.js} +1 -1
- package/dist/cli/{skills-FXAVPLzp.js → skills-DM3oeIxY.js} +1 -1
- package/dist/cli/{snapshot-DdN5GlhH.js → snapshot-CXgsUPGj.js} +3 -3
- package/dist/cli/{source-COARbqch.js → source-B6aMAoEK.js} +1 -1
- package/dist/cli/{source-args-CDmmFmFG.js → source-args-v8ljFDfc.js} +1 -1
- package/dist/cli/{spec-CgLNZc_C.js → spec-BcYic005.js} +3 -3
- package/dist/cli/{spec-DIhBQlBF.js → spec-EO0TP84d.js} +1 -1
- package/dist/cli/{sql-layout-8jrP5gIa.js → sql-layout-CkxDNVEH.js} +21 -7
- package/dist/cli/{stack-DgASZP0K.js → stack-ClESAZYf.js} +3 -3
- package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
- package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
- package/dist/cli/{sync-SqyVHRSJ.js → sync-pq6gmlhG.js} +4 -3
- package/dist/cli/table-dyKddjwo.js +89 -0
- package/dist/cli/{upgrade-D0aLhluU.js → upgrade-BoHb4h9P.js} +3 -3
- package/dist/cli/{upgrade-CY-vj_qh.js → upgrade-Dp9p7A69.js} +5 -4
- package/dist/cli/{version-Bhca9D6q.js → version-CQHFm-ak.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
- package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
- package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
- package/dist/config/index.d.ts +5 -5
- package/dist/config/index.js +5 -5
- package/dist/{config-C19McoGo.js → config-bqKaPjst.js} +7 -28
- package/dist/{config-CP-WaboC.js → config-r7njjNgh.js} +3 -3
- package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
- package/dist/{context-BJoHD20l.d.ts → context-B4TsE2gY.d.ts} +138 -52
- package/dist/{controller-CwGXms17.d.ts → controller-CtwAsnVV.d.ts} +1 -1
- package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
- package/dist/create/index.d.ts +62 -3
- package/dist/create/index.js +67 -4
- package/dist/create/lite/index.d.ts +141 -4
- package/dist/create/lite/index.js +399 -47
- package/dist/credentials/index.d.ts +4 -4
- package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
- package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
- package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
- package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
- package/dist/edge/index.d.ts +9 -9
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
- package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
- package/dist/{entitlements-CsZcfllV.d.ts → entitlements-Bw3eYGKJ.d.ts} +2 -2
- package/dist/eve/index.d.ts +5 -5
- package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
- package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
- package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
- package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
- package/dist/expo/index.d.ts +4 -4
- package/dist/{field-errors-6BVg31Yp.d.ts → field-errors-DkzFduux.d.ts} +10 -10
- package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
- package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
- package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
- package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
- package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +9 -9
- package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
- package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
- package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
- package/dist/{index-CbUCGMqj.d.ts → index-BNgpz_BV.d.ts} +5 -5
- package/dist/{index-C0QuN9_P.d.ts → index-BxckmAFc.d.ts} +106 -121
- package/dist/{index-Cagz4Z2k.d.ts → index-CB66nl14.d.ts} +4 -3
- package/dist/{index-DOHx3JuB.d.ts → index-CBQT_nXf.d.ts} +5 -5
- package/dist/{index-D01wHGSN.d.ts → index-Cw5gGSP8.d.ts} +14 -14
- package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
- package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/{instances-qz2MCMyK.js → instances-C7qUTjhJ.js} +1 -1
- package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
- package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
- package/dist/mapper/bin.js +7 -7
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +22 -22
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-CPhOcuzl.d.ts → operations-CqmQrTKw.d.ts} +1 -1
- package/dist/{options-BOGo1qCA.js → options-B5E2MGIz.js} +3 -1
- package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
- package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
- package/dist/orpc/index.d.ts +8 -8
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
- package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
- package/dist/{ports-Bw7uxPd_.d.ts → ports-6LBgr1Aa.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
- package/dist/powersync/index.d.ts +6 -6
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BbSWLoXM.js → preset-DCdEnJj9.js} +9 -14
- package/dist/{project-TN03XDsA.js → project-C4NA_van.js} +5 -5
- package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
- package/dist/{push-token-vykw2JXT.d.ts → push-token-BXsrJ7W9.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +8 -8
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/session.d.ts +2 -2
- package/dist/react-router/index.d.ts +6 -6
- package/dist/realtime/index.d.ts +6 -6
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
- package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
- package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
- package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
- package/dist/{resolved-names-Dsf28_Dr.js → resolved-names-iLBOUaib.js} +2 -2
- package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
- package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
- package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
- package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
- package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
- package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
- package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
- package/dist/server/index.d.ts +24 -24
- package/dist/server/index.js +1 -1
- package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
- package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
- package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
- package/dist/{sign-in-CAadgm33.d.ts → sign-in-CfwJAJJL.d.ts} +2 -2
- package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
- package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +5 -5
- package/dist/{sql-Dg3W1ENk.js → sql-CoBySj2F.js} +3617 -1285
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
- package/dist/ssr/index.d.ts +5 -5
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/streams/index.d.ts +1 -1
- package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
- package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
- package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
- package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
- package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
- package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/{tenant-BRmKZ7aq.d.ts → tenant-Ded341Qz.d.ts} +2 -2
- package/dist/testing/index.d.ts +25 -25
- package/dist/testing/index.js +2 -2
- package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
- package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
- package/dist/{topic-CpsKVBot.d.ts → topic-XDdKzlrn.d.ts} +5 -5
- package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
- package/dist/{types-CjRwmCRP.d.ts → types-BFwB-E1j.d.ts} +2 -2
- package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
- package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
- package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
- package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
- package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
- package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
- package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
- package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
- package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
- package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/{watch-topic-BaMZX139.d.ts → watch-topic-DpN_GEoS.d.ts} +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
- package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
- package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
- package/dist/yjs/index.d.ts +2 -2
- package/dist/yjs/index.js +1 -1
- package/package.json +11 -2
- package/schemas/config-v1.json +45 -351
- package/skills/better-supabase/references/ui-recipes.md +5 -5
- package/dist/cli/add-Bf1fyCWm.js +0 -1
- package/dist/cli/env-xhwXk5Ri.js +0 -1
- package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
- package/dist/cli/powersync-Dq-txa0_.js +0 -1
- package/dist/cli/seed-CO3j_bly.js +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ft as RequestContext } from "../../types-
|
|
4
|
-
import { Ct as Events, U as IncomingWebhookEventData, ht as WebhookEventData, o as EventHub } from "../../events-
|
|
5
|
-
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../../provider-
|
|
6
|
-
import { r as BlockTemporalOptions } from "../../block-helpers-
|
|
7
|
-
import { n as SqlClient } from "../../executor-
|
|
8
|
-
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
9
|
-
import { n as BlockHooks } from "../../block-hooks-
|
|
3
|
+
import { Ft as RequestContext } from "../../types-CPl9uJ0G.js";
|
|
4
|
+
import { Ct as Events, U as IncomingWebhookEventData, ht as WebhookEventData, o as EventHub } from "../../events-B2qbZps6.js";
|
|
5
|
+
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../../provider-CWjzAIX9.js";
|
|
6
|
+
import { r as BlockTemporalOptions } from "../../block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { n as SqlClient } from "../../executor-DXQIx4sW.js";
|
|
8
|
+
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
9
|
+
import { n as BlockHooks } from "../../block-hooks-B8itxzEE.js";
|
|
10
10
|
import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
11
|
-
import { g as JobHandler, x as QueueSchemas, y as Queue } from "../../types-
|
|
12
|
-
import { c as BlockOf } from "../../define-block-
|
|
13
|
-
import { i as EventSink, t as CloudEvent } from "../../cloud-event-
|
|
14
|
-
import { g as SubscriberPolicy, i as AuthorizationHooks } from "../../authorization-hooks-
|
|
11
|
+
import { g as JobHandler, x as QueueSchemas, y as Queue } from "../../types-CK2X2wCB.js";
|
|
12
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
13
|
+
import { i as EventSink, t as CloudEvent } from "../../cloud-event-0pQ9vFNS.js";
|
|
14
|
+
import { g as SubscriberPolicy, i as AuthorizationHooks } from "../../authorization-hooks-BWhkMZfH.js";
|
|
15
15
|
import { a as verifySharedSecret, i as signWebhook, n as VerifyOptions, o as verifyWebhook, r as WebhookInput, t as VerifiedWebhook } from "../../signatures-Dkx9OE8j.js";
|
|
16
|
-
import { a as DatabaseWebhookPayload, c as hookError, d as stripeInboxVerify, f as verifyStripeWebhook, i as DatabaseChange, l as isDatabaseWebhook, n as AuthHookKind, o as authHook, r as AuthHooks, s as databaseChange, t as AuthHookError, u as signStripeWebhook } from "../../verify-
|
|
17
|
-
import { A as IncomingVerify, C as isPublicAddress, D as IncomingDelivery, E as CreatedIncomingWebhook, F as UpdateIncomingWebhookInput, I as UpdatedIncomingWebhook, M as IncomingWebhooks, N as IncomingWebhooksOptions, O as IncomingDestination, P as RotatedIncomingSecret, S as ResolveHost, T as CreateIncomingWebhookInput, _ as WebhookResponse, a as WebhookSignInput, b as AllowUrl, c as standardWebhooks, d as RotateSecretOptions, f as WebhookSecretStore, g as WebhookRequest, h as WebhookPolicyError, i as StandardWebhooksOptions, j as IncomingWebhook, k as IncomingDestinationResult, l as standardWebhooksAsymmetric, m as FetchTransportOptions, n as HmacSignerOptions, o as WebhookSigner, p as sqlSecretStore, r as RawSigner, s as hmacSigner, t as AsymmetricWebhooksOptions, u as webhookPublicKey, v as WebhookTransport, w as publicUrl, x as PublicUrlOptions, y as fetchTransport } from "../../signers-
|
|
16
|
+
import { a as DatabaseWebhookPayload, c as hookError, d as stripeInboxVerify, f as verifyStripeWebhook, i as DatabaseChange, l as isDatabaseWebhook, n as AuthHookKind, o as authHook, r as AuthHooks, s as databaseChange, t as AuthHookError, u as signStripeWebhook } from "../../verify-41mZmspj.js";
|
|
17
|
+
import { A as IncomingVerify, C as isPublicAddress, D as IncomingDelivery, E as CreatedIncomingWebhook, F as UpdateIncomingWebhookInput, I as UpdatedIncomingWebhook, M as IncomingWebhooks, N as IncomingWebhooksOptions, O as IncomingDestination, P as RotatedIncomingSecret, S as ResolveHost, T as CreateIncomingWebhookInput, _ as WebhookResponse, a as WebhookSignInput, b as AllowUrl, c as standardWebhooks, d as RotateSecretOptions, f as WebhookSecretStore, g as WebhookRequest, h as WebhookPolicyError, i as StandardWebhooksOptions, j as IncomingWebhook, k as IncomingDestinationResult, l as standardWebhooksAsymmetric, m as FetchTransportOptions, n as HmacSignerOptions, o as WebhookSigner, p as sqlSecretStore, r as RawSigner, s as hmacSigner, t as AsymmetricWebhooksOptions, u as webhookPublicKey, v as WebhookTransport, w as publicUrl, x as PublicUrlOptions, y as fetchTransport } from "../../signers-ZmxO1I05.js";
|
|
18
18
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
19
19
|
//#region src/core/hmac.d.ts
|
|
20
20
|
/** Constant-time string comparison. */
|
|
@@ -283,7 +283,7 @@ interface WebhooksOptions extends BlockTemporalOptions {
|
|
|
283
283
|
* delivery of the event. Each delivery is checked against its own stored
|
|
284
284
|
* `subject`. Defaults to `authorization.delivery.subscribers`; with
|
|
285
285
|
* `authorization` but no such policy, to `subjectReaders(transport)`, so an
|
|
286
|
-
* event about a `config.
|
|
286
|
+
* event about a `config.subjects` record only reaches endpoints whose owner
|
|
287
287
|
* (or service principal) may read that record.
|
|
288
288
|
*/
|
|
289
289
|
readonly subscribers?: SubscriberPolicy;
|
|
@@ -17,7 +17,7 @@ import { n as credentialRefInTenant, r as foreignCredentialRef } from "../../pro
|
|
|
17
17
|
import { n as hmacHex, r as timingSafeEqual } from "../../hmac-B3CTTlfv.js";
|
|
18
18
|
import { i as signWebhook, o as verifySharedSecret, s as verifyWebhook, t as PUBLIC_KEY_PREFIX } from "../../signatures-CX1b4WHa.js";
|
|
19
19
|
import { t as cronRoute } from "../../cron-route-FjKgRvTY.js";
|
|
20
|
-
import { t as subjectReaders } from "../../subject-readers-
|
|
20
|
+
import { t as subjectReaders } from "../../subject-readers-VHcrWhmq.js";
|
|
21
21
|
import { n as hitRateLimit, o as receiveWebhook } from "../../rate-limit-fZ_d8gSE.js";
|
|
22
22
|
import { n as defineBlock } from "../../define-block-BGqOO8B3.js";
|
|
23
23
|
import { a as signStripeWebhook, i as isDatabaseWebhook, n as databaseChange, o as stripeInboxVerify, r as hookError, s as verifyStripeWebhook, t as authHook } from "../../verify-7EucfCnv.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
3
3
|
import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
4
|
-
import { Ct as Events, gt as WorkflowEventData } from "../../events-
|
|
5
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
-
import { g as Workflows, n as WorkflowRun } from "../../workflows-
|
|
8
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
9
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
11
|
-
import { A as WorkflowVersionOwner, B as WorkflowGraphNode, C as WorkflowGrantPrincipal, D as WorkflowTrigger, E as WorkflowStepInfo, F as WorkflowFilterCondition, G as durationMs, H as WorkflowNodeKind, I as WorkflowFilterField, J as matchesFilter, K as evaluateCondition, L as WorkflowGraph, M as GraphScope, N as WorkflowCondition, O as WorkflowTriggerKind, P as WorkflowConditionOperator, R as WorkflowGraphDiff, S as WorkflowGrantAction, T as WorkflowNodeRunStatus, U as approved, V as WorkflowNodeCondition, W as diffGraphs, X as validateGraph, Y as topologicalOrder, _ as WorkflowCredential, a as CredentialInput, b as WorkflowDefinitionScope, c as GraphCompiler, d as RunInput, f as TestRunInput, g as WorkflowBuilderHooks, h as WorkflowAlert, i as BuilderStarter, j as WorkflowVersionStatus, k as WorkflowVersion, l as NodeRunRecord, m as VersionSaveOptions, n as BuilderOptions, o as DefinitionInput, p as TriggerInput, q as filterConditionOf, r as BuilderStartCall, s as GrantInput, t as AlertInput, u as PublishOptions, v as WorkflowDefinition, w as WorkflowNodeRun, x as WorkflowEditor, y as WorkflowDefinitionGrant, z as WorkflowGraphEdge } from "../../types-
|
|
12
|
-
import { a as GraphSubject, c as graphRunFields, i as GraphStepCall, l as startNodeOf, n as GraphRunFields, o as approvalToken, r as GraphRuntime, s as executeGraph, t as GraphApprovalCall } from "../../executor-
|
|
4
|
+
import { Ct as Events, gt as WorkflowEventData } from "../../events-B2qbZps6.js";
|
|
5
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
7
|
+
import { g as Workflows, n as WorkflowRun } from "../../workflows-xL6t0TXx.js";
|
|
8
|
+
import { p as SubscriptionStatus } from "../../topic-XDdKzlrn.js";
|
|
9
|
+
import { n as TopicPort } from "../../watch-topic-DpN_GEoS.js";
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-CtwAsnVV.js";
|
|
11
|
+
import { A as WorkflowVersionOwner, B as WorkflowGraphNode, C as WorkflowGrantPrincipal, D as WorkflowTrigger, E as WorkflowStepInfo, F as WorkflowFilterCondition, G as durationMs, H as WorkflowNodeKind, I as WorkflowFilterField, J as matchesFilter, K as evaluateCondition, L as WorkflowGraph, M as GraphScope, N as WorkflowCondition, O as WorkflowTriggerKind, P as WorkflowConditionOperator, R as WorkflowGraphDiff, S as WorkflowGrantAction, T as WorkflowNodeRunStatus, U as approved, V as WorkflowNodeCondition, W as diffGraphs, X as validateGraph, Y as topologicalOrder, _ as WorkflowCredential, a as CredentialInput, b as WorkflowDefinitionScope, c as GraphCompiler, d as RunInput, f as TestRunInput, g as WorkflowBuilderHooks, h as WorkflowAlert, i as BuilderStarter, j as WorkflowVersionStatus, k as WorkflowVersion, l as NodeRunRecord, m as VersionSaveOptions, n as BuilderOptions, o as DefinitionInput, p as TriggerInput, q as filterConditionOf, r as BuilderStartCall, s as GrantInput, t as AlertInput, u as PublishOptions, v as WorkflowDefinition, w as WorkflowNodeRun, x as WorkflowEditor, y as WorkflowDefinitionGrant, z as WorkflowGraphEdge } from "../../types-nspa5I-a.js";
|
|
12
|
+
import { a as GraphSubject, c as graphRunFields, i as GraphStepCall, l as startNodeOf, n as GraphRunFields, o as approvalToken, r as GraphRuntime, s as executeGraph, t as GraphApprovalCall } from "../../executor-BlS0kCrN.js";
|
|
13
13
|
//#region src/blocks/workflow-editor/workflow-editor.d.ts
|
|
14
14
|
/**
|
|
15
15
|
* The `workflow-editor` module's definitions, versions, triggers, credentials,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
2
|
-
import { Ct as Events, _t as WorkflowRunEventData } from "../../events-
|
|
3
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
5
|
-
import { _ as WorkflowsHooks, a as WorkflowRunStatus, c as WorkflowScheduleInput, d as WorkflowStartTicket, f as WorkflowStarter, g as Workflows, h as WorkflowTickResult, i as WorkflowRunRecord, l as WorkflowStartCall, m as WorkflowTickOptions, n as WorkflowRun, o as WorkflowRunsQuery, s as WorkflowSchedule, u as WorkflowStartRequest, v as WorkflowsOptions, y as createWorkflows } from "../../workflows-
|
|
6
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
7
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
2
|
+
import { Ct as Events, _t as WorkflowRunEventData } from "../../events-B2qbZps6.js";
|
|
3
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-9EUA3q_I.js";
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DWVZSZv1.js";
|
|
5
|
+
import { _ as WorkflowsHooks, a as WorkflowRunStatus, c as WorkflowScheduleInput, d as WorkflowStartTicket, f as WorkflowStarter, g as Workflows, h as WorkflowTickResult, i as WorkflowRunRecord, l as WorkflowStartCall, m as WorkflowTickOptions, n as WorkflowRun, o as WorkflowRunsQuery, s as WorkflowSchedule, u as WorkflowStartRequest, v as WorkflowsOptions, y as createWorkflows } from "../../workflows-xL6t0TXx.js";
|
|
6
|
+
import { p as SubscriptionStatus } from "../../topic-XDdKzlrn.js";
|
|
7
|
+
import { n as TopicPort } from "../../watch-topic-DpN_GEoS.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-CtwAsnVV.js";
|
|
9
9
|
//#region src/blocks/workflows/client.d.ts
|
|
10
10
|
interface WorkflowRunsControllerOptions {
|
|
11
11
|
readonly client: {
|
|
@@ -3,9 +3,9 @@ import { t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "./block-fields-BE7pInWZ.js";
|
|
5
5
|
import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
6
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
7
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
8
|
-
import { g as JobHandler } from "./types-
|
|
6
|
+
import { n as BlockOptions } from "./block-helpers-D5emQ2O6.js";
|
|
7
|
+
import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
|
|
8
|
+
import { g as JobHandler } from "./types-CK2X2wCB.js";
|
|
9
9
|
import { o as WeeklyHours } from "./availability-BdeKCHpl.js";
|
|
10
10
|
//#region src/blocks/bookings/series.d.ts
|
|
11
11
|
/** An ISO weekday: 1 is Monday, 7 is Sunday. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, f as Result, t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
3
|
-
import { Ft as RequestContext, T as AccessBucketPolicy, _t as BucketLifecycle, bt as VersioningStatus, j as BucketPolicyName, yt as ObjectVersion } from "./types-
|
|
3
|
+
import { Ft as RequestContext, T as AccessBucketPolicy, _t as BucketLifecycle, bt as VersioningStatus, j as BucketPolicyName, yt as ObjectVersion } from "./types-CPl9uJ0G.js";
|
|
4
4
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
5
5
|
//#region src/core/template.d.ts
|
|
6
6
|
/**
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../result-DZeA5KS6.js";
|
|
3
|
-
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../provider-
|
|
4
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-
|
|
3
|
+
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../provider-CWjzAIX9.js";
|
|
4
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-9EUA3q_I.js";
|
|
5
5
|
import { o as StreamStore } from "../store-CpheI-lN.js";
|
|
6
|
-
import { u as MessageFile } from "../messaging-
|
|
7
|
-
import { c as ChatActionHook, d as IdentityRef, f as IdentityTarget, i as AuthorizationHooks, p as PrincipalByIdentity, s as ChatAction, t as ApprovalRequestRef } from "../authorization-hooks-
|
|
8
|
-
import { S as StoredInboundEvent, c as DeliveryStatus, f as InboxFileSource, i as Conversation, l as InboundResult, p as InboxMessage, y as PendingInboxFile } from "../types-
|
|
9
|
-
import { a as Inbox } from "../inbox-
|
|
6
|
+
import { u as MessageFile } from "../messaging-DQP09JsY.js";
|
|
7
|
+
import { c as ChatActionHook, d as IdentityRef, f as IdentityTarget, i as AuthorizationHooks, p as PrincipalByIdentity, s as ChatAction, t as ApprovalRequestRef } from "../authorization-hooks-BWhkMZfH.js";
|
|
8
|
+
import { S as StoredInboundEvent, c as DeliveryStatus, f as InboxFileSource, i as Conversation, l as InboundResult, p as InboxMessage, y as PendingInboxFile } from "../types-B-D6fYx2.js";
|
|
9
|
+
import { a as Inbox } from "../inbox-c8B86Trp.js";
|
|
10
10
|
import { Adapter, AdapterPostableMessage, Attachment, Author, Message, RawMessage, StateAdapter, WebhookOptions } from "chat";
|
|
11
11
|
//#region src/chat-sdk/delivery.d.ts
|
|
12
12
|
/** One status callback for a message the bot sent on a channel. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-BTe6A15O.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as providerLabel, i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-Cjf5iOp5.js";
|
|
3
3
|
import { r as applyPlan } from "./files-CX71yBm8.js";
|
|
4
4
|
import { n as addBlocksToJson, s as keyText, t as addBlocksToConfig } from "./config-edit-CrWfk8s3.js";
|
|
5
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
5
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-pq6gmlhG.js";
|
|
6
6
|
import { basename, dirname } from "node:path";
|
|
7
7
|
import { readFile } from "node:fs/promises";
|
|
8
8
|
import { SQL_MODULES, resolveBlocks } from "better-supabase/sql";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { a as list,
|
|
1
|
+
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
|
|
2
2
|
import { i as plain } from "./style-Bm2X5JrN.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-CQHFm-ak.js";
|
|
4
4
|
import { a as parseNames, n as CliError } from "./errors-BTe6A15O.js";
|
|
5
5
|
import { r as readIfExists, t as display } from "./io-DH1kcmmP.js";
|
|
6
|
-
import { t as loadSnapshot } from "./snapshot-
|
|
6
|
+
import { t as loadSnapshot } from "./snapshot-CXgsUPGj.js";
|
|
7
7
|
import { t as isRecord } from "./guards-CUlDNYZs.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
9
|
-
import {
|
|
10
|
-
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-BVfeG3A5.js";
|
|
8
|
+
import { a as toCatalog } from "./source-B6aMAoEK.js";
|
|
9
|
+
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-Cskysxp-.js";
|
|
11
10
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-CX71yBm8.js";
|
|
12
|
-
import {
|
|
11
|
+
import { n as dataMigration } from "./migrations-Cqk-lJwu.js";
|
|
12
|
+
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-DGQswWZy.js";
|
|
13
13
|
import { n as installCommand, t as detectProject } from "./detect-D9JaAX20.js";
|
|
14
14
|
import { d as setBlockInJson, f as setPathInConfig, h as setPresetInJson, m as setPresetInConfig, n as addBlocksToJson, p as setPathInJson, r as addBlocksToWiring, t as addBlocksToConfig, u as setBlockInConfig } from "./config-edit-CrWfk8s3.js";
|
|
15
|
-
import { t as syncModules } from "./sync-
|
|
16
|
-
import { t as addModules } from "./add-
|
|
17
|
-
import {
|
|
18
|
-
import { t as blockNames } from "./blocks-
|
|
19
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
15
|
+
import { t as syncModules } from "./sync-pq6gmlhG.js";
|
|
16
|
+
import { t as addModules } from "./add-BKkV99g9.js";
|
|
17
|
+
import { t as appTablePlan } from "./app-table-files-PnPOpuB4.js";
|
|
18
|
+
import { t as blockNames } from "./blocks-tRfYx_mh.js";
|
|
19
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-v8ljFDfc.js";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { dirname, join, posix, resolve } from "node:path";
|
|
22
22
|
import { readFile } from "node:fs/promises";
|
|
23
23
|
import { INTEGRATION_INFO, blockEntrySource } from "better-supabase/config";
|
|
24
|
-
import { DEFAULT_CONVENTIONS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_NAMES, PRESET_TENANT_NAMES, designConfig,
|
|
24
|
+
import { DEFAULT_CONVENTIONS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_NAMES, PRESET_TENANT_NAMES, designConfig, glueCommand, isPresetName, presetAndDesignOf, presetField, presetFromSpec, presetSpec, presetValueLabel, readDesignFile, resolvePreset } from "better-supabase/preset";
|
|
25
25
|
import { SQL_MODULES, adoptedColumnProblems, migrationOptionUses, moduleBody, moduleIdType, moduleWritesText } from "better-supabase/sql";
|
|
26
26
|
import { toSnake } from "better-supabase";
|
|
27
27
|
//#region src/cli/conventions.ts
|
|
@@ -432,9 +432,10 @@ function proposeAdoption(block, tables, options = {}) {
|
|
|
432
432
|
modules: blocks,
|
|
433
433
|
ownTables,
|
|
434
434
|
ownViews,
|
|
435
|
-
ownColumns
|
|
435
|
+
ownColumns,
|
|
436
|
+
...options.subjects === void 0 ? {} : { subjects: options.subjects }
|
|
436
437
|
});
|
|
437
|
-
errors.push(...adoptedColumnProblems(blocks, adopted.map((table) => ({ text: declaration(table) })), [...new Set(adopted.map((table) => table.schema))], ownTables));
|
|
438
|
+
errors.push(...adoptedColumnProblems(blocks, adopted.map((table) => ({ text: declaration(table) })), [...new Set(adopted.map((table) => table.schema))], ownTables, options.subjects));
|
|
438
439
|
} catch (error) {
|
|
439
440
|
errors.push(error instanceof Error ? error.message : String(error));
|
|
440
441
|
}
|
|
@@ -532,6 +533,7 @@ async function runAdopt(config, args, deps) {
|
|
|
532
533
|
const proposal = proposeAdoption(block, await deps.tables(), {
|
|
533
534
|
from: list(args.tables),
|
|
534
535
|
blocks: config.blocks,
|
|
536
|
+
subjects: config.subjects,
|
|
535
537
|
schemas: adoptSchemas(config)
|
|
536
538
|
});
|
|
537
539
|
const lines = [`Adopting ${block}:`, ...describeProposal(proposal)];
|
|
@@ -654,9 +656,9 @@ function currentExtraColumns(config, module) {
|
|
|
654
656
|
}
|
|
655
657
|
/**
|
|
656
658
|
* `source` with a `/create` design written into it: each block's
|
|
657
|
-
* `options.extraColumns` (merged over the columns `config` already gives it)
|
|
658
|
-
*
|
|
659
|
-
*
|
|
659
|
+
* `options.extraColumns` (merged over the columns `config` already gives it).
|
|
660
|
+
* The design's tables are SQL files, written by `appTablePlan`, and positions
|
|
661
|
+
* only matter to the canvas, so neither goes into the config.
|
|
660
662
|
*/
|
|
661
663
|
function writeDesign(file, source, design, config) {
|
|
662
664
|
const set = file.endsWith(".json") ? setPathInJson : setPathInConfig;
|
|
@@ -681,17 +683,6 @@ function writeDesign(file, source, design, config) {
|
|
|
681
683
|
reason: problem
|
|
682
684
|
};
|
|
683
685
|
}
|
|
684
|
-
for (const [name, table] of Object.entries(design.appTables ?? {})) {
|
|
685
|
-
const { scope, ...rest } = table;
|
|
686
|
-
const problem = apply(["tables", name], scope === void 0 ? rest : {
|
|
687
|
-
...rest,
|
|
688
|
-
owner: scope
|
|
689
|
-
});
|
|
690
|
-
if (problem !== void 0) return {
|
|
691
|
-
ok: false,
|
|
692
|
-
reason: problem
|
|
693
|
-
};
|
|
694
|
-
}
|
|
695
686
|
return {
|
|
696
687
|
ok: true,
|
|
697
688
|
text
|
|
@@ -719,10 +710,6 @@ const APPLY_ARGS = {
|
|
|
719
710
|
type: "boolean",
|
|
720
711
|
description: "Map existing tables onto a block (with --tables), the preset's blocks onto tables under their default names, or, alone, write the data rows migration for blocks over your tables"
|
|
721
712
|
},
|
|
722
|
-
"allow-breaking": {
|
|
723
|
-
type: "boolean",
|
|
724
|
-
description: "Write a design with breaking app table changes (a rename, a retyped or required column, a tighter constraint); renames print their alter statements"
|
|
725
|
-
},
|
|
726
713
|
"dry-run": {
|
|
727
714
|
type: "boolean",
|
|
728
715
|
description: "Show the config diff and write nothing"
|
|
@@ -749,6 +736,7 @@ function adoptBlocks(config, file, text, blocks, tables) {
|
|
|
749
736
|
if ((config.blocks[block]?.mode ?? "managed") !== "managed") continue;
|
|
750
737
|
const proposal = proposeAdoption(block, tables, {
|
|
751
738
|
blocks: config.blocks,
|
|
739
|
+
subjects: config.subjects,
|
|
752
740
|
schemas
|
|
753
741
|
});
|
|
754
742
|
lines.push(`Adopting ${block}:`, ...describeProposal(proposal));
|
|
@@ -790,31 +778,6 @@ function designFor(config, design, preset) {
|
|
|
790
778
|
designConfig(resolved, design.appTables === void 0 ? {} : { appTables: design.appTables });
|
|
791
779
|
return design;
|
|
792
780
|
}
|
|
793
|
-
/** Each breaking change with its expand-and-contract steps. */
|
|
794
|
-
function describeBreaking(changes) {
|
|
795
|
-
return ["Breaking changes to app tables:", ...changes.flatMap((change) => [` ${change.summary}`, ...change.steps.map((step, index) => ` ${String(index + 1)}. ${step}`)])];
|
|
796
|
-
}
|
|
797
|
-
/**
|
|
798
|
-
* The statements that rename the tables and columns `changes` renames, in
|
|
799
|
-
* order.
|
|
800
|
-
*/
|
|
801
|
-
function renameStatements(changes) {
|
|
802
|
-
return changes.flatMap((change) => {
|
|
803
|
-
if (change.from === void 0) return [];
|
|
804
|
-
if (change.kind === "table.renamed") return [`alter table public.${ident(change.from)} rename to ${ident(change.table)};`];
|
|
805
|
-
if (change.kind === "column.renamed" && change.column !== void 0) return [`alter table public.${ident(change.table)} rename column ${ident(change.from)} to ${ident(change.column)};`];
|
|
806
|
-
return [];
|
|
807
|
-
});
|
|
808
|
-
}
|
|
809
|
-
/** How to run `renames` before `upgrade` creates the new names. */
|
|
810
|
-
function describeRenames(renames, renamedTables, file) {
|
|
811
|
-
return renames.length === 0 ? [] : [
|
|
812
|
-
"Run these in a migration before `better-supabase upgrade`, so the renamed tables and columns keep their rows:",
|
|
813
|
-
...renames.map((statement) => ` ${statement}`),
|
|
814
|
-
...renamedTables.length === 0 ? [] : [`Then remove ${renamedTables.join(", ")} from tables in ${file}: apply keeps the tables a design leaves out.`],
|
|
815
|
-
""
|
|
816
|
-
];
|
|
817
|
-
}
|
|
818
781
|
/** The config file edited for `--only`: the `preset` key, or the blocks. */
|
|
819
782
|
function edited(file, source, name, preset, only) {
|
|
820
783
|
const json = file.endsWith(".json");
|
|
@@ -878,23 +841,7 @@ async function runApply(rootConfig, args, rootDeps) {
|
|
|
878
841
|
blocks: []
|
|
879
842
|
} : preset);
|
|
880
843
|
if (conflict !== void 0) throw new CliError("usage", conflict);
|
|
881
|
-
const changes = design?.appTables === void 0 ? [] : diffAppTables(config.appTables, design.appTables);
|
|
882
|
-
const kept = changes.filter((change) => change.kind === "table.dropped").map((change) => change.table);
|
|
883
|
-
const renamedTables = changes.flatMap((change) => change.kind === "table.renamed" && change.from !== void 0 ? [change.from] : []);
|
|
884
|
-
const breaking = changes.filter((change) => change.breaking && change.kind !== "table.dropped");
|
|
885
|
-
const renames = renameStatements(breaking);
|
|
886
844
|
const shown = display(config.root, file);
|
|
887
|
-
if (breaking.length > 0 && args["allow-breaking"] !== true && args["dry-run"] !== true) return {
|
|
888
|
-
code: 1,
|
|
889
|
-
output: describeBreaking(breaking).join("\n"),
|
|
890
|
-
data: {
|
|
891
|
-
file: shown,
|
|
892
|
-
written: false,
|
|
893
|
-
breaking,
|
|
894
|
-
kept
|
|
895
|
-
},
|
|
896
|
-
error: `Nothing was written: the design has ${breaking.length === 1 ? "a breaking change" : `${String(breaking.length)} breaking changes`} to tables the app already has. Follow the steps above, or pass --allow-breaking to write it anyway.`
|
|
897
|
-
};
|
|
898
845
|
const source = await readFile(file, "utf-8");
|
|
899
846
|
const edit = edited(file, source, name, preset, only);
|
|
900
847
|
if (!edit.ok) return {
|
|
@@ -908,11 +855,7 @@ async function runApply(rootConfig, args, rootDeps) {
|
|
|
908
855
|
};
|
|
909
856
|
const paint = deps.paint ?? plain;
|
|
910
857
|
let text = withDesign.text;
|
|
911
|
-
const lines = [
|
|
912
|
-
...breaking.length === 0 ? [] : [...describeBreaking(breaking), ""],
|
|
913
|
-
...describeRenames(renames, renamedTables, shown),
|
|
914
|
-
...kept.length === 0 ? [] : [`Kept ${kept.join(", ")}: the design doesn't name ${kept.length === 1 ? "it" : "them"}, and apply keeps the tables a design leaves out. Remove ${kept.length === 1 ? "it" : "them"} from tables in ${shown} to drop ${kept.length === 1 ? "it" : "them"}.`, ""]
|
|
915
|
-
];
|
|
858
|
+
const lines = [];
|
|
916
859
|
if (createUrlParam(input, "authz") !== void 0) lines.push(AUTHZ_NOTE, "");
|
|
917
860
|
let adopted = {};
|
|
918
861
|
if (args.adopt === true) {
|
|
@@ -935,11 +878,13 @@ async function runApply(rootConfig, args, rootDeps) {
|
|
|
935
878
|
const data = {
|
|
936
879
|
file: shown,
|
|
937
880
|
adopted,
|
|
938
|
-
contents: text
|
|
939
|
-
kept,
|
|
940
|
-
...renames.length === 0 ? {} : { renames }
|
|
881
|
+
contents: text
|
|
941
882
|
};
|
|
942
|
-
|
|
883
|
+
const tables = design?.appTables === void 0 ? void 0 : await appTablePlan({
|
|
884
|
+
...config,
|
|
885
|
+
appTables: designConfig(resolvePreset(preset), design).appTables ?? {}
|
|
886
|
+
}, "better-supabase add");
|
|
887
|
+
if (text === source && tables === void 0) {
|
|
943
888
|
lines.push(`${shown} already holds the preset.`);
|
|
944
889
|
return {
|
|
945
890
|
code: 0,
|
|
@@ -951,13 +896,14 @@ async function runApply(rootConfig, args, rootDeps) {
|
|
|
951
896
|
};
|
|
952
897
|
}
|
|
953
898
|
const plan = {
|
|
954
|
-
root: config.root,
|
|
899
|
+
root: tables?.plan.root ?? config.root,
|
|
900
|
+
base: config.root,
|
|
955
901
|
regenerate: "better-supabase add",
|
|
956
|
-
files: [{
|
|
902
|
+
files: [...text === source ? [] : [{
|
|
957
903
|
path: file,
|
|
958
904
|
contents: text,
|
|
959
905
|
policy: "edit"
|
|
960
|
-
}]
|
|
906
|
+
}], ...tables?.plan.files ?? []]
|
|
961
907
|
};
|
|
962
908
|
const applied = await applyPlan(plan, args, paint);
|
|
963
909
|
if (applied.mode === "check") return planResult(plan, applied, { data: {
|
|
@@ -1014,6 +960,11 @@ const ADD_ARGS = {
|
|
|
1014
960
|
type: "string",
|
|
1015
961
|
description: "With blocks: where the pgtap module goes. Defaults to database.sql.testsDir",
|
|
1016
962
|
valueHint: "dir"
|
|
963
|
+
},
|
|
964
|
+
over: {
|
|
965
|
+
type: "string",
|
|
966
|
+
description: "Install one block over tables you already have, as table or schema.table. Shorthand for --adopt --tables",
|
|
967
|
+
valueHint: "schema.table,..."
|
|
1017
968
|
}
|
|
1018
969
|
};
|
|
1019
970
|
/**
|
|
@@ -1204,7 +1155,6 @@ const ADD_COMMAND_ARGS = {
|
|
|
1204
1155
|
const PRESET_ONLY = [
|
|
1205
1156
|
"package",
|
|
1206
1157
|
"only",
|
|
1207
|
-
"allow-breaking",
|
|
1208
1158
|
...Object.keys(CONVENTION_ARGS)
|
|
1209
1159
|
];
|
|
1210
1160
|
/** A usage error for the first flag in `flags` that `args` sets. */
|
|
@@ -1215,7 +1165,11 @@ function unexpected(args, flags, needs) {
|
|
|
1215
1165
|
const addCommand = defineCliCommand({
|
|
1216
1166
|
meta: commandMeta("add"),
|
|
1217
1167
|
args: ADD_COMMAND_ARGS,
|
|
1218
|
-
lists: [
|
|
1168
|
+
lists: [
|
|
1169
|
+
"integration",
|
|
1170
|
+
"tables",
|
|
1171
|
+
"over"
|
|
1172
|
+
],
|
|
1219
1173
|
completions: {
|
|
1220
1174
|
...CONVENTION_COMPLETIONS,
|
|
1221
1175
|
block: blockNames,
|
|
@@ -1238,6 +1192,19 @@ const addCommand = defineCliCommand({
|
|
|
1238
1192
|
});
|
|
1239
1193
|
}
|
|
1240
1194
|
unexpected(args, PRESET_ONLY, "--preset");
|
|
1195
|
+
if (args.over !== void 0) {
|
|
1196
|
+
if (args._.length !== 1) throw new CliError("usage", "--over works with one block, e.g. `better-supabase add teams --over public.teams`.", { flag: "--over" });
|
|
1197
|
+
if (args.adopt === true || args.tables !== void 0) throw new CliError("usage", "--over replaces --adopt and --tables: pass the tables to --over.", { flag: "--over" });
|
|
1198
|
+
return runAdopt(config, {
|
|
1199
|
+
...args,
|
|
1200
|
+
block: args._[0],
|
|
1201
|
+
tables: args.over
|
|
1202
|
+
}, {
|
|
1203
|
+
paint,
|
|
1204
|
+
tables: () => log.progress("Reading the schema", tables),
|
|
1205
|
+
...deps
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1241
1208
|
if (args.adopt === true) {
|
|
1242
1209
|
if (args._.length === 0) {
|
|
1243
1210
|
unexpected(args, ["tables"], "--adopt and one block");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-CrQ3jS7t.js";
|