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,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
5
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
6
6
|
import { s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
|
-
import { n as VaultCredentials } from "../../vault-
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { n as VaultCredentials } from "../../vault-BghaujrZ.js";
|
|
9
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
10
10
|
import { n as Jwks } from "../../jws-D0toeQlA.js";
|
|
11
11
|
import { o as Signer } from "../../signing-keys-BNDUxpQL.js";
|
|
12
12
|
//#region src/blocks/security-events/set.d.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
4
|
-
import { F as SegmentEventData, I as SegmentMemberEventData } from "../../index-
|
|
3
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
4
|
+
import { F as SegmentEventData, I as SegmentMemberEventData } from "../../index-C_qlBJ3k.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
6
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { n as segmentsSqlOptions, t as SegmentsSqlOptions } from "../../options-D-OOO9V2.js";
|
|
10
10
|
import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
12
12
|
//#region src/blocks/segments/segments.d.ts
|
|
13
13
|
/** A saved filter over one subject type, with its materialized members. */
|
|
14
14
|
interface Segment {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
4
|
-
import { Ct as Events } from "../../events-
|
|
4
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
6
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
8
8
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
9
9
|
import { n as sequencesSqlOptions, t as SequencesSqlOptions } from "../../options-B0YZtAkb.js";
|
|
10
|
-
import { F as BlockPorts, Sn as EntitySchema, V as MailSendDraft, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { F as BlockPorts, Sn as EntitySchema, V as MailSendDraft, c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
11
11
|
//#region src/blocks/sequences/sequences.d.ts
|
|
12
12
|
declare const SEQUENCE_STATUSES: readonly ["draft", "active", "paused", "archived"];
|
|
13
13
|
declare const RUN_STATUSES: readonly ["active", "paused", "completed", "exited"];
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { i as RowFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { $ as SaasEventData, Ct as Events } from "../../events-
|
|
5
|
+
import { $ as SaasEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
11
11
|
//#region src/blocks/service-accounts/service-accounts.d.ts
|
|
12
12
|
/** The `app_metadata` key that marks an `auth.users` row as a service principal. */
|
|
13
13
|
export declare const SERVICE_PRINCIPAL_CLAIM = "bsb_service_principal";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { r as Block } from "../../define-block-
|
|
4
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
3
|
+
import { r as Block } from "../../define-block-DibVN37N.js";
|
|
4
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
5
5
|
import { t as AuthReply } from "../../auth-reply-Dj124sbX.js";
|
|
6
6
|
//#region src/blocks/sessions/client.d.ts
|
|
7
7
|
/** An OAuth client as the Auth OAuth server describes it. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
|
-
import { Ct as Events, rt as SettingEventData } from "../../events-
|
|
2
|
+
import { Ct as Events, rt as SettingEventData } from "../../events-Cc9DDQWH.js";
|
|
3
3
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
4
4
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
6
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
7
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
8
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
//#region src/blocks/settings/settings.d.ts
|
|
11
11
|
/**
|
|
@@ -3,11 +3,11 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-
|
|
6
|
+
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-Cc9DDQWH.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
10
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
11
11
|
//#region src/blocks/share-links/share-links.d.ts
|
|
12
12
|
interface ShareLinksOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
13
13
|
/**
|
|
@@ -3,13 +3,13 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
6
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
11
|
import { n as shipmentsSqlOptions, t as ShipmentsSqlOptions } from "../../options-BbLDAp7G.js";
|
|
12
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
12
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
13
13
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
14
14
|
import { r as WebhookInput } from "../../signatures-Dkx9OE8j.js";
|
|
15
15
|
import { C as TrackingStatus, S as TRACKING_STATUSES, _ as trackingUpdatesOf, a as FlatRateCarrierOptions, b as SHIPMENT_STATUSES, c as ShipmentLabel, d as ShipmentRate, f as ShipmentRateRequest, g as shipmentCarrierOf, h as invalidShipmentRequest, i as CarrierTrackingUpdate, l as ShipmentLabelRequest, m as flatRateCarrier, n as CarrierCancelInput, o as FlatRateService, p as ShippingProvider, r as CarrierTrackingEvent, s as ShipmentAddress, t as CarrierCallOptions, u as ShipmentParcel, v as LABEL_FORMATS, x as ShipmentStatus, y as LabelFormat } from "../../carrier-KzeYXVrW.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, it as SignatureEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, it as SignatureEventData } from "../../events-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
10
|
import { t as SignaturesSqlOptions } from "../../options-C7C5OhmL.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
12
12
|
//#region src/blocks/signatures/signatures.d.ts
|
|
13
13
|
interface SignaturesOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
14
14
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ct as Events } from "../../events-
|
|
1
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
2
2
|
import { s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
3
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
4
4
|
import { a as JwsError, c as VerifyCompactOptions, d as verifyCompact, i as JwsAlgorithm, l as jwkThumbprint, n as Jwks, o as SigningAlgorithm, s as VerifiedJws, t as Jwk, u as jwksOf } from "../../jws-D0toeQlA.js";
|
|
5
5
|
import { a as Signature, c as SigningKeyOwner, d as createSigningKeys, f as jwtType, i as PLATFORM_OWNER, l as SigningKeys, n as JwksOptions, o as Signer, r as JwksResponseOptions, s as SignerOptions, t as CreatedSigningKey, u as SigningKeysOptions } from "../../signing-keys-BNDUxpQL.js";
|
|
6
6
|
//#region src/blocks/signing-keys/events.d.ts
|
|
@@ -3,13 +3,13 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { Ct as Events } from "../../events-
|
|
7
|
-
import { L as SlaEventData } from "../../index-
|
|
6
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
7
|
+
import { L as SlaEventData } from "../../index-C_qlBJ3k.js";
|
|
8
8
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
9
9
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
10
10
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
11
11
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
12
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
12
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
13
13
|
//#region src/blocks/sla/sla.d.ts
|
|
14
14
|
type SlaMetric = "first_response" | "next_response" | "resolution";
|
|
15
15
|
type SlaState = "running" | "paused" | "met" | "breached";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { f as Result } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events, X as OrganizationDomainEventData, Z as OrganizationEventData, at as SsoProviderEventData, nt as ScimEventData } from "../../events-
|
|
3
|
+
import { Ct as Events, X as OrganizationDomainEventData, Z as OrganizationEventData, at as SsoProviderEventData, nt as ScimEventData } from "../../events-Cc9DDQWH.js";
|
|
4
4
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
5
5
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
6
|
-
import { c as BlockOf } from "../../define-block-
|
|
7
|
-
import { l as ApiKeys } from "../../api-keys-
|
|
6
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
7
|
+
import { l as ApiKeys } from "../../api-keys-ClhKBDcc.js";
|
|
8
8
|
import { _ as dohResolver, a as SamlProviderInput, c as SsoAdmin, d as SsoDomain, f as SsoOptions, g as createSsoAdmin, h as createSso, i as SamlMetadata, l as SsoAdminOptions, m as TxtResolver, n as DomainRecord, o as Sso, p as SsoProvider, r as OrganizationDomain, s as SsoActor, t as DohResolverOptions, u as SsoAuthAdmin } from "../../sso-B0Txid2-.js";
|
|
9
9
|
//#region src/blocks/sso/scim-filter.d.ts
|
|
10
10
|
type CompareOp = "eq" | "ne" | "co" | "sw" | "ew" | "gt" | "ge" | "lt" | "le";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
4
|
-
import { Ct as Events, et as SaasSubjectEventData } from "../../events-
|
|
4
|
+
import { Ct as Events, et as SaasSubjectEventData } from "../../events-Cc9DDQWH.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
6
|
import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
9
9
|
//#region src/blocks/state-machine/state-machine.d.ts
|
|
10
10
|
interface StateMachineOptions<S extends string = string> extends BlockOptions {
|
|
11
11
|
/** `withBlockHooks` hooks around the client's methods. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
4
|
-
import { c as BlockOf } from "../../define-block-
|
|
5
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
4
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
5
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
6
6
|
import { t as subjectKey } from "../../block-subjects-CphkQPxp.js";
|
|
7
7
|
import { c as Subjects, d as MY_WORK_KINDS, f as MyWorkKind, l as SubjectsOptions, n as MyWorkItem, o as ResolvedSubject, r as MyWorkOptions, s as SUBJECT_TITLES_LIMIT, t as MY_WORK_LIMIT, u as createSubjects } from "../../subjects-BpIEN1MS.js";
|
|
8
8
|
//#region src/blocks/subjects/manifest.d.ts
|
|
@@ -2,12 +2,12 @@ import { b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5K
|
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
3
3
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
4
4
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
5
|
-
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-
|
|
5
|
+
import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
9
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-
|
|
10
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
9
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
10
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
11
11
|
import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
|
|
12
12
|
//#region src/blocks/tags/tags.d.ts
|
|
13
13
|
interface TagsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { T as ErrorMapper, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events } from "../../events-
|
|
6
|
-
import { R as WorkItemEventData } from "../../index-
|
|
5
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
6
|
+
import { R as WorkItemEventData } from "../../index-C_qlBJ3k.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { Bt as Action, Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-
|
|
12
|
-
import { i as EventSink } from "../../cloud-event-
|
|
13
|
-
import { n as ConversionContext, t as ConversionClients } from "../../conversion-
|
|
11
|
+
import { Bt as Action, Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
12
|
+
import { i as EventSink } from "../../cloud-event-DcJwder2.js";
|
|
13
|
+
import { n as ConversionContext, t as ConversionClients } from "../../conversion-DlfStnln.js";
|
|
14
14
|
import { i as Conversation } from "../../types-Dp3UCr1e.js";
|
|
15
15
|
//#region src/blocks/tasks/tasks.d.ts
|
|
16
16
|
/** The state a stage's category sets; `completed` and `canceled` are closed. */
|
|
@@ -248,7 +248,7 @@ export declare function createTasks<S extends StandardSchemaV1 | undefined = und
|
|
|
248
248
|
export declare function nextWorkItemOccurrence(rule: WorkItemRecurrence, after: Temporal.Instant): Temporal.Instant | undefined;
|
|
249
249
|
interface WorkItemRecurrenceSinkOptions {
|
|
250
250
|
/**
|
|
251
|
-
* The closed event's type without `typePrefix`, after `blocks.tasks.
|
|
251
|
+
* The closed event's type without `typePrefix`, after `blocks.tasks.names`
|
|
252
252
|
* (`task.closed`). Default `work_item.closed`.
|
|
253
253
|
*/
|
|
254
254
|
readonly type?: string;
|
|
@@ -2,7 +2,7 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
|
|
|
2
2
|
import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
4
4
|
import { a as ok, r as err, t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { t as tasksSqlOptions } from "../../options-
|
|
5
|
+
import { t as tasksSqlOptions } from "../../options-COo7_3MX.js";
|
|
6
6
|
import { a as stripTypePrefix } from "../../cloud-event-XsM53POL.js";
|
|
7
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
8
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
2
2
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
3
3
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
4
|
-
import { $ as SaasEventData, Ct as Events } from "../../events-
|
|
4
|
+
import { $ as SaasEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
5
5
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
6
6
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
9
9
|
//#region src/blocks/teams/teams.d.ts
|
|
10
10
|
interface TeamsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
11
11
|
/**
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, dt as TemplateEventData, ut as TemplateApplicationEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, dt as TemplateEventData, ut as TemplateApplicationEventData } from "../../events-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
11
11
|
import { t as ComposedEmail } from "../../email-B3YxEzwC.js";
|
|
12
|
-
import { E as WorkflowStepInfo, x as WorkflowEditor } from "../../types-
|
|
13
|
-
import { i as GraphStepCall } from "../../executor-
|
|
12
|
+
import { E as WorkflowStepInfo, x as WorkflowEditor } from "../../types-BdaBfYIw.js";
|
|
13
|
+
import { i as GraphStepCall } from "../../executor-C-Ox9eKq.js";
|
|
14
14
|
//#region src/blocks/templates/merge-fields.d.ts
|
|
15
15
|
/** How a rendered value is escaped: for HTML markup, or left as it is. */
|
|
16
16
|
type MergeEscape = "html" | "text";
|
|
@@ -3,14 +3,14 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { Ct as Events, ft as TimeEntryEventData, pt as TimesheetEventData } from "../../events-
|
|
6
|
+
import { Ct as Events, ft as TimeEntryEventData, pt as TimesheetEventData } from "../../events-Cc9DDQWH.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
12
12
|
import { n as Money } from "../../money-BNRdJQzA.js";
|
|
13
|
-
import { t as CloudEvent } from "../../cloud-event-
|
|
13
|
+
import { t as CloudEvent } from "../../cloud-event-DcJwder2.js";
|
|
14
14
|
import { n as MetricDefinition } from "../../metric-definition-EAYI1r2n.js";
|
|
15
15
|
//#region src/blocks/time-tracking/time-tracking.d.ts
|
|
16
16
|
interface TimeTrackingOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
@@ -38,6 +38,7 @@ interface TimeEntry<F extends object = Record<never, never>> {
|
|
|
38
38
|
readonly id: string;
|
|
39
39
|
readonly organizationId: string;
|
|
40
40
|
readonly userId: string;
|
|
41
|
+
readonly employeeId?: string;
|
|
41
42
|
/** The record the time is tracked on; `undefined` for an unattached entry. */
|
|
42
43
|
readonly subject: RecordRef | undefined;
|
|
43
44
|
readonly startedAt: Temporal.Instant;
|
|
@@ -70,6 +71,7 @@ interface LogTimeInput<F extends object = Record<never, never>> extends TimeEntr
|
|
|
70
71
|
readonly endedAt: Temporal.Instant;
|
|
71
72
|
/** Another member; needs `time_tracking.manage`. Default: the caller. */
|
|
72
73
|
readonly userId?: string;
|
|
74
|
+
readonly employeeId?: string;
|
|
73
75
|
}
|
|
74
76
|
/** The fields to change. `null` clears the subject, rate or note. */
|
|
75
77
|
interface TimeEntryPatch<F extends object = Record<never, never>> {
|
|
@@ -85,6 +87,7 @@ interface TimeEntryPatch<F extends object = Record<never, never>> {
|
|
|
85
87
|
interface TimeEntryListOptions {
|
|
86
88
|
/** Another member's entries; needs `time_tracking.read`. Default: the caller. */
|
|
87
89
|
readonly userId?: string;
|
|
90
|
+
readonly employeeId?: string;
|
|
88
91
|
/** Every member's entries; needs `time_tracking.read`. */
|
|
89
92
|
readonly everyone?: boolean;
|
|
90
93
|
/** Entries that end after this instant. */
|
|
@@ -101,6 +104,7 @@ interface Timesheet {
|
|
|
101
104
|
readonly id?: string;
|
|
102
105
|
readonly organizationId: string;
|
|
103
106
|
readonly userId: string;
|
|
107
|
+
readonly employeeId?: string;
|
|
104
108
|
/** The Monday the week starts on. */
|
|
105
109
|
readonly week: Temporal.PlainDate;
|
|
106
110
|
readonly status: TimesheetStatus;
|
|
@@ -133,6 +137,7 @@ interface TimesheetDetail<F extends object = Record<never, never>> extends Times
|
|
|
133
137
|
interface TimesheetListOptions {
|
|
134
138
|
/** Another member's timesheets; needs `time_tracking.read`. */
|
|
135
139
|
readonly userId?: string;
|
|
140
|
+
readonly employeeId?: string;
|
|
136
141
|
readonly status?: TimesheetStatus;
|
|
137
142
|
readonly pageSize?: number;
|
|
138
143
|
/** Weeks before this one, for the next page. */
|
|
@@ -158,9 +163,9 @@ interface TimeTracking<F extends object = Record<never, never>> {
|
|
|
158
163
|
/** Newest first. */
|
|
159
164
|
list(options?: TimeEntryListOptions): AsyncResult<readonly TimeEntry<F>[]>;
|
|
160
165
|
/** A member's week (the caller's by default) with its entries and totals. */
|
|
161
|
-
timesheet(week: Temporal.PlainDate, userId?: string): AsyncResult<TimesheetDetail<F>>;
|
|
166
|
+
timesheet(week: Temporal.PlainDate, userId?: string, employeeId?: string): AsyncResult<TimesheetDetail<F>>;
|
|
162
167
|
/** Sends the caller's week for approval; it locks until a rejection. */
|
|
163
|
-
submit(week: Temporal.PlainDate, note?: string): AsyncResult<Timesheet>;
|
|
168
|
+
submit(week: Temporal.PlainDate, note?: string, employeeId?: string): AsyncResult<Timesheet>;
|
|
164
169
|
/** Unlocks an approved week; needs `time_tracking.manage`. */
|
|
165
170
|
reopen(timesheetId: string): AsyncResult<Timesheet>;
|
|
166
171
|
/**
|
|
@@ -2,7 +2,7 @@ import { n as isRecord } from "../../guards-6F2bCtQR.js";
|
|
|
2
2
|
import { s as nowInstant } from "../../temporal-Dbo0fLzc.js";
|
|
3
3
|
import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-ntFBW2p2.js";
|
|
5
|
-
import { t as timeTrackingSqlOptions } from "../../options-
|
|
5
|
+
import { t as timeTrackingSqlOptions } from "../../options-eTepQ1rZ.js";
|
|
6
6
|
import { r as defineMetric } from "../../metric-definition-BjxVn4R5.js";
|
|
7
7
|
import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
|
|
8
8
|
import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, U as rpcTransport, V as dbTransport, W as sqlTransport, d as enumOrThrow, j as requiredInstant, m as instantArg, n as applyTemporal, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
|
|
@@ -29,7 +29,8 @@ function entryOf(value, fn) {
|
|
|
29
29
|
return {
|
|
30
30
|
id: textOf(row["id"]),
|
|
31
31
|
organizationId: textOf(row["organizationId"]),
|
|
32
|
-
userId:
|
|
32
|
+
userId: optionalText(row["userId"]) ?? "",
|
|
33
|
+
...optional("employeeId", optionalText(row["employeeId"])),
|
|
33
34
|
subject: optionalRecordRefOf(row["subjectType"], row["subjectId"]),
|
|
34
35
|
startedAt: requiredInstant(row["startedAt"], "startedAt"),
|
|
35
36
|
billable: row["billable"] === true,
|
|
@@ -46,7 +47,8 @@ function timesheetOf(value, fn) {
|
|
|
46
47
|
const row = recordOf(value, fn);
|
|
47
48
|
return {
|
|
48
49
|
organizationId: textOf(row["organizationId"]),
|
|
49
|
-
userId:
|
|
50
|
+
userId: optionalText(row["userId"]) ?? "",
|
|
51
|
+
...optional("employeeId", optionalText(row["employeeId"])),
|
|
50
52
|
week: temporal().PlainDate.from(textOf(row["week"])),
|
|
51
53
|
status: enumOrThrow(row["status"], STATUSES, "timesheet status"),
|
|
52
54
|
...optional("id", optionalText(row["id"])),
|
|
@@ -125,6 +127,7 @@ function createTimeTracking(options) {
|
|
|
125
127
|
rate_currency: input.rate?.currency ?? null,
|
|
126
128
|
note: input.note ?? null,
|
|
127
129
|
user_id: input.userId ?? null,
|
|
130
|
+
...optional("employee_id", input.employeeId),
|
|
128
131
|
fields: checked
|
|
129
132
|
}, (value) => entryOf(value, "log_time")).andThen(fields.row)));
|
|
130
133
|
},
|
|
@@ -148,12 +151,14 @@ function createTimeTracking(options) {
|
|
|
148
151
|
subject_type: list.subject?.type ?? null,
|
|
149
152
|
subject_id: list.subject?.id ?? null,
|
|
150
153
|
everyone: list.everyone ?? false,
|
|
151
|
-
page_size: list.pageSize ?? null
|
|
154
|
+
page_size: list.pageSize ?? null,
|
|
155
|
+
...optional("employee_id", list.employeeId)
|
|
152
156
|
}, (value) => recordsOf(value, "list_time_entries").map((row) => entryOf(row, "list_time_entries"))).andThen(fields.rows)),
|
|
153
|
-
timesheet: (week, userId) => tenant().andThen((organizationId) => call("get_timesheet", {
|
|
157
|
+
timesheet: (week, userId, employeeId) => tenant().andThen((organizationId) => call("get_timesheet", {
|
|
154
158
|
tenant: organizationId,
|
|
155
159
|
week: week.toString(),
|
|
156
|
-
user_id: userId ?? null
|
|
160
|
+
user_id: userId ?? null,
|
|
161
|
+
...optional("employee_id", employeeId)
|
|
157
162
|
}, (value) => {
|
|
158
163
|
const row = recordOf(value, "get_timesheet");
|
|
159
164
|
return {
|
|
@@ -165,10 +170,11 @@ function createTimeTracking(options) {
|
|
|
165
170
|
...detail,
|
|
166
171
|
entries
|
|
167
172
|
})))),
|
|
168
|
-
submit: (week, note) => tenant().andThen((organizationId) => call("submit_timesheet", {
|
|
173
|
+
submit: (week, note, employeeId) => tenant().andThen((organizationId) => call("submit_timesheet", {
|
|
169
174
|
tenant: organizationId,
|
|
170
175
|
week: week.toString(),
|
|
171
|
-
note: note ?? null
|
|
176
|
+
note: note ?? null,
|
|
177
|
+
...optional("employee_id", employeeId)
|
|
172
178
|
}, (value) => timesheetOf(value, "submit_timesheet"))),
|
|
173
179
|
approve: (timesheetId) => call("approve_timesheet", { timesheet_id: timesheetId }, (value) => timesheetOf(value, "approve_timesheet")),
|
|
174
180
|
reject: (timesheetId, note) => call("reject_timesheet", {
|
|
@@ -181,7 +187,8 @@ function createTimeTracking(options) {
|
|
|
181
187
|
user_id: list.userId ?? null,
|
|
182
188
|
status: list.status ?? null,
|
|
183
189
|
page_size: list.pageSize ?? null,
|
|
184
|
-
before: list.before?.toString() ?? null
|
|
190
|
+
before: list.before?.toString() ?? null,
|
|
191
|
+
...optional("employee_id", list.employeeId)
|
|
185
192
|
}, (value) => recordsOf(value, "list_timesheets").map((row) => timesheetOf(row, "list_timesheets"))))
|
|
186
193
|
}, options.hooks, {
|
|
187
194
|
block: "time-tracking",
|
|
@@ -5,10 +5,10 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
|
5
5
|
import { a as BlockTenantOptions, i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
6
6
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
|
-
import { t as BetterSupabase } from "../../define-
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
-
import { i as EventSink, t as CloudEvent } from "../../cloud-event-
|
|
11
|
-
import { i as ListDefinition } from "../../list-query-
|
|
8
|
+
import { t as BetterSupabase } from "../../define-BLP6XtoL.js";
|
|
9
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
10
|
+
import { i as EventSink, t as CloudEvent } from "../../cloud-event-DcJwder2.js";
|
|
11
|
+
import { i as ListDefinition } from "../../list-query-XHoYDlRN.js";
|
|
12
12
|
//#region src/blocks/timeline/timeline.d.ts
|
|
13
13
|
/**
|
|
14
14
|
* Where a timeline entry comes from: `event` for an `activity_entries` row that
|
|
@@ -3,12 +3,12 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { Dt as HasFlag, Mt as Plugin, Pt as RepositoryExtension, Z as PrimaryKeyValue } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { A as CollaborationEventData, Ct as Events } from "../../events-
|
|
6
|
+
import { A as CollaborationEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { c as BlockOf } from "../../define-block-
|
|
11
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
12
12
|
//#region src/blocks/trash/trash.d.ts
|
|
13
13
|
interface TrashOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockOptions {
|
|
14
14
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
2
|
-
import { c as BlockOf } from "../../define-block-
|
|
3
|
-
import { n as Controller } from "../../controller-
|
|
2
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
3
|
+
import { n as Controller } from "../../controller-Cl6HmMBk.js";
|
|
4
4
|
import { a as UndoToken, c as undoToken, i as UndoOptions, n as Undo, o as createUndo, r as UndoCall, s as isUndoToken, t as UNDO_FUNCTIONS } from "../../undo-B1jwnVyN.js";
|
|
5
5
|
//#region src/blocks/undo/client.d.ts
|
|
6
6
|
interface UndoEntry {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { Mt as Plugin } from "../../types-DFdg_4yN.js";
|
|
3
3
|
import { t as UpdatedAtSqlOptions } from "../../options-B_NrjVDt.js";
|
|
4
|
-
import { r as Block } from "../../define-block-
|
|
4
|
+
import { r as Block } from "../../define-block-DibVN37N.js";
|
|
5
5
|
//#region src/blocks/updated-at/extension.d.ts
|
|
6
6
|
/**
|
|
7
7
|
* The `updated-at` block's repository extension. Stamps the columns generated
|
|
@@ -2,8 +2,8 @@ import { b as DbError } from "../../result-DZeA5KS6.js";
|
|
|
2
2
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
3
3
|
import { n as StripeSource, t as StripeClient } from "../../stripe-X22LjuH-.js";
|
|
4
4
|
import { _ as reportUsageToStripe, a as Usage, c as UsageEntry, d as UsageMeterInfo, f as UsageOptions, g as createUsage, h as UsageStatus, i as ReportUsageResult, l as UsageHistoryEntry, m as UsageRecorded, n as RecordUsageOptions, o as UsageBatchRecorded, p as UsagePeriod, r as ReportUsageOptions, s as UsageBreakdownEntry, t as PurgeUsageOptions, u as UsageHistoryOptions } from "../../usage-Dp45V42p.js";
|
|
5
|
-
import { c as BlockOf } from "../../define-block-
|
|
6
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
5
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
6
|
+
import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
|
|
7
7
|
//#region src/blocks/usage/manifest.d.ts
|
|
8
8
|
/** The `usage` block's manifest (ADR 0029). */
|
|
9
9
|
export declare const usageBlock: BlockOf<"usage", typeof createUsage>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
|
-
import { Ct as Events } from "../../events-
|
|
3
|
+
import { Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
4
4
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
6
6
|
import { s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
7
7
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
8
8
|
import { a as ProblemFormat, t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
|
|
9
|
-
import { c as BlockOf } from "../../define-block-
|
|
9
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
10
10
|
import { n as Jwks } from "../../jws-D0toeQlA.js";
|
|
11
11
|
//#region src/blocks/vercel-marketplace/partner-api.d.ts
|
|
12
12
|
/** The Vercel environments a resource's secrets reach. */
|
|
@@ -3,12 +3,12 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
5
|
import { $ as RecordRef } from "../../types-DFdg_4yN.js";
|
|
6
|
-
import { A as CollaborationEventData, Ct as Events } from "../../events-
|
|
6
|
+
import { A as CollaborationEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
|
|
7
7
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
8
8
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
9
9
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
10
10
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
11
|
-
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-
|
|
11
|
+
import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
|
|
12
12
|
//#region src/blocks/versions/json-patch.d.ts
|
|
13
13
|
/** A JSON value, as a version's content holds it. */
|
|
14
14
|
type JsonValue = null | boolean | number | string | readonly JsonValue[] | {
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DZeA5KS6.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
|
|
5
|
-
import { Ct as Events, G as InviteCodeEventData, Z as OrganizationEventData, mt as WaitlistEventData } from "../../events-
|
|
5
|
+
import { Ct as Events, G as InviteCodeEventData, Z as OrganizationEventData, mt as WaitlistEventData } from "../../events-Cc9DDQWH.js";
|
|
6
6
|
import { n as Logger } from "../../logger-DWVYUmwi.js";
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
|
|
8
8
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
|
|
9
9
|
import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DibVN37N.js";
|
|
11
11
|
import { n as VerifyOptions } from "../../signatures-Dkx9OE8j.js";
|
|
12
12
|
//#region src/blocks/waitlist/waitlist.d.ts
|
|
13
13
|
type WaitlistStatus = "waiting" | "approved" | "rejected" | "joined";
|