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
package/dist/sqlite/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Vt as Executor } from "../types-BzIYSSWK.js";
|
|
2
2
|
import { c as LocalTablesOption, n as DataEngine, s as LiveEngineOptions } from "../data-engine-CX1oYDZl.js";
|
|
3
|
-
import { i as fromSqliteError, n as SqliteDatabaseLike, o as CheckSqliteOptions, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike } from "../executor-
|
|
3
|
+
import { i as fromSqliteError, n as SqliteDatabaseLike, o as CheckSqliteOptions, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike } from "../executor-CxMHiDp_.js";
|
|
4
4
|
/** A SQLite database that may report which tables changed. */
|
|
5
5
|
interface ChangingSqliteDatabase extends SqliteDatabaseLike {
|
|
6
6
|
onChange?(handler: {
|
package/dist/ssr/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as serializeCookie, C as CookieScope, D as applyCookieWrites, E as StoredSession, O as parseCookies, S as CookieRecord, T as SessionEncoding, a as ResolveAuthOptions, j as sessionCookieName, k as readSession, n as AuthResolver, r as AuthState, t as AuthResolution, u as resolveAuth, w as CookieWrite, x as CookieOptions } from "../resolve-
|
|
2
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
3
|
-
import { n as AuthSession, o as toSession } from "../view-
|
|
4
|
-
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-
|
|
1
|
+
import { A as serializeCookie, C as CookieScope, D as applyCookieWrites, E as StoredSession, O as parseCookies, S as CookieRecord, T as SessionEncoding, a as ResolveAuthOptions, j as sessionCookieName, k as readSession, n as AuthResolver, r as AuthState, t as AuthResolution, u as resolveAuth, w as CookieWrite, x as CookieOptions } from "../resolve-XlMQRUeG.js";
|
|
2
|
+
import { r as MembershipClaim } from "../entitlements-Bi4y8w8e.js";
|
|
3
|
+
import { n as AuthSession, o as toSession } from "../view-eHgOOyRS.js";
|
|
4
|
+
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-BwpmNC5k.js";
|
|
5
5
|
export { type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type ClearSessionCookiesOptions, type CookieOptions, type CookieRecord, type CookieScope, type CookieWrite, type MembershipClaim, type ResolveAuthOptions, type SessionEncoding, type SessionStatus, type SessionStatusOptions, type StoredSession, applyCookieWrites, authContext, clearSessionCookies, parseCookies, readSession, resolveAuth, serializeCookie, sessionCookieName, sessionStatus, toSession };
|
|
@@ -24,4 +24,15 @@ const SHIPMENT_STATUSES = [
|
|
|
24
24
|
"returned",
|
|
25
25
|
"cancelled"
|
|
26
26
|
];
|
|
27
|
-
|
|
27
|
+
/** Where a line's stock goes: out to the recipient, or back from them. */
|
|
28
|
+
const LINE_DIRECTIONS = ["outbound", "return"];
|
|
29
|
+
/**
|
|
30
|
+
* What happens to returned stock: `restock` puts it back in sellable stock,
|
|
31
|
+
* `hold` puts it in a hold bin for inspection and `scrap` writes it off.
|
|
32
|
+
*/
|
|
33
|
+
const RETURN_DISPOSITIONS = [
|
|
34
|
+
"restock",
|
|
35
|
+
"hold",
|
|
36
|
+
"scrap"
|
|
37
|
+
];
|
|
38
|
+
export { TRACKING_STATUSES as a, SHIPMENT_STATUSES as i, LINE_DIRECTIONS as n, RETURN_DISPOSITIONS as r, LABEL_FORMATS as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/commerce/stock-detail.ts
|
|
2
|
+
/** `detail` as the SQL functions take it. */
|
|
3
|
+
function detailArg(detail) {
|
|
4
|
+
if (detail === void 0) return null;
|
|
5
|
+
return {
|
|
6
|
+
...detail.binId === void 0 ? {} : { binId: detail.binId },
|
|
7
|
+
...detail.lotId === void 0 ? {} : { lotId: detail.lotId },
|
|
8
|
+
...detail.lot === void 0 ? {} : { lot: { ...detail.lot } },
|
|
9
|
+
...detail.serials === void 0 ? {} : { serials: [...detail.serials] }
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export { detailArg as t };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a movement's stock sits: a bin, a lot (by id, or by code with an expiry
|
|
3
|
+
* date to create it) and the serial numbers it moves.
|
|
4
|
+
*/
|
|
5
|
+
interface StockDetail {
|
|
6
|
+
readonly binId?: string;
|
|
7
|
+
readonly lotId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* A lot by code, created when it doesn't exist yet; `expiresOn` is
|
|
10
|
+
* `YYYY-MM-DD`.
|
|
11
|
+
*/
|
|
12
|
+
readonly lot?: {
|
|
13
|
+
readonly code: string;
|
|
14
|
+
readonly expiresOn?: string;
|
|
15
|
+
};
|
|
16
|
+
/** One per unit, for a variant tracked by serial. */
|
|
17
|
+
readonly serials?: readonly string[];
|
|
18
|
+
}
|
|
19
|
+
export { StockDetail as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
2
|
-
import { g as SubscriberPolicy } from "./authorization-hooks-
|
|
2
|
+
import { g as SubscriberPolicy } from "./authorization-hooks-CR8TVvqo.js";
|
|
3
3
|
interface SubjectReadersOptions {
|
|
4
4
|
/** The schema of the `subjects` module. Default `better_supabase`. */
|
|
5
5
|
readonly schema?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
3
|
-
import { o as EventHub } from "./events-
|
|
4
|
-
import { r as AuthState } from "./resolve-
|
|
3
|
+
import { o as EventHub } from "./events-DddDlibJ.js";
|
|
4
|
+
import { r as AuthState } from "./resolve-XlMQRUeG.js";
|
|
5
5
|
import { a as ProblemFormat } from "./problem-NGBjN-TO.js";
|
|
6
|
-
import { _ as SupportAuthorize, i as AuthorizationHooks } from "./authorization-hooks-
|
|
7
|
-
import { t as BetterPostgres } from "./pool-
|
|
6
|
+
import { _ as SupportAuthorize, i as AuthorizationHooks } from "./authorization-hooks-CR8TVvqo.js";
|
|
7
|
+
import { t as BetterPostgres } from "./pool-BJAjQcrJ.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
type SupportEndedBy = "admin" | "expired" | "revoked";
|
|
10
10
|
/** A support session: a platform admin viewing the app as `targetUserId`. */
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { b as DbError } from "../result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-
|
|
3
|
-
import { mt as QuerySpec } from "../define-
|
|
2
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-DddDlibJ.js";
|
|
3
|
+
import { mt as QuerySpec } from "../define-C_He1bQO.js";
|
|
4
4
|
import { tt as TemplateValues } from "../bucket-CrsJNHzi.js";
|
|
5
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
-
import { t as AuthSnapshot } from "../bind-
|
|
7
|
-
import { n as AuthSession } from "../view-
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
9
|
-
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
5
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-Dp7VGPd-.js";
|
|
6
|
+
import { t as AuthSnapshot } from "../bind-BspFMDdW.js";
|
|
7
|
+
import { n as AuthSession } from "../view-eHgOOyRS.js";
|
|
8
|
+
import { n as Controller } from "../controller-DhcSXkAC.js";
|
|
9
|
+
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-CJ_i6HFg.js";
|
|
10
|
+
import { n as BlockOptions } from "../block-env-CLco8YUl.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, k as AnyModels, rn as PermissionRef } from "../types-BzIYSSWK.js";
|
|
2
|
-
import { t as BetterSupabase } from "../define-
|
|
3
|
-
import { r as BetterServer } from "../server-types-
|
|
4
|
-
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
5
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
6
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
2
|
+
import { t as BetterSupabase } from "../define-C_He1bQO.js";
|
|
3
|
+
import { r as BetterServer } from "../server-types-DpI82uNq.js";
|
|
4
|
+
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-lHFpu2_1.js";
|
|
5
|
+
import { t as RefusalRedirects } from "../refusal-CjUUBfhY.js";
|
|
6
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-B6JAPr1i.js";
|
|
7
7
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
8
|
-
import { i as tagFor } from "../tags-
|
|
8
|
+
import { i as tagFor } from "../tags-BihwKkTT.js";
|
|
9
9
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
/** The part of SvelteKit's `RequestEvent` the bridge reads and writes. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as CacheTarget, Qt as CacheAdapter } from "./define-
|
|
1
|
+
import { $t as CacheTarget, Qt as CacheAdapter } from "./define-C_He1bQO.js";
|
|
2
2
|
interface TagOptions {
|
|
3
3
|
/** The tenant the read is scoped to; `"*"` is every tenant's reads. */
|
|
4
4
|
readonly tenant?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { O as AnyFunctions, dt as TableKey, k as AnyModels } from "../types-BzIYSSWK.js";
|
|
2
|
-
import { t as BetterSupabase, y as Db } from "../define-
|
|
2
|
+
import { t as BetterSupabase, y as Db } from "../define-C_He1bQO.js";
|
|
3
3
|
import { n as DataEngine } from "../data-engine-CX1oYDZl.js";
|
|
4
4
|
import { t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
|
|
5
5
|
import { QueryClient, SkipToken } from "@tanstack/query-core";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, k as AnyModels, rn as PermissionRef } from "../types-BzIYSSWK.js";
|
|
2
|
-
import { t as BetterSupabase } from "../define-
|
|
3
|
-
import { r as BetterServer } from "../server-types-
|
|
4
|
-
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
5
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
6
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
2
|
+
import { t as BetterSupabase } from "../define-C_He1bQO.js";
|
|
3
|
+
import { r as BetterServer } from "../server-types-DpI82uNq.js";
|
|
4
|
+
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-lHFpu2_1.js";
|
|
5
|
+
import { t as RefusalRedirects } from "../refusal-CjUUBfhY.js";
|
|
6
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-B6JAPr1i.js";
|
|
7
7
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as ClaimsSource } from "./entitlements-
|
|
1
|
+
import { s as ClaimsSource } from "./entitlements-Bi4y8w8e.js";
|
|
2
2
|
/**
|
|
3
3
|
* The active tenant of a user session: the `claim` claim (`tenant_id` by
|
|
4
4
|
* default, as `config.claims.tenant`) at the top level of the token, then in
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { Ct as AnyPlugin, It as RequestContext, O as AnyFunctions, St as Actor, Vt as Executor, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, at as Row, dt as TableKey, en as Authorizer, et as RecordRef, gt as Update, k as AnyModels, q as Insert, st as SchemaMeta } from "../types-BzIYSSWK.js";
|
|
3
|
-
import { o as EventHub } from "../events-
|
|
3
|
+
import { o as EventHub } from "../events-DddDlibJ.js";
|
|
4
4
|
import { c as InlineJwks, t as BetterSupabaseEnv } from "../index-F6lsRlsr.js";
|
|
5
|
-
import { m as SessionSnapshot, n as AuthResolver } from "../resolve-
|
|
6
|
-
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-
|
|
5
|
+
import { m as SessionSnapshot, n as AuthResolver } from "../resolve-XlMQRUeG.js";
|
|
6
|
+
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-CVlXXbda.js";
|
|
7
7
|
import { n as SqlClient } from "../executor-DoSNec_H.js";
|
|
8
8
|
import { a as BlockTransportMiddleware } from "../block-hooks-CtMsgLQr.js";
|
|
9
9
|
import { a as SessionActor, o as SessionDelegation } from "../actor-DseNR02I.js";
|
|
10
10
|
import { L as QueueProvider } from "../types-BdhE7I8Z.js";
|
|
11
11
|
import { n as Embedder } from "../knowledge-DWXAxvkN.js";
|
|
12
|
-
import { a as AuthorizationProvider } from "../authorization-
|
|
12
|
+
import { a as AuthorizationProvider } from "../authorization-C7yjZttV.js";
|
|
13
13
|
import { o as StreamStore } from "../store-c7QxUHX-.js";
|
|
14
|
-
import { Qt as CacheAdapter, Y as DbStats, t as BetterSupabase, y as Db } from "../define-
|
|
14
|
+
import { Qt as CacheAdapter, Y as DbStats, t as BetterSupabase, y as Db } from "../define-C_He1bQO.js";
|
|
15
15
|
import { Q as StoragePath } from "../bucket-CrsJNHzi.js";
|
|
16
16
|
import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
|
|
17
|
-
import { tn as AnyRecordBinding } from "../define-block-
|
|
17
|
+
import { tn as AnyRecordBinding } from "../define-block-CDw9YGVh.js";
|
|
18
18
|
import { n as Money } from "../money-BgpAd7d3.js";
|
|
19
|
-
import { i as EventSink, t as CloudEvent } from "../cloud-event-
|
|
20
|
-
import { i as AuthorizationHooks } from "../authorization-hooks-
|
|
21
|
-
import { s as SqlClaims, t as BetterPostgres } from "../pool-
|
|
22
|
-
import { l as ServerOptions, o as ServerContext } from "../server-types-
|
|
23
|
-
import { C as SupportSessionStore } from "../support-
|
|
24
|
-
import { r as GuardOptions } from "../respond-
|
|
19
|
+
import { i as EventSink, t as CloudEvent } from "../cloud-event-BjgxkfJJ.js";
|
|
20
|
+
import { i as AuthorizationHooks } from "../authorization-hooks-CR8TVvqo.js";
|
|
21
|
+
import { s as SqlClaims, t as BetterPostgres } from "../pool-BJAjQcrJ.js";
|
|
22
|
+
import { l as ServerOptions, o as ServerContext } from "../server-types-DpI82uNq.js";
|
|
23
|
+
import { C as SupportSessionStore } from "../support-Dj5V2WTs.js";
|
|
24
|
+
import { r as GuardOptions } from "../respond-D7kUatjc.js";
|
|
25
25
|
import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-Bw5LoocX.js";
|
|
26
|
-
import { n as Controller } from "../controller-
|
|
27
|
-
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-
|
|
28
|
-
import { Qt as GeneratorModel, Vt as Generator, Yt as GeneratorInput, cn as ResolvedConfig } from "../context-
|
|
26
|
+
import { n as Controller } from "../controller-DhcSXkAC.js";
|
|
27
|
+
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-ChJkI2jo.js";
|
|
28
|
+
import { Qt as GeneratorModel, Vt as Generator, Yt as GeneratorInput, cn as ResolvedConfig } from "../context-D6OZQdcT.js";
|
|
29
29
|
import { r as WebhookInput } from "../signatures-jPr9JXyw.js";
|
|
30
30
|
import { n as Payment, o as PaymentProvider } from "../payments-BBGSGRQ7.js";
|
|
31
31
|
import { y as FlagValue } from "../flags-Cuew4tGx.js";
|
|
32
32
|
import { t as NotificationChannel } from "../channel-B_kufDZy.js";
|
|
33
33
|
import { a as DeliveryTransport } from "../delivery-CWcbh87x.js";
|
|
34
34
|
import { l as TaxProvider, r as TaxAddress } from "../tax-BD9dN1rx.js";
|
|
35
|
-
import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-
|
|
36
|
-
import { G as WorkflowGraph, c as GraphCompiler, i as BuilderStarter, r as BuilderStartCall } from "../types-
|
|
35
|
+
import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-B2eytEjR.js";
|
|
36
|
+
import { G as WorkflowGraph, c as GraphCompiler, i as BuilderStarter, r as BuilderStartCall } from "../types-DtiDatvu.js";
|
|
37
37
|
import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-Dw9DBZjJ.js";
|
|
38
38
|
import { t as ApiModel } from "../model-Lxa_mOzB.js";
|
|
39
39
|
import { l as VersionOf, t as AnyDocumentFormat } from "../format-BT0Z3V54.js";
|
package/dist/testing/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { a as ok } from "../result-8xza7w5W.js";
|
|
|
7
7
|
import { t as BetterSupabase } from "../define-Duh2mMYk.js";
|
|
8
8
|
import { i as fromBase64, o as toBase64Url, t as base64ToText } from "../base64-CEBz6-Jj.js";
|
|
9
9
|
import "../claim-names-BKig1LOk.js";
|
|
10
|
-
import { c as resolveConfig } from "../config-
|
|
10
|
+
import { c as resolveConfig } from "../config-uSliwPS6.js";
|
|
11
11
|
import { a as isScopeName, c as templateFunctions, l as templatePlaceholders, n as TEMPLATE_PLACEHOLDERS, s as scopeProblems, u as templateProblems } from "../access-sql-Dao1C0fz.js";
|
|
12
|
-
import {
|
|
12
|
+
import { a as TRACKING_STATUSES, t as LABEL_FORMATS } from "../statuses-Qqpzda35.js";
|
|
13
13
|
import { t as importOptionalPeer } from "../optional-peer-5SOYr3lL.js";
|
|
14
14
|
import { i as seedLite, n as loadLite, r as migrateLite, t as LITE_INSTALL } from "../runtime-qslVrC9l.js";
|
|
15
15
|
import { t as buildApiModel } from "../build-Ckxct2EX.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ValidationIssue, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { et as RecordRef } from "./types-BzIYSSWK.js";
|
|
3
3
|
import { o as FilterField } from "./filter-query-Xj40B5KT.js";
|
|
4
|
-
import { cn as RecordBindingResult, hn as TimelineItem, in as RecordBindingData } from "./define-block-
|
|
5
|
-
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-
|
|
6
|
-
import { c as ListParseOptions, m as ListSearchParams } from "./list-query-
|
|
4
|
+
import { cn as RecordBindingResult, hn as TimelineItem, in as RecordBindingData } from "./define-block-CDw9YGVh.js";
|
|
5
|
+
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-DAS_5OfK.js";
|
|
6
|
+
import { c as ListParseOptions, m as ListSearchParams } from "./list-query-BkbLV-Yc.js";
|
|
7
7
|
/**
|
|
8
8
|
* How a binding fills a list column: `count` is how many rows it has (the
|
|
9
9
|
* binding's `count`, one query for the page), `data` its rows (its `column`, or
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
2
|
import { D as AccessTopicPolicy, O as AnyFunctions, at as Row, dt as TableKey, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
3
|
-
import { t as AuthorizationFunctions } from "./authorization-
|
|
4
|
-
import { t as BetterSupabase } from "./define-
|
|
3
|
+
import { t as AuthorizationFunctions } from "./authorization-C7yjZttV.js";
|
|
4
|
+
import { t as BetterSupabase } from "./define-C_He1bQO.js";
|
|
5
5
|
import { et as TemplateParams, tt as TemplateValues } from "./bucket-CrsJNHzi.js";
|
|
6
|
-
import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-
|
|
6
|
+
import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-CR8TVvqo.js";
|
|
7
7
|
import { t as RealtimeStatus } from "./realtime-status-D3oUx3o4.js";
|
|
8
8
|
import { RealtimeChannel, SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
|
-
import { i as CredentialRef, r as CredentialProvider } from "./provider-
|
|
4
|
+
import { i as CredentialRef, r as CredentialProvider } from "./provider-CVlXXbda.js";
|
|
5
5
|
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
|
|
6
6
|
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
7
7
|
import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _r as AppColumnFormat, br as AppOnDeleteAction, hr as AppColumnAccess, kr as AppTableVersions, vr as AppColumnType, xi as Preset } from "./context-
|
|
2
|
-
import { k as DesignErrorCode } from "./index-
|
|
1
|
+
import { _r as AppColumnFormat, br as AppOnDeleteAction, hr as AppColumnAccess, kr as AppTableVersions, vr as AppColumnType, xi as Preset } from "./context-D6OZQdcT.js";
|
|
2
|
+
import { k as DesignErrorCode } from "./index-CRwpDGxd.js";
|
|
3
3
|
/** Where in the project pipeline an issue came from. */
|
|
4
4
|
type IssueSource = "design" | "rules" | "sql" | "verifier" | "plan";
|
|
5
5
|
type IssueSeverity = "error" | "warning" | "info";
|
|
@@ -3,13 +3,13 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-Puv5m5D3.js";
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
|
-
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-
|
|
6
|
+
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-CVlXXbda.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
|
|
8
8
|
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
9
9
|
import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
|
|
10
10
|
import { h as FilterQuery, l as FilterFieldType } from "./filter-query-Xj40B5KT.js";
|
|
11
11
|
import { f as WorkflowStarter, g as Workflows, p as WorkflowSubject, r as WorkflowRunMode, s as WorkflowSchedule } from "./workflows-BI4yKqFh.js";
|
|
12
|
-
import { i as AuthorizationHooks } from "./authorization-hooks-
|
|
12
|
+
import { i as AuthorizationHooks } from "./authorization-hooks-CR8TVvqo.js";
|
|
13
13
|
/** The node kinds every graph may use. */
|
|
14
14
|
type WorkflowBuiltinNodeKind = "trigger" | "step" | "sleep" | "approval" | "condition";
|
|
15
15
|
/** A built-in kind, or the app's own kind from `defineNodeKind`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { c as SetCredentialOptions, i as CredentialRef, r as CredentialProvider } from "./provider-
|
|
2
|
+
import { c as SetCredentialOptions, i as CredentialRef, r as CredentialProvider } from "./provider-CVlXXbda.js";
|
|
3
3
|
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
4
4
|
/** How a request the third party sends is signed with the stored secret. */
|
|
5
5
|
type VaultInboundScheme = "standard-webhooks" | "hmac-sha256" | "shared-secret";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Result, t as AsyncResult } from "../result-DTOQRyGY.js";
|
|
2
|
-
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider, s as GetTokenOptions } from "../provider-
|
|
2
|
+
import { a as CredentialSubject, i as CredentialRef, o as CredentialToken, r as CredentialProvider, s as GetTokenOptions } from "../provider-CVlXXbda.js";
|
|
3
3
|
/** An RFC 9396 authorization detail; `type` names its kind. */
|
|
4
4
|
interface VercelConnectAuthorizationDetail {
|
|
5
5
|
type: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, t as AsyncResult } from "../result-DTOQRyGY.js";
|
|
3
|
-
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-
|
|
3
|
+
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-CVlXXbda.js";
|
|
4
4
|
import { i as AiSandboxes, t as AiSandbox } from "../sandboxes-BF9RxxCU.js";
|
|
5
5
|
import { Experimental_SandboxSession } from "ai";
|
|
6
6
|
/** The `provider` an adapter's rows carry in `ai_sandboxes`. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { f as Result } from "./result-DTOQRyGY.js";
|
|
3
3
|
import { O as AnyFunctions, at as Row, dt as TableKey, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
4
|
-
import { t as BetterSupabase } from "./define-
|
|
4
|
+
import { t as BetterSupabase } from "./define-C_He1bQO.js";
|
|
5
5
|
import { n as VerifyOptions, r as WebhookInput, t as VerifiedWebhook } from "./signatures-jPr9JXyw.js";
|
|
6
6
|
/** The `Stripe-Signature` header for `body`, for tests and local replays. */
|
|
7
7
|
declare function signStripeWebhook(secret: string, body: string, timestamp?: Temporal.Instant): Promise<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DbError } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { i as InvalidReason, r as AuthState } from "./resolve-
|
|
2
|
+
import { i as InvalidReason, r as AuthState } from "./resolve-XlMQRUeG.js";
|
|
3
3
|
import { a as SessionActor, o as SessionDelegation } from "./actor-DseNR02I.js";
|
|
4
4
|
import { n as Impersonator } from "./impersonation-BOCJcsmS.js";
|
|
5
5
|
import { n as AmrEntry, t as Aal } from "./mfa-CM5r904M.js";
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { b as DbError } from "../result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-
|
|
3
|
-
import { mt as QuerySpec } from "../define-
|
|
2
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-DddDlibJ.js";
|
|
3
|
+
import { mt as QuerySpec } from "../define-C_He1bQO.js";
|
|
4
4
|
import { tt as TemplateValues } from "../bucket-CrsJNHzi.js";
|
|
5
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
-
import { t as AuthSnapshot } from "../bind-
|
|
7
|
-
import { n as AuthSession } from "../view-
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
9
|
-
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
5
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-Dp7VGPd-.js";
|
|
6
|
+
import { t as AuthSnapshot } from "../bind-BspFMDdW.js";
|
|
7
|
+
import { n as AuthSession } from "../view-eHgOOyRS.js";
|
|
8
|
+
import { n as Controller } from "../controller-DhcSXkAC.js";
|
|
9
|
+
import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-CJ_i6HFg.js";
|
|
10
|
+
import { n as BlockOptions } from "../block-env-CLco8YUl.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
|
|
12
|
-
import { t as SupportView } from "../support-view-
|
|
12
|
+
import { t as SupportView } from "../support-view-DKZkZeM5.js";
|
|
13
13
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
14
14
|
import { QueryClient } from "@tanstack/query-core";
|
|
15
15
|
import { App, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-
|
|
1
|
+
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-Dp7VGPd-.js";
|
|
2
2
|
interface TopicWatch {
|
|
3
3
|
readonly onMessage: (event: string, payload: unknown) => void;
|
|
4
4
|
readonly onRejoin: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as WorkflowGraph, Z as WorkflowNodeKindInfo, i as BuilderStarter, l as NodeRunRecord } from "../../types-
|
|
2
|
-
import { a as GraphStepCall, i as GraphRuntime, n as GraphNodeCall, o as GraphSubject, s as executeGraph, t as GraphApprovalCall } from "../../executor-
|
|
3
|
-
import { c as WorkflowFn } from "../../workflow-sdk-
|
|
1
|
+
import { G as WorkflowGraph, Z as WorkflowNodeKindInfo, i as BuilderStarter, l as NodeRunRecord } from "../../types-DtiDatvu.js";
|
|
2
|
+
import { a as GraphStepCall, i as GraphRuntime, n as GraphNodeCall, o as GraphSubject, s as executeGraph, t as GraphApprovalCall } from "../../executor-uNDJBzT8.js";
|
|
3
|
+
import { c as WorkflowFn } from "../../workflow-sdk-CUt0E4v6.js";
|
|
4
4
|
import { World } from "@workflow/world";
|
|
5
5
|
/** The env flag the Workflow SDK reads before it starts or runs dynamic source. */
|
|
6
6
|
export declare const DYNAMIC_WORKFLOWS_ENV = "WORKFLOW_EXPERIMENTAL_DYNAMIC_WORKFLOWS";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { n as VerifyOptions, r as WebhookInput } from "../signatures-jPr9JXyw.js";
|
|
3
|
-
import { _ as startOnEvent, a as StartOnEventOptions, b as workflowStarter, c as WorkflowFn, d as WorkflowStarterOptions, f as authorizeHook, g as startFor, h as protectWebHandler, i as StartForOptions, l as WorkflowRunAs, m as hookMetadata, n as HookForbiddenError, o as StartOnceOptions, p as contextAttributes, r as ProtectWebHandlerOptions, s as WorkflowContextOptions, t as AuthorizeHookOptions, u as WorkflowRunAsFor, v as startOnce, y as workflowContext } from "../workflow-sdk-
|
|
3
|
+
import { _ as startOnEvent, a as StartOnEventOptions, b as workflowStarter, c as WorkflowFn, d as WorkflowStarterOptions, f as authorizeHook, g as startFor, h as protectWebHandler, i as StartForOptions, l as WorkflowRunAs, m as hookMetadata, n as HookForbiddenError, o as StartOnceOptions, p as contextAttributes, r as ProtectWebHandlerOptions, s as WorkflowContextOptions, t as AuthorizeHookOptions, u as WorkflowRunAsFor, v as startOnce, y as workflowContext } from "../workflow-sdk-CUt0E4v6.js";
|
|
4
4
|
import { a as WorkflowMaintenance, i as RunKeyClaim, n as OpenWorkflowHook, o as WorkflowRunKeys, r as PurgeRunsOptions, s as WorkflowTerminalStatus, t as OpenHooksOptions } from "../run-keys-BnzqxtYc.js";
|
|
5
5
|
import { Run } from "workflow/api";
|
|
6
6
|
/** How `approvalWaiter.wait` ended. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as EventHub } from "../../events-
|
|
1
|
+
import { o as EventHub } from "../../events-DddDlibJ.js";
|
|
2
2
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
3
3
|
import { a as WorkflowMaintenance } from "../../run-keys-BnzqxtYc.js";
|
|
4
4
|
import { Pool } from "pg";
|
|
@@ -2,7 +2,7 @@ import { n as dbError } from "../../errors-B7tCfCvX.js";
|
|
|
2
2
|
import { c as optionalTemporal, t as TEMPORAL_MISSING } from "../../temporal-DKTdGK9i.js";
|
|
3
3
|
import { o as problemResponse } from "../../problem-C0SVHhd3.js";
|
|
4
4
|
import { i as sqlIdent } from "../../template-CNq9xcfx.js";
|
|
5
|
-
import { i as WORLD_POSTGRES_VERSION, r as WORKFLOW_VAULT_SECRETS } from "../../workflow-sdk-
|
|
5
|
+
import { i as WORLD_POSTGRES_VERSION, r as WORKFLOW_VAULT_SECRETS } from "../../workflow-sdk-pB1jCLIL.js";
|
|
6
6
|
import { n as memoized } from "../../optional-peer-5SOYr3lL.js";
|
|
7
7
|
import { n as hmacHex, r as timingSafeEqual } from "../../hmac-DNcfpmI9.js";
|
|
8
8
|
import { t as watchPoolErrors } from "../../pool-errors-JrZie6u3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { It as RequestContext } from "./types-BzIYSSWK.js";
|
|
2
2
|
import { f as WorkflowStarter, l as WorkflowStartCall, p as WorkflowSubject, t as WorkflowPrincipalKind } from "./workflows-BI4yKqFh.js";
|
|
3
|
-
import { a as OutboxEvent, o as OutboxHandler } from "./outbox-
|
|
3
|
+
import { a as OutboxEvent, o as OutboxHandler } from "./outbox-DikdzUKf.js";
|
|
4
4
|
import { Hook, Run } from "workflow/api";
|
|
5
5
|
import { World } from "@workflow/world";
|
|
6
6
|
/** A workflow function (a `"use workflow"` export), typed structurally. */
|
|
@@ -31,6 +31,7 @@ const writeExtraColumns = (table, extras, source, where, into) => extras.length
|
|
|
31
31
|
update ${table} x set ${extras.map((extra) => `${extra.ident} = case when ${source} ? ${sqlString(extra.name)} then r.${extra.ident} else x.${extra.ident} end`).join(", ")}
|
|
32
32
|
from jsonb_populate_record(null::${table}, (select coalesce(jsonb_object_agg(e.key, e.value), '{}') from jsonb_each(${source}) e where e.key in (${extras.map((extra) => sqlString(extra.name)).join(", ")}))) r
|
|
33
33
|
where ${where}${into === void 0 ? "" : `\n returning x.* into ${into}`};`;
|
|
34
|
+
const updateExtraColumns = (table, extras, source, alias = "x") => extras.map((extra) => `, ${extra.ident} = case when ${source} ? ${sqlString(extra.name)} then (jsonb_populate_record(null::${table}, jsonb_build_object(${sqlString(extra.name)}, ${source} -> ${sqlString(extra.name)}))).${extra.ident} else ${alias === "" ? "" : `${alias}.`}${extra.ident} end`).join("");
|
|
34
35
|
/**
|
|
35
36
|
* The `default` expression of an `extraColumns` type, such as `'en'` in `text
|
|
36
37
|
* not null default 'en'`, or undefined without one.
|
|
@@ -1107,6 +1108,25 @@ const OPTIONAL_MODULE_PERMISSIONS = {
|
|
|
1107
1108
|
create: "tenant",
|
|
1108
1109
|
update: "tenant",
|
|
1109
1110
|
delete: "tenant"
|
|
1111
|
+
},
|
|
1112
|
+
invoices: {
|
|
1113
|
+
create: "tenant",
|
|
1114
|
+
update: "tenant",
|
|
1115
|
+
issue: "tenant",
|
|
1116
|
+
payment: "tenant",
|
|
1117
|
+
credit: "tenant",
|
|
1118
|
+
charge: "tenant",
|
|
1119
|
+
void: "tenant",
|
|
1120
|
+
writeOff: "tenant",
|
|
1121
|
+
reverse: "tenant"
|
|
1122
|
+
},
|
|
1123
|
+
leave: { readConfidential: "tenant" },
|
|
1124
|
+
expenses: {
|
|
1125
|
+
create: "tenant",
|
|
1126
|
+
update: "tenant",
|
|
1127
|
+
delete: "tenant",
|
|
1128
|
+
reimburse: "tenant",
|
|
1129
|
+
categories: "tenant"
|
|
1110
1130
|
}
|
|
1111
1131
|
};
|
|
1112
1132
|
/**
|
|
@@ -2751,4 +2771,4 @@ const WORKFLOW_SDK_WORLD = {
|
|
|
2751
2771
|
build,
|
|
2752
2772
|
data
|
|
2753
2773
|
};
|
|
2754
|
-
export { ownRowPolicies as $, addForeignKey as A, ensureCheck as B, PARTITION_VARIABLES as C, activeMembership as D, accessDefinesDisabledHelpers as E, defaultPartition as F, jsonSchemaChecks as G, extraFieldsJson as H, defaultPartitionName as I, memberAddedRecord as J, jwtClaim as K, disabledHelpers as L, batchFunction as M, columnRef as N, addCheck as O, columnsObject as P, organizationMissing as Q, disabledHelpersNeedLaterTables as R, NOTHING as S, SERVICE_CALLER as T, fail as U, extraFieldsArg as V, insertExtraColumns as W, membershipSuspended as X, membershipDisabledAt as Y, notNullCheckName as Z, roleScopeIs as _,
|
|
2774
|
+
export { ownRowPolicies as $, addForeignKey as A, ensureCheck as B, PARTITION_VARIABLES as C, activeMembership as D, accessDefinesDisabledHelpers as E, defaultPartition as F, jsonSchemaChecks as G, extraFieldsJson as H, defaultPartitionName as I, memberAddedRecord as J, jwtClaim as K, disabledHelpers as L, batchFunction as M, columnRef as N, addCheck as O, columnsObject as P, organizationMissing as Q, disabledHelpersNeedLaterTables as R, NOTHING as S, SERVICE_CALLER as T, fail as U, extraFieldsArg as V, insertExtraColumns as W, membershipSuspended as X, membershipDisabledAt as Y, notNullCheckName as Z, roleScopeIs as _, userGrant as _t, DEFAULT_ROLES as a, renameSql as at, EQUIVALENT_TRIGGERS as b, OPTIONAL_MODULE_PERMISSIONS as c, schemaPreamble as ct, isOperationModule as d, sha256Hex as dt, pageSize as et, moduleOperations as f, shortHash as ft, roleNames as g, updatedAt as gt, providerPlatformRoles as h, updateExtraColumns as ht, WORLD_POSTGRES_VERSION as i, registerPartitions as it, addNotNullCheck as j, addExtraColumns as k, accessModel as l, serviceGrant as lt, modulePermissionKey as m, triggerGrant as mt, WORKFLOW_SDK_WORLD as n, raise as nt, MODULE_PERMISSION_SCOPES as o, replaceColumnCheck as ot, modulePermission as p, splitTable as pt, lockTable as q, WORKFLOW_VAULT_SECRETS as r, recordTrigger as rt, OPERATIONS as s, revokeTable as st, WORKFLOW_DELIVERY_QUEUE as t, quotedTable as tt, hasPlatformRoles as u, serviceOnly as ut, rolesOf as v, withExtraFields as vt, SCHEMA as w, MONTHLY_PARTITIONS as x, tenantScope as y, writeExtraColumns as yt, dropExpiredPartitions as z };
|
package/dist/yjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../result-DTOQRyGY.js";
|
|
2
|
-
import { c as RealtimeClient, r as PresenceMember } from "../topic-
|
|
2
|
+
import { c as RealtimeClient, r as PresenceMember } from "../topic-Dp7VGPd-.js";
|
|
3
3
|
import { a as DocumentSuggestion, d as OpenedDocument, l as Documents, r as DocumentRef, t as DecidedSuggestion } from "../documents-Btk0MhC0.js";
|
|
4
4
|
type PresenceState = Readonly<Record<string, unknown>>;
|
|
5
5
|
/** The part of a `Y.Doc` the provider uses. */
|
package/package.json
CHANGED
package/schemas/config-v1.json
CHANGED
|
@@ -4155,6 +4155,10 @@
|
|
|
4155
4155
|
},
|
|
4156
4156
|
"variantInUse": {
|
|
4157
4157
|
"type": "string"
|
|
4158
|
+
},
|
|
4159
|
+
"maxVariants": {
|
|
4160
|
+
"type": "number",
|
|
4161
|
+
"default": 100
|
|
4158
4162
|
}
|
|
4159
4163
|
}
|
|
4160
4164
|
}
|
|
@@ -6584,6 +6588,7 @@
|
|
|
6584
6588
|
"type": "object",
|
|
6585
6589
|
"additionalProperties": false,
|
|
6586
6590
|
"properties": {
|
|
6591
|
+
"brand": {},
|
|
6587
6592
|
"extraColumns": {
|
|
6588
6593
|
"type": "object",
|
|
6589
6594
|
"additionalProperties": {
|
|
@@ -251,5 +251,5 @@ https://bettersupabase.com/docs/frameworks/next-auth.md (sign-in and sign-out),
|
|
|
251
251
|
https://bettersupabase.com/docs/auth/account-deletion.md,
|
|
252
252
|
https://bettersupabase.com/docs/frameworks/next-cache-components.md,
|
|
253
253
|
https://bettersupabase.com/docs/frameworks/next-islands.md,
|
|
254
|
-
https://bettersupabase.com/docs/migration/0.
|
|
254
|
+
https://bettersupabase.com/docs/migration/0.35-to-0.37.md and
|
|
255
255
|
https://bettersupabase.com/docs/extending/authorization-providers.md.
|
package/dist/cli/add-De73Ghlh.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as addCommand } from "./add-Duf1-19E.js";
|
package/dist/cli/env-BfWbheiC.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as envCommand } from "./env-DVV10l_r.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as powersyncStreamsCommand } from "./powersync-DB9WZsIv.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as seedCommand } from "./seed-Cn2R91cd.js";
|