better-supabase 0.28.0 → 0.30.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/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
- package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
- package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
- package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +1 -1
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +3 -3
- package/dist/{api-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
- package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
- package/dist/{app-tables-62GqZIhd.d.ts → app-tables-yyVncXEt.d.ts} +1 -1
- package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
- package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
- package/dist/astro/index.d.ts +7 -7
- package/dist/{authorization-BCG1v0iC.d.ts → authorization-CDU9tYA_.d.ts} +17 -3
- package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-C54jD0r3.d.ts → bind-p7asfI6H.d.ts} +7 -7
- package/dist/{block-env-CM-LFfj4.d.ts → block-env-B8wG3xeh.d.ts} +4 -4
- package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
- package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
- package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
- package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +5 -5
- package/dist/blocks/activities/index.d.ts +10 -10
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/agents/index.d.ts +4 -4
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +7 -7
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +6 -6
- package/dist/blocks/approvals/index.d.ts +4 -4
- package/dist/blocks/assets/index.d.ts +6 -6
- package/dist/blocks/assignment/index.d.ts +7 -7
- package/dist/blocks/attachments/index.d.ts +4 -4
- package/dist/blocks/audit/index.d.ts +13 -13
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/billable-time/index.d.ts +6 -6
- package/dist/blocks/billing/index.d.ts +9 -9
- package/dist/blocks/bookings/index.d.ts +4 -4
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +5 -5
- package/dist/blocks/calendar/index.js +1 -1
- package/dist/blocks/catalog/index.d.ts +6 -6
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/collections/index.d.ts +12 -12
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +10 -10
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/contacts/index.d.ts +7 -7
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.d.ts +5 -5
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/custom-fields/index.d.ts +6 -6
- package/dist/blocks/data-lifecycle/index.d.ts +8 -8
- package/dist/blocks/deals/index.d.ts +6 -6
- package/dist/blocks/dispatch/index.d.ts +7 -7
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +6 -6
- package/dist/blocks/employees/index.d.ts +8 -8
- package/dist/blocks/enrichment/index.d.ts +6 -6
- package/dist/blocks/enrollments/index.d.ts +6 -6
- package/dist/blocks/entitlements/index.d.ts +6 -6
- package/dist/blocks/expenses/index.d.ts +5 -5
- package/dist/blocks/field-history/index.d.ts +4 -4
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +6 -6
- package/dist/blocks/forms/index.d.ts +6 -6
- package/dist/blocks/goals/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +6 -6
- package/dist/blocks/hiring/index.d.ts +7 -7
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +5 -5
- package/dist/blocks/inbox/index.d.ts +10 -10
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +9 -9
- package/dist/blocks/inventory/index.d.ts +7 -7
- package/dist/blocks/invoices/index.d.ts +8 -8
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +7 -7
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +5 -5
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +4 -4
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +6 -6
- package/dist/blocks/notifications/index.d.ts +12 -12
- package/dist/blocks/notifications/index.js +1 -1
- package/dist/blocks/numbering/index.d.ts +4 -4
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/onboarding/index.d.ts +5 -5
- package/dist/blocks/orders/index.d.ts +7 -7
- package/dist/blocks/organizations/index.d.ts +8 -8
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/passes/index.d.ts +8 -8
- package/dist/blocks/permissions/index.d.ts +6 -6
- package/dist/blocks/pipelines/index.d.ts +6 -6
- package/dist/blocks/posts/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +4 -4
- package/dist/blocks/promotions/index.d.ts +5 -5
- package/dist/blocks/push/index.d.ts +6 -6
- package/dist/blocks/queue/index.d.ts +6 -6
- package/dist/blocks/quotes/index.d.ts +8 -8
- package/dist/blocks/rank/index.d.ts +5 -5
- package/dist/blocks/reactions/index.d.ts +9 -9
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +8 -8
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +5 -5
- package/dist/blocks/search/index.d.ts +8 -8
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/segments/index.d.ts +8 -8
- package/dist/blocks/sequences/index.d.ts +6 -6
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +6 -6
- package/dist/blocks/share-links/index.d.ts +5 -5
- package/dist/blocks/shipments/index.d.ts +6 -6
- package/dist/blocks/signatures/index.d.ts +5 -5
- package/dist/blocks/signing-keys/index.d.ts +4 -4
- package/dist/blocks/sla/index.d.ts +7 -7
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +5 -5
- package/dist/blocks/subjects/index.d.ts +6 -6
- package/dist/blocks/tags/index.d.ts +6 -6
- package/dist/blocks/tasks/index.d.ts +9 -9
- package/dist/blocks/teams/index.d.ts +4 -4
- package/dist/blocks/templates/index.d.ts +7 -7
- package/dist/blocks/time-tracking/index.d.ts +7 -7
- package/dist/blocks/timeline/index.d.ts +8 -8
- package/dist/blocks/trash/index.d.ts +6 -6
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/versions/index.d.ts +6 -6
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +14 -14
- package/dist/blocks/webhooks/index.js +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
- package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/cli/add-BdhGOwkB.js +1 -0
- package/dist/cli/{add-DUyg9qna.js → add-D4w-Axib.js} +27 -85
- package/dist/cli/{add-BKcE_g9D.js → add-Dggyehsy.js} +2 -2
- package/dist/cli/{migrate-sVs1QYTM.js → app-table-files-CiGuwLkO.js} +90 -50
- package/dist/cli/{backfill-r9RELEEh.js → backfill-DjVjXW_P.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DTOFdrxL.js → blocks-Bbmb6W_F.js} +1 -1
- package/dist/cli/{blocks-k1OG8XDs.js → blocks-jRL9K1R8.js} +2 -2
- package/dist/cli/{cache-Czfw7Iow.js → cache-BuoIFlUJ.js} +1 -1
- package/dist/cli/{codemod-ClmbiLuL.js → codemod-DRavXBCb.js} +5 -5
- package/dist/cli/{command-CVzTJSLp.js → command-DIPmo0wh.js} +6 -1
- package/dist/cli/{completion-DxEXxFpz.js → completion-DxPxMtyP.js} +2 -2
- package/dist/cli/{completion-CNCqE-Gb.js → completion-DyLMSjOD.js} +1 -1
- package/dist/cli/{completion-Dpk6vh0p.js → completion-FUgqm2-N.js} +2 -2
- package/dist/cli/{config-EjNj3HfT.js → config-BfapErxs.js} +1 -1
- package/dist/cli/{config-KvV-sLZL.js → config-Cskysxp-.js} +38 -7
- package/dist/cli/{config-D2YUlzrl.js → config-Df5cXWNN.js} +1 -1
- package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
- package/dist/cli/{content-mapper-ez_mT0d4.js → content-mapper-BCtyfKXl.js} +2 -2
- package/dist/cli/{db-uYN6O5Eg.js → db-CWvH1_46.js} +3 -3
- package/dist/cli/{doctor-BD9oo4MG.js → doctor-Di2ZekfN.js} +57 -24
- package/dist/cli/{env-DEAtgGoj.js → env-B2CbnbzD.js} +2 -2
- package/dist/cli/env-CynGCICL.js +1 -0
- package/dist/cli/{gen-8Ya8n2sA.js → gen-STKC9vkK.js} +16 -16
- package/dist/cli/index.d.ts +9 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DgL3sDfQ.js → init-DW6_nIwj.js} +22 -10
- package/dist/cli/{keys-CsanNk-2.js → keys-V-HcO-21.js} +1 -1
- package/dist/cli/{live-CMMEct_F.js → live-0G4Plw3K.js} +2 -2
- package/dist/cli/{mcp-DEHtzAkq.js → mcp-flKS8iU5.js} +6 -14
- package/dist/cli/{metadata-BZh-cOzC.js → metadata-VARUbXEe.js} +3 -3
- package/dist/cli/migrate-Bkq07XcT.js +46 -0
- package/dist/cli/{migration-safety-ClnYNMdq.js → migration-safety-BfVeza5j.js} +2 -2
- package/dist/cli/{migrations-DWh38tO9.js → migrations-BCq7Zs2E.js} +2 -2
- package/dist/cli/{module-migration-CXfRJIV4.js → module-migration-lbeUrsYv.js} +2 -2
- package/dist/cli/{moved-Cnb4fp49.js → moved-DNOtp9LA.js} +1 -1
- package/dist/cli/{parse-BWM6IGhF.js → parse-BPf3kGnc.js} +1 -1
- package/dist/cli/{powersync-Dnyr-Wy5.js → powersync-B15CfH5Y.js} +4 -4
- package/dist/cli/powersync-DnBsDchT.js +1 -0
- package/dist/cli/{print-DJrSr56b.js → print-DjxpBRnv.js} +2 -2
- package/dist/cli/{providers-CpaISitn.js → providers-dyxcHQY3.js} +1 -1
- package/dist/cli/{remove-ChaieK3t.js → remove-BLq5gbal.js} +7 -7
- package/dist/cli/{render-DUNJ4Pss.js → render-CizUf3RW.js} +5 -5
- package/dist/cli/{run-CxFDjL1Q.js → run-ChEjR7yw.js} +3 -3
- package/dist/cli/{run-Cl9COGuy.js → run-ChOY6s4o.js} +9 -9
- package/dist/cli/{run-ChCQPYOh.js → run-MwM__teL.js} +41 -41
- package/dist/cli/seed-BOun22-k.js +1 -0
- package/dist/cli/{seed-BzVLTdRl.js → seed-CDnL4Tnc.js} +3 -3
- package/dist/cli/{shared-5uqc1GBj.js → shared-DV5wIv-7.js} +1 -1
- package/dist/cli/{skills-0gz_qjVb.js → skills-DM3oeIxY.js} +1 -1
- package/dist/cli/{snapshot-DdAP7LWO.js → snapshot-B5LXkVMC.js} +3 -3
- package/dist/cli/{source-2irbWSck.js → source-BoLNG_2A.js} +1 -1
- package/dist/cli/{source-args-DAcQt-Mh.js → source-args-v8ljFDfc.js} +1 -1
- package/dist/cli/{spec-_MS0ym5r.js → spec-D6QeE2Zx.js} +1 -1
- package/dist/cli/{spec-B7n4Rthp.js → spec-Dz-PGCaM.js} +3 -3
- package/dist/cli/{sql-layout-DYKkQw1k.js → sql-layout-zo02f3Dm.js} +2 -2
- package/dist/cli/{stack-CteM33gC.js → stack-ClESAZYf.js} +1 -1
- package/dist/cli/{stack-env-6hS-WEmh.js → stack-env-3ziggrU3.js} +1 -1
- package/dist/cli/{sync-DnSOrQuA.js → sync-m-oZ_SyI.js} +4 -4
- package/dist/cli/{table-DeH8X0qz.js → table-dyKddjwo.js} +1 -1
- package/dist/cli/{upgrade-CWdrC-K3.js → upgrade-C9sgVZ5z.js} +5 -5
- package/dist/cli/{upgrade-cMy5fKkg.js → upgrade-WwEJaX3i.js} +3 -3
- package/dist/cli/{version-C5RAWmrD.js → version-D2BQuqta.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
- package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
- package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +3 -3
- package/dist/{config-CvJHIy5q.js → config-bqKaPjst.js} +6 -27
- package/dist/{config-CTeR7XHK.js → config-r7njjNgh.js} +1 -1
- package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
- package/dist/{context-BFEX0b7H.d.ts → context-nbYYjv7U.d.ts} +46 -51
- package/dist/{controller-Cl6HmMBk.d.ts → controller-TRocodqG.d.ts} +1 -1
- package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +2 -2
- package/dist/create/lite/index.d.ts +4 -4
- package/dist/create/lite/index.js +1 -1
- package/dist/credentials/index.d.ts +4 -4
- package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
- package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
- package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
- package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
- package/dist/edge/index.d.ts +9 -9
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
- package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
- package/dist/{entitlements-Y-n4RGAd.d.ts → entitlements-B1i1-wfe.d.ts} +2 -2
- package/dist/eve/index.d.ts +5 -5
- package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
- package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
- package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
- package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
- package/dist/expo/index.d.ts +4 -4
- package/dist/{field-errors-Btn3czyz.d.ts → field-errors-tJvehEFc.d.ts} +10 -10
- package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
- package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
- package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
- package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +1 -1
- package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
- package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +9 -9
- package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
- package/dist/{index-DPMVWm_Z.d.ts → index-8US7qlvW.d.ts} +5 -5
- package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
- package/dist/{index-CAY7rIQs.d.ts → index-BKrxynq9.d.ts} +5 -5
- package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
- package/dist/{index-8wOL81rB.d.ts → index-BkzXwuIN.d.ts} +4 -3
- package/dist/{index-k-SyCzcQ.d.ts → index-CWAQRWY8.d.ts} +4 -4
- package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
- package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
- package/dist/{index-C0_cweyT.d.ts → index-zsgNmE8m.d.ts} +14 -14
- package/dist/index.d.ts +6 -6
- package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
- package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +103 -28
- package/dist/next/index.js +189 -49
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-DE7SOBw-.d.ts → operations-CB9atU2e.d.ts} +1 -1
- package/dist/{options-C4LuqmdG.js → options-BKBy5wM_.js} +2 -1
- package/dist/orpc/index.d.ts +8 -8
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
- package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
- package/dist/{ports-DP0bthUk.d.ts → ports-hpbyMySO.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
- package/dist/powersync/index.d.ts +6 -6
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +2 -2
- package/dist/{preset-DwuWNBip.js → preset-DCdEnJj9.js} +8 -13
- package/dist/{project-Bo1vZqVs.js → project-B32wb5J6.js} +4 -4
- package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
- package/dist/{push-token-v3xCcVU7.d.ts → push-token-DQ1ycFPU.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +8 -8
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/session.d.ts +2 -2
- package/dist/react-router/index.d.ts +6 -6
- package/dist/realtime/index.d.ts +6 -6
- package/dist/realtime/index.js +1 -1
- package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
- package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
- package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
- package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
- package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
- package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
- package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
- package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
- package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
- package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
- package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
- package/dist/server/index.d.ts +24 -24
- package/dist/server/index.js +2 -2
- package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
- package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
- package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
- package/dist/sign-in-BzihC_8k.d.ts +50 -0
- package/dist/{sign-in-NO7LWlw4.js → sign-in-Cyj3ZlFX.js} +120 -25
- package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
- package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +2 -2
- package/dist/{sql-B7vBP9g0.js → sql-CyeDg3Yh.js} +321 -212
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
- package/dist/ssr/index.d.ts +5 -5
- package/dist/storage/index.d.ts +3 -3
- package/dist/streams/index.d.ts +1 -1
- package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
- package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
- package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
- package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
- package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/{tenant-CyLEXgot.d.ts → tenant-C9YE_kqK.d.ts} +2 -2
- package/dist/testing/index.d.ts +25 -25
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
- package/dist/{topic-B_DGdAEs.d.ts → topic-breZqx_4.d.ts} +5 -5
- package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
- package/dist/{types-DF8JYEf5.d.ts → types-C3I7S51U.d.ts} +2 -2
- package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
- package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
- package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
- package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
- package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
- package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
- package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
- package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
- package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
- package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/{watch-topic-1zIAtiNM.d.ts → watch-topic-ItO3dz8m.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-CaEw822d.js → workflow-sdk-BWPsdzVK.js} +36 -8
- package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
- package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
- package/dist/yjs/index.d.ts +2 -2
- package/package.json +1 -2
- package/schemas/config-v1.json +5 -352
- package/schemas/doctor-report-v1.json +1 -0
- package/skills/better-supabase/references/ui-recipes.md +5 -5
- package/skills/better-supabase-auth/SKILL.md +8 -1
- package/dist/cli/add-pDOlqWUa.js +0 -1
- package/dist/cli/env-Cy2lWBRC.js +0 -1
- package/dist/cli/powersync-DURhWDVc.js +0 -1
- package/dist/cli/seed-BJ7c-ktX.js +0 -1
- package/dist/sign-in-CAadgm33.d.ts +0 -24
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
2
|
-
import { n as AuthOutageEvent, o as EventHub } from "./events-
|
|
3
|
-
import { g as SessionEncoding, o as ResolvePhase, p as CookieScope, r as AuthState, t as AuthResolution } from "./resolve-
|
|
4
|
-
import { a as ServerContext, r as ContextOptions } from "./server-types-
|
|
5
|
-
import { t as ActiveSupport } from "./support-
|
|
6
|
-
import { d as RefreshPolicy } from "./respond-
|
|
1
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-CPl9uJ0G.js";
|
|
2
|
+
import { n as AuthOutageEvent, o as EventHub } from "./events-B2qbZps6.js";
|
|
3
|
+
import { g as SessionEncoding, o as ResolvePhase, p as CookieScope, r as AuthState, t as AuthResolution } from "./resolve-CtX6T0c0.js";
|
|
4
|
+
import { a as ServerContext, r as ContextOptions } from "./server-types-BkTIxW_H.js";
|
|
5
|
+
import { t as ActiveSupport } from "./support-BxyPOFk4.js";
|
|
6
|
+
import { d as RefreshPolicy } from "./respond-Dzu_-EPH.js";
|
|
7
7
|
import { SingleKeyEntry } from "@supabase/middleware";
|
|
8
8
|
//#region src/server/entries/core.d.ts
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as AuthState, t as AuthResolution } from "./resolve-
|
|
2
|
-
import { t as ActiveSupport } from "./support-
|
|
1
|
+
import { r as AuthState, t as AuthResolution } from "./resolve-CtX6T0c0.js";
|
|
2
|
+
import { t as ActiveSupport } from "./support-BxyPOFk4.js";
|
|
3
3
|
//#region src/server/session-status.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* `active`: the session is valid. `expired`: the cookie's token expired and the
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { f as Result } from "./result-DZeA5KS6.js";
|
|
2
|
+
import { _ as StoredSession } from "./resolve-CtX6T0c0.js";
|
|
3
|
+
import { t as RefreshOptions } from "./refresh-D02Pbf5B.js";
|
|
4
|
+
//#region src/auth/sign-in.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* `next` when it is a same-origin path (`/dashboard?tab=1`), else `fallback`.
|
|
7
|
+
* Use it on any `?next=` or `redirectTo` value a request carries, so the value
|
|
8
|
+
* can't send the user to another origin.
|
|
9
|
+
*/
|
|
10
|
+
declare function safeRedirectPath(next: string | null | undefined, fallback: string): string;
|
|
11
|
+
type PasswordGrantOptions = Omit<RefreshOptions, "now"> & {
|
|
12
|
+
readonly now?: () => number;
|
|
13
|
+
};
|
|
14
|
+
/** The email link and code types `/auth/v1/verify` accepts. */
|
|
15
|
+
type EmailOtpType = "signup" | "invite" | "magiclink" | "recovery" | "email_change" | "email";
|
|
16
|
+
/** A link's `token_hash`, or the email and the code Auth sent to it. */
|
|
17
|
+
type OtpParams = {
|
|
18
|
+
readonly type: EmailOtpType;
|
|
19
|
+
readonly tokenHash: string;
|
|
20
|
+
} | {
|
|
21
|
+
readonly type: EmailOtpType;
|
|
22
|
+
readonly email: string;
|
|
23
|
+
readonly token: string;
|
|
24
|
+
};
|
|
25
|
+
/** Where `logout` ends sessions: this one, every one, or every other one. */
|
|
26
|
+
type SignOutScope = "local" | "global" | "others";
|
|
27
|
+
/**
|
|
28
|
+
* Signs in with an email and a password against the Auth server's password
|
|
29
|
+
* grant, without a supabase-js client. Returns the session to write as
|
|
30
|
+
* cookies.
|
|
31
|
+
*/
|
|
32
|
+
declare function passwordGrant(credentials: {
|
|
33
|
+
readonly email: string;
|
|
34
|
+
readonly password: string;
|
|
35
|
+
}, options: PasswordGrantOptions): Promise<Result<StoredSession>>;
|
|
36
|
+
interface AuthorizeUrlParams {
|
|
37
|
+
/** The OAuth provider, such as `github` or `google`. */
|
|
38
|
+
readonly provider: string;
|
|
39
|
+
/**
|
|
40
|
+
* The absolute URL of the callback route that calls `exchangeCode`. It must
|
|
41
|
+
* be in the project's redirect allow list.
|
|
42
|
+
*/
|
|
43
|
+
readonly redirectTo: string;
|
|
44
|
+
/** Space-separated provider scopes. */
|
|
45
|
+
readonly scopes?: string;
|
|
46
|
+
/** Extra query parameters for the provider, such as `prompt`. */
|
|
47
|
+
readonly queryParams?: Readonly<Record<string, string>>;
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { SignOutScope as a, PasswordGrantOptions as i, EmailOtpType as n, passwordGrant as o, OtpParams as r, safeRedirectPath as s, AuthorizeUrlParams as t };
|
|
@@ -561,48 +561,143 @@ function needsMfa(session) {
|
|
|
561
561
|
const factors = user.factors;
|
|
562
562
|
return Array.isArray(factors) && factors.some((factor) => typeof factor === "object" && factor !== null && "status" in factor && factor.status === "verified");
|
|
563
563
|
}
|
|
564
|
+
function failure(status, body, what) {
|
|
565
|
+
const code = typeof body?.["error_code"] === "string" ? body["error_code"] : void 0;
|
|
566
|
+
if (status === 429) return dbError("rate_limited", `${what} was rate limited`, code === void 0 ? {} : { code });
|
|
567
|
+
if (status >= 500) return dbError("network", `${what} failed with ${String(status)}`);
|
|
568
|
+
return dbError("unauthorized", `${what} failed`, code === void 0 ? {} : { code });
|
|
569
|
+
}
|
|
564
570
|
/**
|
|
565
|
-
*
|
|
566
|
-
*
|
|
567
|
-
* cookies.
|
|
571
|
+
* One POST to the Auth server, with the secret key and the user's IP when
|
|
572
|
+
* `forwardedFor` is set. Returns the JSON body, `{}` when there is none.
|
|
568
573
|
*/
|
|
569
|
-
async function
|
|
574
|
+
async function authPost(path, body, options, what) {
|
|
570
575
|
const doFetch = options.fetch ?? fetch;
|
|
571
576
|
const signal = AbortSignal.timeout(options.timeoutMs ?? DEFAULT_TIMEOUT_MS);
|
|
572
577
|
let response;
|
|
573
578
|
try {
|
|
574
|
-
response = await doFetch(`${options.url}/auth/v1
|
|
579
|
+
response = await doFetch(`${options.url}/auth/v1/${path}`, {
|
|
575
580
|
method: "POST",
|
|
576
581
|
headers: {
|
|
577
582
|
apikey: options.forwardedFor?.secretKey ?? options.publishableKey,
|
|
578
583
|
"content-type": "application/json",
|
|
579
|
-
...options.forwardedFor ? { "sb-forwarded-for": options.forwardedFor.ip } : {}
|
|
584
|
+
...options.forwardedFor ? { "sb-forwarded-for": options.forwardedFor.ip } : {},
|
|
585
|
+
...options.token ? { authorization: `Bearer ${options.token}` } : {}
|
|
580
586
|
},
|
|
581
|
-
body: JSON.stringify(
|
|
582
|
-
email: credentials.email,
|
|
583
|
-
password: credentials.password
|
|
584
|
-
}),
|
|
587
|
+
...body === void 0 ? {} : { body: JSON.stringify(body) },
|
|
585
588
|
signal
|
|
586
589
|
});
|
|
587
590
|
} catch (cause) {
|
|
588
|
-
return err(signal.aborted ? dbError("timeout",
|
|
589
|
-
}
|
|
590
|
-
const body = await response.json().catch(() => null);
|
|
591
|
-
if (!response.ok || !body || typeof body["access_token"] !== "string" || typeof body["refresh_token"] !== "string") {
|
|
592
|
-
const message = typeof body?.["msg"] === "string" ? body["msg"] : typeof body?.["error_description"] === "string" ? body["error_description"] : `Sign-in failed with ${String(response.status)}`;
|
|
593
|
-
const code = typeof body?.["error_code"] === "string" ? body["error_code"] : void 0;
|
|
594
|
-
if (response.status === 429) return err(dbError("rate_limited", message));
|
|
595
|
-
if (response.status >= 500) return err(dbError("network", message));
|
|
596
|
-
return err(dbError("unauthorized", message, code === void 0 ? {} : { code }));
|
|
591
|
+
return err(signal.aborted ? dbError("timeout", `${what} timed out`) : dbError("network", cause instanceof Error ? cause.message : "fetch failed"));
|
|
597
592
|
}
|
|
598
|
-
const
|
|
593
|
+
const parsed = await response.json().catch(() => null);
|
|
594
|
+
let json = null;
|
|
595
|
+
if (typeof parsed === "object" && parsed !== null && !Array.isArray(parsed)) json = parsed;
|
|
596
|
+
return response.ok ? ok(json ?? {}) : err(failure(response.status, json, what));
|
|
597
|
+
}
|
|
598
|
+
/** The session in a token response, with `expires_at` filled in. */
|
|
599
|
+
function sessionFrom(body, options, what) {
|
|
600
|
+
if (!body.ok) return body;
|
|
601
|
+
const data = body.data;
|
|
602
|
+
const accessToken = data["access_token"];
|
|
603
|
+
const refreshToken = data["refresh_token"];
|
|
604
|
+
if (typeof accessToken !== "string" || typeof refreshToken !== "string") return err(dbError("unauthorized", `${what} returned no session`, { code: "no_session" }));
|
|
605
|
+
const expiresIn = typeof data["expires_in"] === "number" ? data["expires_in"] : void 0;
|
|
599
606
|
const now = options.now ?? Date.now;
|
|
600
607
|
return ok({
|
|
601
|
-
...
|
|
602
|
-
access_token:
|
|
603
|
-
refresh_token:
|
|
604
|
-
...typeof
|
|
608
|
+
...data,
|
|
609
|
+
access_token: accessToken,
|
|
610
|
+
refresh_token: refreshToken,
|
|
611
|
+
...typeof data["expires_at"] !== "number" && expiresIn !== void 0 ? { expires_at: Math.floor(now() / 1e3) + expiresIn } : {}
|
|
605
612
|
});
|
|
606
613
|
}
|
|
614
|
+
/**
|
|
615
|
+
* Signs in with an email and a password against the Auth server's password
|
|
616
|
+
* grant, without a supabase-js client. Returns the session to write as
|
|
617
|
+
* cookies.
|
|
618
|
+
*/
|
|
619
|
+
async function passwordGrant(credentials, options) {
|
|
620
|
+
return sessionFrom(await authPost("token?grant_type=password", {
|
|
621
|
+
email: credentials.email,
|
|
622
|
+
password: credentials.password
|
|
623
|
+
}, options, "Sign-in"), options, "Sign-in");
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Verifies an email link's `token_hash`, or an emailed code, against
|
|
627
|
+
* `/auth/v1/verify` and returns the session it starts.
|
|
628
|
+
*/
|
|
629
|
+
async function otpGrant(params, options) {
|
|
630
|
+
return sessionFrom(await authPost("verify", "tokenHash" in params ? {
|
|
631
|
+
type: params.type,
|
|
632
|
+
token_hash: params.tokenHash
|
|
633
|
+
} : {
|
|
634
|
+
type: params.type,
|
|
635
|
+
email: params.email,
|
|
636
|
+
token: params.token
|
|
637
|
+
}, options, "Verification"), options, "Verification");
|
|
638
|
+
}
|
|
639
|
+
/** Exchanges an OAuth or email `code` and its PKCE verifier for a session. */
|
|
640
|
+
async function pkceGrant(params, options) {
|
|
641
|
+
return sessionFrom(await authPost("token?grant_type=pkce", {
|
|
642
|
+
auth_code: params.code,
|
|
643
|
+
code_verifier: params.verifier
|
|
644
|
+
}, options, "Code exchange"), options, "Code exchange");
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Challenges an MFA factor and verifies the code against it, as the user the
|
|
648
|
+
* access token belongs to. Returns the `aal2` session.
|
|
649
|
+
*/
|
|
650
|
+
async function mfaGrant(params, options) {
|
|
651
|
+
const factor = `factors/${encodeURIComponent(params.factorId)}`;
|
|
652
|
+
const withToken = {
|
|
653
|
+
...options,
|
|
654
|
+
token: params.accessToken
|
|
655
|
+
};
|
|
656
|
+
const challenge = await authPost(`${factor}/challenge`, {}, withToken, "MFA challenge");
|
|
657
|
+
if (!challenge.ok) return challenge;
|
|
658
|
+
const challengeId = challenge.data["id"];
|
|
659
|
+
if (typeof challengeId !== "string") return err(dbError("unauthorized", "MFA challenge failed"));
|
|
660
|
+
return sessionFrom(await authPost(`${factor}/verify`, {
|
|
661
|
+
challenge_id: challengeId,
|
|
662
|
+
code: params.code
|
|
663
|
+
}, withToken, "MFA verification"), options, "MFA verification");
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Ends the access token's session (`local`), every session of its user
|
|
667
|
+
* (`global`) or every other one (`others`) on the Auth server. A session that
|
|
668
|
+
* is already gone counts as ended.
|
|
669
|
+
*/
|
|
670
|
+
async function revokeSession(accessToken, scope, options) {
|
|
671
|
+
const revoked = await authPost(`logout?scope=${scope}`, void 0, {
|
|
672
|
+
...options,
|
|
673
|
+
token: accessToken
|
|
674
|
+
}, "Sign-out");
|
|
675
|
+
return revoked.ok || revoked.error.kind === "unauthorized" ? ok(null) : revoked;
|
|
676
|
+
}
|
|
677
|
+
function base64url(bytes) {
|
|
678
|
+
let binary = "";
|
|
679
|
+
for (const byte of bytes) binary += String.fromCodePoint(byte);
|
|
680
|
+
return btoa(binary).replaceAll("+", "-").replaceAll("/", "_").replace(/[=]+$/, "");
|
|
681
|
+
}
|
|
682
|
+
/** A PKCE verifier and its S256 challenge (RFC 7636). */
|
|
683
|
+
async function pkcePair() {
|
|
684
|
+
const verifier = base64url(crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(32)));
|
|
685
|
+
const digest = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(verifier));
|
|
686
|
+
return {
|
|
687
|
+
verifier,
|
|
688
|
+
challenge: base64url(new Uint8Array(digest))
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
/** The Auth server's `/authorize` URL for a PKCE sign-in with `challenge`. */
|
|
692
|
+
function authorizeUrlFor(url, params, challenge) {
|
|
693
|
+
const target = new URL(`${url}/auth/v1/authorize`);
|
|
694
|
+
for (const [key, value] of Object.entries(params.queryParams ?? {})) target.searchParams.set(key, value);
|
|
695
|
+
target.searchParams.set("provider", params.provider);
|
|
696
|
+
target.searchParams.set("redirect_to", params.redirectTo);
|
|
697
|
+
target.searchParams.set("code_challenge", challenge);
|
|
698
|
+
target.searchParams.set("code_challenge_method", "s256");
|
|
699
|
+
if (params.scopes) target.searchParams.set("scopes", params.scopes);
|
|
700
|
+
return target.href;
|
|
701
|
+
}
|
|
607
702
|
//#endregion
|
|
608
|
-
export {
|
|
703
|
+
export { passwordGrant as a, revokeSession as c, sqlSupportStore as d, supportClaims as f, otpGrant as i, safeRedirectPath as l, mfaGrant as n, pkceGrant as o, needsMfa as r, pkcePair as s, authorizeUrlFor as t, supportSessions as u };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, f as Result, t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
3
3
|
import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
4
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
5
|
-
import { n as SqlClient } from "./executor-
|
|
6
|
-
import { t as BlockTransport } from "./block-transport-
|
|
7
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
+
import { r as BlockTemporalOptions } from "./block-helpers-D5emQ2O6.js";
|
|
5
|
+
import { n as SqlClient } from "./executor-DXQIx4sW.js";
|
|
6
|
+
import { t as BlockTransport } from "./block-transport-9EUA3q_I.js";
|
|
7
|
+
import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
|
|
8
8
|
import { t as BlockProblemOptions } from "./problem-DNwN8iGz.js";
|
|
9
9
|
//#region src/blocks/webhooks/incoming-types.d.ts
|
|
10
10
|
/** How a delivery proves it came from the sender. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
3
3
|
import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
4
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
5
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
+
import { n as BlockOptions } from "./block-helpers-D5emQ2O6.js";
|
|
5
|
+
import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
|
|
6
6
|
import { i as JwsAlgorithm, n as Jwks, o as SigningAlgorithm, t as Jwk } from "./jws-D0toeQlA.js";
|
|
7
7
|
//#region src/blocks/signing-keys/signing-keys.d.ts
|
|
8
8
|
interface SigningKeysOptions extends BlockOptions {
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { b as DbError } from "../result-DZeA5KS6.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-
|
|
4
|
-
import { tt as TemplateValues } from "../bucket-
|
|
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 { t 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-
|
|
2
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-B2qbZps6.js";
|
|
3
|
+
import { mt as QuerySpec } from "../define-D8_9X5fZ.js";
|
|
4
|
+
import { tt as TemplateValues } from "../bucket-SvRQwYS4.js";
|
|
5
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-breZqx_4.js";
|
|
6
|
+
import { t as AuthSnapshot } from "../bind-p7asfI6H.js";
|
|
7
|
+
import { t as AuthSession } from "../view-C8_xvD-j.js";
|
|
8
|
+
import { n as Controller } from "../controller-TRocodqG.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-tJvehEFc.js";
|
|
10
|
+
import { n as BlockOptions } from "../block-env-B8wG3xeh.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
|
|
12
|
-
import { t as SupportView } from "../support-view-
|
|
12
|
+
import { t as SupportView } from "../support-view-nqUWKHEs.js";
|
|
13
13
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
14
14
|
import { QueryClient } from "@tanstack/query-core";
|
|
15
15
|
import { Accessor, JSX } from "solid-js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { O as AnyFunctions, k as AnyModels } from "../types-
|
|
1
|
+
import { O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
|
|
2
2
|
import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
|
|
3
|
-
import { t as BetterSupabase } from "../define-
|
|
4
|
-
import { n as BetterServer } from "../server-types-
|
|
5
|
-
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
6
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
7
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
3
|
+
import { t as BetterSupabase } from "../define-D8_9X5fZ.js";
|
|
4
|
+
import { n as BetterServer } from "../server-types-BkTIxW_H.js";
|
|
5
|
+
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-B8yWCRN7.js";
|
|
6
|
+
import { t as RefusalRedirects } from "../refusal-B0VmlAxF.js";
|
|
7
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-DVYTtQXA.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
//#region src/solid-start/index.d.ts
|
|
10
10
|
/** The part of a SolidStart `FetchEvent` the integration reads and writes. */
|
package/dist/spec/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as DescribedFunction } from "../function-contract-DxFNOmsm.js";
|
|
2
2
|
import { C as ModelWebhook, D as ResourceOperation, E as OperationSource, O as SecurityRequirement, S as ModelTag, T as OAuthFlow, _ as ModelResponseOrRef, a as JsonSchema, b as ModelServer, c as ModelChannelOperation, d as ModelInfo, f as ModelMessage, g as ModelResponse, h as ModelParameter, i as JsonObject, k as TableVerb, l as ModelContent, m as ModelOperation, n as DataApiOperation, o as ModelBody, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, u as ModelExample, v as ModelSecurityProfileRequirement, w as ModelWorkflow, x as ModelStep, y as ModelSecurityScheme } from "../model-hwpvole9.js";
|
|
3
3
|
import { a as FormatVersion, c as SpecDiagnostic, d as defineDocumentFormat, i as DocumentOf, l as VersionOf, n as DiagnosticSeverity, o as LowerContext, r as DocumentFormat, s as RenderedOf, t as AnyDocumentFormat, u as VersionStatus } from "../format-u-65igKI.js";
|
|
4
|
-
import { a as ResourcePlan, o as StandardLike, r as ResourceDescription } from "../resource-
|
|
4
|
+
import { a as ResourcePlan, o as StandardLike, r as ResourceDescription } from "../resource-WxN0IsvB.js";
|
|
5
5
|
import { t as SPEC_PINS } from "../spec-pins-BZkKfwY8.js";
|
|
6
|
-
import { A as AnyOpenApiDocument, B as OpenApiSecurityRequirement, C as TopicInput, D as DEFAULT_ERRORS, E as CustomSecurity, F as OpenApi33PreviewDocument, H as RenderedOpenApi, I as OpenApiComponents, L as OpenApiDocument, M as OpenApi30Document, N as OpenApi31Document, O as PROBLEM_SCHEMA, P as OpenApi32Document, R as OpenApiDocuments, S as EventsOptions, T as DataApiOptions, V as OpenApiVersion, _ as WorkflowSource, a as OverlayEngine, b as CLOUD_EVENT_TRAIT, c as defineApi, d as BuiltModel, f as ComponentNameContext, g as RouteSpec, h as ResourceInput, i as OpenApiRenderResult, j as OPENAPI_33_PREVIEW_VERSION, k as SecurityPreset, l as ApiOptions, m as OperationIdContext, n as DefineApiOptions, o as RenderOptions, p as EnrichHooks, r as OpenApiRenderOptions, s as RenderResult, t as Api, u as ApiSource, v as BlockEventSchema, w as topicsFrom, x as CloudEventsInput, y as BlockEventSchemas, z as OpenApiInfo } from "../api-
|
|
6
|
+
import { A as AnyOpenApiDocument, B as OpenApiSecurityRequirement, C as TopicInput, D as DEFAULT_ERRORS, E as CustomSecurity, F as OpenApi33PreviewDocument, H as RenderedOpenApi, I as OpenApiComponents, L as OpenApiDocument, M as OpenApi30Document, N as OpenApi31Document, O as PROBLEM_SCHEMA, P as OpenApi32Document, R as OpenApiDocuments, S as EventsOptions, T as DataApiOptions, V as OpenApiVersion, _ as WorkflowSource, a as OverlayEngine, b as CLOUD_EVENT_TRAIT, c as defineApi, d as BuiltModel, f as ComponentNameContext, g as RouteSpec, h as ResourceInput, i as OpenApiRenderResult, j as OPENAPI_33_PREVIEW_VERSION, k as SecurityPreset, l as ApiOptions, m as OperationIdContext, n as DefineApiOptions, o as RenderOptions, p as EnrichHooks, r as OpenApiRenderOptions, s as RenderResult, t as Api, u as ApiSource, v as BlockEventSchema, w as topicsFrom, x as CloudEventsInput, y as BlockEventSchemas, z as OpenApiInfo } from "../api-59rv5hL6.js";
|
|
7
7
|
//#region src/spec/build.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* Builds the version-neutral API model once per metadata, plugin list, block
|
package/dist/sql/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as BlockOptionsRegistry, j as BLOCK_OPTION_SCHEMAS, k as resolveBlock } from "../authorization-
|
|
2
|
-
import { A as declaredIndexes, C as OwnView, D as OwnIndex, E as DeclaredView, F as extensionSchema, I as policyGrants, L as rlsTables, M as declaredTables, N as declaredUpdatedAtTriggers, O as PolicyGrant, P as declaredViews, S as BlockSqlUpgrade, T as notNullCheckName, _ as BlockSqlDeprecation, a as BlockSqlContext, b as BlockSqlLayout, c as BlockSqlIdType, cr as
|
|
3
|
-
import { a as appTableEventTypes } from "../app-tables-
|
|
4
|
-
import { $ as MigrationOptionUse, $t as BlockSqlTopic, A as declaredPolicies, At as BlockSqlExtension, B as catalogPolicy, Bt as moduleDataDir, C as isRule, Ct as APP_TABLES_MARKER, D as renderRulePolicy, Dt as instanceFunctions, E as renderRule, Et as DEFAULT_ROLES, F as Policy, Ft as moduleSchemaExtensions, G as readPolicy, Gt as BLOCK_RENAMES, H as policy, Ht as EntityRenamePlan, I as PolicyCommand, It as blockFileState, J as hasColumnAccess, Jt as renamedBlock, K as renderPolicy, Kt as currentBlockName, L as PolicyInput, Lt as isModuleDataFile, M as TENANT_SCOPE_NAMES, Mt as moduleEventTriggers, N as TENANT_SCOPE_POLICY, Nt as moduleHidingColumns, O as rulePolicy, Ot as SQL_MODULES, P as Grant, Pt as modulePermissionKeys, Q as sharedRolesProblems, Qt as upgradePlan, R as ReadPolicy, Rt as moduleFileVersion, S as disallowedPolicyCalls, St as moduleWritesText, T as readRulePolicies, Tt as appTablesFiles, U as readGrants, Ut as EntityRenameStep, V as maskSql, Vt as moduleFilePaths, W as readPolicies, Wt as entityRenamePlan, X as compileReadSet, Xt as InstalledBlock, Y as CompiledReadSet, Yt as BlockSqlUpgradePlan, Z as compileReadSets, Zt as moduleDeprecations, _ as Rule, _t as AdoptedTable, a as setTableFeature, at as templateFunctions, b as RulePolicyInput, bt as adoptedTables, c as BsbComment, ct as tenantsQuery, d as formatBsbComment, dt as sameTenantTrigger, en as customContracts, et as migrationOptionUses, f as parseBsbComment, ft as DataExportPlan, g as ReadRulePolicy, gt as resolveExposeColumns, h as PolicyFunctionsOptions, ht as excludedColumns, i as isTableFeature, it as scopeProblems, j as widenedCommands, jt as BlockSqlPermissionKey, k as appTablePolicyNotes, kt as resolveBlocks, l as BsbTag, lt as expiredFlagsQuery, m as POLICY_FUNCTIONS, mt as dataExportPlan, n as TableFeature, nn as moduleTopics, nt as SCOPE_ID_TYPES, o as tableFeatures, ot as subjectColumns, p as setBsbTag, pt as SECRET_COLUMNS, q as scopePolicyName, qt as formerBlockName, r as createsTable, rn as renderBlocks, rt as resolveProviderSql, s as tableTagComments, st as TenantQuery, t as TABLE_FEATURES, tn as moduleBody, tt as moduleLayout, u as commentOnTableSql, ut as sameTenantColumn, v as RuleOperator, vt as AdoptedView, w as policyFunctionsSql, wt as APP_TABLES_MODULE, x as RuleValue, xt as adoptedViews, y as RulePolicy, yt as adoptedColumnProblems, z as RenderPolicyOptions, zt as sameBlockFile } from "../index-
|
|
1
|
+
import { M as BlockOptionsRegistry, j as BLOCK_OPTION_SCHEMAS, k as resolveBlock } from "../authorization-CDU9tYA_.js";
|
|
2
|
+
import { A as declaredIndexes, C as OwnView, D as OwnIndex, E as DeclaredView, F as extensionSchema, I as policyGrants, L as rlsTables, M as declaredTables, N as declaredUpdatedAtTriggers, O as PolicyGrant, P as declaredViews, S as BlockSqlUpgrade, T as notNullCheckName, _ as BlockSqlDeprecation, a as BlockSqlContext, ar as DeclaredForeignKey, b as BlockSqlLayout, c as BlockSqlIdType, cr as auditRegistrations, d as MODULE_ID_TYPES, f as contractSignature, g as BlockSqlAccessProvider, h as BlockSql, i as BlockSqlAudit, j as declaredTableColumns, k as declaredColumnTypes, l as BlockSqlNames, m as moduleIdType, n as AuditCategory, o as BlockSqlContractFunction, or as sameTenantLayout, p as isBlockSqlIdType, r as BlockSqlAction, s as BlockSqlEmit, sr as AuditedTable, t as AUDIT_CATEGORIES, u as BlockSqlTableSpec, v as BlockSqlEntitlementsProvider, w as blockSqlVersion, x as BlockSqlTestFile, y as BlockSqlFile } from "../context-nbYYjv7U.js";
|
|
3
|
+
import { a as appTableEventTypes } from "../app-tables-yyVncXEt.js";
|
|
4
|
+
import { $ as MigrationOptionUse, $t as BlockSqlTopic, A as declaredPolicies, At as BlockSqlExtension, B as catalogPolicy, Bt as moduleDataDir, C as isRule, Ct as APP_TABLES_MARKER, D as renderRulePolicy, Dt as instanceFunctions, E as renderRule, Et as DEFAULT_ROLES, F as Policy, Ft as moduleSchemaExtensions, G as readPolicy, Gt as BLOCK_RENAMES, H as policy, Ht as EntityRenamePlan, I as PolicyCommand, It as blockFileState, J as hasColumnAccess, Jt as renamedBlock, K as renderPolicy, Kt as currentBlockName, L as PolicyInput, Lt as isModuleDataFile, M as TENANT_SCOPE_NAMES, Mt as moduleEventTriggers, N as TENANT_SCOPE_POLICY, Nt as moduleHidingColumns, O as rulePolicy, Ot as SQL_MODULES, P as Grant, Pt as modulePermissionKeys, Q as sharedRolesProblems, Qt as upgradePlan, R as ReadPolicy, Rt as moduleFileVersion, S as disallowedPolicyCalls, St as moduleWritesText, T as readRulePolicies, Tt as appTablesFiles, U as readGrants, Ut as EntityRenameStep, V as maskSql, Vt as moduleFilePaths, W as readPolicies, Wt as entityRenamePlan, X as compileReadSet, Xt as InstalledBlock, Y as CompiledReadSet, Yt as BlockSqlUpgradePlan, Z as compileReadSets, Zt as moduleDeprecations, _ as Rule, _t as AdoptedTable, a as setTableFeature, at as templateFunctions, b as RulePolicyInput, bt as adoptedTables, c as BsbComment, ct as tenantsQuery, d as formatBsbComment, dt as sameTenantTrigger, en as customContracts, et as migrationOptionUses, f as parseBsbComment, ft as DataExportPlan, g as ReadRulePolicy, gt as resolveExposeColumns, h as PolicyFunctionsOptions, ht as excludedColumns, i as isTableFeature, it as scopeProblems, j as widenedCommands, jt as BlockSqlPermissionKey, k as appTablePolicyNotes, kt as resolveBlocks, l as BsbTag, lt as expiredFlagsQuery, m as POLICY_FUNCTIONS, mt as dataExportPlan, n as TableFeature, nn as moduleTopics, nt as SCOPE_ID_TYPES, o as tableFeatures, ot as subjectColumns, p as setBsbTag, pt as SECRET_COLUMNS, q as scopePolicyName, qt as formerBlockName, r as createsTable, rn as renderBlocks, rt as resolveProviderSql, s as tableTagComments, st as TenantQuery, t as TABLE_FEATURES, tn as moduleBody, tt as moduleLayout, u as commentOnTableSql, ut as sameTenantColumn, v as RuleOperator, vt as AdoptedView, w as policyFunctionsSql, wt as APP_TABLES_MODULE, x as RuleValue, xt as adoptedViews, y as RulePolicy, yt as adoptedColumnProblems, z as RenderPolicyOptions, zt as sameBlockFile } from "../index-CWAQRWY8.js";
|
|
5
5
|
export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BsbComment, type BsbTag, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type DeclaredForeignKey, type DeclaredView, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, MODULE_ID_TYPES, type MigrationOptionUse, type OwnIndex, type OwnView, POLICY_FUNCTIONS, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, type ReadPolicy, type ReadRulePolicy, type RenderPolicyOptions, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableFeature, type TenantQuery, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, auditRegistrations, blockFileState, blockSqlVersion, catalogPolicy, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, setBsbTag, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands };
|
package/dist/sql/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I as resolveBlock, h as appTableEventTypes, w as hasColumnAccess } from "../instances-C7qUTjhJ.js";
|
|
2
2
|
import { c as templateFunctions, o as resolveProviderSql, s as scopeProblems, t as SCOPE_ID_TYPES } from "../access-sql-CTDNuxRv.js";
|
|
3
|
-
import { $ as moduleHidingColumns, A as instanceFunctions, At as extensionSchema, B as widenedCommands, Bt as renderPolicy, C as tenantsQuery, Ct as BLOCK_OPTION_SCHEMAS, D as adoptedTables, Dt as declaredTables, E as adoptedColumnProblems, Et as declaredTableColumns, F as renderBlocks, Ft as maskSql, G as appTablesFiles, H as moduleFilePaths, I as moduleDeprecations, It as policy, J as blockFileState, K as scopePolicyName, L as upgradePlan, Lt as readGrants, M as customContracts, Mt as rlsTables, N as moduleBody, Nt as auditRegistrations, O as adoptedViews, Ot as declaredUpdatedAtTriggers, P as moduleTopics, Pt as catalogPolicy, Q as moduleEventTriggers, R as appTablePolicyNotes, Rt as readPolicies, S as moduleLayout, St as moduleIdType, T as sameTenantLayout, Tt as declaredIndexes, U as APP_TABLES_MARKER, V as moduleDataDir, W as APP_TABLES_MODULE, X as moduleFileVersion, Y as isModuleDataFile, Z as sameBlockFile, _ as renderRulePolicy, _t as renamedBlock, a as tableFeatures, at as TENANT_SCOPE_POLICY, b as compileReadSets, bt as contractSignature, c as formatBsbComment, ct as SECRET_COLUMNS, d as POLICY_FUNCTIONS, dt as sameTenantColumn, et as modulePermissionKeys, f as disallowedPolicyCalls, ft as sameTenantTrigger, g as renderRule, gt as formerBlockName, h as readRulePolicies, ht as currentBlockName, i as setTableFeature, it as TENANT_SCOPE_NAMES, j as entityRenamePlan, jt as policyGrants, k as moduleWritesText, kt as declaredViews, l as parseBsbComment, lt as dataExportPlan, m as policyFunctionsSql, mt as BLOCK_RENAMES, n as createsTable, nt as SQL_MODULES, o as tableTagComments, ot as excludedColumns, p as isRule, pt as migrationOptionUses, q as blockSqlVersion, r as isTableFeature, rt as resolveBlocks, s as commentOnTableSql, st as resolveExposeColumns, t as TABLE_FEATURES, tt as moduleSchemaExtensions, u as setBsbTag, ut as subjectColumns, v as rulePolicy, vt as AUDIT_CATEGORIES, w as expiredFlagsQuery, wt as declaredColumnTypes, x as sharedRolesProblems, xt as isBlockSqlIdType, y as compileReadSet, yt as MODULE_ID_TYPES, z as declaredPolicies, zt as readPolicy } from "../sql-
|
|
4
|
-
import { Z as notNullCheckName, a as DEFAULT_ROLES } from "../workflow-sdk-
|
|
3
|
+
import { $ as moduleHidingColumns, A as instanceFunctions, At as extensionSchema, B as widenedCommands, Bt as renderPolicy, C as tenantsQuery, Ct as BLOCK_OPTION_SCHEMAS, D as adoptedTables, Dt as declaredTables, E as adoptedColumnProblems, Et as declaredTableColumns, F as renderBlocks, Ft as maskSql, G as appTablesFiles, H as moduleFilePaths, I as moduleDeprecations, It as policy, J as blockFileState, K as scopePolicyName, L as upgradePlan, Lt as readGrants, M as customContracts, Mt as rlsTables, N as moduleBody, Nt as auditRegistrations, O as adoptedViews, Ot as declaredUpdatedAtTriggers, P as moduleTopics, Pt as catalogPolicy, Q as moduleEventTriggers, R as appTablePolicyNotes, Rt as readPolicies, S as moduleLayout, St as moduleIdType, T as sameTenantLayout, Tt as declaredIndexes, U as APP_TABLES_MARKER, V as moduleDataDir, W as APP_TABLES_MODULE, X as moduleFileVersion, Y as isModuleDataFile, Z as sameBlockFile, _ as renderRulePolicy, _t as renamedBlock, a as tableFeatures, at as TENANT_SCOPE_POLICY, b as compileReadSets, bt as contractSignature, c as formatBsbComment, ct as SECRET_COLUMNS, d as POLICY_FUNCTIONS, dt as sameTenantColumn, et as modulePermissionKeys, f as disallowedPolicyCalls, ft as sameTenantTrigger, g as renderRule, gt as formerBlockName, h as readRulePolicies, ht as currentBlockName, i as setTableFeature, it as TENANT_SCOPE_NAMES, j as entityRenamePlan, jt as policyGrants, k as moduleWritesText, kt as declaredViews, l as parseBsbComment, lt as dataExportPlan, m as policyFunctionsSql, mt as BLOCK_RENAMES, n as createsTable, nt as SQL_MODULES, o as tableTagComments, ot as excludedColumns, p as isRule, pt as migrationOptionUses, q as blockSqlVersion, r as isTableFeature, rt as resolveBlocks, s as commentOnTableSql, st as resolveExposeColumns, t as TABLE_FEATURES, tt as moduleSchemaExtensions, u as setBsbTag, ut as subjectColumns, v as rulePolicy, vt as AUDIT_CATEGORIES, w as expiredFlagsQuery, wt as declaredColumnTypes, x as sharedRolesProblems, xt as isBlockSqlIdType, y as compileReadSet, yt as MODULE_ID_TYPES, z as declaredPolicies, zt as readPolicy } from "../sql-CyeDg3Yh.js";
|
|
4
|
+
import { Z as notNullCheckName, a as DEFAULT_ROLES } from "../workflow-sdk-BWPsdzVK.js";
|
|
5
5
|
export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, DEFAULT_ROLES, MODULE_ID_TYPES, POLICY_FUNCTIONS, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, auditRegistrations, blockFileState, blockSqlVersion, catalogPolicy, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, setBsbTag, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands };
|