better-supabase 0.36.0 → 0.37.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-BlhdqqHf.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-C7yjZttV.d.ts} +44 -18
- 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-BspFMDdW.d.ts} +4 -4
- package/dist/{block-env-BQrtLPyc.d.ts → block-env-CLco8YUl.d.ts} +4 -4
- package/dist/{block-tables-DPOgnT3y.d.ts → block-tables-DfomofFv.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 +22 -3
- package/dist/blocks/catalog/index.js +31 -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 +2 -2
- 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 +3 -3
- 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/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-8zKWiO0X.js +1 -0
- package/dist/cli/{add-D2CH8t_B.js → add-Buuy7BSU.js} +2 -2
- package/dist/cli/{add-Duf1-19E.js → add-DqfJVb1F.js} +11 -11
- package/dist/cli/{app-table-files-ha8X0rRE.js → app-table-files-Ku-4tPUu.js} +2 -2
- package/dist/cli/{app-tables-BIyQcsHH.js → app-tables-Dg0sh4dH.js} +2 -2
- package/dist/cli/{backfill-CLgA6-ll.js → backfill-Dspz6kVJ.js} +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BVB1fMMj.js → blocks-B8LAph-w.js} +1 -1
- package/dist/cli/{blocks-9AeouX4h.js → blocks-CqVBlc4L.js} +2 -2
- package/dist/cli/{cache-aMk9vF1_.js → cache-BbuuCIRU.js} +1 -1
- package/dist/cli/{codemod-B5wrcnF2.js → codemod-DIAy8uXt.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-NXfJ5VkP.js} +2 -2
- package/dist/cli/{db-CeiQzhPq.js → db-bK5eCLaE.js} +1 -1
- package/dist/cli/{doctor-DaOUWfRN.js → doctor-CUOyLE0c.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-s9canfdC.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-Zs0Ca5on.js} +9 -9
- package/dist/cli/{keys-DJTN2Avl.js → keys-Dj5sJNj7.js} +1 -1
- package/dist/cli/{live-CuMpyRjF.js → live-BaLsNove.js} +2 -2
- package/dist/cli/{mcp-C7d4j5cq.js → mcp-ST7bVpJD.js} +3 -3
- package/dist/cli/{metadata-D2YvkY2D.js → metadata-aOvlCOOg.js} +3 -3
- package/dist/cli/{migrate-BCXxyTKt.js → migrate-ClBx3Ggx.js} +2 -2
- package/dist/cli/{migration-safety-DfwTOBQ4.js → migration-safety-mjm1pghO.js} +1 -1
- package/dist/cli/{migrations-nomh4TBo.js → migrations-tzItvwxT.js} +2 -2
- package/dist/cli/{module-migration--9T_T-zt.js → module-migration-D0Rjdvdx.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-DryX_DMG.js} +4 -4
- package/dist/cli/powersync-vvu2-72V.js +1 -0
- package/dist/cli/{print-S6IF5rZm.js → print-fOUnKwA9.js} +2 -2
- package/dist/cli/{providers-BDTcal71.js → providers-BR1d_5jA.js} +1 -1
- package/dist/cli/{prune-workflows-Zr2DjByi.js → prune-workflows-CCjzNrxl.js} +2 -2
- package/dist/cli/{remove-CPX5Tg5s.js → remove-B_0OIusa.js} +6 -6
- package/dist/cli/{render-Bp7a7XQ9.js → render-BCJKDX3c.js} +3 -3
- package/dist/cli/{run-BclCFEyP.js → run-4VUQTR-R.js} +9 -9
- package/dist/cli/{run-kgG50x_Z.js → run-BctvQX_g.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-oY7PGamd.js} +1 -1
- package/dist/cli/{skills-DH-yPDny.js → skills-B5p6bDwe.js} +1 -1
- package/dist/cli/{snapshot-C3_eQUgY.js → snapshot-CWtER9-4.js} +2 -2
- package/dist/cli/{source-Bk6XwIAK.js → source-D4uav_v9.js} +1 -1
- package/dist/cli/{spec-BDTpcBns.js → spec-BPsyEzqH.js} +1 -1
- package/dist/cli/{spec-C8ydQwZC.js → spec-DTnBeaCD.js} +3 -3
- package/dist/cli/{sql-layout-DVQ20UMi.js → sql-layout-DbhEQqq0.js} +2 -2
- package/dist/cli/{stack-CmhSfY5V.js → stack-CQXLe5j0.js} +1 -1
- package/dist/cli/{sync-D-WO4Yvl.js → sync-CazH5FX4.js} +4 -4
- package/dist/cli/{table-k5OABwy3.js → table-BIQA9Hdt.js} +1 -1
- package/dist/cli/{upgrade-DGe5Pv6v.js → upgrade-Cyx6ESpc.js} +5 -5
- package/dist/cli/{upgrade-XdhMuHAu.js → upgrade-Dyb4-f0Q.js} +3 -3
- package/dist/cli/{version-DKfeme2I.js → version-D1ZKUFng.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-Dx3bEPlX.js} +1 -1
- package/dist/{config-BKxjItQ-.js → config-uSliwPS6.js} +3 -3
- package/dist/{connectors-CrLRW4Ol.d.ts → connectors-DDsdz-cn.d.ts} +1 -1
- package/dist/{context-yfOlyAqb.d.ts → context-D6OZQdcT.d.ts} +2 -2
- package/dist/contract/index.d.ts +8 -8
- package/dist/{controller-CAcLEndc.d.ts → controller-DhcSXkAC.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-Bi4y8w8e.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-CJ_i6HFg.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-Dv6lfL5p.d.ts → index-Bc5t2QRU.d.ts} +11 -11
- package/dist/{index-6H-8Ib1w.d.ts → index-Bm1ftdBA.d.ts} +3 -3
- package/dist/{index-lMApFSAd.d.ts → index-C71uHfVj.d.ts} +3 -3
- package/dist/{index-C78VPlXW.d.ts → index-CRwpDGxd.d.ts} +1 -1
- package/dist/{index-CnzGRpeH.d.ts → index-Cbwvf4yE.d.ts} +5 -5
- package/dist/{index-kkZwp5M1.d.ts → index-ChvuVimY.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-BUluRi0b.d.ts → index-DrDCN45q.d.ts} +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/{instances-xQ2lupVE.js → instances-DKULdpWB.js} +73 -6
- 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-BDjgCmT9.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/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-BGx22GP3.d.ts} +1 -1
- package/dist/{pool-yO-LzZAd.d.ts → pool-BJAjQcrJ.d.ts} +1 -1
- package/dist/{ports-prqYrReN.d.ts → ports-D63bA3p4.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-oc_liUHz.js} +2 -2
- package/dist/{project-CBvowdKY.js → project-Cs0kz5OP.js} +5 -5
- package/dist/{provider-bIAzxVMB.d.ts → provider-CVlXXbda.d.ts} +1 -1
- package/dist/{push-token-DtqJeg8w.d.ts → push-token-BsyX0KlT.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/{resolved-names-b6P2--jK.js → resolved-names-sd6RuTju.js} +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-CWYbu_6y.js} +3853 -714
- 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-DqnE50Ju.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-Dp7VGPd-.d.ts} +3 -3
- package/dist/{types-auvHrNWC.d.ts → types-BXLiM6VM.d.ts} +1 -1
- package/dist/{types-CJqNGQKb.d.ts → types-DLXTmZtm.d.ts} +2 -2
- package/dist/{types-C9XfFGmA.d.ts → types-DtiDatvu.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-CtJAkWT4.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-D3H10W5h.d.ts → workflow-sdk-CUt0E4v6.d.ts} +1 -1
- package/dist/{workflow-sdk-CBS8L2Ku.js → workflow-sdk-pB1jCLIL.js} +21 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +5 -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-
|
|
1
|
+
import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-D6OZQdcT.js";
|
|
2
2
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
3
|
declare const PRESET_CATALOG: PresetCatalog;
|
|
4
4
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, v as ApiKeyEventData } from "./events-
|
|
3
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
+
import { Ct as Events, v as ApiKeyEventData } from "./events-DddDlibJ.js";
|
|
3
|
+
import { r as AuthState } from "./resolve-XlMQRUeG.js";
|
|
4
4
|
import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
|
|
5
|
-
import { c as BlockOf } from "./define-block-
|
|
6
|
-
import { n as Controller, t as AuthPort } from "./controller-
|
|
7
|
-
import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-
|
|
5
|
+
import { c as BlockOf } from "./define-block-CDw9YGVh.js";
|
|
6
|
+
import { n as Controller, t as AuthPort } from "./controller-DhcSXkAC.js";
|
|
7
|
+
import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-BncNDlWG.js";
|
|
8
8
|
import { Entry } from "@supabase/middleware";
|
|
9
9
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
10
10
|
interface WithApiKeyOptions<F extends object = Record<never, never>> extends ApiKeyResolverOptions<F>, BlockProblemOptions {}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
3
3
|
import { l as PublicEnv } from "./index-F6lsRlsr.js";
|
|
4
|
-
import { T as SessionEncoding } from "./resolve-
|
|
5
|
-
import { t as BetterSupabase } from "./define-
|
|
6
|
-
import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-
|
|
7
|
-
import { i as BindClientOptions, r as BetterClient } from "./bind-
|
|
4
|
+
import { T as SessionEncoding } from "./resolve-XlMQRUeG.js";
|
|
5
|
+
import { t as BetterSupabase } from "./define-C_He1bQO.js";
|
|
6
|
+
import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-D63bA3p4.js";
|
|
7
|
+
import { i as BindClientOptions, r as BetterClient } from "./bind-BspFMDdW.js";
|
|
8
8
|
import { n as FunctionContract } from "./function-contract-DgDBYbXu.js";
|
|
9
9
|
import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
|
|
10
10
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "./refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "./refusal-CjUUBfhY.js";
|
|
2
2
|
import { t as Validated } from "./shared-DsBcvj6q.js";
|
|
3
3
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
4
4
|
import { IncomingMessage, ServerResponse } from "node:http";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { n as DbException } from "./escape-like-CK6L7gkj.js";
|
|
3
3
|
import { f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
4
4
|
import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, et as RecordRef, gt as Update, k as AnyModels, q as Insert } from "./types-BzIYSSWK.js";
|
|
5
|
-
import { o as EventHub } from "./events-
|
|
6
|
-
import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-
|
|
5
|
+
import { o as EventHub } from "./events-DddDlibJ.js";
|
|
6
|
+
import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-C_He1bQO.js";
|
|
7
7
|
import { n as DataEngine, r as DataEngineOptions } from "./data-engine-CX1oYDZl.js";
|
|
8
|
-
import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-
|
|
8
|
+
import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-CDw9YGVh.js";
|
|
9
9
|
import { t as BetterQueryMeta } from "./invalidate-DAB9CaPm.js";
|
|
10
10
|
import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as MutationIntent, st as SchemaMeta } from "./types-BzIYSSWK.js";
|
|
2
|
-
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-
|
|
3
|
-
import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-
|
|
2
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-DddDlibJ.js";
|
|
3
|
+
import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-BjgxkfJJ.js";
|
|
4
4
|
/**
|
|
5
5
|
* Listens to the block events that match `pattern` (`'support.started'` or
|
|
6
6
|
* `'support.*'`), typed by `events`: a block's events, `defineBlocks(...)` or
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "./types-BzIYSSWK.js";
|
|
2
|
-
import { t as OperationTable } from "./operations-
|
|
3
|
-
import { t as BetterSupabase } from "./define-
|
|
4
|
-
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-
|
|
5
|
-
import { r as GuardOptions } from "./respond-
|
|
2
|
+
import { t as OperationTable } from "./operations-BDjgCmT9.js";
|
|
3
|
+
import { t as BetterSupabase } from "./define-C_He1bQO.js";
|
|
4
|
+
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-DpI82uNq.js";
|
|
5
|
+
import { r as GuardOptions } from "./respond-D7kUatjc.js";
|
|
6
6
|
import { D as ResourceOperation } from "./model-Lxa_mOzB.js";
|
|
7
|
-
import { l as ResourceRouteOptions } from "./resource-types-
|
|
7
|
+
import { l as ResourceRouteOptions } from "./resource-types-CF3Uc6OW.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
/**
|
|
10
10
|
* The JSON Schema dialect of tool schemas, which depends on the protocol
|
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { n as DbException, t as escapeLike } from "./escape-like-CK6L7gkj.js";
|
|
|
3
3
|
import { A as isConflict, C as DbErrorMatchers, D as ValidationIssue, E as RawDbError, F as statusOf, M as isForeignKey, N as mapDbError, O as dbError, P as matchDbError, S as DbErrorKinds, T as ErrorMapper, _ as ok, a as BetterResultOk, b as DbError, c as DbErrorClasses, d as Ok, f as Result, g as fromBetterResult, h as err, i as BetterResultErrors, j as isDbError, k as isCheck, l as Err, m as defineBetterResultErrors, n as BetterResultApi, o as BetterResultValue, r as BetterResultErr, s as DbErrorClass, t as AsyncResult, u as MappedDbError, v as toBetterResult, w as DbErrorOf, x as DbErrorKind, y as toDbError } from "./result-DTOQRyGY.js";
|
|
4
4
|
import { n as validate, t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
|
|
5
5
|
import { $ as RealtimeTableMeta, A as BootstrapMeta, At as MutationEvent, B as ForeignKeyConstraint, Bt as ExecuteResult, C as not, Ct as AnyPlugin, D as AccessTopicPolicy, Dt as ExtensionsOf, E as AccessPolicySql, Et as ExtensionOf, F as ClaimsMeta, Ft as RepositoryExtension, G as FunctionsOf, H as FunctionResult, Ht as RpcContext, I as Codec, It as RequestContext, J as ModelFlags, K as GeneratedColumns, L as ColumnMeta, Lt as WithExtension, M as BucketPolicyName, Mt as PLUGIN_API_VERSION, N as Casing, Nt as Plugin, O as AnyFunctions, Ot as HasFlag, P as CheckConstraint, Pt as RepositoryApi, Q as PrimaryKeyValue, R as DatabaseOf, Rt as definePlugin, S as column, St as Actor, T as AccessBucketPolicy, Tt as CallOptions, U as FunctionSignature, V as FunctionMeta, Vt as Executor, W as FunctionTypes, X as ModelsOf, Y as ModelTypes, Z as PrimaryKeyColumn, _ as SelectColumn, _t as WritableColumns, a as CountMode, at as Row, b as UpdateOp, c as Include, ct as Simplify, d as MutationIntent, dt as TableKey, et as RecordRef, f as MutationKind, ft as TableMeta, g as Quantifier, gt as Update, h as OrderTerm, ht as UniqueWhere, i as Condition, it as ResultColumn, j as BucketMeta, jt as NoExtension, k as AnyModels, kt as HookArgs, l as InsertOp, lt as SubjectTypeOf, m as Operation, mt as UniqueKeyName, n as Aggregation, nt as RelationTypes, o as DeleteOp, ot as Schema, p as MutationOp, pt as UniqueConstraint, q as Insert, r as ColumnOp, rt as Relations, s as FunctionSource, st as SchemaMeta, t as AggregateFn, tt as RelationMeta, u as Measure, ut as TableFlags, v as SelectOp, w as or, wt as ApplyExtension, x as and, y as Selection, z as Flags, zt as ExecuteContext } from "./types-BzIYSSWK.js";
|
|
6
|
-
import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-
|
|
6
|
+
import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-DddDlibJ.js";
|
|
7
7
|
import { i as silentLogger, n as Logger, r as consoleLogger, t as LogFields } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, t as BlockProblemOptions, u as problemResponse } from "./problem-NGBjN-TO.js";
|
|
9
|
-
import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-
|
|
9
|
+
import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-C_He1bQO.js";
|
|
10
10
|
import { Q as StoragePath } from "./bucket-CrsJNHzi.js";
|
|
11
11
|
import { a as PostgrestPlan, n as PlanLimit, o as compilePostgrest, r as PlanOrder, t as PlanFilter } from "./postgrest-Bjain6nf.js";
|
|
12
12
|
import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec, r as tableSchema, t as StandardJSONSchemaV1 } from "./table-schema-CwXg7oBz.js";
|
|
@@ -1294,6 +1294,7 @@ const PRESET_CATALOG = {
|
|
|
1294
1294
|
"outbox",
|
|
1295
1295
|
"audit",
|
|
1296
1296
|
"approvals",
|
|
1297
|
+
"workflow-editor",
|
|
1297
1298
|
"bulk"
|
|
1298
1299
|
],
|
|
1299
1300
|
"manifest": "state-machine",
|
|
@@ -2252,7 +2253,8 @@ const PRESET_CATALOG = {
|
|
|
2252
2253
|
"promotions",
|
|
2253
2254
|
"numbering",
|
|
2254
2255
|
"state-machine",
|
|
2255
|
-
"invoices"
|
|
2256
|
+
"invoices",
|
|
2257
|
+
"quotes"
|
|
2256
2258
|
],
|
|
2257
2259
|
"manifest": "orders",
|
|
2258
2260
|
"scopes": ["tenant"],
|
|
@@ -2312,6 +2314,8 @@ const PRESET_CATALOG = {
|
|
|
2312
2314
|
"completedAt": "completed_at",
|
|
2313
2315
|
"cancelledAt": "cancelled_at",
|
|
2314
2316
|
"cancelReason": "cancel_reason",
|
|
2317
|
+
"originType": "origin_type",
|
|
2318
|
+
"originId": "origin_id",
|
|
2315
2319
|
"updatedAt": "updated_at"
|
|
2316
2320
|
}
|
|
2317
2321
|
},
|
|
@@ -2607,7 +2611,8 @@ const PRESET_CATALOG = {
|
|
|
2607
2611
|
"outbox",
|
|
2608
2612
|
"audit",
|
|
2609
2613
|
"workflow-editor",
|
|
2610
|
-
"jsonb-schemas"
|
|
2614
|
+
"jsonb-schemas",
|
|
2615
|
+
"reminders"
|
|
2611
2616
|
],
|
|
2612
2617
|
"manifest": "templates",
|
|
2613
2618
|
"scopes": ["tenant"],
|
|
@@ -2624,6 +2629,7 @@ const PRESET_CATALOG = {
|
|
|
2624
2629
|
"id": "id",
|
|
2625
2630
|
"tenant": "tenant_id",
|
|
2626
2631
|
"scope": "scope",
|
|
2632
|
+
"brand": "brand",
|
|
2627
2633
|
"key": "key",
|
|
2628
2634
|
"type": "type",
|
|
2629
2635
|
"name": "name",
|
|
@@ -3774,6 +3780,7 @@ const PRESET_CATALOG = {
|
|
|
3774
3780
|
"carryoverMax": "carryover_max",
|
|
3775
3781
|
"color": "color",
|
|
3776
3782
|
"autoApprove": "auto_approve",
|
|
3783
|
+
"confidential": "confidential",
|
|
3777
3784
|
"archivedAt": "archived_at",
|
|
3778
3785
|
"createdAt": "created_at",
|
|
3779
3786
|
"updatedAt": "updated_at"
|
|
@@ -4756,7 +4763,8 @@ const PRESET_CATALOG = {
|
|
|
4756
4763
|
"integrates": [
|
|
4757
4764
|
"outbox",
|
|
4758
4765
|
"audit",
|
|
4759
|
-
"assets"
|
|
4766
|
+
"assets",
|
|
4767
|
+
"inventory"
|
|
4760
4768
|
],
|
|
4761
4769
|
"manifest": "shipments",
|
|
4762
4770
|
"scopes": ["tenant"],
|
|
@@ -4782,6 +4790,10 @@ const PRESET_CATALOG = {
|
|
|
4782
4790
|
"shipment_tracking_event": {
|
|
4783
4791
|
"table": "trackingEvents",
|
|
4784
4792
|
"singular": "shipment_tracking_event"
|
|
4793
|
+
},
|
|
4794
|
+
"shipment_line": {
|
|
4795
|
+
"table": "lines",
|
|
4796
|
+
"singular": "shipment_line"
|
|
4785
4797
|
}
|
|
4786
4798
|
},
|
|
4787
4799
|
"tables": {
|
|
@@ -4842,6 +4854,25 @@ const PRESET_CATALOG = {
|
|
|
4842
4854
|
"source": "source",
|
|
4843
4855
|
"createdAt": "created_at"
|
|
4844
4856
|
}
|
|
4857
|
+
},
|
|
4858
|
+
"lines": {
|
|
4859
|
+
"name": "shipment_lines",
|
|
4860
|
+
"columns": {
|
|
4861
|
+
"id": "id",
|
|
4862
|
+
"tenant": "tenant_id",
|
|
4863
|
+
"shipment": "shipment_id",
|
|
4864
|
+
"position": "position",
|
|
4865
|
+
"direction": "direction",
|
|
4866
|
+
"variant": "variant_id",
|
|
4867
|
+
"location": "location_id",
|
|
4868
|
+
"quantity": "quantity",
|
|
4869
|
+
"allocation": "allocation_id",
|
|
4870
|
+
"detail": "detail",
|
|
4871
|
+
"disposition": "disposition",
|
|
4872
|
+
"movement": "movement_id",
|
|
4873
|
+
"movedAt": "moved_at",
|
|
4874
|
+
"createdAt": "created_at"
|
|
4875
|
+
}
|
|
4845
4876
|
}
|
|
4846
4877
|
},
|
|
4847
4878
|
"keys": {
|
|
@@ -5472,7 +5503,9 @@ const PRESET_CATALOG = {
|
|
|
5472
5503
|
"notifications",
|
|
5473
5504
|
"subjects",
|
|
5474
5505
|
"audit",
|
|
5475
|
-
"workflows"
|
|
5506
|
+
"workflows",
|
|
5507
|
+
"state-machine",
|
|
5508
|
+
"messaging"
|
|
5476
5509
|
],
|
|
5477
5510
|
"manifest": "timeline",
|
|
5478
5511
|
"scopes": [
|
|
@@ -9500,11 +9533,15 @@ const PRESET_CATALOG = {
|
|
|
9500
9533
|
{ "name": "ShipmentLabelChoice" },
|
|
9501
9534
|
{ "name": "ShipmentLabeledEventData" },
|
|
9502
9535
|
{ "name": "ShipmentLabelRequest" },
|
|
9536
|
+
{ "name": "ShipmentLine" },
|
|
9537
|
+
{ "name": "ShipmentLineInput" },
|
|
9503
9538
|
{ "name": "ShipmentListOptions" },
|
|
9504
9539
|
{ "name": "ShipmentPackage" },
|
|
9505
9540
|
{ "name": "ShipmentParcel" },
|
|
9506
9541
|
{ "name": "ShipmentRate" },
|
|
9507
9542
|
{ "name": "ShipmentRateRequest" },
|
|
9543
|
+
{ "name": "ShipmentReturnInput" },
|
|
9544
|
+
{ "name": "ShipmentReturnReceivedEventData" },
|
|
9508
9545
|
{
|
|
9509
9546
|
"name": "Shipments",
|
|
9510
9547
|
"fields": true
|
|
@@ -9668,7 +9705,8 @@ const PRESET_CATALOG = {
|
|
|
9668
9705
|
"shipment.created",
|
|
9669
9706
|
"shipment.labeled",
|
|
9670
9707
|
"shipment.status_changed",
|
|
9671
|
-
"shipment.cancelled"
|
|
9708
|
+
"shipment.cancelled",
|
|
9709
|
+
"shipment.return_received"
|
|
9672
9710
|
]
|
|
9673
9711
|
},
|
|
9674
9712
|
"providers": [{
|
|
@@ -12304,6 +12342,9 @@ const PRESET_CATALOG = {
|
|
|
12304
12342
|
"reservation.created",
|
|
12305
12343
|
"reservation.committed",
|
|
12306
12344
|
"reservation.released",
|
|
12345
|
+
"allocation.created",
|
|
12346
|
+
"allocation.filled",
|
|
12347
|
+
"allocation.released",
|
|
12307
12348
|
"transfer.shipped",
|
|
12308
12349
|
"transfer.received",
|
|
12309
12350
|
"transfer.cancelled",
|
|
@@ -13302,9 +13343,21 @@ const PRESET_CATALOG = {
|
|
|
13302
13343
|
},
|
|
13303
13344
|
{ "name": "OrderBoardCard" },
|
|
13304
13345
|
{ "name": "OrderBoardQuery" },
|
|
13346
|
+
{ "name": "OrderDocumentInput" },
|
|
13347
|
+
{
|
|
13348
|
+
"name": "OrderDocuments",
|
|
13349
|
+
"fields": true
|
|
13350
|
+
},
|
|
13351
|
+
{
|
|
13352
|
+
"name": "OrderFromDocument",
|
|
13353
|
+
"fields": true
|
|
13354
|
+
},
|
|
13355
|
+
{ "name": "OrderFromLinesInput" },
|
|
13356
|
+
{ "name": "OrderFromQuoteClients" },
|
|
13305
13357
|
{ "name": "OrderFromQuoteOptions" },
|
|
13306
13358
|
{ "name": "OrderKitchen" },
|
|
13307
13359
|
{ "name": "OrderLine" },
|
|
13360
|
+
{ "name": "OrderLineInput" },
|
|
13308
13361
|
{ "name": "OrderMetrics" },
|
|
13309
13362
|
{ "name": "OrderMetricsOptions" },
|
|
13310
13363
|
{ "name": "OrderPayment" },
|
|
@@ -14550,12 +14603,20 @@ const PRESET_CATALOG = {
|
|
|
14550
14603
|
"name": "TemplateInput",
|
|
14551
14604
|
"fields": true
|
|
14552
14605
|
},
|
|
14606
|
+
{ "name": "TemplateJobs" },
|
|
14607
|
+
{ "name": "TemplateOccurrence" },
|
|
14608
|
+
{ "name": "TemplateRecurPayload" },
|
|
14609
|
+
{ "name": "TemplateRecurring" },
|
|
14553
14610
|
{ "name": "TemplateRunStart" },
|
|
14554
14611
|
{
|
|
14555
14612
|
"name": "Templates",
|
|
14556
14613
|
"fields": true
|
|
14557
14614
|
},
|
|
14558
14615
|
{ "name": "TemplatesApplyOutput" },
|
|
14616
|
+
{ "name": "TemplateSchedule" },
|
|
14617
|
+
{ "name": "TemplateScheduleInput" },
|
|
14618
|
+
{ "name": "TemplateScheduleOptions" },
|
|
14619
|
+
{ "name": "TemplateScheduleResult" },
|
|
14559
14620
|
{ "name": "TemplateScope" },
|
|
14560
14621
|
{ "name": "TemplatesEvents" },
|
|
14561
14622
|
{ "name": "TemplatesOptions" },
|
|
@@ -14569,7 +14630,13 @@ const PRESET_CATALOG = {
|
|
|
14569
14630
|
"events": {
|
|
14570
14631
|
"type": "TemplatesEvents",
|
|
14571
14632
|
"types": ["template.published", "template.applied"]
|
|
14572
|
-
}
|
|
14633
|
+
},
|
|
14634
|
+
"schedules": [{
|
|
14635
|
+
"name": "recurring",
|
|
14636
|
+
"cron": "*/5 * * * *",
|
|
14637
|
+
"runs": "recurring.schedule()",
|
|
14638
|
+
"description": "Enqueues a templates.recur job for each recurring template occurrence due in the next day."
|
|
14639
|
+
}]
|
|
14573
14640
|
},
|
|
14574
14641
|
{
|
|
14575
14642
|
"name": "memberships",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as DbError } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { Zt as AuthorizationResource } from "./types-BzIYSSWK.js";
|
|
3
|
-
import { r as AuthState } from "./resolve-
|
|
4
|
-
import { n as AuthSession } from "./view-
|
|
5
|
-
import { r as GuardOptions } from "./respond-
|
|
3
|
+
import { r as AuthState } from "./resolve-XlMQRUeG.js";
|
|
4
|
+
import { n as AuthSession } from "./view-eHgOOyRS.js";
|
|
5
|
+
import { r as GuardOptions } from "./respond-D7kUatjc.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
/**
|
|
8
8
|
* What a server action returns: plain data, safe across any serialization
|
package/dist/list/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { _ as FilterRule, a as FilterDateValue, b as encodeFilterQuery, c as FilterFieldLabels, d as FilterLimits, f as FilterNode, g as FilterRelativeDate, h as FilterQuery, i as FilterCombinator, l as FilterFieldType, m as FilterOperatorSpec, n as FILTER_OPERATOR_LABELS, o as FilterField, p as FilterOperatorArity, r as FilterClock, s as FilterFieldInfo, t as FILTER_OPERATORS, u as FilterGroupNode, v as ListFilterConfig, y as decodeFilterQuery } from "../filter-query-Xj40B5KT.js";
|
|
2
|
-
import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-
|
|
2
|
+
import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-BkbLV-Yc.js";
|
|
3
3
|
import { n as FilterRecordField, r as evaluateFilterQuery, t as FilterEvaluation } from "../filter-evaluate-Bkbb0nuQ.js";
|
|
4
4
|
export { FILTER_OPERATORS, FILTER_OPERATOR_LABELS, type FacetCountFields, type FacetCounts, type FacetInfo, type FilterClock, type FilterCombinator, type FilterDateValue, type FilterEvaluation, type FilterField, type FilterFieldInfo, type FilterFieldLabels, type FilterFieldType, type FilterGroupNode, type FilterLimits, type FilterNode, type FilterOperatorArity, type FilterOperatorSpec, type FilterQuery, type FilterRecordField, type FilterRelativeDate, type FilterRule, type ListDefinition, type ListExtra, type ListFilterConfig, type ListPage, type ListPagination, type ListParseOptions, type ListParseResult, type ListParsers, type ListQuery, type ListQueryConfig, type ListQueryInput, type ListSearchParams, type OpenApiParameter, type ParserSpec, UNSET, decodeFilterQuery, defineListQuery, encodeFilterQuery, evaluateFilterQuery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as ValidationIssue, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { O as AnyFunctions, a as CountMode, at as Row, dt as TableKey, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
3
|
-
import { A as OffsetPageArgs, C as FindExt, Gt as SelectArg, Vt as Payload, Yt as WhereInput, _ as CursorPage, jt as IncludeArg, k as OffsetPage, t as BetterSupabase, v as CursorPageArgs, z as RepositoryOf, zt as OrderByArg } from "./define-
|
|
3
|
+
import { A as OffsetPageArgs, C as FindExt, Gt as SelectArg, Vt as Payload, Yt as WhereInput, _ as CursorPage, jt as IncludeArg, k as OffsetPage, t as BetterSupabase, v as CursorPageArgs, z as RepositoryOf, zt as OrderByArg } from "./define-C_He1bQO.js";
|
|
4
4
|
import { c as FilterFieldLabels, h as FilterQuery, o as FilterField, r as FilterClock, s as FilterFieldInfo, v as ListFilterConfig } from "./filter-query-Xj40B5KT.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
/** Facet value meaning "not set": filters with `is null`. */
|
package/dist/mapper/bin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as VERSION } from "../cli/version-
|
|
2
|
-
import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-
|
|
3
|
-
import { t as loadSnapshot } from "../cli/snapshot-
|
|
4
|
-
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-
|
|
1
|
+
import { t as VERSION } from "../cli/version-D1ZKUFng.js";
|
|
2
|
+
import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-BbuuCIRU.js";
|
|
3
|
+
import { t as loadSnapshot } from "../cli/snapshot-CWtER9-4.js";
|
|
4
|
+
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-BCJKDX3c.js";
|
|
5
5
|
import { i as discoverConfig, s as loadConfig } from "../cli/config-DrrkMihk.js";
|
|
6
6
|
import { i as parseEnv, n as configEnvironment } from "../cli/env-BCuUsWOh.js";
|
|
7
|
-
import { s as schemaStampPath } from "../cli/content-mapper-
|
|
7
|
+
import { s as schemaStampPath } from "../cli/content-mapper-NXfJ5VkP.js";
|
|
8
8
|
import { existsSync, realpathSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, join, resolve } from "node:path";
|
|
10
10
|
import { createHash } from "node:crypto";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as GuardOptions } from "../respond-
|
|
2
|
-
import { l as ResourceRouteOptions } from "../resource-types-
|
|
3
|
-
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-
|
|
1
|
+
import { r as GuardOptions } from "../respond-D7kUatjc.js";
|
|
2
|
+
import { l as ResourceRouteOptions } from "../resource-types-CF3Uc6OW.js";
|
|
3
|
+
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-DrDCN45q.js";
|
|
4
4
|
export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
|
package/dist/mcp/sdk/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "../../types-BzIYSSWK.js";
|
|
2
|
-
import { r as AuthState } from "../../resolve-
|
|
3
|
-
import { i as CredentialRef, r as CredentialProvider } from "../../provider-
|
|
2
|
+
import { r as AuthState } from "../../resolve-XlMQRUeG.js";
|
|
3
|
+
import { i as CredentialRef, r as CredentialProvider } from "../../provider-CVlXXbda.js";
|
|
4
4
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
|
|
5
|
-
import { t as BetterSupabase } from "../../define-
|
|
6
|
-
import { l as ServerOptions, o as ServerContext$1, r as BetterServer } from "../../server-types-
|
|
7
|
-
import { r as GuardOptions, t as AllowedCaller } from "../../respond-
|
|
5
|
+
import { t as BetterSupabase } from "../../define-C_He1bQO.js";
|
|
6
|
+
import { l as ServerOptions, o as ServerContext$1, r as BetterServer } from "../../server-types-DpI82uNq.js";
|
|
7
|
+
import { r as GuardOptions, t as AllowedCaller } from "../../respond-D7kUatjc.js";
|
|
8
8
|
import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
|
|
9
9
|
interface McpAuthOptions extends ServerOptions, Omit<GuardOptions, "scopes"> {
|
|
10
10
|
/**
|
package/dist/nestjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "../refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "../refusal-CjUUBfhY.js";
|
|
2
2
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
3
|
-
import { l as ToNodeOptions } from "../index-
|
|
3
|
+
import { l as ToNodeOptions } from "../index-CvLTqmdq.js";
|
|
4
4
|
import { AnyEntry } from "@supabase/middleware";
|
|
5
5
|
import { IncomingMessage, ServerResponse } from "node:http";
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-
|
|
1
|
+
import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-CJjTuFtA.js";
|
|
2
2
|
/**
|
|
3
3
|
* Why the session changed: Auth ended it or banned the user, the user signed
|
|
4
4
|
* out, or the claims or support target behind the session changed.
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "../result-DTOQRyGY.js";
|
|
2
2
|
import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "../types-BzIYSSWK.js";
|
|
3
|
-
import { C as CookieScope, _ as issuedAtOf, g as isSessionSnapshot, h as authzVersionOf, m as SessionSnapshot, r as AuthState, v as sessionCacheKey } from "../resolve-
|
|
4
|
-
import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-
|
|
3
|
+
import { C as CookieScope, _ as issuedAtOf, g as isSessionSnapshot, h as authzVersionOf, m as SessionSnapshot, r as AuthState, v as sessionCacheKey } from "../resolve-XlMQRUeG.js";
|
|
4
|
+
import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-C_He1bQO.js";
|
|
5
5
|
import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
|
|
6
6
|
import { n as AmrEntry, t as Aal } from "../mfa-CM5r904M.js";
|
|
7
|
-
import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-
|
|
8
|
-
import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "../index-
|
|
9
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
10
|
-
import { t as tenantOf } from "../tenant-
|
|
11
|
-
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
12
|
-
import { n as AuthSession, o as toSession } from "../view-
|
|
13
|
-
import { i as ContextOptions, l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-
|
|
14
|
-
import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-
|
|
15
|
-
import { t as AuthOutageHook } from "../session-
|
|
16
|
-
import { n as AuthKind, r as GuardOptions } from "../respond-
|
|
17
|
-
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-
|
|
18
|
-
import { c as ListParseOptions, m as ListSearchParams } from "../list-query-
|
|
19
|
-
import { r as LiveCountSeed, t as CountRunner } from "../index-
|
|
20
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-
|
|
7
|
+
import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-CDw9YGVh.js";
|
|
8
|
+
import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "../index-DAS_5OfK.js";
|
|
9
|
+
import { r as MembershipClaim } from "../entitlements-Bi4y8w8e.js";
|
|
10
|
+
import { t as tenantOf } from "../tenant-DqnE50Ju.js";
|
|
11
|
+
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-BGx22GP3.js";
|
|
12
|
+
import { n as AuthSession, o as toSession } from "../view-eHgOOyRS.js";
|
|
13
|
+
import { i as ContextOptions, l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DpI82uNq.js";
|
|
14
|
+
import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-Dj5V2WTs.js";
|
|
15
|
+
import { t as AuthOutageHook } from "../session-s-mUZ8RQ.js";
|
|
16
|
+
import { n as AuthKind, r as GuardOptions } from "../respond-D7kUatjc.js";
|
|
17
|
+
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-lHFpu2_1.js";
|
|
18
|
+
import { c as ListParseOptions, m as ListSearchParams } from "../list-query-BkbLV-Yc.js";
|
|
19
|
+
import { r as LiveCountSeed, t as CountRunner } from "../index-C71uHfVj.js";
|
|
20
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CF3Uc6OW.js";
|
|
21
21
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
22
|
-
import { t as ResourceMap } from "../resources-
|
|
23
|
-
import { t as defineAction } from "../resource-execute-
|
|
24
|
-
import { c as safeRedirectPath, i as OtpParams, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-
|
|
22
|
+
import { t as ResourceMap } from "../resources-DnHSmJIM.js";
|
|
23
|
+
import { t as defineAction } from "../resource-execute-B7-QaS6R.js";
|
|
24
|
+
import { c as safeRedirectPath, i as OtpParams, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-D5Bg7R47.js";
|
|
25
25
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
|
|
26
|
-
import { i as tagFor, t as TagOptions } from "../tags-
|
|
27
|
-
import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-
|
|
28
|
-
import { n as supportOf, t as SupportView } from "../support-view-
|
|
26
|
+
import { i as tagFor, t as TagOptions } from "../tags-BihwKkTT.js";
|
|
27
|
+
import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-c6I3uxya.js";
|
|
28
|
+
import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
|
|
29
29
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
30
30
|
import { UserClaims } from "@supabase/server";
|
|
31
31
|
import { NextRequest } from "next/server.js";
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "../refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "../refusal-CjUUBfhY.js";
|
|
2
2
|
import { i as toWebHeaders, r as applyWebHeaders, t as NodeHeaderTarget } from "../node-headers-TnS4T7V_.js";
|
|
3
|
-
import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-
|
|
3
|
+
import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-CvLTqmdq.js";
|
|
4
4
|
export { ExpressErrorHandler, ExpressMiddleware, ExpressResponse, FastifyHook, FastifyReplyLike, FastifyRequestLike, KoaContextLike, KoaMiddleware, type NodeHeaderTarget, type RouteGuardOptions, ToNodeOptions, type WebRequestOptions, applyWebHeaders, fastifyGuard, guard, koaGuard, problemErrorHandler, sendWebResponse, toExpress, toFastify, toKoa, toNodeHandler, toWebHeaders, toWebRequest };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as AuthorizationOperation } from "./authorization-
|
|
1
|
+
import { r as AuthorizationOperation } from "./authorization-C7yjZttV.js";
|
|
2
2
|
/** Operations by name, as `authorization.operations` or a module's own defaults. */
|
|
3
3
|
type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
|
|
4
4
|
export { OperationTable as t };
|
|
@@ -7,6 +7,7 @@ const catalogSqlOptions = blockOptions({
|
|
|
7
7
|
categoryExtraColumns: option.extraColumns(),
|
|
8
8
|
locales: option.strings({ default: ["en"] }),
|
|
9
9
|
rankType: option.string({ default: "text" }),
|
|
10
|
-
variantInUse: option.string()
|
|
10
|
+
variantInUse: option.string(),
|
|
11
|
+
maxVariants: option.number({ default: 100 })
|
|
11
12
|
});
|
|
12
13
|
export { catalogSqlOptions as t };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
2
2
|
// src/blocks/templates/options.ts
|
|
3
|
-
const templatesSqlOptions = blockOptions({
|
|
3
|
+
const templatesSqlOptions = blockOptions({
|
|
4
|
+
brand: option.unknown(),
|
|
5
|
+
extraColumns: option.extraColumns()
|
|
6
|
+
});
|
|
4
7
|
export { templatesSqlOptions as t };
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "../result-DTOQRyGY.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../types-BzIYSSWK.js";
|
|
3
|
-
import { r as AuthState } from "../resolve-
|
|
3
|
+
import { r as AuthState } from "../resolve-XlMQRUeG.js";
|
|
4
4
|
import { i as ProblemDetails } from "../problem-NGBjN-TO.js";
|
|
5
|
-
import { t as BetterSupabase } from "../define-
|
|
6
|
-
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "../server-types-
|
|
7
|
-
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-
|
|
8
|
-
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-
|
|
9
|
-
import { a as ResourceHandler } from "../resource-types-
|
|
5
|
+
import { t as BetterSupabase } from "../define-C_He1bQO.js";
|
|
6
|
+
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "../server-types-DpI82uNq.js";
|
|
7
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-D7kUatjc.js";
|
|
8
|
+
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-lHFpu2_1.js";
|
|
9
|
+
import { a as ResourceHandler } from "../resource-types-CF3Uc6OW.js";
|
|
10
10
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
11
11
|
import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-C89Yzwd9.js";
|
|
12
|
-
import { t as Api } from "../api-
|
|
12
|
+
import { t as Api } from "../api-CbY2qdzT.js";
|
|
13
13
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
14
14
|
import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
|
|
15
15
|
/** The route `router()` gives one operation of the API model. */
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Nt as Plugin } from "../types-BzIYSSWK.js";
|
|
2
|
-
import { o as EventHub } from "../events-
|
|
2
|
+
import { o as EventHub } from "../events-DddDlibJ.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-CuQ2anBw.js";
|
|
4
4
|
import { Attributes, Meter, Tracer } from "@opentelemetry/api";
|
|
5
5
|
export declare const INSTRUMENTATION_NAME = "better-supabase";
|
package/dist/otel/index.js
CHANGED
|
@@ -39,9 +39,9 @@ function systemOf(executor) {
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function otel(options = {}) {
|
|
42
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
42
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.37.0");
|
|
43
43
|
let histogram;
|
|
44
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
44
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.37.0")).createHistogram("db.client.operation.duration", {
|
|
45
45
|
unit: "s",
|
|
46
46
|
description: "Duration of database client operations.",
|
|
47
47
|
advice: { explicitBucketBoundaries: [
|
|
@@ -218,7 +218,7 @@ function otel(options = {}) {
|
|
|
218
218
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
219
219
|
*/
|
|
220
220
|
function traceAuth(betterSupabase, options = {}) {
|
|
221
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
221
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.37.0");
|
|
222
222
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
223
223
|
const span = tracer.startSpan("auth.resolve", {
|
|
224
224
|
kind: SpanKind.INTERNAL,
|
|
@@ -256,7 +256,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
256
256
|
* an error status. Returns a function that stops listening.
|
|
257
257
|
*/
|
|
258
258
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
259
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
259
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.37.0");
|
|
260
260
|
return betterSupabase.events.on("block", (event) => {
|
|
261
261
|
const attributes = {
|
|
262
262
|
...options.attributes,
|
|
@@ -4,8 +4,8 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
4
4
|
import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-BNtM1tqy.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
|
|
6
6
|
import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
|
|
7
|
-
import { i as EventSink, t as CloudEvent } from "./cloud-event-
|
|
8
|
-
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-
|
|
7
|
+
import { i as EventSink, t as CloudEvent } from "./cloud-event-BjgxkfJJ.js";
|
|
8
|
+
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-CR8TVvqo.js";
|
|
9
9
|
/** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
|
|
10
10
|
interface OutboxEvent {
|
|
11
11
|
/** The cursor value: increases with every event. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Vt as Executor } from "./types-BzIYSSWK.js";
|
|
2
|
-
import { o as EventHub } from "./events-
|
|
2
|
+
import { o as EventHub } from "./events-DddDlibJ.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { n as SqlClient } from "./executor-DoSNec_H.js";
|
|
5
5
|
/** The part of a `pg` pool client `createPostgres` uses. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { n as TopicPort } from "./watch-topic-
|
|
2
|
+
import { n as TopicPort } from "./watch-topic-CtJAkWT4.js";
|
|
3
3
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
4
4
|
/**
|
|
5
5
|
* A string store: `localStorage` on the web (`webStorage()`), AsyncStorage,
|