better-supabase 0.23.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
- package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.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-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
- package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
- package/dist/{app-tables-CJO6pWwy.d.ts → app-tables-62GqZIhd.d.ts} +1 -1
- package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
- package/dist/astro/index.d.ts +5 -5
- package/dist/{authorization-Dtwpjeuz.d.ts → authorization-BCG1v0iC.d.ts} +73 -15
- package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
- package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
- package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-DaoTunvE.d.ts → bind-C54jD0r3.d.ts} +4 -4
- package/dist/{block-env-DUyo2I5O.d.ts → block-env-CM-LFfj4.d.ts} +4 -4
- 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 +5 -5
- 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 +6 -6
- package/dist/blocks/bulk/index.d.ts +2 -2
- package/dist/blocks/calendar/index.d.ts +46 -13
- package/dist/blocks/calendar/index.js +130 -30
- package/dist/blocks/catalog/index.d.ts +2 -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/custom-fields/index.js +1 -1
- 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 +4 -4
- package/dist/blocks/employees/index.d.ts +21 -6
- package/dist/blocks/employees/index.js +37 -2
- 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 +13 -6
- package/dist/blocks/hiring/index.js +15 -4
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +6 -6
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +2 -2
- package/dist/blocks/templates/index.d.ts +4 -4
- package/dist/blocks/time-tracking/index.d.ts +10 -5
- package/dist/blocks/time-tracking/index.js +16 -9
- package/dist/blocks/timeline/index.d.ts +4 -4
- 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/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +2 -2
- package/dist/cli/{add-DVHniZOO.js → add-BKcE_g9D.js} +2 -2
- package/dist/cli/{add-C7lKQNBL.js → add-DUyg9qna.js} +40 -15
- package/dist/cli/add-pDOlqWUa.js +1 -0
- package/dist/cli/{backfill-Lrn-Qp5X.js → backfill-r9RELEEh.js} +4 -4
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BKNd886C.js → blocks-DTOFdrxL.js} +1 -1
- package/dist/cli/{blocks-2Yw9t-_U.js → blocks-k1OG8XDs.js} +2 -2
- package/dist/cli/{cache-ByhPVMo-.js → cache-Czfw7Iow.js} +1 -1
- package/dist/cli/{codemod-C0eXpzFu.js → codemod-ClmbiLuL.js} +3 -3
- package/dist/cli/{command-BWEEXmtz.js → command-CVzTJSLp.js} +31 -0
- package/dist/cli/{completion-8EDK21xj.js → completion-CNCqE-Gb.js} +1 -1
- package/dist/cli/{completion-BfnKI4QZ.js → completion-Dpk6vh0p.js} +2 -2
- package/dist/cli/{completion-Bt7LMypX.js → completion-DxEXxFpz.js} +2 -2
- package/dist/cli/{config-CeaQMrvS.js → config-D2YUlzrl.js} +1 -1
- package/dist/cli/{config-WKDixoGK.js → config-EjNj3HfT.js} +1 -1
- package/dist/cli/{config-BVfeG3A5.js → config-KvV-sLZL.js} +290 -10
- package/dist/cli/{content-mapper-qH-_YQ8H.js → content-mapper-ez_mT0d4.js} +2 -2
- package/dist/cli/{db-DwjyUbAh.js → db-uYN6O5Eg.js} +38 -14
- package/dist/cli/{doctor-BnxkqXGA.js → doctor-BD9oo4MG.js} +31 -28
- package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
- package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
- package/dist/cli/env-Cy2lWBRC.js +1 -0
- package/dist/cli/{env-BCgVZkcb.js → env-DEAtgGoj.js} +2 -2
- package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
- package/dist/cli/{gen-aERmP3Sw.js → gen-8Ya8n2sA.js} +16 -16
- package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
- package/dist/cli/index.d.ts +1 -2
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-DWUqVSVW.js → init-DgL3sDfQ.js} +118 -11
- package/dist/cli/{keys-CbaL0lnw.js → keys-CsanNk-2.js} +1 -1
- package/dist/cli/{live-KcdTBUij.js → live-CMMEct_F.js} +2 -2
- package/dist/cli/{mcp-Dsjjo-LT.js → mcp-DEHtzAkq.js} +4 -4
- package/dist/cli/{metadata-DWQSIZ59.js → metadata-BZh-cOzC.js} +3 -3
- package/dist/cli/migrate-sVs1QYTM.js +306 -0
- package/dist/cli/{migration-safety-Cy7xlU4G.js → migration-safety-ClnYNMdq.js} +2 -2
- package/dist/cli/migrations-DWh38tO9.js +117 -0
- package/dist/cli/{module-migration-C6NLY9iZ.js → module-migration-CXfRJIV4.js} +2 -2
- package/dist/cli/{moved-DVwgE8lV.js → moved-Cnb4fp49.js} +1 -1
- package/dist/cli/{parse-B079x40m.js → parse-BWM6IGhF.js} +1 -1
- package/dist/cli/powersync-DURhWDVc.js +1 -0
- package/dist/cli/{powersync-CE_hQdgc.js → powersync-Dnyr-Wy5.js} +4 -3
- package/dist/cli/{print-Cy_ram9N.js → print-DJrSr56b.js} +2 -2
- package/dist/cli/{migrations-CUjNXokR.js → providers-CpaISitn.js} +4 -116
- package/dist/cli/{remove-DmwjzqaW.js → remove-ChaieK3t.js} +6 -6
- package/dist/cli/{render-CF09FCra.js → render-DUNJ4Pss.js} +8 -5
- package/dist/cli/{run-BYpZ8FjF.js → run-ChCQPYOh.js} +41 -39
- package/dist/cli/{run-lh-chAJW.js → run-Cl9COGuy.js} +10 -10
- package/dist/cli/{run-DmOTMa44.js → run-CxFDjL1Q.js} +4 -4
- package/dist/cli/seed-BJ7c-ktX.js +1 -0
- package/dist/cli/{seed-BMynpMPy.js → seed-BzVLTdRl.js} +3 -3
- package/dist/cli/{shared-D05A6t1e.js → shared-5uqc1GBj.js} +1 -1
- package/dist/cli/{skills-FXAVPLzp.js → skills-0gz_qjVb.js} +1 -1
- package/dist/cli/{snapshot-BITNbA5V.js → snapshot-DdAP7LWO.js} +3 -3
- package/dist/cli/{source-GGJHuzpH.js → source-2irbWSck.js} +1 -1
- package/dist/cli/{source-args-CDmmFmFG.js → source-args-DAcQt-Mh.js} +1 -1
- package/dist/cli/{spec-BGcRdlhN.js → spec-B7n4Rthp.js} +3 -3
- package/dist/cli/{spec-BjxXWaNQ.js → spec-_MS0ym5r.js} +1 -1
- package/dist/cli/{sql-layout-BoD5ynN9.js → sql-layout-DYKkQw1k.js} +21 -7
- package/dist/cli/{stack-DgASZP0K.js → stack-CteM33gC.js} +3 -3
- package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
- package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
- package/dist/cli/{sync-_QlsTmqu.js → sync-DnSOrQuA.js} +4 -3
- package/dist/cli/table-DeH8X0qz.js +89 -0
- package/dist/cli/{upgrade-Cwhb1M7O.js → upgrade-CWdrC-K3.js} +5 -4
- package/dist/cli/{upgrade-n9ar1kc4.js → upgrade-cMy5fKkg.js} +3 -3
- package/dist/cli/{version-RSpJIWDd.js → version-C5RAWmrD.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
- package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +4 -4
- package/dist/{config-RwpFcPq8.js → config-CTeR7XHK.js} +6 -5
- package/dist/{config-vHLJ8SKf.js → config-CvJHIy5q.js} +4 -3
- package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
- package/dist/{context-CMf4OKpN.d.ts → context-BFEX0b7H.d.ts} +109 -4
- package/dist/{controller-BGto_kYM.d.ts → controller-Cl6HmMBk.d.ts} +1 -1
- package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
- package/dist/create/index.d.ts +62 -3
- package/dist/create/index.js +67 -4
- package/dist/create/lite/index.d.ts +140 -3
- package/dist/create/lite/index.js +399 -47
- package/dist/credentials/index.d.ts +3 -3
- package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
- package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
- package/dist/edge/index.d.ts +8 -8
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
- package/dist/{entitlements-CIhVQ-0u.d.ts → entitlements-Y-n4RGAd.d.ts} +2 -2
- package/dist/eve/index.d.ts +2 -2
- package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
- package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
- package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
- package/dist/expo/index.d.ts +3 -3
- package/dist/{field-errors-BDhPaO0a.d.ts → field-errors-Btn3czyz.d.ts} +7 -7
- package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
- 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-CFWlHuVY.d.ts → index-8wOL81rB.d.ts} +1 -1
- package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
- package/dist/{index-ujNqgZ6B.d.ts → index-C0_cweyT.d.ts} +11 -11
- package/dist/{index--OhYKouV.d.ts → index-CAY7rIQs.d.ts} +3 -3
- package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
- package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
- package/dist/{index-lV43eM34.d.ts → index-DPMVWm_Z.d.ts} +4 -4
- package/dist/{index-4MStWaeF.d.ts → index-k-SyCzcQ.d.ts} +105 -120
- package/dist/index.d.ts +2 -2
- package/dist/{instances-BPJSESPx.js → instances-C7qUTjhJ.js} +85 -6
- package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
- package/dist/list/index.d.ts +1 -1
- package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
- package/dist/mapper/bin.js +7 -7
- package/dist/mcp/index.d.ts +5 -5
- 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 +21 -21
- package/dist/node/index.d.ts +2 -2
- package/dist/{operations-qSBBV5vl.d.ts → operations-DE7SOBw-.d.ts} +1 -1
- package/dist/{options-D4ADKTKo.js → options-B5E2MGIz.js} +6 -1
- package/dist/options-C4LuqmdG.js +15 -0
- package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
- package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
- package/dist/{options-BPp2zzsz.js → options-eTepQ1rZ.js} +2 -1
- package/dist/orpc/index.d.ts +7 -7
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
- package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
- package/dist/{ports-DbHiNSAa.d.ts → ports-DP0bthUk.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-B1xXOJ0T.js → preset-DwuWNBip.js} +2 -2
- package/dist/{project-BM6QMtzV.js → project-Bo1vZqVs.js} +5 -5
- package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
- package/dist/{push-token-BwF1fyjA.d.ts → push-token-v3xCcVU7.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +7 -7
- 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 +5 -5
- package/dist/realtime/index.d.ts +4 -4
- package/dist/realtime/index.js +1 -1
- package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
- package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
- package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
- package/dist/{resolved-names-WzRYhUez.js → resolved-names-iLBOUaib.js} +2 -2
- package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
- package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
- package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
- package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
- package/dist/server/index.d.ts +20 -20
- package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
- package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
- package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
- package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
- 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 +5 -5
- package/dist/{sql-CNH8kjLS.js → sql-B7vBP9g0.js} +6248 -2092
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/ssr/index.d.ts +5 -5
- package/dist/storage/index.js +1 -1
- package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
- package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
- package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
- package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
- package/dist/svelte/index.d.ts +8 -8
- package/dist/sveltekit/index.d.ts +6 -6
- package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.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-D4BA7XQ-.d.ts → tenant-CyLEXgot.d.ts} +2 -2
- package/dist/testing/index.d.ts +16 -16
- package/dist/testing/index.js +2 -2
- package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
- package/dist/{topic-utZqhw96.d.ts → topic-B_DGdAEs.d.ts} +3 -3
- package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
- package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
- package/dist/{types-DLnBJ3ST.d.ts → types-DF8JYEf5.d.ts} +2 -2
- package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
- package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
- package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
- package/dist/vue/index.d.ts +9 -9
- package/dist/{watch-topic-B1UCoQfz.d.ts → watch-topic-1zIAtiNM.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-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
- package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +11 -1
- package/schemas/config-v1.json +95 -1
- package/dist/cli/add-vZRn-uH0.js +0 -1
- package/dist/cli/env-xhwXk5Ri.js +0 -1
- package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
- package/dist/cli/powersync-BOhjVQCb.js +0 -1
- package/dist/cli/seed-CO3j_bly.js +0 -1
- package/dist/options-DztCKw_f.js +0 -8
|
@@ -1,4 +1,132 @@
|
|
|
1
1
|
import { a as sqlString } from "./template-Drgg3v2J.js";
|
|
2
|
+
//#region src/core/sql-template-tokens.ts
|
|
3
|
+
const WORD_START = /[A-Za-z_]/;
|
|
4
|
+
const WORD_PART = /[\w$]/;
|
|
5
|
+
function readString(source, start, escapes) {
|
|
6
|
+
let index = start + 1;
|
|
7
|
+
while (index < source.length) {
|
|
8
|
+
const char = source[index];
|
|
9
|
+
if (escapes && char === "\\") {
|
|
10
|
+
index += 2;
|
|
11
|
+
continue;
|
|
12
|
+
}
|
|
13
|
+
if (char === "'") {
|
|
14
|
+
if (source[index + 1] === "'") {
|
|
15
|
+
index += 2;
|
|
16
|
+
continue;
|
|
17
|
+
}
|
|
18
|
+
return index + 1;
|
|
19
|
+
}
|
|
20
|
+
index += 1;
|
|
21
|
+
}
|
|
22
|
+
return -1;
|
|
23
|
+
}
|
|
24
|
+
function readQuoted(source, start) {
|
|
25
|
+
let index = start + 1;
|
|
26
|
+
while (index < source.length) {
|
|
27
|
+
if (source[index] === "\"") {
|
|
28
|
+
if (source[index + 1] === "\"") {
|
|
29
|
+
index += 2;
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
return index + 1;
|
|
33
|
+
}
|
|
34
|
+
index += 1;
|
|
35
|
+
}
|
|
36
|
+
return -1;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Splits a template into tokens. Strings, quoted identifiers and comments are
|
|
40
|
+
* read whole, so a `;` or `(` inside them is never mistaken for code. A
|
|
41
|
+
* dollar-quote tag (`$$`, `$tag$`), an unterminated string, quoted identifier
|
|
42
|
+
* or block comment, and a stray `{` come back as `dollar` and `error` tokens
|
|
43
|
+
* for the caller to refuse.
|
|
44
|
+
*/
|
|
45
|
+
function tokenizeTemplate(source) {
|
|
46
|
+
const tokens = [];
|
|
47
|
+
let index = 0;
|
|
48
|
+
const push = (token, end) => {
|
|
49
|
+
tokens.push(token);
|
|
50
|
+
index = end;
|
|
51
|
+
};
|
|
52
|
+
while (index < source.length) {
|
|
53
|
+
const char = source[index];
|
|
54
|
+
const rest = source.slice(index);
|
|
55
|
+
if (/\s/.test(char)) {
|
|
56
|
+
const end = index + (/^\s+/.exec(rest)?.[0].length ?? 1);
|
|
57
|
+
push({
|
|
58
|
+
kind: "space",
|
|
59
|
+
text: source.slice(index, end)
|
|
60
|
+
}, end);
|
|
61
|
+
} else if (rest.startsWith("--")) {
|
|
62
|
+
const newline = source.indexOf("\n", index);
|
|
63
|
+
const end = newline === -1 ? source.length : newline;
|
|
64
|
+
push({
|
|
65
|
+
kind: "comment",
|
|
66
|
+
text: source.slice(index, end)
|
|
67
|
+
}, end);
|
|
68
|
+
} else if (rest.startsWith("/*")) {
|
|
69
|
+
const close = source.indexOf("*/", index + 2);
|
|
70
|
+
const end = close === -1 ? source.length : close + 2;
|
|
71
|
+
push({
|
|
72
|
+
kind: close === -1 ? "error" : "comment",
|
|
73
|
+
text: source.slice(index, end)
|
|
74
|
+
}, end);
|
|
75
|
+
} else if (char === "'" || /^[eE]'/.test(rest)) {
|
|
76
|
+
const escapes = char !== "'";
|
|
77
|
+
const end = readString(source, escapes ? index + 1 : index, escapes);
|
|
78
|
+
const stop = end === -1 ? source.length : end;
|
|
79
|
+
push({
|
|
80
|
+
kind: end === -1 ? "error" : "string",
|
|
81
|
+
text: source.slice(index, stop)
|
|
82
|
+
}, stop);
|
|
83
|
+
} else if (char === "\"") {
|
|
84
|
+
const end = readQuoted(source, index);
|
|
85
|
+
const stop = end === -1 ? source.length : end;
|
|
86
|
+
push(end === -1 ? {
|
|
87
|
+
kind: "error",
|
|
88
|
+
text: source.slice(index, stop)
|
|
89
|
+
} : {
|
|
90
|
+
kind: "word",
|
|
91
|
+
text: source.slice(index + 1, stop - 1),
|
|
92
|
+
quoted: true
|
|
93
|
+
}, stop);
|
|
94
|
+
} else if (char === "$") {
|
|
95
|
+
const tag = /^\$(?:[A-Za-z_]\w*)?\$/.exec(rest)?.[0];
|
|
96
|
+
if (tag === void 0) push({
|
|
97
|
+
kind: "punct",
|
|
98
|
+
text: char
|
|
99
|
+
}, index + 1);
|
|
100
|
+
else push({
|
|
101
|
+
kind: "dollar",
|
|
102
|
+
text: tag
|
|
103
|
+
}, index + tag.length);
|
|
104
|
+
} else if (char === "{") {
|
|
105
|
+
const match = /^\{(\w+)\}/.exec(rest);
|
|
106
|
+
if (match === null) push({
|
|
107
|
+
kind: "error",
|
|
108
|
+
text: char
|
|
109
|
+
}, index + 1);
|
|
110
|
+
else push({
|
|
111
|
+
kind: "placeholder",
|
|
112
|
+
text: match[1]
|
|
113
|
+
}, index + match[0].length);
|
|
114
|
+
} else if (WORD_START.test(char)) {
|
|
115
|
+
let end = index + 1;
|
|
116
|
+
while (end < source.length && WORD_PART.test(source[end])) end += 1;
|
|
117
|
+
push({
|
|
118
|
+
kind: "word",
|
|
119
|
+
text: source.slice(index, end),
|
|
120
|
+
quoted: false
|
|
121
|
+
}, end);
|
|
122
|
+
} else push({
|
|
123
|
+
kind: "punct",
|
|
124
|
+
text: char
|
|
125
|
+
}, index + 1);
|
|
126
|
+
}
|
|
127
|
+
return tokens;
|
|
128
|
+
}
|
|
129
|
+
//#endregion
|
|
2
130
|
//#region src/core/access-sql.ts
|
|
3
131
|
const SCOPE = /^[a-z][a-z0-9_]*$/;
|
|
4
132
|
/** Whether `name` can be a scope: it is put unquoted into templates. */
|
|
@@ -136,21 +264,56 @@ const CALL_KEYWORDS = /* @__PURE__ */ new Set([
|
|
|
136
264
|
"where"
|
|
137
265
|
]);
|
|
138
266
|
/**
|
|
139
|
-
* What makes a template unsafe to put into generated SQL: a
|
|
140
|
-
*
|
|
267
|
+
* What makes a template unsafe to put into generated SQL: a dollar-quote tag, a
|
|
268
|
+
* `;`, a comment, an unterminated string, quoted identifier or comment, a stray
|
|
269
|
+
* `{`, or a function call without a schema. Strings and quoted identifiers are
|
|
270
|
+
* read whole, so what is inside them never counts.
|
|
141
271
|
*/
|
|
142
272
|
function templateProblems(template) {
|
|
143
|
-
const
|
|
273
|
+
const tokens = tokenizeTemplate(template);
|
|
144
274
|
const problems = [];
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
275
|
+
const seen = /* @__PURE__ */ new Set();
|
|
276
|
+
const report = (problem) => {
|
|
277
|
+
if (!seen.has(problem)) {
|
|
278
|
+
seen.add(problem);
|
|
279
|
+
problems.push(problem);
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
let code = [];
|
|
283
|
+
for (const token of tokens) {
|
|
284
|
+
const last = code.at(-1);
|
|
285
|
+
if ((token.kind === "word" || token.kind === "placeholder") && (last?.kind === "word" || last?.kind === "placeholder") && !(last.kind === "word" && last.quoted)) code[code.length - 1] = {
|
|
286
|
+
kind: "word",
|
|
287
|
+
text: last.text + token.text,
|
|
288
|
+
quoted: false
|
|
289
|
+
};
|
|
290
|
+
else if (token.kind === "placeholder") code.push({
|
|
291
|
+
kind: "word",
|
|
292
|
+
text: token.text,
|
|
293
|
+
quoted: false
|
|
294
|
+
});
|
|
295
|
+
else code.push(token);
|
|
296
|
+
}
|
|
297
|
+
code = code.filter((token) => token.kind !== "space");
|
|
298
|
+
for (const [position, token] of code.entries()) switch (token.kind) {
|
|
299
|
+
case "dollar":
|
|
300
|
+
report(`contains "${token.text}"`);
|
|
301
|
+
break;
|
|
302
|
+
case "comment":
|
|
303
|
+
report(`contains "${token.text.startsWith("--") ? "--" : "/*"}"`);
|
|
304
|
+
break;
|
|
305
|
+
case "error":
|
|
306
|
+
report(token.text === "{" ? "contains a \"{\" that is not a {name} placeholder" : `contains an unterminated ${token.text.startsWith("/*") ? "comment" : token.text.startsWith("\"") ? "identifier" : "string"}`);
|
|
307
|
+
break;
|
|
308
|
+
case "punct":
|
|
309
|
+
if (token.text === ";") report("contains \";\"");
|
|
310
|
+
break;
|
|
311
|
+
case "word": {
|
|
312
|
+
const next = code[position + 1];
|
|
313
|
+
const previous = code[position - 1];
|
|
314
|
+
if (next?.kind === "punct" && next.text === "(" && !(previous?.kind === "punct" && [".", ":"].includes(previous.text)) && (token.quoted || !CALL_KEYWORDS.has(token.text.toLowerCase()))) report(`calls ${token.text}() without a schema`);
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
154
317
|
}
|
|
155
318
|
return problems;
|
|
156
319
|
}
|
|
@@ -161,6 +324,8 @@ const templatePlaceholders = (template) => [...new Set([...template.matchAll(/\{
|
|
|
161
324
|
* error for a placeholder `values` doesn't have.
|
|
162
325
|
*/
|
|
163
326
|
function fillTemplate(where, template, values) {
|
|
327
|
+
const problems = templateProblems(template);
|
|
328
|
+
if (problems.length > 0) throw new TypeError(`${where}: the template ${problems.join(", ")}`);
|
|
164
329
|
return template.replaceAll(/\{(\w+)\}/g, (match, name) => {
|
|
165
330
|
const value = values[name];
|
|
166
331
|
if (value === void 0) throw new TypeError(`${where}: ${match} is not available here. Use ${Object.keys(values).map((key) => `{${key}}`).join(", ")}`);
|
|
@@ -8,7 +8,7 @@ import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
|
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
|
|
9
9
|
import { g as JobHandler } from "./types-Czq9Xtpa.js";
|
|
10
10
|
import { r as RunState } from "./run-state-BMCD_1Lt.js";
|
|
11
|
-
import { I as Notifier } from "./define-block-
|
|
11
|
+
import { I as Notifier } from "./define-block-DibVN37N.js";
|
|
12
12
|
//#region src/blocks/ai-schedules/ai-schedules.d.ts
|
|
13
13
|
/** A task run's state, in the words ai-chat and workflow runs share. */
|
|
14
14
|
type AiTaskRunStatus = Extract<RunState, "queued" | "running" | "completed" | "failed">;
|
|
@@ -2,8 +2,8 @@ import { a as SessionActor, c as agentClaims, r as AgentActOptions } from "../..
|
|
|
2
2
|
import { d as KnowledgeSearchOptions, o as KnowledgeHit, r as Knowledge } from "../../knowledge-F1IhRI4Q.js";
|
|
3
3
|
import { t as Agent } from "../../agents-CMIB3802.js";
|
|
4
4
|
import { P as AiToolPolicy, _ as AiModerationAction, b as AiModerationStage, i as AiChat } from "../../ai-chat-BCaKsvLW.js";
|
|
5
|
-
import { r as AuthorizationOperation } from "../../authorization-
|
|
6
|
-
import { t as OperationTable } from "../../operations-
|
|
5
|
+
import { r as AuthorizationOperation } from "../../authorization-BCG1v0iC.js";
|
|
6
|
+
import { t as OperationTable } from "../../operations-DE7SOBw-.js";
|
|
7
7
|
import { i as SearchToolOptions, r as ResultsFilter } from "../../embeddings-D_RsS6ow.js";
|
|
8
8
|
import { n as GatewayOptions } from "../../gateway-options-BlVCqgb8.js";
|
|
9
9
|
import { LanguageModel, LanguageModelMiddleware, StopCondition, ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { i as CursorPageOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
3
3
|
import { g as JobHandler } from "../../types-Czq9Xtpa.js";
|
|
4
|
-
import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-
|
|
4
|
+
import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-DR1MHh7N.js";
|
|
5
5
|
import { Experimental_BatchItemResult, Experimental_BatchProvider, Experimental_BatchReference, Experimental_BatchStatus, Experimental_StartBatchOptions, Experimental_StartBatchResult } from "ai";
|
|
6
6
|
//#region src/ai-sdk/batches/batches.d.ts
|
|
7
7
|
/** The AI SDK batch calls, replaceable in tests. */
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { i as AiMessage } from "../message-Bg4TKA12.js";
|
|
|
4
4
|
import { g as JobHandler } from "../types-Czq9Xtpa.js";
|
|
5
5
|
import { U as AiSandboxes } from "../ai-chat-BCaKsvLW.js";
|
|
6
6
|
import { n as GatewayOptions, r as gatewayOptions, t as GatewayContext } from "../gateway-options-BlVCqgb8.js";
|
|
7
|
-
import { c as AiKeys, p as ResolvedProviderKey } from "../types-
|
|
7
|
+
import { c as AiKeys, p as ResolvedProviderKey } from "../types-DR1MHh7N.js";
|
|
8
8
|
import { a as Usage } from "../usage-Dp45V42p.js";
|
|
9
9
|
import { a as GatewayClient, c as UsageSource, d as modelInputOf, f as problem429, h as usageQuota, i as CostBackfillPayload, l as costBackfill, m as usageOf, n as AiUsageMeters, o as GatewayModelEntry, p as usageEntries, r as CostBackfillOptions, s as ModelCatalogRefreshOptions, t as AiUsage, u as modelCatalogRefresh } from "../gateway-DzI687yd.js";
|
|
10
10
|
import { i as fromModelMessages, n as ModelApproval, r as ModelSource, t as FromModelMessagesOptions } from "../model-messages-DrR4lZ_c.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
|
-
import { i as CredentialRef, r as CredentialProvider } from "../../provider-
|
|
3
|
-
import { r as ConnectorServer, s as Connectors } from "../../connectors-
|
|
4
|
-
import { n as VaultCredentials } from "../../vault-
|
|
2
|
+
import { i as CredentialRef, r as CredentialProvider } from "../../provider-ClrIplXa.js";
|
|
3
|
+
import { r as ConnectorServer, s as Connectors } from "../../connectors-CHGiffYH.js";
|
|
4
|
+
import { n as VaultCredentials } from "../../vault-BghaujrZ.js";
|
|
5
5
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, t as SupabaseMcpFeature } from "../../supabase-mcp-Z4vtsuoO.js";
|
|
6
6
|
import { ToolSet } from "ai";
|
|
7
7
|
import { ElicitResult, ElicitationRequest, MCPClient, OAuthClientMetadata, OAuthClientProvider } from "@ai-sdk/mcp";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { St as AnyPlugin, d as MutationIntent, ot as SchemaMeta } from "./types-DFdg_4yN.js";
|
|
2
|
-
import { bt as EventMap } from "./events-
|
|
2
|
+
import { bt as EventMap } from "./events-Cc9DDQWH.js";
|
|
3
3
|
import { o as Authorizer } from "./authorizer-B6X09otb.js";
|
|
4
|
-
import { p as DbBlockSource } from "./define-
|
|
5
|
-
import { n as CloudEventOptions } from "./cloud-event-
|
|
4
|
+
import { p as DbBlockSource } from "./define-BLP6XtoL.js";
|
|
5
|
+
import { n as CloudEventOptions } from "./cloud-event-DcJwder2.js";
|
|
6
6
|
import { t as RealtimeStatus } from "./realtime-status-BhNkb-Ow.js";
|
|
7
7
|
import { C as ModelWebhook, E as OperationSource, O as SecurityRequirement, S as ModelTag, a as JsonSchema, b as ModelServer, d as ModelInfo, f as ModelMessage, i as JsonObject, m as ModelOperation, n as DataApiOperation, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, v as ModelSecurityProfileRequirement, w as ModelWorkflow, y as ModelSecurityScheme } from "./model-hwpvole9.js";
|
|
8
8
|
import { c as SpecDiagnostic, i as DocumentOf, l as VersionOf, s as RenderedOf, t as AnyDocumentFormat } from "./format-u-65igKI.js";
|
|
@@ -3,7 +3,7 @@ import { t as AsyncResult } from "./result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
|
|
4
4
|
import { r as FieldsOf } from "./block-fields-BE7pInWZ.js";
|
|
5
5
|
import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
6
|
-
import { n as AuthResolver } from "./resolve-
|
|
6
|
+
import { n as AuthResolver } from "./resolve-Bj1qD7Dy.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "./logger-DWVYUmwi.js";
|
|
|
7
7
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
|
|
10
|
-
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-
|
|
10
|
+
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-DtzreCAq.js";
|
|
11
11
|
//#region src/blocks/approvals/approvals.d.ts
|
|
12
12
|
interface ApprovalsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
package/dist/astro/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.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-
|
|
3
|
+
import { t as BetterSupabase } from "../define-BLP6XtoL.js";
|
|
4
|
+
import { n as BetterServer } from "../server-types-BlDiY-ya.js";
|
|
5
5
|
import { P as StorageImageOptions } from "../index-CQhPHHDF.js";
|
|
6
|
-
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
7
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
8
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
6
|
+
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-Dxx3MT8m.js";
|
|
7
|
+
import { t as RefusalRedirects } from "../refusal-D_tklIEb.js";
|
|
8
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-GlxXiotm.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
//#region src/astro/index.d.ts
|
|
11
11
|
/**
|
|
@@ -304,17 +304,20 @@ interface BlockNameRegistry {
|
|
|
304
304
|
};
|
|
305
305
|
readonly "calendar": {
|
|
306
306
|
readonly tables: {
|
|
307
|
-
readonly "calendars": "id" | "tenant" | "name" | "tz" | "color" | "ownerType" | "ownerId" | "createdAt";
|
|
308
|
-
readonly "events": "id" | "tenant" | "calendar" | "uid" | "title" | "description" | "location" | "startsAt" | "endsAt" | "allDay" | "tz" | "status" | "rrule" | "exdates" | "recurrence" | "originalStart" | "subjectType" | "subjectId" | "color" | "kind" | "transparency" | "autoDecline" | "createdBy" | "createdAt" | "updatedAt";
|
|
309
|
-
readonly "attendees": "id" | "tenant" | "event" | "email" | "name" | "user" | "role" | "response";
|
|
307
|
+
readonly "calendars": "id" | "tenant" | "name" | "tz" | "color" | "ownerType" | "ownerId" | "createdAt" | "visibility" | "description" | "rank" | "isDefault";
|
|
308
|
+
readonly "events": "id" | "tenant" | "calendar" | "uid" | "title" | "description" | "location" | "startsAt" | "endsAt" | "allDay" | "tz" | "status" | "rrule" | "exdates" | "recurrence" | "originalStart" | "subjectType" | "subjectId" | "color" | "kind" | "transparency" | "autoDecline" | "createdBy" | "createdAt" | "updatedAt" | "visibility" | "owner" | "rdates";
|
|
309
|
+
readonly "attendees": "id" | "tenant" | "event" | "email" | "name" | "user" | "role" | "response" | "subjectType" | "subjectId" | "organizer" | "optional";
|
|
310
310
|
readonly "workingHours": "id" | "tenant" | "user" | "weekday" | "startsAt" | "endsAt" | "tz";
|
|
311
|
+
readonly "grants": "id" | "tenant" | "calendar" | "user" | "role" | "createdAt";
|
|
312
|
+
readonly "rules": "id" | "tenant" | "event" | "rrule" | "freq" | "interval" | "count" | "until" | "byDay" | "byMonthDay" | "byMonth" | "bySetPos";
|
|
313
|
+
readonly "recurrenceDates": "id" | "tenant" | "event" | "kind" | "at";
|
|
311
314
|
};
|
|
312
315
|
readonly functions: "calendar_attendee_auto_decline" | "calendar_block_auto_decline" | "calendar_busy_blocks" | "calendar_free_busy" | "calendar_rule_starts" | "cancel_calendar_occurrence" | "create_calendar" | "delete_calendar" | "delete_calendar_event" | "import_calendar_events" | "list_calendar_events" | "list_calendar_working_hours" | "list_calendars" | "remove_calendar_attendee" | "respond_calendar_event" | "save_calendar_event" | "set_calendar_attendee" | "set_calendar_working_hours" | "split_calendar_event";
|
|
313
316
|
readonly actions: "manage" | "write" | "read";
|
|
314
317
|
readonly hooks: "before_calendar_event_save" | "after_calendar_event_save";
|
|
315
318
|
readonly entities: {
|
|
316
|
-
readonly "calendar_event": "id" | "tenant_id" | "calendar_id" | "uid" | "title" | "description" | "location" | "starts_at" | "ends_at" | "all_day" | "tz" | "status" | "rrule" | "exdates" | "recurrence_id" | "original_start" | "subject_type" | "subject_id" | "color" | "kind" | "transparency" | "auto_decline" | "created_by" | "created_at" | "updated_at";
|
|
317
|
-
readonly "calendar": "id" | "tenant_id" | "name" | "tz" | "color" | "owner_type" | "owner_id" | "created_at";
|
|
319
|
+
readonly "calendar_event": "id" | "tenant_id" | "calendar_id" | "uid" | "title" | "description" | "location" | "starts_at" | "ends_at" | "all_day" | "tz" | "status" | "rrule" | "exdates" | "recurrence_id" | "original_start" | "subject_type" | "subject_id" | "color" | "kind" | "transparency" | "auto_decline" | "created_by" | "created_at" | "updated_at" | "visibility" | "owner_id" | "rdates";
|
|
320
|
+
readonly "calendar": "id" | "tenant_id" | "name" | "tz" | "color" | "owner_type" | "owner_id" | "created_at" | "visibility" | "description" | "rank" | "is_default";
|
|
318
321
|
};
|
|
319
322
|
readonly primary: "calendar_event";
|
|
320
323
|
};
|
|
@@ -639,15 +642,15 @@ interface BlockNameRegistry {
|
|
|
639
642
|
};
|
|
640
643
|
readonly "employees": {
|
|
641
644
|
readonly tables: {
|
|
642
|
-
readonly "employees": "id" | "tenant" | "user" | "name" | "email" | "jobTitle" | "team" | "manager" | "employmentType" | "status" | "startDate" | "endDate" | "offboardReason" | "originType" | "originId" | "createdBy" | "createdAt" | "updatedAt";
|
|
643
|
-
readonly "privateDetails": "employee" | "tenant" | "user" | "nationalId" | "iban" | "birthDate" | "personalEmail" | "phone" | "address" | "emergencyContacts" | "offboardedAt" | "anonymizedAt" | "updatedAt" | "updatedBy";
|
|
645
|
+
readonly "employees": "id" | "tenant" | "user" | "name" | "email" | "jobTitle" | "team" | "manager" | "employmentType" | "status" | "startDate" | "endDate" | "offboardReason" | "originType" | "originId" | "createdBy" | "createdAt" | "updatedAt" | "firstName" | "lastName";
|
|
646
|
+
readonly "privateDetails": "employee" | "tenant" | "user" | "nationalId" | "iban" | "birthDate" | "personalEmail" | "phone" | "address" | "emergencyContacts" | "offboardedAt" | "anonymizedAt" | "updatedAt" | "updatedBy" | "addressLine1" | "addressLine2" | "postalCode" | "city" | "region" | "country" | "emergencyName" | "emergencyPhone" | "emergencyRelation";
|
|
644
647
|
readonly "contracts": "id" | "tenant" | "employee" | "startsOn" | "endsOn" | "hoursPerWeek" | "salary" | "currency" | "salaryPeriod" | "note" | "createdBy" | "createdAt";
|
|
645
648
|
};
|
|
646
649
|
readonly functions: "add_employee_contract" | "create_employee" | "employee_contracts" | "employee_private_details" | "offboard_employee" | "org_chart" | "reports_of" | "save_employee_private_details" | "update_employees";
|
|
647
|
-
readonly actions: "read" | "write" | "viewSensitive";
|
|
650
|
+
readonly actions: "read" | "write" | "viewSensitive" | "create" | "contractsRead" | "contractsWrite" | "privateDetailsWrite";
|
|
648
651
|
readonly hooks: "before_employee_create" | "after_employee_create" | "before_employee_update" | "after_employee_update" | "before_employee_offboard" | "after_employee_offboard";
|
|
649
652
|
readonly entities: {
|
|
650
|
-
readonly "employee": "id" | "tenant_id" | "user_id" | "name" | "email" | "job_title" | "team_id" | "manager_id" | "employment_type" | "status" | "start_date" | "end_date" | "offboard_reason" | "origin_type" | "origin_id" | "created_by" | "created_at" | "updated_at";
|
|
653
|
+
readonly "employee": "id" | "tenant_id" | "user_id" | "name" | "email" | "job_title" | "team_id" | "manager_id" | "employment_type" | "status" | "start_date" | "end_date" | "offboard_reason" | "origin_type" | "origin_id" | "created_by" | "created_at" | "updated_at" | "first_name" | "last_name";
|
|
651
654
|
};
|
|
652
655
|
readonly primary: "employee";
|
|
653
656
|
};
|
|
@@ -801,9 +804,11 @@ interface BlockNameRegistry {
|
|
|
801
804
|
readonly "applications": "id" | "tenant" | "job" | "candidateType" | "candidateId" | "source" | "owner" | "pipeline" | "stage" | "stageEnteredAt" | "state" | "rejectionReason" | "hiredAt" | "rank" | "createdAt" | "updatedAt";
|
|
802
805
|
readonly "scorecards": "id" | "tenant" | "application" | "stage" | "reviewer" | "rating" | "recommendation" | "notes" | "submittedAt";
|
|
803
806
|
readonly "interviews": "id" | "tenant" | "application" | "kind" | "startsAt" | "endsAt" | "location" | "interviewers" | "createdBy" | "createdAt";
|
|
807
|
+
readonly "interviewers": "tenant" | "interview" | "user";
|
|
808
|
+
readonly "scorecardScores": "tenant" | "scorecard" | "criterion" | "score" | "notes";
|
|
804
809
|
};
|
|
805
810
|
readonly functions: "application_detail" | "apply_to_job" | "close_application" | "save_job" | "schedule_interview" | "submit_scorecard";
|
|
806
|
-
readonly actions: "read" | "write" | "manage";
|
|
811
|
+
readonly actions: "read" | "write" | "manage" | "create" | "jobsCreate" | "jobsUpdate" | "score";
|
|
807
812
|
readonly hooks: "before_application_hire" | "after_application_hire";
|
|
808
813
|
readonly entities: {
|
|
809
814
|
readonly "job": "id" | "tenant_id" | "title" | "team_id" | "location" | "employment_type" | "description" | "hiring_manager_user_id" | "status" | "opened_at" | "closed_at" | "created_at" | "updated_at";
|
|
@@ -1683,7 +1688,7 @@ interface BlockNameRegistry {
|
|
|
1683
1688
|
readonly "iterations": "id" | "tenant" | "team" | "name" | "startsOn" | "endsOn" | "createdAt";
|
|
1684
1689
|
};
|
|
1685
1690
|
readonly functions: "archive_work_item" | "create_work_item" | "delete_work_item" | "delete_work_item_checklist_item" | "get_work_item" | "list_work_item_checklist" | "list_work_items" | "save_iteration" | "save_project" | "save_work_item_checklist_item" | "set_work_item_assignees" | "update_work_items" | "work_item_tree";
|
|
1686
|
-
readonly actions: "read" | "write" | "manage";
|
|
1691
|
+
readonly actions: "read" | "write" | "manage" | "create" | "delete";
|
|
1687
1692
|
readonly hooks: "before_work_item_create" | "after_work_item_create" | "before_work_item_update" | "after_work_item_update";
|
|
1688
1693
|
readonly entities: {
|
|
1689
1694
|
readonly "work_item": "id" | "tenant_id" | "number" | "identifier" | "title" | "body" | "parent_id" | "team_id" | "project_id" | "iteration_id" | "priority" | "estimate" | "progress" | "start_at" | "end_at" | "due_at" | "pipeline_id" | "stage_id" | "stage_entered_at" | "state" | "close_reason" | "closed_at" | "locked" | "rank" | "archived_at" | "recurs_from" | "created_by" | "created_at" | "updated_at";
|
|
@@ -1723,15 +1728,15 @@ interface BlockNameRegistry {
|
|
|
1723
1728
|
};
|
|
1724
1729
|
readonly "time-tracking": {
|
|
1725
1730
|
readonly tables: {
|
|
1726
|
-
readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds" | "runningSince";
|
|
1727
|
-
readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt" | "status" | "decidedBy" | "decidedAt" | "decisionNote";
|
|
1731
|
+
readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds" | "runningSince" | "employee";
|
|
1732
|
+
readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt" | "status" | "decidedBy" | "decidedAt" | "decisionNote" | "employee";
|
|
1728
1733
|
};
|
|
1729
1734
|
readonly functions: "approve_timesheet" | "delete_time_entry" | "get_timesheet" | "list_time_entries" | "list_timesheets" | "log_time" | "reopen_timesheet" | "running_timer" | "start_timer" | "stop_timer" | "submit_timesheet" | "time_entry_guard" | "time_week" | "time_week_locked" | "update_time_entry";
|
|
1730
1735
|
readonly actions: "read" | "track" | "approve" | "manage";
|
|
1731
1736
|
readonly hooks: "before_time_entry_save" | "after_time_entry_save" | "before_timesheet_submit" | "after_timesheet_submit";
|
|
1732
1737
|
readonly entities: {
|
|
1733
|
-
readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds" | "running_since";
|
|
1734
|
-
readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at" | "status" | "decided_by" | "decided_at" | "decision_note";
|
|
1738
|
+
readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds" | "running_since" | "employee_id";
|
|
1739
|
+
readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at" | "status" | "decided_by" | "decided_at" | "decision_note" | "employee_id";
|
|
1735
1740
|
};
|
|
1736
1741
|
readonly primary: "entry";
|
|
1737
1742
|
};
|
|
@@ -2140,6 +2145,10 @@ type BulkSqlOptions = {
|
|
|
2140
2145
|
};
|
|
2141
2146
|
//#endregion
|
|
2142
2147
|
//#region src/blocks/calendar/options.d.ts
|
|
2148
|
+
type CalendarAccessFunctions = {
|
|
2149
|
+
readonly read?: string;
|
|
2150
|
+
readonly write?: string;
|
|
2151
|
+
};
|
|
2143
2152
|
/** `blocks.calendar.options`. */
|
|
2144
2153
|
type CalendarSqlOptions = {
|
|
2145
2154
|
readonly extraColumns?: ExtraColumns;
|
|
@@ -2148,6 +2157,13 @@ type CalendarSqlOptions = {
|
|
|
2148
2157
|
* takes as `fields` and `list_calendars` returns under `fields`.
|
|
2149
2158
|
*/
|
|
2150
2159
|
readonly calendarExtraColumns?: ExtraColumns;
|
|
2160
|
+
readonly access?: boolean;
|
|
2161
|
+
readonly accessFunctions?: CalendarAccessFunctions;
|
|
2162
|
+
readonly userFeed?: boolean;
|
|
2163
|
+
readonly recurrence?: "inline" | "table";
|
|
2164
|
+
readonly rdates?: boolean;
|
|
2165
|
+
readonly attendeeKey?: "email" | "any";
|
|
2166
|
+
readonly calendarDetails?: boolean;
|
|
2151
2167
|
};
|
|
2152
2168
|
//#endregion
|
|
2153
2169
|
//#region src/blocks/catalog/options.d.ts
|
|
@@ -2223,6 +2239,18 @@ type CustomFieldsSqlOptions = {
|
|
|
2223
2239
|
* encrypted or sensitive value. Needs the audit block.
|
|
2224
2240
|
*/
|
|
2225
2241
|
readonly auditReads?: boolean;
|
|
2242
|
+
/**
|
|
2243
|
+
* Keyed layout: the type of the `rank` column. `text` (the default) holds
|
|
2244
|
+
* fractional keys in `collate "C"` order; `integer` holds whole numbers, cast
|
|
2245
|
+
* to the type of the app's own rank column.
|
|
2246
|
+
*/
|
|
2247
|
+
readonly rankType?: "text" | "integer";
|
|
2248
|
+
/**
|
|
2249
|
+
* Keyed layout: what `read_field_values` checks. `tenant` (the default) needs
|
|
2250
|
+
* `permissions.read` in the tenant; `record` needs only that the caller can
|
|
2251
|
+
* read the record, through `can_subject(type, id, 'read')`.
|
|
2252
|
+
*/
|
|
2253
|
+
readonly readAccess?: "tenant" | "record";
|
|
2226
2254
|
};
|
|
2227
2255
|
//#endregion
|
|
2228
2256
|
//#region src/blocks/data-lifecycle/options.d.ts
|
|
@@ -2301,6 +2329,16 @@ type EmployeesSqlOptions = {
|
|
|
2301
2329
|
readonly privateDetailsExtraColumns?: ExtraColumns;
|
|
2302
2330
|
/** Columns of the app's own on the contracts table, set from `fields`. */
|
|
2303
2331
|
readonly contractExtraColumns?: ExtraColumns;
|
|
2332
|
+
readonly name?: "single" | "split";
|
|
2333
|
+
readonly privateDetails?: "json" | "flat";
|
|
2334
|
+
readonly contracts?: "append" | "editable";
|
|
2335
|
+
/** Whether the app's salary column holds minor or major units. */
|
|
2336
|
+
readonly salaryUnits?: "minor" | "major";
|
|
2337
|
+
/**
|
|
2338
|
+
* With editable contracts, `allow` adds a contract without the overlap check
|
|
2339
|
+
* and leaves the previous one as it is.
|
|
2340
|
+
*/
|
|
2341
|
+
readonly contractOverlap?: "end" | "allow";
|
|
2304
2342
|
};
|
|
2305
2343
|
//#endregion
|
|
2306
2344
|
//#region src/blocks/expenses/options.d.ts
|
|
@@ -2350,10 +2388,27 @@ type GrantsSqlOptions = {
|
|
|
2350
2388
|
};
|
|
2351
2389
|
//#endregion
|
|
2352
2390
|
//#region src/blocks/hiring/options.d.ts
|
|
2391
|
+
type HiringStageMarker = string | {
|
|
2392
|
+
readonly column: string;
|
|
2393
|
+
readonly value: string;
|
|
2394
|
+
};
|
|
2395
|
+
type HiringJobStages = {
|
|
2396
|
+
readonly table: string;
|
|
2397
|
+
readonly id?: string;
|
|
2398
|
+
readonly job: string;
|
|
2399
|
+
readonly rank: string;
|
|
2400
|
+
readonly archivedAt?: string;
|
|
2401
|
+
readonly hired?: HiringStageMarker;
|
|
2402
|
+
readonly rejected?: HiringStageMarker;
|
|
2403
|
+
readonly withdrawn?: HiringStageMarker;
|
|
2404
|
+
};
|
|
2353
2405
|
/** `blocks.hiring.options`. */
|
|
2354
2406
|
type HiringSqlOptions = {
|
|
2355
2407
|
readonly candidate?: string;
|
|
2356
2408
|
readonly extraColumns?: ExtraColumns;
|
|
2409
|
+
readonly stages?: "pipelines" | HiringJobStages;
|
|
2410
|
+
readonly scorecardKey?: "stage" | "application";
|
|
2411
|
+
readonly hiringManager?: "user" | "employee";
|
|
2357
2412
|
};
|
|
2358
2413
|
//#endregion
|
|
2359
2414
|
//#region src/blocks/identities/options.d.ts
|
|
@@ -2837,6 +2892,8 @@ type TasksSqlOptions = {
|
|
|
2837
2892
|
readonly prefix?: string;
|
|
2838
2893
|
readonly maxAssignees?: number;
|
|
2839
2894
|
readonly extraColumns?: ExtraColumns;
|
|
2895
|
+
/** Whether an item's author can delete it without the delete key. */
|
|
2896
|
+
readonly authorCanDelete?: boolean;
|
|
2840
2897
|
};
|
|
2841
2898
|
//#endregion
|
|
2842
2899
|
//#region src/blocks/teams/options.d.ts
|
|
@@ -2882,6 +2939,7 @@ type TimeTrackingSqlOptions = {
|
|
|
2882
2939
|
readonly column: string;
|
|
2883
2940
|
readonly key?: string;
|
|
2884
2941
|
};
|
|
2942
|
+
readonly owner?: "user" | "employee";
|
|
2885
2943
|
};
|
|
2886
2944
|
//#endregion
|
|
2887
2945
|
//#region src/blocks/trash/options.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ft as RequestContext } from "./types-DFdg_4yN.js";
|
|
2
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
+
import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
|
|
3
3
|
//#region src/core/contracts/authorization-hooks.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An email address or chat user, as a bot or a mail webhook sees it. The value
|
|
@@ -2,7 +2,10 @@ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
|
|
|
2
2
|
//#region src/blocks/hiring/options.ts
|
|
3
3
|
const hiringSqlOptions = blockOptions({
|
|
4
4
|
candidate: option.string({ default: "person" }),
|
|
5
|
-
extraColumns: option.extraColumns()
|
|
5
|
+
extraColumns: option.extraColumns(),
|
|
6
|
+
stages: option.unknown({ default: "pipelines" }),
|
|
7
|
+
scorecardKey: option.string({ default: "stage" }),
|
|
8
|
+
hiringManager: option.string({ default: "user" })
|
|
6
9
|
});
|
|
7
10
|
//#endregion
|
|
8
11
|
//#region src/blocks/hiring/automations.ts
|
|
@@ -11,6 +11,11 @@ interface CalendarAttendee {
|
|
|
11
11
|
readonly userId?: string;
|
|
12
12
|
readonly role: AttendeeRole;
|
|
13
13
|
readonly response: AttendeeResponse;
|
|
14
|
+
readonly id?: string;
|
|
15
|
+
readonly subjectType?: string;
|
|
16
|
+
readonly subjectId?: string;
|
|
17
|
+
readonly organizer?: boolean;
|
|
18
|
+
readonly optional?: boolean;
|
|
14
19
|
}
|
|
15
20
|
/** One `VEVENT`, ready for `importIcs` or `upsert`. */
|
|
16
21
|
interface IcsEvent {
|
|
@@ -27,6 +32,7 @@ interface IcsEvent {
|
|
|
27
32
|
readonly status: CalendarEventStatus;
|
|
28
33
|
readonly rrule?: string;
|
|
29
34
|
readonly exdates: readonly Temporal.Instant[];
|
|
35
|
+
readonly rdates?: readonly Temporal.Instant[];
|
|
30
36
|
/** `RECURRENCE-ID`: the occurrence of the series this event overrides. */
|
|
31
37
|
readonly originalStart?: Temporal.Instant;
|
|
32
38
|
readonly attendees: readonly CalendarAttendee[];
|
|
@@ -63,6 +69,7 @@ interface IcsSource {
|
|
|
63
69
|
readonly status: CalendarEventStatus;
|
|
64
70
|
readonly rrule?: string;
|
|
65
71
|
readonly exdates: readonly Temporal.Instant[];
|
|
72
|
+
readonly rdates?: readonly Temporal.Instant[];
|
|
66
73
|
readonly originalStart?: Temporal.Instant;
|
|
67
74
|
readonly attendees?: readonly CalendarAttendee[];
|
|
68
75
|
readonly updatedAt?: Temporal.Instant;
|
|
@@ -100,6 +107,7 @@ interface CalendarEvent {
|
|
|
100
107
|
/** The RFC 5545 `RRULE` value of a series, without the `RRULE:` prefix. */
|
|
101
108
|
readonly rrule?: string;
|
|
102
109
|
readonly exdates: readonly Temporal.Instant[];
|
|
110
|
+
readonly rdates?: readonly Temporal.Instant[];
|
|
103
111
|
/** The series an override belongs to. */
|
|
104
112
|
readonly recurrenceId?: string;
|
|
105
113
|
/** The occurrence of the series an override replaces. */
|
|
@@ -114,6 +122,8 @@ interface CalendarEvent {
|
|
|
114
122
|
readonly autoDecline?: boolean;
|
|
115
123
|
readonly attendees: readonly CalendarAttendee[];
|
|
116
124
|
readonly updatedAt?: Temporal.Instant;
|
|
125
|
+
readonly visibility?: "public" | "private";
|
|
126
|
+
readonly ownerId?: string;
|
|
117
127
|
}
|
|
118
128
|
/** One occurrence in a range: a single event, or one instance of a series. */
|
|
119
129
|
interface CalendarOccurrence {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, n as BetterResultApi, t as AsyncResult } from "../result-DZeA5KS6.js";
|
|
2
2
|
import { Ct as ApplyExtension, K as Insert, O as AnyFunctions, Z as PrimaryKeyValue, dt as TableMeta, ht as Update, k as AnyModels, ut as TableKey } from "../types-DFdg_4yN.js";
|
|
3
|
-
import { $ as SearchArgs, A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, E as ManyResult, F as PageOf, G as UpsertArgs, H as RpcArgs, I as PlainName, J as WriteManyArgs, K as UpsertManyArgs, L as RawRpcOptions, M as OverloadArgs, N as OverloadReturns, O as NoArgName, Ot as CountArgs, P as OverloadedName, Pt as ListArgs, S as DeleteExt, T as ManyOutcome, U as RpcOptions, V as RowFilter, Vt as Payload, W as UpdateArgs, bt as AggregateArgs, et as SearchScore, j as OffsetRangeArgs, lt as ReadSetResult, mt as QuerySpec, nt as ReadSet, pt as InferResult, q as WriteArgs, tt as InferReadSetParams, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "../define-
|
|
4
|
-
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-
|
|
3
|
+
import { $ as SearchArgs, A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, E as ManyResult, F as PageOf, G as UpsertArgs, H as RpcArgs, I as PlainName, J as WriteManyArgs, K as UpsertManyArgs, L as RawRpcOptions, M as OverloadArgs, N as OverloadReturns, O as NoArgName, Ot as CountArgs, P as OverloadedName, Pt as ListArgs, S as DeleteExt, T as ManyOutcome, U as RpcOptions, V as RowFilter, Vt as Payload, W as UpdateArgs, bt as AggregateArgs, et as SearchScore, j as OffsetRangeArgs, lt as ReadSetResult, mt as QuerySpec, nt as ReadSet, pt as InferResult, q as WriteArgs, tt as InferReadSetParams, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "../define-BLP6XtoL.js";
|
|
4
|
+
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-XHoYDlRN.js";
|
|
5
5
|
import { Result } from "better-result";
|
|
6
6
|
//#region src/better-result/better-result.d.ts
|
|
7
7
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
|
|
2
2
|
import { o as BlockTenant } from "./block-helpers-CRpAHrp_.js";
|
|
3
|
-
import { t as BetterSupabase, y as Db } from "./define-
|
|
3
|
+
import { t as BetterSupabase, y as Db } from "./define-BLP6XtoL.js";
|
|
4
4
|
import { n as DataEngine } from "./data-engine-BWoz9lED.js";
|
|
5
|
-
import { Dn as GeneratedBlocks } from "./define-block-
|
|
6
|
-
import { rt as BetterQueries } from "./index-
|
|
7
|
-
import { t as ClientPorts } from "./ports-
|
|
5
|
+
import { Dn as GeneratedBlocks } from "./define-block-DibVN37N.js";
|
|
6
|
+
import { rt as BetterQueries } from "./index-BfYDY6eh.js";
|
|
7
|
+
import { t as ClientPorts } from "./ports-DP0bthUk.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
//#region src/client/bind.d.ts
|
|
10
10
|
interface AuthUser {
|