better-supabase 0.36.0 → 0.38.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/{ai-schedules-BZPmySUa.d.ts → ai-schedules-ChJkI2jo.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/{api-XEaCJbgv.d.ts → api-CbY2qdzT.d.ts} +3 -3
- package/dist/{api-keys-C82fMru4.d.ts → api-keys-BncNDlWG.d.ts} +1 -1
- package/dist/{app-tables-C0XVpQEJ.d.ts → app-tables-D2c0i05-.d.ts} +1 -1
- package/dist/{approvals-DqCv7f-G.d.ts → approvals-CXW3yFWZ.d.ts} +1 -1
- package/dist/astro/index.d.ts +5 -5
- package/dist/{authorization-2Rv1AJQJ.d.ts → authorization-D8CaAdqU.d.ts} +48 -20
- package/dist/{authorization-hooks-C0GfMvFm.d.ts → authorization-hooks-CR8TVvqo.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-C2XvMlfg.d.ts → bind-5vOwNouG.d.ts} +4 -4
- package/dist/{block-env-BQrtLPyc.d.ts → block-env-hco8BLjC.d.ts} +4 -4
- package/dist/block-subjects-CINiJW1R.js +253 -0
- package/dist/{block-tables-DPOgnT3y.d.ts → block-tables-BsgdB6VG.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +3 -3
- package/dist/blocks/agents/index.d.ts +2 -2
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +5 -5
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +3 -3
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +5 -5
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +3 -3
- package/dist/blocks/audit/index.d.ts +7 -7
- package/dist/blocks/automations/index.d.ts +5 -5
- package/dist/blocks/billable-time/index.d.ts +2 -2
- package/dist/blocks/billing/index.d.ts +5 -5
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +26 -3
- package/dist/blocks/catalog/index.js +41 -2
- package/dist/blocks/channels/index.d.ts +3 -3
- package/dist/blocks/collections/index.d.ts +3 -3
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/compliance/index.d.ts +2 -2
- package/dist/blocks/connectors/index.d.ts +3 -3
- package/dist/blocks/contacts/index.d.ts +3 -3
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +2 -2
- package/dist/blocks/courses/index.d.ts +2 -2
- package/dist/blocks/created-by/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +4 -4
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +2 -2
- package/dist/blocks/domains/index.d.ts +2 -2
- package/dist/blocks/donations/index.d.ts +2 -2
- package/dist/blocks/drive/index.d.ts +3 -3
- package/dist/blocks/employees/index.d.ts +4 -4
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +4 -2
- package/dist/blocks/expenses/index.js +10 -3
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/flags/index.d.ts +2 -2
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/guests/index.d.ts +2 -2
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +2 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +2 -2
- package/dist/blocks/index.d.ts +4 -4
- package/dist/blocks/inventory/index.d.ts +171 -10
- package/dist/blocks/inventory/index.js +206 -13
- package/dist/blocks/invoices/index.d.ts +18 -4
- package/dist/blocks/invoices/index.js +13 -0
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +1 -1
- package/dist/blocks/leases/index.d.ts +2 -2
- package/dist/blocks/leave/index.d.ts +2 -2
- package/dist/blocks/leave/index.js +1 -1
- package/dist/blocks/ledger/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +1 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +7 -7
- package/dist/blocks/metrics/index.d.ts +2 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +7 -7
- package/dist/blocks/numbering/index.d.ts +2 -2
- package/dist/blocks/oauth-server/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +80 -13
- package/dist/blocks/orders/index.js +63 -4
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +2 -2
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/promotions/index.js +1 -1
- package/dist/blocks/push/index.d.ts +3 -3
- package/dist/blocks/queue/index.d.ts +1 -1
- package/dist/blocks/quotes/index.d.ts +3 -3
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +2 -2
- package/dist/blocks/reminders/index.d.ts +3 -3
- package/dist/blocks/reviews/index.d.ts +2 -2
- package/dist/blocks/saved-views/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +4 -4
- package/dist/blocks/security-events/index.d.ts +3 -3
- package/dist/blocks/segments/index.d.ts +3 -3
- package/dist/blocks/sequences/index.d.ts +2 -2
- package/dist/blocks/service-accounts/index.d.ts +2 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +3 -3
- package/dist/blocks/share-links/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +73 -4
- package/dist/blocks/shipments/index.js +57 -4
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +2 -2
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +3 -3
- package/dist/blocks/state-machine/index.d.ts +9 -2
- package/dist/blocks/state-machine/index.js +2 -0
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/teams/index.d.ts +2 -2
- package/dist/blocks/templates/index.d.ts +122 -9
- package/dist/blocks/templates/index.js +157 -7
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +9 -7
- package/dist/blocks/timeline/index.js +3 -1
- package/dist/blocks/trash/index.d.ts +2 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +1 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/waitlist/index.d.ts +2 -2
- package/dist/blocks/webhooks/index.d.ts +6 -6
- package/dist/blocks/workflow-editor/index.d.ts +7 -7
- package/dist/blocks/workflows/index.d.ts +5 -5
- package/dist/{carrier-D2b_028L.d.ts → carrier-B2eytEjR.d.ts} +10 -1
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/claims/index.d.ts +5 -5
- package/dist/cli/{add-Duf1-19E.js → add-7nCSDmpt.js} +11 -11
- package/dist/cli/{add-D2CH8t_B.js → add-B4tQpnXP.js} +2 -2
- package/dist/cli/add-CdDneXMN.js +1 -0
- package/dist/cli/{app-table-files-ha8X0rRE.js → app-table-files-CtO-zxpO.js} +2 -2
- package/dist/cli/{app-tables-BIyQcsHH.js → app-tables-B7UzcJ_g.js} +2 -2
- package/dist/cli/{backfill-CLgA6-ll.js → backfill-B2nFDXaS.js} +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-9AeouX4h.js → blocks-BX_6HUQT.js} +2 -2
- package/dist/cli/{blocks-BVB1fMMj.js → blocks-DU4iDrYS.js} +1 -1
- package/dist/cli/{cache-aMk9vF1_.js → cache-bS5bAoF-.js} +1 -1
- package/dist/cli/{codemod-B5wrcnF2.js → codemod-B1sSIE2p.js} +88 -62
- package/dist/cli/{command-DM_x_yzZ.js → command-67WobzTC.js} +7 -1
- package/dist/cli/{completion-DbYb3N8e.js → completion-C3nMZgUZ.js} +2 -2
- package/dist/cli/{completion-CusuUJNn.js → completion-DSrus7H1.js} +1 -1
- package/dist/cli/{completion-Cx2UYd-y.js → completion-Dm0S3ub0.js} +2 -2
- package/dist/cli/{config-BeuImpav.js → config-cbK-wiNs.js} +1 -1
- package/dist/cli/{content-mapper-CEtdbshU.js → content-mapper-CW6V6VRq.js} +2 -2
- package/dist/cli/{db-CeiQzhPq.js → db-bK5eCLaE.js} +1 -1
- package/dist/cli/{doctor-DaOUWfRN.js → doctor-Dw2pAf1b.js} +16 -16
- package/dist/cli/env-AFfMXxWw.js +1 -0
- package/dist/cli/{env-DVV10l_r.js → env-CCT-dMFm.js} +1 -1
- package/dist/cli/{gen-BO-2NF-G.js → gen-BtoSx3go.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-Xit9Hnbb.js → init-DZXbrKuJ.js} +9 -9
- package/dist/cli/{keys-DJTN2Avl.js → keys-Dj5sJNj7.js} +1 -1
- package/dist/cli/{live-CuMpyRjF.js → live-CDFfJcdR.js} +2 -2
- package/dist/cli/{mcp-C7d4j5cq.js → mcp-BukxvITV.js} +3 -3
- package/dist/cli/{metadata-D2YvkY2D.js → metadata-iZizGVuY.js} +3 -3
- package/dist/cli/{migrate-BCXxyTKt.js → migrate-DPnnGLzw.js} +2 -2
- package/dist/cli/{migration-safety-DfwTOBQ4.js → migration-safety-COcnZbMO.js} +1 -1
- package/dist/cli/{migrations-nomh4TBo.js → migrations-BBt9fmiV.js} +2 -2
- package/dist/cli/{module-migration--9T_T-zt.js → module-migration-tCmPLhQp.js} +2 -2
- package/dist/cli/{moved-CT6i1csY.js → moved-CY0yDtAr.js} +1 -1
- package/dist/cli/{parse-qgJylE_A.js → parse-yAC-NFMq.js} +1 -1
- package/dist/cli/{powersync-DB9WZsIv.js → powersync-BRmUJ-uR.js} +4 -4
- package/dist/cli/powersync-CYLPcJ9G.js +1 -0
- package/dist/cli/{print-S6IF5rZm.js → print-DdwQNG_e.js} +2 -2
- package/dist/cli/{providers-BDTcal71.js → providers-CaNg6Ayz.js} +1 -1
- package/dist/cli/{prune-workflows-Zr2DjByi.js → prune-workflows-BQQrI3tU.js} +2 -2
- package/dist/cli/{remove-CPX5Tg5s.js → remove-BEj9YEON.js} +6 -6
- package/dist/cli/{render-Bp7a7XQ9.js → render-UBqU9r44.js} +3 -3
- package/dist/cli/{run-BclCFEyP.js → run-3E_IuJzS.js} +9 -9
- package/dist/cli/{run-kgG50x_Z.js → run-BXlX9YdD.js} +44 -43
- package/dist/cli/{run-BlVaLnt_.js → run-DX4X7xqV.js} +2 -2
- package/dist/cli/seed-CLlvrV8I.js +1 -0
- package/dist/cli/{seed-Cn2R91cd.js → seed-DSC6f0oh.js} +1 -1
- package/dist/cli/{shared-D60W9NS-.js → shared-agrqD28l.js} +1 -1
- package/dist/cli/{skills-DH-yPDny.js → skills-B5p6bDwe.js} +1 -1
- package/dist/cli/{snapshot-C3_eQUgY.js → snapshot-DOXmozSq.js} +2 -2
- package/dist/cli/{source-Bk6XwIAK.js → source-BfJprU-6.js} +1 -1
- package/dist/cli/{spec-BDTpcBns.js → spec-CgtIHFsl.js} +1 -1
- package/dist/cli/{spec-C8ydQwZC.js → spec-DRpSQGOW.js} +3 -3
- package/dist/cli/{sql-layout-DVQ20UMi.js → sql-layout-Cs3FMWcY.js} +2 -2
- package/dist/cli/{stack-CmhSfY5V.js → stack-CQXLe5j0.js} +1 -1
- package/dist/cli/{sync-D-WO4Yvl.js → sync-C_YGIDjk.js} +4 -4
- package/dist/cli/{table-k5OABwy3.js → table-BIQA9Hdt.js} +1 -1
- package/dist/cli/{upgrade-DGe5Pv6v.js → upgrade-ByQeJRGU.js} +5 -5
- package/dist/cli/{upgrade-XdhMuHAu.js → upgrade-OG9vaBeX.js} +3 -3
- package/dist/cli/{version-DKfeme2I.js → version-CF6Yzah0.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{cloud-event-BEmAUdl1.d.ts → cloud-event-BjgxkfJJ.d.ts} +1 -1
- package/dist/{codecs-B9v5Y5HH.js → codecs-D_pOvjvD.js} +1 -0
- package/dist/{codecs-B1VO2BGL.d.ts → codecs-DaP45ETv.d.ts} +1 -1
- package/dist/{composite-B-oAH16L.d.ts → composite-DPN4SFud.d.ts} +6 -6
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +4 -4
- package/dist/{config-BrRlSxhx.js → config-1-UmQczM.js} +1 -1
- package/dist/{config-BKxjItQ-.js → config-AEB5iNEO.js} +4 -123
- package/dist/{connectors-CrLRW4Ol.d.ts → connectors-DDsdz-cn.d.ts} +1 -1
- package/dist/{context-yfOlyAqb.d.ts → context-CH5FYnVk.d.ts} +2 -2
- package/dist/contract/index.d.ts +8 -8
- package/dist/{controller-CAcLEndc.d.ts → controller-CJ6rLnpS.d.ts} +1 -1
- package/dist/{conversion-s1NtB6S-.d.ts → conversion-CLBBITW5.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +2 -2
- package/dist/credentials/index.d.ts +3 -3
- package/dist/{define-BvkaC3Oh.d.ts → define-C_He1bQO.d.ts} +1 -1
- package/dist/{define-block-Ds3aLZwz.d.ts → define-block-CDw9YGVh.d.ts} +4 -4
- package/dist/edge/index.d.ts +8 -8
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{ended-iq2wp8fc.d.ts → ended-BwpmNC5k.d.ts} +1 -1
- package/dist/{entitlements-Dhu-4vlH.d.ts → entitlements-6gODwBSz.d.ts} +2 -2
- package/dist/eve/index.d.ts +3 -3
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-DCw3c6pj.d.ts → events-DddDlibJ.d.ts} +8 -0
- package/dist/{executor-H8ZLkeHj.d.ts → executor-CxMHiDp_.d.ts} +2 -2
- package/dist/{executor-B-o7QMPp.d.ts → executor-uNDJBzT8.d.ts} +1 -1
- package/dist/expo/index.d.ts +3 -3
- package/dist/{field-errors-DXZk9Qjt.d.ts → field-errors-CdSjV9Zo.d.ts} +7 -7
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-Byr_j8G-.d.ts → framework-B6JAPr1i.d.ts} +7 -7
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +8 -8
- package/dist/{index-lMApFSAd.d.ts → index-B5awu2SP.d.ts} +3 -3
- package/dist/{index-CnzGRpeH.d.ts → index-BgRl484n.d.ts} +5 -5
- package/dist/{index-6H-8Ib1w.d.ts → index-CgKieWlO.d.ts} +3 -3
- package/dist/{index-kkZwp5M1.d.ts → index-CrOeAgSh.d.ts} +4 -4
- package/dist/{index-Ag-T51Jl.d.ts → index-CvLTqmdq.d.ts} +1 -1
- package/dist/{index-Dbd1E5Au.d.ts → index-DAS_5OfK.d.ts} +3 -3
- package/dist/{index-CY612vAg.d.ts → index-DjJUamhw.d.ts} +2 -2
- package/dist/{index-Dv6lfL5p.d.ts → index-DnEJVKQ2.d.ts} +11 -11
- package/dist/{index-BUluRi0b.d.ts → index-DzLLMmUB.d.ts} +5 -5
- package/dist/{index-C78VPlXW.d.ts → index-vkd2LTt2.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/{instances-xQ2lupVE.js → instances-Bycf_aus.js} +86 -7
- package/dist/{kit-DCuO1ZhB.d.ts → kit-lHFpu2_1.d.ts} +3 -3
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-D1h3Dmnk.d.ts → list-query-BkbLV-Yc.d.ts} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/sdk/index.d.ts +5 -5
- 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-SWpzGC_K.d.ts → operations-knMnfzgm.d.ts} +1 -1
- package/dist/{options-DqmTs2nv.js → options-CEwoGUk_.js} +2 -1
- package/dist/{options-yRwYr4up.js → options-CGQC7Wue.js} +4 -1
- package/dist/{options-RYbyaVhv.js → options-CS1DA8q9.js} +1 -0
- package/dist/{options-ScQ6Hnxo.js → options-zsLpIqBA.js} +2 -1
- package/dist/orpc/index.d.ts +7 -7
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-BFZS6Kvz.d.ts → outbox-DikdzUKf.d.ts} +2 -2
- package/dist/{permissions-2UlVQDzY.d.ts → permissions-Ed8WvLgQ.d.ts} +1 -1
- package/dist/{pool-yO-LzZAd.d.ts → pool-BJAjQcrJ.d.ts} +1 -1
- package/dist/{ports-prqYrReN.d.ts → ports-Bnwy2mlR.d.ts} +1 -1
- package/dist/postgres/index.d.ts +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-BvHNleCo.js → preset-DkeXFh7e.js} +2 -2
- package/dist/{project-CBvowdKY.js → project-By0R8ioI.js} +5 -5
- package/dist/{provider-bIAzxVMB.d.ts → provider-CVlXXbda.d.ts} +1 -1
- package/dist/{push-token-DtqJeg8w.d.ts → push-token-CJbEvwjI.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 +9 -9
- package/dist/react/session.d.ts +1 -1
- package/dist/react-router/index.d.ts +5 -5
- package/dist/realtime/index.d.ts +4 -4
- package/dist/{record-form-BQA-lawE.d.ts → record-form-C-gIxGXe.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{refusal-BX1EvmpJ.d.ts → refusal-CjUUBfhY.d.ts} +2 -2
- package/dist/{resolve-BIpQRhvF.d.ts → resolve-XlMQRUeG.d.ts} +1 -1
- package/dist/{resource-execute-A1NbR-sd.d.ts → resource-execute-B7-QaS6R.d.ts} +1 -1
- package/dist/{resource-types-CTcc37WL.d.ts → resource-types-CF3Uc6OW.d.ts} +2 -2
- package/dist/{resources-13ZFX1G6.d.ts → resources-DnHSmJIM.d.ts} +1 -1
- package/dist/{respond-CAxhkwAi.d.ts → respond-D7kUatjc.d.ts} +1 -1
- package/dist/server/index.d.ts +21 -21
- package/dist/{server-types-DEjva0MW.d.ts → server-types-DpI82uNq.d.ts} +8 -8
- package/dist/{session-CeYL3EPm.d.ts → session-JV1z0kxa.d.ts} +2 -2
- package/dist/{session-BA0YDmjt.d.ts → session-s-mUZ8RQ.d.ts} +5 -5
- package/dist/{session-status-Df6tuKY9.d.ts → session-status-CJjTuFtA.d.ts} +2 -2
- package/dist/{sign-in-4u4vLtXG.d.ts → sign-in-D5Bg7R47.d.ts} +1 -1
- package/dist/solid/index.d.ts +9 -9
- package/dist/solid-start/index.d.ts +5 -5
- package/dist/spec/index.d.ts +1 -1
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-BChN3Hxv.js → sql-B2cMvGnZ.js} +4207 -756
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +4 -4
- package/dist/{statuses-BTrQ5H4S.js → statuses-Qqpzda35.js} +12 -1
- package/dist/stock-detail-BMqvwq1q.js +12 -0
- package/dist/stock-detail-BRIt7CjU.d.ts +19 -0
- package/dist/{subject-readers-YL8H9G8X.d.ts → subject-readers-D1Km_Q42.d.ts} +1 -1
- package/dist/{support-BwtMgjVg.d.ts → support-Dj5V2WTs.d.ts} +4 -4
- package/dist/{support-view-GykHOIQ2.d.ts → support-view-DKZkZeM5.d.ts} +1 -1
- package/dist/svelte/index.d.ts +8 -8
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/{tags-CAfvzA1U.d.ts → tags-BihwKkTT.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +5 -5
- package/dist/{tenant-lBgoqg9T.d.ts → tenant-eZNRWTRJ.d.ts} +1 -1
- package/dist/testing/index.d.ts +17 -17
- package/dist/testing/index.js +2 -2
- package/dist/{timeline-CrO48Qa6.d.ts → timeline-c6I3uxya.d.ts} +3 -3
- package/dist/{topic-x-mrN_Ff.d.ts → topic-D7F2FBNp.d.ts} +3 -3
- package/dist/{types-auvHrNWC.d.ts → types-BXLiM6VM.d.ts} +1 -1
- package/dist/{types-C9XfFGmA.d.ts → types-DtiDatvu.d.ts} +2 -2
- package/dist/{types-CJqNGQKb.d.ts → types-bqvFoBhf.d.ts} +2 -2
- package/dist/{vault-DjbG4XQS.d.ts → vault-CbhvnoVC.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/{verify-HOiu3lRR.d.ts → verify-Cpc1upDA.d.ts} +1 -1
- package/dist/{view-DdDY88SC.d.ts → view-eHgOOyRS.d.ts} +1 -1
- package/dist/vue/index.d.ts +9 -9
- package/dist/{watch-topic-D6bcqOrJ.d.ts → watch-topic-BIEaSN0Y.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-CBS8L2Ku.js → workflow-sdk-6psRpDIo.js} +2 -50
- package/dist/{workflow-sdk-D3H10W5h.d.ts → workflow-sdk-CUt0E4v6.d.ts} +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +15 -0
- package/skills/better-supabase-auth/SKILL.md +1 -1
- package/dist/cli/add-De73Ghlh.js +0 -1
- package/dist/cli/env-BfWbheiC.js +0 -1
- package/dist/cli/powersync-IBM_v_eJ.js +0 -1
- package/dist/cli/seed-DGGjReq4.js +0 -1
- package/dist/resolved-names-b6P2--jK.js +0 -130
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, _t as WorkflowRunEventData } from "../../events-
|
|
2
|
+
import { Ct as Events, _t as WorkflowRunEventData } from "../../events-DddDlibJ.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-CDmOUuLZ.js";
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
4
|
+
import { c as BlockOf } from "../../define-block-CDw9YGVh.js";
|
|
5
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-BI4yKqFh.js";
|
|
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-
|
|
6
|
+
import { p as SubscriptionStatus } from "../../topic-D7F2FBNp.js";
|
|
7
|
+
import { n as TopicPort } from "../../watch-topic-BIEaSN0Y.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-CJ6rLnpS.js";
|
|
9
9
|
interface WorkflowRunsControllerOptions {
|
|
10
10
|
readonly client: {
|
|
11
11
|
readonly runs: Pick<Workflows["runs"], "list">;
|
|
@@ -10,6 +10,15 @@ type TrackingStatus = (typeof TRACKING_STATUSES)[number];
|
|
|
10
10
|
/** Where a shipment is: a draft, then the status of its latest tracking event. */
|
|
11
11
|
declare const SHIPMENT_STATUSES: readonly ["draft", "label_created", "in_transit", "out_for_delivery", "delivered", "exception", "returned", "cancelled"];
|
|
12
12
|
type ShipmentStatus = (typeof SHIPMENT_STATUSES)[number];
|
|
13
|
+
/** Where a line's stock goes: out to the recipient, or back from them. */
|
|
14
|
+
declare const LINE_DIRECTIONS: readonly ["outbound", "return"];
|
|
15
|
+
type LineDirection = (typeof LINE_DIRECTIONS)[number];
|
|
16
|
+
/**
|
|
17
|
+
* What happens to returned stock: `restock` puts it back in sellable stock,
|
|
18
|
+
* `hold` puts it in a hold bin for inspection and `scrap` writes it off.
|
|
19
|
+
*/
|
|
20
|
+
declare const RETURN_DISPOSITIONS: readonly ["restock", "hold", "scrap"];
|
|
21
|
+
type ReturnDisposition = (typeof RETURN_DISPOSITIONS)[number];
|
|
13
22
|
/** A sender or recipient address. */
|
|
14
23
|
interface ShipmentAddress {
|
|
15
24
|
readonly name?: string;
|
|
@@ -162,4 +171,4 @@ declare function trackingUpdatesOf(payload: unknown): Result<readonly CarrierTra
|
|
|
162
171
|
* forwarding service or tests can post tracking events.
|
|
163
172
|
*/
|
|
164
173
|
declare function flatRateCarrier(options: FlatRateCarrierOptions): ShippingProvider;
|
|
165
|
-
export {
|
|
174
|
+
export { ReturnDisposition as C, TrackingStatus as D, TRACKING_STATUSES as E, RETURN_DISPOSITIONS as S, ShipmentStatus as T, trackingUpdatesOf as _, FlatRateCarrierOptions as a, LabelFormat as b, ShipmentLabel as c, ShipmentRate as d, ShipmentRateRequest as f, shipmentCarrierOf as g, invalidShipmentRequest as h, CarrierTrackingUpdate as i, ShipmentLabelRequest as l, flatRateCarrier as m, CarrierCancelInput as n, FlatRateService as o, ShippingProvider as p, CarrierTrackingEvent as r, ShipmentAddress as s, CarrierCallOptions as t, ShipmentParcel as u, LABEL_FORMATS as v, SHIPMENT_STATUSES as w, LineDirection as x, LINE_DIRECTIONS as y };
|
package/dist/chat-sdk/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../result-DTOQRyGY.js";
|
|
3
|
-
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../provider-
|
|
3
|
+
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "../provider-CVlXXbda.js";
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-CDmOUuLZ.js";
|
|
5
5
|
import { o as StreamStore } from "../store-c7QxUHX-.js";
|
|
6
6
|
import { u as MessageFile } from "../messaging-Bfe4p9Pm.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-
|
|
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-CR8TVvqo.js";
|
|
8
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-D5uf0l4_.js";
|
|
9
9
|
import { a as Inbox } from "../inbox-yGfUVQr2.js";
|
|
10
10
|
import { Adapter, AdapterPostableMessage, Attachment, Author, ChatError, ChatInstance, Message, RawMessage, ScheduledMessage, StateAdapter, WebhookOptions } from "chat";
|
package/dist/claims/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as isSessionSnapshot, m as SessionSnapshot } from "../resolve-
|
|
1
|
+
import { g as isSessionSnapshot, m as SessionSnapshot } from "../resolve-XlMQRUeG.js";
|
|
2
2
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
|
|
3
3
|
import { G as permissionCapOf } from "../types-BdhE7I8Z.js";
|
|
4
|
-
import { i as decodeEntitlementClaim, o as ClaimsRecord, r as MembershipClaim, s as ClaimsSource, t as EntitlementClaimOptions } from "../entitlements-
|
|
5
|
-
import { t as tenantOf } from "../tenant-
|
|
6
|
-
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
7
|
-
import { a as isUserSession, i as isApiKeySession, n as AuthSession, r as UserSession, t as ApiKeySession } from "../view-
|
|
4
|
+
import { i as decodeEntitlementClaim, o as ClaimsRecord, r as MembershipClaim, s as ClaimsSource, t as EntitlementClaimOptions } from "../entitlements-6gODwBSz.js";
|
|
5
|
+
import { t as tenantOf } from "../tenant-eZNRWTRJ.js";
|
|
6
|
+
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Ed8WvLgQ.js";
|
|
7
|
+
import { a as isUserSession, i as isApiKeySession, n as AuthSession, r as UserSession, t as ApiKeySession } from "../view-eHgOOyRS.js";
|
|
8
8
|
export { AUTHZ_VERSION_CLAIM, type ApiKeySession, type AuthSession, type ClaimsRecord, type ClaimsSource, type EntitlementClaimOptions, FEATURES_CLAIM, MEMBERSHIPS_CLAIM, type MembershipClaim, PERMISSIONS_CLAIM, PERMISSIONS_TRUNCATED_CLAIM, PERMISSION_CAP_CLAIM, type PermissionsOfOptions, type SessionSnapshot, type UserSession, decodeEntitlementClaim, isApiKeySession, isSessionSnapshot, isTruncated, isUserSession, permissionCapOf, permissionsOf, tenantOf };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-CF6Yzah0.js";
|
|
4
4
|
import { a as parseNames, n as CliError } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
|
|
6
|
-
import { t as loadSnapshot } from "./snapshot-
|
|
6
|
+
import { t as loadSnapshot } from "./snapshot-DOXmozSq.js";
|
|
7
7
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
8
|
+
import { a as toCatalog } from "./source-BfJprU-6.js";
|
|
9
9
|
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-DrrkMihk.js";
|
|
10
10
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
11
|
-
import { n as adoptionContext } from "./app-tables-
|
|
12
|
-
import { n as dataMigration } from "./migrations-
|
|
13
|
-
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-
|
|
11
|
+
import { n as adoptionContext } from "./app-tables-B7UzcJ_g.js";
|
|
12
|
+
import { n as dataMigration } from "./migrations-BBt9fmiV.js";
|
|
13
|
+
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-COcnZbMO.js";
|
|
14
14
|
import { n as installCommand, t as detectProject } from "./detect-BcUDaO8I.js";
|
|
15
15
|
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-C6sQ1MqT.js";
|
|
16
|
-
import { t as syncModules } from "./sync-
|
|
17
|
-
import { t as addModules } from "./add-
|
|
18
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
19
|
-
import { t as blockNames } from "./blocks-
|
|
16
|
+
import { t as syncModules } from "./sync-C_YGIDjk.js";
|
|
17
|
+
import { t as addModules } from "./add-B4tQpnXP.js";
|
|
18
|
+
import { t as appTablePlan } from "./app-table-files-CtO-zxpO.js";
|
|
19
|
+
import { t as blockNames } from "./blocks-BX_6HUQT.js";
|
|
20
20
|
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-Bz5QQne2.js";
|
|
21
21
|
import { existsSync } from "node:fs";
|
|
22
22
|
import { dirname, join, posix, resolve } from "node:path";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { o as providerLabel } from "./authorization-DJkkOjjG.js";
|
|
3
3
|
import { r as applyPlan } from "./files-DQayErI8.js";
|
|
4
|
-
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-
|
|
4
|
+
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-CaNg6Ayz.js";
|
|
5
5
|
import { n as addBlocksToJson, s as keyText, t as addBlocksToConfig } from "./config-edit-C6sQ1MqT.js";
|
|
6
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
6
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-C_YGIDjk.js";
|
|
7
7
|
import { basename, dirname } from "node:path";
|
|
8
8
|
import { readFile } from "node:fs/promises";
|
|
9
9
|
import { SQL_MODULES, resolveBlocks } from "better-supabase/sql";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-7nCSDmpt.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { h as subjectTagArgs } from "./config-DrrkMihk.js";
|
|
3
3
|
import { d as readSupabaseToml, n as declarativeSchemasDir } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { r as literal } from "./live-
|
|
4
|
+
import { r as layoutFor } from "./providers-CaNg6Ayz.js";
|
|
5
|
+
import { r as literal } from "./live-CDFfJcdR.js";
|
|
6
6
|
import { join, resolve, sep } from "node:path";
|
|
7
7
|
import { FIELD_FORMATS } from "better-supabase/config";
|
|
8
8
|
import { APP_TABLES_MODULE, renderBlocks, setTableFeature } from "better-supabase/sql";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as accessProviderMode } from "./authorization-DJkkOjjG.js";
|
|
2
|
-
import { o as writtenByBlocks } from "./sql-layout-
|
|
3
|
-
import { s as qualified, t as catalogOf } from "./shared-
|
|
2
|
+
import { o as writtenByBlocks } from "./sql-layout-Cs3FMWcY.js";
|
|
3
|
+
import { s as qualified, t as catalogOf } from "./shared-agrqD28l.js";
|
|
4
4
|
import { declaredTables, resolveBlocks } from "better-supabase/sql";
|
|
5
5
|
// src/cli/doctor/app-tables.ts
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
4
4
|
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DrrkMihk.js";
|
|
5
5
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
6
|
+
import { n as ident } from "./live-CDFfJcdR.js";
|
|
7
7
|
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Bz5QQne2.js";
|
|
8
8
|
// src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
package/dist/cli/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-DdwQNG_e.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-BQnjDCSR.js";
|
|
6
6
|
import { BLOCK_CATEGORIES } from "better-supabase/blocks";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-BX_6HUQT.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-CF6Yzah0.js";
|
|
2
2
|
import { dirname, resolve } from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
3
3
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
4
|
-
import { t as migrateCliCall } from "./moved-
|
|
4
|
+
import { t as migrateCliCall } from "./moved-CY0yDtAr.js";
|
|
5
5
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
6
6
|
import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
7
|
-
import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-
|
|
7
|
+
import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-Cs3FMWcY.js";
|
|
8
8
|
import { a as configObject, c as mask, f as setPathInConfig, g as skipSpace, h as setPresetInJson, i as closingIndex, l as properties, m as setPresetInConfig, o as indentAt, p as setPathInJson, t as addBlocksToConfig, v as codeRanges } from "./config-edit-C6sQ1MqT.js";
|
|
9
9
|
import { i as legacyPrefixNames, n as LEGACY_PREFIXES, t as LEGACY_CLAIMS } from "./legacy-prefix-D8Jfku6I.js";
|
|
10
10
|
import { a as REVIEW_0_15, c as renameSubpaths, r as PLUGIN_IMPORT_RENAMES, s as SUBPATH_RENAMES_0_15, t as BLOCK_EXPORT_RENAMES } from "./codemod-block-renames-Dt3X1Wvg.js";
|
|
@@ -779,7 +779,7 @@ const CODEMOD_0_32 = {
|
|
|
779
779
|
configFile: organizationToTenant,
|
|
780
780
|
source: renameKeys$1
|
|
781
781
|
};
|
|
782
|
-
// src/cli/codemod-0-
|
|
782
|
+
// src/cli/codemod-0-37.ts
|
|
783
783
|
const POLICY = /(?<![\w$])(refresh|verifySession)(\s*:\s*)(["'])navigation\3/g;
|
|
784
784
|
const SESSION_PROMISE = /(?<![\w$.])sessionPromise(?=\s*=\s*\{)/g;
|
|
785
785
|
const SUPABASE_FOR = /(?<=\.\s*)supabaseFor(?=\s*\()/g;
|
|
@@ -828,65 +828,91 @@ function renamePolicies(text) {
|
|
|
828
828
|
review: []
|
|
829
829
|
};
|
|
830
830
|
}
|
|
831
|
-
const
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
{
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
{
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
831
|
+
const DESCRIPTION_0_36 = "Rewrites refresh: \"navigation\" to refresh: true, verifySession: \"navigation\" to verifySession: \"document\" and the SessionProvider sessionPromise prop to session, supabaseFor calls to contextClient, a string reason passed to transition() to { reason } and validateGraph(graph, steps) to validateGraph(graph, { steps }), and lists for review the lines that use onExpiredPrefetch, shouldRefresh, clearSessionCookies (now async), the removed cookie codec (writeSession, refreshSession, AUTH_CACHE_HEADERS, pruneSessionChunks, sessionEncoding, clearSessionAtScopes), sessionStale, life.min and life.max, contextFromSession with a token, a destructured supabaseFor, sessions: false, a transition() reason that is not a string literal, memory forget (now a soft delete) and maps keyed by WorkflowNodeKind";
|
|
832
|
+
const REVIEW_0_36 = [
|
|
833
|
+
{
|
|
834
|
+
pattern: /\bonExpiredPrefetch\b/,
|
|
835
|
+
message: "`onExpiredPrefetch` is gone: the proxy refreshes prefetches too, so remove the option"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
pattern: /\bshouldRefresh\b|\bshouldCheckSession\b.*better-supabase\/server/,
|
|
839
|
+
message: "`shouldRefresh` and the `better-supabase/server` `shouldCheckSession` are gone: every request may refresh, since parallel requests share one token refresh. Use `isDocumentLoad` or `isPrefetch` from `better-supabase/server` to tell requests apart (`better-supabase/next` keeps `shouldCheckSession`)"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
pattern: /\bclearSessionCookies\(/,
|
|
843
|
+
message: "`clearSessionCookies()` returns a promise now (it clears through `@supabase/ssr`): await it"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
pattern: /\b(?:writeSession|refreshSession|AUTH_CACHE_HEADERS|pruneSessionChunks|sessionEncoding|clearSessionAtScopes|DEFAULT_SESSION_ENCODING)\b/,
|
|
847
|
+
message: "The cookie codec exports are gone from `better-supabase/server` and `better-supabase/ssr`: let `resolveAuth` refresh and `clearSessionCookies` clear, or use `createServerClient` from `@supabase/ssr` directly"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
pattern: /\b(?:sessionStale|SessionStaleOptions)\b/,
|
|
851
|
+
message: "`sessionStale` is gone: `bsb.cached()` sets `stale` to 300 seconds, so call it in the scope instead of `cacheLife({ stale: sessionStale(session) })`, and pass `life: { capToToken: true }` to keep the old cap at the token's lifetime"
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
pattern: /\blife\s*:\s*\{[^}]*\b(?:min|max)\s*:/,
|
|
855
|
+
message: "`life.min` and `life.max` are gone: `life.stale` sets the stale time (default 300), and `capToToken: true` caps it at the token's lifetime"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
pattern: /\bcontextFromSession\([^)]*\{\s*token\b/,
|
|
859
|
+
message: "`contextFromSession(session, { token })` is gone: pass the `SessionSnapshot` from `bsb.getClaims()`, which builds the context without verifying again"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
pattern: /\bsessionStatusRoute\(/,
|
|
863
|
+
message: "`sessionStatusRoute` reads the verified claims only now (`verifySession` defaults to false): pass `verifySession: true` to keep asking Auth on every check"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
pattern: /(?<![\w$.])supabaseFor\b/,
|
|
867
|
+
message: "`supabaseFor` on the server is now `contextClient`: rename the destructured method and its calls"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
pattern: /\bsessions\s*:\s*false\b/,
|
|
871
|
+
message: "`sessions: false` now turns off the one verified-token memo, so every request verifies its token again (about 0.1 ms each): drop it unless you need that"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
pattern: /\.transition\s*\(\s*(?:\{[^(){}]*\}|[^(),{}]+),\s*[^(),{}]+,\s*(?![\s{"'`])[^)]/,
|
|
875
|
+
message: "`transition(subject, to, reason)` takes `{ reason, actor }` as its third argument now: pass `{ reason }`"
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
pattern: /\barchival\s*\.\s*forget\s*\(/,
|
|
879
|
+
message: "`memory.archival.forget` soft deletes now: `restore` brings the memory back, and `purge` (service role, on a schedule) removes it for good"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
pattern: /\bRecord<\s*WorkflowNodeKind\b/,
|
|
883
|
+
message: "`WorkflowNodeKind` takes the app's own kinds now (any string): key a map of every kind by `WorkflowBuiltinNodeKind`, with a fallback for custom kinds"
|
|
884
|
+
}
|
|
885
|
+
];
|
|
886
|
+
const REVIEW_0_37 = [
|
|
887
|
+
{
|
|
888
|
+
pattern: /\b(?:before|after)_stock_(?:adjust|reserve)\b[^;]*\binteger\b/i,
|
|
889
|
+
message: "Stock quantities are `numeric` now: declare the quantity argument of your `before_stock_adjust` and `before_stock_reserve` hooks as `numeric` instead of `integer`, or the block no longer calls them"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
pattern: /\bOrderStatus\b|["']pending_payment["']/,
|
|
893
|
+
message: "Orders gain the `confirmed` status: an order made with `orderFromLines` or `orderFromQuote` starts there instead of `pending_payment`, so handle it where you switch over the status"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
pattern: /\borderFromQuoteAction\(/,
|
|
897
|
+
message: "`orderFromQuoteAction` no longer needs `create`: without it the action calls `orders.fromQuote`, so drop a `create` that only placed the order"
|
|
898
|
+
}
|
|
899
|
+
];
|
|
900
|
+
const CODEMOD_0_37 = {
|
|
901
|
+
name: "0.37",
|
|
902
|
+
description: "Rewrites refresh: \"navigation\" to refresh: true, verifySession: \"navigation\" to verifySession: \"document\" and the SessionProvider sessionPromise prop to session, supabaseFor calls to contextClient, a string reason passed to transition() to { reason } and validateGraph(graph, steps) to validateGraph(graph, { steps }), and lists for review the lines that use onExpiredPrefetch, shouldRefresh, clearSessionCookies (now async), the removed cookie codec (writeSession, refreshSession, AUTH_CACHE_HEADERS, pruneSessionChunks, sessionEncoding, clearSessionAtScopes), sessionStale, life.min and life.max, contextFromSession with a token, a destructured supabaseFor, sessions: false, a transition() reason that is not a string literal, memory forget (now a soft delete), maps keyed by WorkflowNodeKind, the stock hooks that take an integer quantity, the order status switches that miss confirmed and orderFromQuoteAction",
|
|
903
|
+
review: [...REVIEW_0_36, ...REVIEW_0_37],
|
|
888
904
|
source: renamePolicies
|
|
889
905
|
};
|
|
906
|
+
/** `codemod 0.35` as 0.36.0 shipped it, and `codemod 0.37`. */
|
|
907
|
+
const CODEMODS_0_37 = {
|
|
908
|
+
"0.35": {
|
|
909
|
+
name: "0.35",
|
|
910
|
+
description: DESCRIPTION_0_36,
|
|
911
|
+
review: REVIEW_0_36,
|
|
912
|
+
source: renamePolicies
|
|
913
|
+
},
|
|
914
|
+
"0.37": CODEMOD_0_37
|
|
915
|
+
};
|
|
890
916
|
// src/cli/codemod-data-contract.ts
|
|
891
917
|
/** The query guards named after the retired verbs. */
|
|
892
918
|
const DATA_CONTRACT_OPTIONS = [{
|
|
@@ -2497,7 +2523,7 @@ const CODEMODS = {
|
|
|
2497
2523
|
},
|
|
2498
2524
|
"0.29": CODEMOD_0_29,
|
|
2499
2525
|
"0.32": CODEMOD_0_32,
|
|
2500
|
-
|
|
2526
|
+
...CODEMODS_0_37
|
|
2501
2527
|
};
|
|
2502
2528
|
const SUPABASE_IMPORT = /\bfrom\s*["'](?:better-supabase(?:\/[\w./-]*)?|[^"']*supabase[^"']*)["']/;
|
|
2503
2529
|
/**
|
|
@@ -863,7 +863,13 @@ const COMMANDS = [
|
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
name: "0.35",
|
|
866
|
-
description: "
|
|
866
|
+
description: "The 0.36 part of the 0.35 to 0.37 changes, as 0.36.0 shipped it: the proxy refreshes on every request, session cookies go through @supabase/ssr, and the cookie codec and prefetch predicates are gone. Prefer codemod 0.37",
|
|
867
|
+
docs: "/docs/cli/codemod",
|
|
868
|
+
effects: [FILES]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
name: "0.37",
|
|
872
|
+
description: "Changes from 0.35 to 0.37: the proxy refreshes on every request, session cookies go through @supabase/ssr, the cookie codec and prefetch predicates are gone, and stock quantities are numeric",
|
|
867
873
|
docs: "/docs/cli/codemod",
|
|
868
874
|
effects: [FILES]
|
|
869
875
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as completionValues, o as listArgs, t as GLOBAL_ARGS, u as COMPLETE_COMMAND } from "./command-
|
|
2
|
-
import { o as isVariadic, r as commandArgs } from "./parse-
|
|
1
|
+
import { n as completionValues, o as listArgs, t as GLOBAL_ARGS, u as COMPLETE_COMMAND } from "./command-67WobzTC.js";
|
|
2
|
+
import { o as isVariadic, r as commandArgs } from "./parse-yAC-NFMq.js";
|
|
3
3
|
// src/cli/core/completion.ts
|
|
4
4
|
const SHELLS = [
|
|
5
5
|
"bash",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as complete, r as completionLines } from "./completion-
|
|
1
|
+
export { n as complete, r as completionLines } from "./completion-C3nMZgUZ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
|
-
import { a as isShell, i as completionScript, t as SHELLS } from "./completion-
|
|
3
|
+
import { a as isShell, i as completionScript, t as SHELLS } from "./completion-C3nMZgUZ.js";
|
|
4
4
|
// src/cli/commands/completion.ts
|
|
5
5
|
const ARGS = { shell: {
|
|
6
6
|
type: "positional",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as redact, r as redactUrl } from "./redact--zOGdWzo.js";
|
|
3
3
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
4
4
|
import { n as presetInfo } from "./preset-BQnjDCSR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as readIfExists } from "./io-CQzy8PEZ.js";
|
|
2
|
-
import { t as CACHE_DIR } from "./cache-
|
|
3
|
-
import { x as installedVersion } from "./snapshot-
|
|
2
|
+
import { t as CACHE_DIR } from "./cache-bS5bAoF-.js";
|
|
3
|
+
import { x as installedVersion } from "./snapshot-DOXmozSq.js";
|
|
4
4
|
import { t as i } from "./jsonc-u_UiXFxs.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
4
4
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
3
|
-
import { t as VERSION$1 } from "./version-
|
|
3
|
+
import { t as VERSION$1 } from "./version-CF6Yzah0.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
6
6
|
import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
|
|
7
|
-
import { t as CACHE_DIR } from "./cache-
|
|
7
|
+
import { t as CACHE_DIR } from "./cache-bS5bAoF-.js";
|
|
8
8
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
9
|
-
import { C as satisfies, S as peerVersions, c as isSqliteLiteDriver, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, u as MetadataRejectedError, x as installedVersion } from "./snapshot-
|
|
10
|
-
import { d as configFor, r as renderFiles, u as notNullTag } from "./render-
|
|
9
|
+
import { C as satisfies, S as peerVersions, c as isSqliteLiteDriver, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, u as MetadataRejectedError, x as installedVersion } from "./snapshot-DOXmozSq.js";
|
|
10
|
+
import { d as configFor, r as renderFiles, u as notNullTag } from "./render-UBqU9r44.js";
|
|
11
11
|
import { o as providerLabel } from "./authorization-DJkkOjjG.js";
|
|
12
12
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
13
|
-
import { i as request } from "./source-
|
|
13
|
+
import { i as request } from "./source-BfJprU-6.js";
|
|
14
14
|
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DrrkMihk.js";
|
|
15
15
|
import { a as findRepoRoot, c as httpHooks, d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
16
16
|
import { t as PROCESS_ENV } from "./env-BCuUsWOh.js";
|
|
17
17
|
import { n as readStackStatus } from "./stack-status-Mxgqb3I4.js";
|
|
18
18
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
19
|
-
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-
|
|
19
|
+
import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-CW6V6VRq.js";
|
|
20
20
|
import { c as insideRoot, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
21
|
-
import { n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables } from "./sql-layout-
|
|
22
|
-
import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-
|
|
23
|
-
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
24
|
-
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-
|
|
25
|
-
import { a as compiledReadSets } from "./providers-
|
|
26
|
-
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration
|
|
27
|
-
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-
|
|
21
|
+
import { n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables } from "./sql-layout-Cs3FMWcY.js";
|
|
22
|
+
import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-agrqD28l.js";
|
|
23
|
+
import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-B7UzcJ_g.js";
|
|
24
|
+
import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-3E_IuJzS.js";
|
|
25
|
+
import { a as compiledReadSets } from "./providers-CaNg6Ayz.js";
|
|
26
|
+
import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-tCmPLhQp.js";
|
|
27
|
+
import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-COcnZbMO.js";
|
|
28
28
|
import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
|
|
29
|
-
import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-
|
|
29
|
+
import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-CDFfJcdR.js";
|
|
30
30
|
import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-Bz5QQne2.js";
|
|
31
31
|
import { i as PLUGIN_SUBPATH_RENAMES, n as BLOCK_SUBPATH_RENAMES, o as SPEC_SUBPATH_RENAMES, t as BLOCK_EXPORT_RENAMES } from "./codemod-block-renames-Dt3X1Wvg.js";
|
|
32
32
|
import { n as PLATFORM_SCHEMAS } from "./in-stack-diff-huI7fGMX.js";
|
|
33
33
|
import { a as staleVariables, i as stackEnvValues, r as redactValue, t as PREFIX_NAMES } from "./stack-env-BQhbUFa7.js";
|
|
34
34
|
import { a as readSharedMemory, n as listStacks, t as branchName } from "./stacks-C5YL6Un9.js";
|
|
35
|
-
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-
|
|
35
|
+
import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-iZizGVuY.js";
|
|
36
36
|
import { existsSync } from "node:fs";
|
|
37
37
|
import { dirname, join, relative, resolve } from "node:path";
|
|
38
38
|
import { createHash } from "node:crypto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as envCommand } from "./env-CCT-dMFm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
|
|
4
4
|
import { n as readStackStatus, t as parseStackStatus } from "./stack-status-Mxgqb3I4.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-
|
|
1
|
+
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
2
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
3
3
|
import { a as parseNames, i as failedResult, n as CliError } from "./errors-DcJ_PayO.js";
|
|
4
|
-
import { u as catalogFingerprint } from "./cache-
|
|
5
|
-
import { a as serializeSnapshot, g as serializeGenerator, h as restrictSchemas, o as snapshotFile, r as openSource, t as loadSnapshot } from "./snapshot-
|
|
4
|
+
import { u as catalogFingerprint } from "./cache-bS5bAoF-.js";
|
|
5
|
+
import { a as serializeSnapshot, g as serializeGenerator, h as restrictSchemas, o as snapshotFile, r as openSource, t as loadSnapshot } from "./snapshot-DOXmozSq.js";
|
|
6
6
|
import { d as GEN_TASKS, p as isGenTask } from "./config-DrrkMihk.js";
|
|
7
7
|
import { c as insideRoot, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
8
|
-
import { n as runGen } from "./run-
|
|
9
|
-
import { n as dataMigration } from "./migrations-
|
|
10
|
-
import { t as syncModules } from "./sync-
|
|
11
|
-
import { t as addModules } from "./add-
|
|
12
|
-
import { n as listModules, t as printModule } from "./print-
|
|
8
|
+
import { n as runGen } from "./run-3E_IuJzS.js";
|
|
9
|
+
import { n as dataMigration } from "./migrations-BBt9fmiV.js";
|
|
10
|
+
import { t as syncModules } from "./sync-C_YGIDjk.js";
|
|
11
|
+
import { t as addModules } from "./add-B4tQpnXP.js";
|
|
12
|
+
import { n as listModules, t as printModule } from "./print-DdwQNG_e.js";
|
|
13
13
|
import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-Bz5QQne2.js";
|
|
14
|
-
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-
|
|
15
|
-
import { a as runEnv } from "./env-
|
|
16
|
-
import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-
|
|
17
|
-
import { n as runPowerSync } from "./powersync-
|
|
18
|
-
import { t as runSeed } from "./seed-
|
|
19
|
-
import { t as upgrade } from "./upgrade-
|
|
14
|
+
import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-iZizGVuY.js";
|
|
15
|
+
import { a as runEnv } from "./env-CCT-dMFm.js";
|
|
16
|
+
import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-DRpSQGOW.js";
|
|
17
|
+
import { n as runPowerSync } from "./powersync-BRmUJ-uR.js";
|
|
18
|
+
import { t as runSeed } from "./seed-DSC6f0oh.js";
|
|
19
|
+
import { t as upgrade } from "./upgrade-ByQeJRGU.js";
|
|
20
20
|
import { existsSync } from "node:fs";
|
|
21
21
|
import { resolve } from "node:path";
|
|
22
22
|
// src/cli/commands/sql.ts
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -753,5 +753,5 @@ export declare function emitModule(model: Model, options: EmitOptions): string;
|
|
|
753
753
|
export declare function loadConfig(cwd: string, explicit?: string, environment?: string, path?: string | undefined, options?: {
|
|
754
754
|
readonly legacyTables?: boolean;
|
|
755
755
|
}): Promise<ResolvedConfig>;
|
|
756
|
-
export declare const VERSION = "0.
|
|
756
|
+
export declare const VERSION = "0.38.0";
|
|
757
757
|
export type { Catalog, CatalogCheck, CatalogColumn, CatalogColumnGrant, CatalogEnum, CatalogForeignKey, CatalogFunction, CatalogFunctionArg, CatalogGrant, CatalogIndex, CatalogPolicy, CatalogTable, CatalogTrigger, CatalogUnique, Choice, Cli, CliArgs, CliCommand, CliCommandDef, CliContext, CliEnv, CliErrorCode, CliErrorOptions, CliIo, CliLog, CliProblem, CliProblemExtensions, CommandResult, CreateCliOptions, ExitCode, ExtrasFunction, ExtrasHook, ExtrasHookFunction, ExtrasTable, ForeignKeyAction, Format, GeneratorMetadata, IntrospectionSource, ManagementSourceOptions, NextStep, Paint, Prompter, Queryable, RunOptions, RunResult, Snapshot, SnapshotBucket, SnapshotExtras };
|
package/dist/cli/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as list, r as defineCliCommand } from "./command-
|
|
2
|
-
import { i as run, n as createCli, r as help, t as commandNames } from "./run-
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { a as list, r as defineCliCommand } from "./command-67WobzTC.js";
|
|
2
|
+
import { i as run, n as createCli, r as help, t as commandNames } from "./run-BXlX9YdD.js";
|
|
3
|
+
import { t as VERSION } from "./version-CF6Yzah0.js";
|
|
4
4
|
import { n as CliError, t as CLI_ERRORS_URL } from "./errors-DcJ_PayO.js";
|
|
5
|
-
import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-
|
|
6
|
-
import { a as emitBlockConfig, l as buildModel, o as GENERATED_HEADER, r as renderFiles, s as emitModule } from "./render-
|
|
7
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
5
|
+
import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-DOXmozSq.js";
|
|
6
|
+
import { a as emitBlockConfig, l as buildModel, o as GENERATED_HEADER, r as renderFiles, s as emitModule } from "./render-UBqU9r44.js";
|
|
7
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BfJprU-6.js";
|
|
8
8
|
import { s as loadConfig } from "./config-DrrkMihk.js";
|
|
9
|
-
import { n as runGen } from "./run-
|
|
9
|
+
import { n as runGen } from "./run-3E_IuJzS.js";
|
|
10
10
|
// src/cli/introspect/from-catalog.ts
|
|
11
11
|
/**
|
|
12
12
|
* Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
|