better-supabase 0.36.0 → 0.38.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.
Files changed (366) hide show
  1. package/dist/{ai-schedules-BZPmySUa.d.ts → ai-schedules-ChJkI2jo.d.ts} +1 -1
  2. package/dist/ai-sdk/agents/index.d.ts +2 -2
  3. package/dist/ai-sdk/batches/index.d.ts +1 -1
  4. package/dist/ai-sdk/index.d.ts +1 -1
  5. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  6. package/dist/{api-XEaCJbgv.d.ts → api-CbY2qdzT.d.ts} +3 -3
  7. package/dist/{api-keys-C82fMru4.d.ts → api-keys-BncNDlWG.d.ts} +1 -1
  8. package/dist/{app-tables-C0XVpQEJ.d.ts → app-tables-D2c0i05-.d.ts} +1 -1
  9. package/dist/{approvals-DqCv7f-G.d.ts → approvals-CXW3yFWZ.d.ts} +1 -1
  10. package/dist/astro/index.d.ts +5 -5
  11. package/dist/{authorization-2Rv1AJQJ.d.ts → authorization-D8CaAdqU.d.ts} +48 -20
  12. package/dist/{authorization-hooks-C0GfMvFm.d.ts → authorization-hooks-CR8TVvqo.d.ts} +1 -1
  13. package/dist/better-result/index.d.ts +2 -2
  14. package/dist/{bind-C2XvMlfg.d.ts → bind-5vOwNouG.d.ts} +4 -4
  15. package/dist/{block-env-BQrtLPyc.d.ts → block-env-hco8BLjC.d.ts} +4 -4
  16. package/dist/block-subjects-CINiJW1R.js +253 -0
  17. package/dist/{block-tables-DPOgnT3y.d.ts → block-tables-BsgdB6VG.d.ts} +1 -1
  18. package/dist/blocks/access-requests/index.d.ts +2 -2
  19. package/dist/blocks/activities/index.d.ts +3 -3
  20. package/dist/blocks/agents/index.d.ts +2 -2
  21. package/dist/blocks/ai-cache/index.d.ts +1 -1
  22. package/dist/blocks/ai-chat/index.d.ts +5 -5
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-keys/index.d.ts +3 -3
  25. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  26. package/dist/blocks/announcements/index.d.ts +5 -5
  27. package/dist/blocks/api-keys/index.d.ts +2 -2
  28. package/dist/blocks/approvals/index.d.ts +3 -3
  29. package/dist/blocks/assets/index.d.ts +2 -2
  30. package/dist/blocks/assignment/index.d.ts +3 -3
  31. package/dist/blocks/attachments/index.d.ts +3 -3
  32. package/dist/blocks/audit/index.d.ts +7 -7
  33. package/dist/blocks/automations/index.d.ts +5 -5
  34. package/dist/blocks/billable-time/index.d.ts +2 -2
  35. package/dist/blocks/billing/index.d.ts +5 -5
  36. package/dist/blocks/bookings/index.d.ts +3 -3
  37. package/dist/blocks/bulk/index.d.ts +2 -2
  38. package/dist/blocks/calendar/index.d.ts +3 -3
  39. package/dist/blocks/catalog/index.d.ts +26 -3
  40. package/dist/blocks/catalog/index.js +41 -2
  41. package/dist/blocks/channels/index.d.ts +3 -3
  42. package/dist/blocks/collections/index.d.ts +3 -3
  43. package/dist/blocks/comments/index.d.ts +5 -5
  44. package/dist/blocks/compliance/index.d.ts +2 -2
  45. package/dist/blocks/connectors/index.d.ts +3 -3
  46. package/dist/blocks/contacts/index.d.ts +3 -3
  47. package/dist/blocks/content/index.d.ts +2 -2
  48. package/dist/blocks/contracts/index.d.ts +2 -2
  49. package/dist/blocks/courses/index.d.ts +2 -2
  50. package/dist/blocks/created-by/index.d.ts +1 -1
  51. package/dist/blocks/custom-fields/index.d.ts +2 -2
  52. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  53. package/dist/blocks/deals/index.d.ts +3 -3
  54. package/dist/blocks/dispatch/index.d.ts +2 -2
  55. package/dist/blocks/documents/index.d.ts +2 -2
  56. package/dist/blocks/domains/index.d.ts +2 -2
  57. package/dist/blocks/donations/index.d.ts +2 -2
  58. package/dist/blocks/drive/index.d.ts +3 -3
  59. package/dist/blocks/employees/index.d.ts +4 -4
  60. package/dist/blocks/enrichment/index.d.ts +3 -3
  61. package/dist/blocks/enrollments/index.d.ts +2 -2
  62. package/dist/blocks/entitlements/index.d.ts +3 -3
  63. package/dist/blocks/expenses/index.d.ts +4 -2
  64. package/dist/blocks/expenses/index.js +10 -3
  65. package/dist/blocks/field-history/index.d.ts +1 -1
  66. package/dist/blocks/flags/index.d.ts +2 -2
  67. package/dist/blocks/forecasts/index.d.ts +3 -3
  68. package/dist/blocks/forms/index.d.ts +3 -3
  69. package/dist/blocks/goals/index.d.ts +1 -1
  70. package/dist/blocks/guests/index.d.ts +2 -2
  71. package/dist/blocks/hiring/index.d.ts +3 -3
  72. package/dist/blocks/identities/index.d.ts +2 -2
  73. package/dist/blocks/imports/index.d.ts +2 -2
  74. package/dist/blocks/inbox/index.d.ts +6 -6
  75. package/dist/blocks/incidents/index.d.ts +2 -2
  76. package/dist/blocks/index.d.ts +4 -4
  77. package/dist/blocks/inventory/index.d.ts +171 -10
  78. package/dist/blocks/inventory/index.js +206 -13
  79. package/dist/blocks/invoices/index.d.ts +18 -4
  80. package/dist/blocks/invoices/index.js +13 -0
  81. package/dist/blocks/knowledge/index.d.ts +1 -1
  82. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  83. package/dist/blocks/leases/index.d.ts +2 -2
  84. package/dist/blocks/leave/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.js +1 -1
  86. package/dist/blocks/ledger/index.d.ts +2 -2
  87. package/dist/blocks/mail-sync/index.d.ts +3 -3
  88. package/dist/blocks/memberships/index.d.ts +1 -1
  89. package/dist/blocks/memory/index.d.ts +1 -1
  90. package/dist/blocks/messaging/index.d.ts +7 -7
  91. package/dist/blocks/metrics/index.d.ts +2 -2
  92. package/dist/blocks/mfa/index.d.ts +2 -2
  93. package/dist/blocks/moderation/index.d.ts +2 -2
  94. package/dist/blocks/notifications/index.d.ts +7 -7
  95. package/dist/blocks/numbering/index.d.ts +2 -2
  96. package/dist/blocks/oauth-server/index.d.ts +2 -2
  97. package/dist/blocks/onboarding/index.d.ts +2 -2
  98. package/dist/blocks/orders/index.d.ts +80 -13
  99. package/dist/blocks/orders/index.js +63 -4
  100. package/dist/blocks/organizations/index.d.ts +4 -4
  101. package/dist/blocks/outbox/index.d.ts +2 -2
  102. package/dist/blocks/passes/index.d.ts +2 -2
  103. package/dist/blocks/permissions/index.d.ts +3 -3
  104. package/dist/blocks/pipelines/index.d.ts +3 -3
  105. package/dist/blocks/posts/index.d.ts +2 -2
  106. package/dist/blocks/profiles/index.d.ts +1 -1
  107. package/dist/blocks/promotions/index.d.ts +3 -3
  108. package/dist/blocks/promotions/index.js +1 -1
  109. package/dist/blocks/push/index.d.ts +3 -3
  110. package/dist/blocks/queue/index.d.ts +1 -1
  111. package/dist/blocks/quotes/index.d.ts +3 -3
  112. package/dist/blocks/rank/index.d.ts +1 -1
  113. package/dist/blocks/reactions/index.d.ts +5 -5
  114. package/dist/blocks/relations/index.d.ts +2 -2
  115. package/dist/blocks/reminders/index.d.ts +3 -3
  116. package/dist/blocks/reviews/index.d.ts +2 -2
  117. package/dist/blocks/saved-views/index.d.ts +4 -4
  118. package/dist/blocks/scores/index.d.ts +2 -2
  119. package/dist/blocks/search/index.d.ts +4 -4
  120. package/dist/blocks/security-events/index.d.ts +3 -3
  121. package/dist/blocks/segments/index.d.ts +3 -3
  122. package/dist/blocks/sequences/index.d.ts +2 -2
  123. package/dist/blocks/service-accounts/index.d.ts +2 -2
  124. package/dist/blocks/sessions/index.d.ts +2 -2
  125. package/dist/blocks/settings/index.d.ts +3 -3
  126. package/dist/blocks/share-links/index.d.ts +2 -2
  127. package/dist/blocks/shipments/index.d.ts +73 -4
  128. package/dist/blocks/shipments/index.js +57 -4
  129. package/dist/blocks/signatures/index.d.ts +2 -2
  130. package/dist/blocks/signing-keys/index.d.ts +2 -2
  131. package/dist/blocks/sla/index.d.ts +3 -3
  132. package/dist/blocks/sso/index.d.ts +3 -3
  133. package/dist/blocks/state-machine/index.d.ts +9 -2
  134. package/dist/blocks/state-machine/index.js +2 -0
  135. package/dist/blocks/subjects/index.d.ts +2 -2
  136. package/dist/blocks/tags/index.d.ts +3 -3
  137. package/dist/blocks/tasks/index.d.ts +5 -5
  138. package/dist/blocks/teams/index.d.ts +2 -2
  139. package/dist/blocks/templates/index.d.ts +122 -9
  140. package/dist/blocks/templates/index.js +157 -7
  141. package/dist/blocks/time-tracking/index.d.ts +3 -3
  142. package/dist/blocks/timeline/index.d.ts +9 -7
  143. package/dist/blocks/timeline/index.js +3 -1
  144. package/dist/blocks/trash/index.d.ts +2 -2
  145. package/dist/blocks/undo/index.d.ts +2 -2
  146. package/dist/blocks/updated-at/index.d.ts +1 -1
  147. package/dist/blocks/usage/index.d.ts +2 -2
  148. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  149. package/dist/blocks/versions/index.d.ts +2 -2
  150. package/dist/blocks/waitlist/index.d.ts +2 -2
  151. package/dist/blocks/webhooks/index.d.ts +6 -6
  152. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  153. package/dist/blocks/workflows/index.d.ts +5 -5
  154. package/dist/{carrier-D2b_028L.d.ts → carrier-B2eytEjR.d.ts} +10 -1
  155. package/dist/chat-sdk/index.d.ts +2 -2
  156. package/dist/claims/index.d.ts +5 -5
  157. package/dist/cli/{add-Duf1-19E.js → add-7nCSDmpt.js} +11 -11
  158. package/dist/cli/{add-D2CH8t_B.js → add-B4tQpnXP.js} +2 -2
  159. package/dist/cli/add-CdDneXMN.js +1 -0
  160. package/dist/cli/{app-table-files-ha8X0rRE.js → app-table-files-CtO-zxpO.js} +2 -2
  161. package/dist/cli/{app-tables-BIyQcsHH.js → app-tables-B7UzcJ_g.js} +2 -2
  162. package/dist/cli/{backfill-CLgA6-ll.js → backfill-B2nFDXaS.js} +2 -2
  163. package/dist/cli/bin.js +1 -1
  164. package/dist/cli/{blocks-9AeouX4h.js → blocks-BX_6HUQT.js} +2 -2
  165. package/dist/cli/{blocks-BVB1fMMj.js → blocks-DU4iDrYS.js} +1 -1
  166. package/dist/cli/{cache-aMk9vF1_.js → cache-bS5bAoF-.js} +1 -1
  167. package/dist/cli/{codemod-B5wrcnF2.js → codemod-B1sSIE2p.js} +88 -62
  168. package/dist/cli/{command-DM_x_yzZ.js → command-67WobzTC.js} +7 -1
  169. package/dist/cli/{completion-DbYb3N8e.js → completion-C3nMZgUZ.js} +2 -2
  170. package/dist/cli/{completion-CusuUJNn.js → completion-DSrus7H1.js} +1 -1
  171. package/dist/cli/{completion-Cx2UYd-y.js → completion-Dm0S3ub0.js} +2 -2
  172. package/dist/cli/{config-BeuImpav.js → config-cbK-wiNs.js} +1 -1
  173. package/dist/cli/{content-mapper-CEtdbshU.js → content-mapper-CW6V6VRq.js} +2 -2
  174. package/dist/cli/{db-CeiQzhPq.js → db-bK5eCLaE.js} +1 -1
  175. package/dist/cli/{doctor-DaOUWfRN.js → doctor-Dw2pAf1b.js} +16 -16
  176. package/dist/cli/env-AFfMXxWw.js +1 -0
  177. package/dist/cli/{env-DVV10l_r.js → env-CCT-dMFm.js} +1 -1
  178. package/dist/cli/{gen-BO-2NF-G.js → gen-BtoSx3go.js} +14 -14
  179. package/dist/cli/index.d.ts +1 -1
  180. package/dist/cli/index.js +7 -7
  181. package/dist/cli/{init-Xit9Hnbb.js → init-DZXbrKuJ.js} +9 -9
  182. package/dist/cli/{keys-DJTN2Avl.js → keys-Dj5sJNj7.js} +1 -1
  183. package/dist/cli/{live-CuMpyRjF.js → live-CDFfJcdR.js} +2 -2
  184. package/dist/cli/{mcp-C7d4j5cq.js → mcp-BukxvITV.js} +3 -3
  185. package/dist/cli/{metadata-D2YvkY2D.js → metadata-iZizGVuY.js} +3 -3
  186. package/dist/cli/{migrate-BCXxyTKt.js → migrate-DPnnGLzw.js} +2 -2
  187. package/dist/cli/{migration-safety-DfwTOBQ4.js → migration-safety-COcnZbMO.js} +1 -1
  188. package/dist/cli/{migrations-nomh4TBo.js → migrations-BBt9fmiV.js} +2 -2
  189. package/dist/cli/{module-migration--9T_T-zt.js → module-migration-tCmPLhQp.js} +2 -2
  190. package/dist/cli/{moved-CT6i1csY.js → moved-CY0yDtAr.js} +1 -1
  191. package/dist/cli/{parse-qgJylE_A.js → parse-yAC-NFMq.js} +1 -1
  192. package/dist/cli/{powersync-DB9WZsIv.js → powersync-BRmUJ-uR.js} +4 -4
  193. package/dist/cli/powersync-CYLPcJ9G.js +1 -0
  194. package/dist/cli/{print-S6IF5rZm.js → print-DdwQNG_e.js} +2 -2
  195. package/dist/cli/{providers-BDTcal71.js → providers-CaNg6Ayz.js} +1 -1
  196. package/dist/cli/{prune-workflows-Zr2DjByi.js → prune-workflows-BQQrI3tU.js} +2 -2
  197. package/dist/cli/{remove-CPX5Tg5s.js → remove-BEj9YEON.js} +6 -6
  198. package/dist/cli/{render-Bp7a7XQ9.js → render-UBqU9r44.js} +3 -3
  199. package/dist/cli/{run-BclCFEyP.js → run-3E_IuJzS.js} +9 -9
  200. package/dist/cli/{run-kgG50x_Z.js → run-BXlX9YdD.js} +44 -43
  201. package/dist/cli/{run-BlVaLnt_.js → run-DX4X7xqV.js} +2 -2
  202. package/dist/cli/seed-CLlvrV8I.js +1 -0
  203. package/dist/cli/{seed-Cn2R91cd.js → seed-DSC6f0oh.js} +1 -1
  204. package/dist/cli/{shared-D60W9NS-.js → shared-agrqD28l.js} +1 -1
  205. package/dist/cli/{skills-DH-yPDny.js → skills-B5p6bDwe.js} +1 -1
  206. package/dist/cli/{snapshot-C3_eQUgY.js → snapshot-DOXmozSq.js} +2 -2
  207. package/dist/cli/{source-Bk6XwIAK.js → source-BfJprU-6.js} +1 -1
  208. package/dist/cli/{spec-BDTpcBns.js → spec-CgtIHFsl.js} +1 -1
  209. package/dist/cli/{spec-C8ydQwZC.js → spec-DRpSQGOW.js} +3 -3
  210. package/dist/cli/{sql-layout-DVQ20UMi.js → sql-layout-Cs3FMWcY.js} +2 -2
  211. package/dist/cli/{stack-CmhSfY5V.js → stack-CQXLe5j0.js} +1 -1
  212. package/dist/cli/{sync-D-WO4Yvl.js → sync-C_YGIDjk.js} +4 -4
  213. package/dist/cli/{table-k5OABwy3.js → table-BIQA9Hdt.js} +1 -1
  214. package/dist/cli/{upgrade-DGe5Pv6v.js → upgrade-ByQeJRGU.js} +5 -5
  215. package/dist/cli/{upgrade-XdhMuHAu.js → upgrade-OG9vaBeX.js} +3 -3
  216. package/dist/cli/{version-DKfeme2I.js → version-CF6Yzah0.js} +1 -1
  217. package/dist/client/index.d.ts +5 -5
  218. package/dist/client/native/index.d.ts +4 -4
  219. package/dist/{cloud-event-BEmAUdl1.d.ts → cloud-event-BjgxkfJJ.d.ts} +1 -1
  220. package/dist/{codecs-B9v5Y5HH.js → codecs-D_pOvjvD.js} +1 -0
  221. package/dist/{codecs-B1VO2BGL.d.ts → codecs-DaP45ETv.d.ts} +1 -1
  222. package/dist/{composite-B-oAH16L.d.ts → composite-DPN4SFud.d.ts} +6 -6
  223. package/dist/config/index.d.ts +2 -2
  224. package/dist/config/index.js +4 -4
  225. package/dist/{config-BrRlSxhx.js → config-1-UmQczM.js} +1 -1
  226. package/dist/{config-BKxjItQ-.js → config-AEB5iNEO.js} +4 -123
  227. package/dist/{connectors-CrLRW4Ol.d.ts → connectors-DDsdz-cn.d.ts} +1 -1
  228. package/dist/{context-yfOlyAqb.d.ts → context-CH5FYnVk.d.ts} +2 -2
  229. package/dist/contract/index.d.ts +8 -8
  230. package/dist/{controller-CAcLEndc.d.ts → controller-CJ6rLnpS.d.ts} +1 -1
  231. package/dist/{conversion-s1NtB6S-.d.ts → conversion-CLBBITW5.d.ts} +1 -1
  232. package/dist/create/index.d.ts +3 -3
  233. package/dist/create/index.js +3 -3
  234. package/dist/create/lite/index.d.ts +3 -3
  235. package/dist/create/lite/index.js +2 -2
  236. package/dist/credentials/index.d.ts +3 -3
  237. package/dist/{define-BvkaC3Oh.d.ts → define-C_He1bQO.d.ts} +1 -1
  238. package/dist/{define-block-Ds3aLZwz.d.ts → define-block-CDw9YGVh.d.ts} +4 -4
  239. package/dist/edge/index.d.ts +8 -8
  240. package/dist/elysia/index.d.ts +1 -1
  241. package/dist/{ended-iq2wp8fc.d.ts → ended-BwpmNC5k.d.ts} +1 -1
  242. package/dist/{entitlements-Dhu-4vlH.d.ts → entitlements-6gODwBSz.d.ts} +2 -2
  243. package/dist/eve/index.d.ts +3 -3
  244. package/dist/events/index.d.ts +3 -3
  245. package/dist/{events-DCw3c6pj.d.ts → events-DddDlibJ.d.ts} +8 -0
  246. package/dist/{executor-H8ZLkeHj.d.ts → executor-CxMHiDp_.d.ts} +2 -2
  247. package/dist/{executor-B-o7QMPp.d.ts → executor-uNDJBzT8.d.ts} +1 -1
  248. package/dist/expo/index.d.ts +3 -3
  249. package/dist/{field-errors-DXZk9Qjt.d.ts → field-errors-CdSjV9Zo.d.ts} +7 -7
  250. package/dist/flags-sdk/index.d.ts +1 -1
  251. package/dist/{framework-Byr_j8G-.d.ts → framework-B6JAPr1i.d.ts} +7 -7
  252. package/dist/h3/index.d.ts +1 -1
  253. package/dist/h3/v1/index.d.ts +1 -1
  254. package/dist/hono/index.d.ts +8 -8
  255. package/dist/{index-lMApFSAd.d.ts → index-B5awu2SP.d.ts} +3 -3
  256. package/dist/{index-CnzGRpeH.d.ts → index-BgRl484n.d.ts} +5 -5
  257. package/dist/{index-6H-8Ib1w.d.ts → index-CgKieWlO.d.ts} +3 -3
  258. package/dist/{index-kkZwp5M1.d.ts → index-CrOeAgSh.d.ts} +4 -4
  259. package/dist/{index-Ag-T51Jl.d.ts → index-CvLTqmdq.d.ts} +1 -1
  260. package/dist/{index-Dbd1E5Au.d.ts → index-DAS_5OfK.d.ts} +3 -3
  261. package/dist/{index-CY612vAg.d.ts → index-DjJUamhw.d.ts} +2 -2
  262. package/dist/{index-Dv6lfL5p.d.ts → index-DnEJVKQ2.d.ts} +11 -11
  263. package/dist/{index-BUluRi0b.d.ts → index-DzLLMmUB.d.ts} +5 -5
  264. package/dist/{index-C78VPlXW.d.ts → index-vkd2LTt2.d.ts} +1 -1
  265. package/dist/index.d.ts +2 -2
  266. package/dist/{instances-xQ2lupVE.js → instances-Bycf_aus.js} +86 -7
  267. package/dist/{kit-DCuO1ZhB.d.ts → kit-lHFpu2_1.d.ts} +3 -3
  268. package/dist/list/index.d.ts +1 -1
  269. package/dist/{list-query-D1h3Dmnk.d.ts → list-query-BkbLV-Yc.d.ts} +1 -1
  270. package/dist/mapper/bin.js +5 -5
  271. package/dist/mcp/index.d.ts +3 -3
  272. package/dist/mcp/sdk/index.d.ts +5 -5
  273. package/dist/nestjs/index.d.ts +2 -2
  274. package/dist/next/client/index.d.ts +1 -1
  275. package/dist/next/index.d.ts +22 -22
  276. package/dist/node/index.d.ts +2 -2
  277. package/dist/{operations-SWpzGC_K.d.ts → operations-knMnfzgm.d.ts} +1 -1
  278. package/dist/{options-DqmTs2nv.js → options-CEwoGUk_.js} +2 -1
  279. package/dist/{options-yRwYr4up.js → options-CGQC7Wue.js} +4 -1
  280. package/dist/{options-RYbyaVhv.js → options-CS1DA8q9.js} +1 -0
  281. package/dist/{options-ScQ6Hnxo.js → options-zsLpIqBA.js} +2 -1
  282. package/dist/orpc/index.d.ts +7 -7
  283. package/dist/otel/index.d.ts +1 -1
  284. package/dist/otel/index.js +4 -4
  285. package/dist/{outbox-BFZS6Kvz.d.ts → outbox-DikdzUKf.d.ts} +2 -2
  286. package/dist/{permissions-2UlVQDzY.d.ts → permissions-Ed8WvLgQ.d.ts} +1 -1
  287. package/dist/{pool-yO-LzZAd.d.ts → pool-BJAjQcrJ.d.ts} +1 -1
  288. package/dist/{ports-prqYrReN.d.ts → ports-Bnwy2mlR.d.ts} +1 -1
  289. package/dist/postgres/index.d.ts +1 -1
  290. package/dist/powersync/index.d.ts +3 -3
  291. package/dist/preset/index.d.ts +3 -3
  292. package/dist/preset/index.js +3 -3
  293. package/dist/{preset-BvHNleCo.js → preset-DkeXFh7e.js} +2 -2
  294. package/dist/{project-CBvowdKY.js → project-By0R8ioI.js} +5 -5
  295. package/dist/{provider-bIAzxVMB.d.ts → provider-CVlXXbda.d.ts} +1 -1
  296. package/dist/{push-token-DtqJeg8w.d.ts → push-token-CJbEvwjI.d.ts} +1 -1
  297. package/dist/query/index.d.ts +1 -1
  298. package/dist/react/index.d.ts +8 -8
  299. package/dist/react/native/index.d.ts +1 -1
  300. package/dist/react/server.d.ts +9 -9
  301. package/dist/react/session.d.ts +1 -1
  302. package/dist/react-router/index.d.ts +5 -5
  303. package/dist/realtime/index.d.ts +4 -4
  304. package/dist/{record-form-BQA-lawE.d.ts → record-form-C-gIxGXe.d.ts} +1 -1
  305. package/dist/records/index.d.ts +7 -7
  306. package/dist/{refusal-BX1EvmpJ.d.ts → refusal-CjUUBfhY.d.ts} +2 -2
  307. package/dist/{resolve-BIpQRhvF.d.ts → resolve-XlMQRUeG.d.ts} +1 -1
  308. package/dist/{resource-execute-A1NbR-sd.d.ts → resource-execute-B7-QaS6R.d.ts} +1 -1
  309. package/dist/{resource-types-CTcc37WL.d.ts → resource-types-CF3Uc6OW.d.ts} +2 -2
  310. package/dist/{resources-13ZFX1G6.d.ts → resources-DnHSmJIM.d.ts} +1 -1
  311. package/dist/{respond-CAxhkwAi.d.ts → respond-D7kUatjc.d.ts} +1 -1
  312. package/dist/server/index.d.ts +21 -21
  313. package/dist/{server-types-DEjva0MW.d.ts → server-types-DpI82uNq.d.ts} +8 -8
  314. package/dist/{session-CeYL3EPm.d.ts → session-JV1z0kxa.d.ts} +2 -2
  315. package/dist/{session-BA0YDmjt.d.ts → session-s-mUZ8RQ.d.ts} +5 -5
  316. package/dist/{session-status-Df6tuKY9.d.ts → session-status-CJjTuFtA.d.ts} +2 -2
  317. package/dist/{sign-in-4u4vLtXG.d.ts → sign-in-D5Bg7R47.d.ts} +1 -1
  318. package/dist/solid/index.d.ts +9 -9
  319. package/dist/solid-start/index.d.ts +5 -5
  320. package/dist/spec/index.d.ts +1 -1
  321. package/dist/sql/index.d.ts +5 -5
  322. package/dist/sql/index.js +3 -3
  323. package/dist/{sql-BChN3Hxv.js → sql-B2cMvGnZ.js} +4207 -756
  324. package/dist/sqlite/index.d.ts +1 -1
  325. package/dist/ssr/index.d.ts +4 -4
  326. package/dist/{statuses-BTrQ5H4S.js → statuses-Qqpzda35.js} +12 -1
  327. package/dist/stock-detail-BMqvwq1q.js +12 -0
  328. package/dist/stock-detail-BRIt7CjU.d.ts +19 -0
  329. package/dist/{subject-readers-YL8H9G8X.d.ts → subject-readers-D1Km_Q42.d.ts} +1 -1
  330. package/dist/{support-BwtMgjVg.d.ts → support-Dj5V2WTs.d.ts} +4 -4
  331. package/dist/{support-view-GykHOIQ2.d.ts → support-view-DKZkZeM5.d.ts} +1 -1
  332. package/dist/svelte/index.d.ts +8 -8
  333. package/dist/sveltekit/index.d.ts +6 -6
  334. package/dist/{tags-CAfvzA1U.d.ts → tags-BihwKkTT.d.ts} +1 -1
  335. package/dist/tanstack-db/index.d.ts +1 -1
  336. package/dist/tanstack-start/index.d.ts +5 -5
  337. package/dist/{tenant-lBgoqg9T.d.ts → tenant-eZNRWTRJ.d.ts} +1 -1
  338. package/dist/testing/index.d.ts +17 -17
  339. package/dist/testing/index.js +2 -2
  340. package/dist/{timeline-CrO48Qa6.d.ts → timeline-c6I3uxya.d.ts} +3 -3
  341. package/dist/{topic-x-mrN_Ff.d.ts → topic-D7F2FBNp.d.ts} +3 -3
  342. package/dist/{types-auvHrNWC.d.ts → types-BXLiM6VM.d.ts} +1 -1
  343. package/dist/{types-C9XfFGmA.d.ts → types-DtiDatvu.d.ts} +2 -2
  344. package/dist/{types-CJqNGQKb.d.ts → types-bqvFoBhf.d.ts} +2 -2
  345. package/dist/{vault-DjbG4XQS.d.ts → vault-CbhvnoVC.d.ts} +1 -1
  346. package/dist/vercel-connect/index.d.ts +1 -1
  347. package/dist/vercel-sandbox/index.d.ts +1 -1
  348. package/dist/{verify-HOiu3lRR.d.ts → verify-Cpc1upDA.d.ts} +1 -1
  349. package/dist/{view-DdDY88SC.d.ts → view-eHgOOyRS.d.ts} +1 -1
  350. package/dist/vue/index.d.ts +9 -9
  351. package/dist/{watch-topic-D6bcqOrJ.d.ts → watch-topic-BIEaSN0Y.d.ts} +1 -1
  352. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  353. package/dist/workflow-sdk/index.d.ts +1 -1
  354. package/dist/workflow-sdk/world/index.d.ts +1 -1
  355. package/dist/workflow-sdk/world/index.js +1 -1
  356. package/dist/{workflow-sdk-CBS8L2Ku.js → workflow-sdk-6psRpDIo.js} +2 -50
  357. package/dist/{workflow-sdk-D3H10W5h.d.ts → workflow-sdk-CUt0E4v6.d.ts} +1 -1
  358. package/dist/yjs/index.d.ts +1 -1
  359. package/package.json +1 -1
  360. package/schemas/config-v1.json +15 -0
  361. package/skills/better-supabase-auth/SKILL.md +1 -1
  362. package/dist/cli/add-De73Ghlh.js +0 -1
  363. package/dist/cli/env-BfWbheiC.js +0 -1
  364. package/dist/cli/powersync-IBM_v_eJ.js +0 -1
  365. package/dist/cli/seed-DGGjReq4.js +0 -1
  366. package/dist/resolved-names-b6P2--jK.js +0 -130
@@ -1,11 +1,11 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
2
- import { m as SessionSnapshot } from "./resolve-BIpQRhvF.js";
3
- import { n as AuthSession } from "./view-DdDY88SC.js";
4
- import { l as ServerOptions } from "./server-types-DEjva0MW.js";
5
- import { n as SessionEntryConfig } from "./session-BA0YDmjt.js";
6
- import { n as BetterSupabaseContributions } from "./composite-B-oAH16L.js";
7
- import { c as ResourceLoaderContext } from "./kit-DCuO1ZhB.js";
8
- import { t as RefusalRedirects } from "./refusal-BX1EvmpJ.js";
2
+ import { m as SessionSnapshot } from "./resolve-XlMQRUeG.js";
3
+ import { n as AuthSession } from "./view-eHgOOyRS.js";
4
+ import { l as ServerOptions } from "./server-types-DpI82uNq.js";
5
+ import { n as SessionEntryConfig } from "./session-s-mUZ8RQ.js";
6
+ import { n as BetterSupabaseContributions } from "./composite-DPN4SFud.js";
7
+ import { c as ResourceLoaderContext } from "./kit-lHFpu2_1.js";
8
+ import { t as RefusalRedirects } from "./refusal-CjUUBfhY.js";
9
9
  /**
10
10
  * What the framework factories (`createSvelteKit`, `createReactRouter`,
11
11
  * `createTanStackStart`) take.
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-BX1EvmpJ.js";
1
+ import { n as RouteGuardOptions } from "../refusal-CjUUBfhY.js";
2
2
  import { t as Validated } from "../shared-DsBcvj6q.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  /** The part of an H3 2 event the bridge reads and writes. */
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../../refusal-BX1EvmpJ.js";
1
+ import { n as RouteGuardOptions } from "../../refusal-CjUUBfhY.js";
2
2
  import { t as Validated } from "../../shared-DsBcvj6q.js";
3
3
  import { n as NodeRequestHead, t as NodeHeaderTarget } from "../../node-headers-TnS4T7V_.js";
4
4
  import { AnyEntry, Contributions } from "@supabase/middleware";
@@ -1,13 +1,13 @@
1
1
  import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "../types-BzIYSSWK.js";
2
- import { m as SessionSnapshot, r as AuthState } from "../resolve-BIpQRhvF.js";
3
- import { t as BetterSupabase } from "../define-BvkaC3Oh.js";
4
- import { n as AuthSession } from "../view-DdDY88SC.js";
5
- import { l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DEjva0MW.js";
6
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CAxhkwAi.js";
7
- import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DCuO1ZhB.js";
8
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CTcc37WL.js";
2
+ import { m as SessionSnapshot, r as AuthState } from "../resolve-XlMQRUeG.js";
3
+ import { t as BetterSupabase } from "../define-C_He1bQO.js";
4
+ import { n as AuthSession } from "../view-eHgOOyRS.js";
5
+ import { l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DpI82uNq.js";
6
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-D7kUatjc.js";
7
+ import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-lHFpu2_1.js";
8
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CF3Uc6OW.js";
9
9
  import { t as CorsOptions } from "../cors-9SDsndtb.js";
10
- import { t as defineAction } from "../resource-execute-A1NbR-sd.js";
10
+ import { t as defineAction } from "../resource-execute-B7-QaS6R.js";
11
11
  import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-C89Yzwd9.js";
12
12
  import { AnyEntry, Contributions, ValidateEntries } from "@supabase/middleware";
13
13
  import { Context, ErrorHandler, Hono, MiddlewareHandler } from "hono";
@@ -1,9 +1,9 @@
1
1
  import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
2
2
  import { et as RecordRef, st as SchemaMeta } from "./types-BzIYSSWK.js";
3
- import { mt as QuerySpec } from "./define-BvkaC3Oh.js";
3
+ import { mt as QuerySpec } from "./define-C_He1bQO.js";
4
4
  import { t as DataChanges } from "./data-engine-CX1oYDZl.js";
5
- import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-x-mrN_Ff.js";
6
- import { n as TopicPort } from "./watch-topic-D6bcqOrJ.js";
5
+ import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-D7F2FBNp.js";
6
+ import { n as TopicPort } from "./watch-topic-BIEaSN0Y.js";
7
7
  import { StandardSchemaV1 } from "@standard-schema/spec";
8
8
  /** The `EventSource` the relay client reads with; the browser's fits. */
9
9
  interface RelayEventSource {
@@ -1,10 +1,10 @@
1
1
  import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
2
- import { Ct as Events, v as ApiKeyEventData } from "./events-DCw3c6pj.js";
3
- import { r as AuthState } from "./resolve-BIpQRhvF.js";
2
+ import { Ct as Events, v as ApiKeyEventData } from "./events-DddDlibJ.js";
3
+ import { r as AuthState } from "./resolve-XlMQRUeG.js";
4
4
  import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
5
- import { c as BlockOf } from "./define-block-Ds3aLZwz.js";
6
- import { n as Controller, t as AuthPort } from "./controller-CAcLEndc.js";
7
- import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-C82fMru4.js";
5
+ import { c as BlockOf } from "./define-block-CDw9YGVh.js";
6
+ import { n as Controller, t as AuthPort } from "./controller-CJ6rLnpS.js";
7
+ import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-BncNDlWG.js";
8
8
  import { Entry } from "@supabase/middleware";
9
9
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
10
10
  interface WithApiKeyOptions<F extends object = Record<never, never>> extends ApiKeyResolverOptions<F>, BlockProblemOptions {}
@@ -1,7 +1,7 @@
1
1
  import { E as AccessPolicySql } from "./types-BzIYSSWK.js";
2
- import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-2Rv1AJQJ.js";
3
- import { nt as ReadSet } from "./define-BvkaC3Oh.js";
4
- import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-yfOlyAqb.js";
2
+ import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-D8CaAdqU.js";
3
+ import { nt as ReadSet } from "./define-C_He1bQO.js";
4
+ import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-CH5FYnVk.js";
5
5
  import { t as SubjectConfig } from "./subjects-BGwLJ3IB.js";
6
6
  /** A module's SQL for `layout`, without header; `undefined` in custom mode. */
7
7
  declare function moduleBody(name: string, layout?: BlockSqlLayout): string | undefined;
@@ -1,10 +1,10 @@
1
1
  import { t as AsyncResult } from "./result-DTOQRyGY.js";
2
2
  import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
3
3
  import { l as PublicEnv } from "./index-F6lsRlsr.js";
4
- import { T as SessionEncoding } from "./resolve-BIpQRhvF.js";
5
- import { t as BetterSupabase } from "./define-BvkaC3Oh.js";
6
- import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-prqYrReN.js";
7
- import { i as BindClientOptions, r as BetterClient } from "./bind-C2XvMlfg.js";
4
+ import { T as SessionEncoding } from "./resolve-XlMQRUeG.js";
5
+ import { t as BetterSupabase } from "./define-C_He1bQO.js";
6
+ import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-Bnwy2mlR.js";
7
+ import { i as BindClientOptions, r as BetterClient } from "./bind-5vOwNouG.js";
8
8
  import { n as FunctionContract } from "./function-contract-DgDBYbXu.js";
9
9
  import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
10
10
  /**
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "./refusal-BX1EvmpJ.js";
1
+ import { n as RouteGuardOptions } from "./refusal-CjUUBfhY.js";
2
2
  import { t as Validated } from "./shared-DsBcvj6q.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  import { IncomingMessage, ServerResponse } from "node:http";
@@ -2,10 +2,10 @@
2
2
  import { n as DbException } from "./escape-like-CK6L7gkj.js";
3
3
  import { f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
4
4
  import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, et as RecordRef, gt as Update, k as AnyModels, q as Insert } from "./types-BzIYSSWK.js";
5
- import { o as EventHub } from "./events-DCw3c6pj.js";
6
- import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-BvkaC3Oh.js";
5
+ import { o as EventHub } from "./events-DddDlibJ.js";
6
+ import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-C_He1bQO.js";
7
7
  import { n as DataEngine, r as DataEngineOptions } from "./data-engine-CX1oYDZl.js";
8
- import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-Ds3aLZwz.js";
8
+ import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-CDw9YGVh.js";
9
9
  import { t as BetterQueryMeta } from "./invalidate-DAB9CaPm.js";
10
10
  import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
11
11
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,6 +1,6 @@
1
1
  import { d as MutationIntent, st as SchemaMeta } from "./types-BzIYSSWK.js";
2
- import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-DCw3c6pj.js";
3
- import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-BEmAUdl1.js";
2
+ import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-DddDlibJ.js";
3
+ import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-BjgxkfJJ.js";
4
4
  /**
5
5
  * Listens to the block events that match `pattern` (`'support.started'` or
6
6
  * `'support.*'`), typed by `events`: a block's events, `defineBlocks(...)` or
@@ -1,19 +1,19 @@
1
1
  import { b as DbError, f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
2
2
  import { et as RecordRef } from "./types-BzIYSSWK.js";
3
- import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "./events-DCw3c6pj.js";
4
- import { mt as QuerySpec } from "./define-BvkaC3Oh.js";
3
+ import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "./events-DddDlibJ.js";
4
+ import { mt as QuerySpec } from "./define-C_He1bQO.js";
5
5
  import { A as TtlPreset, C as TransformOptions, E as UrlOptions, T as UploadOptions, l as ImageTransform, tt as TemplateValues, w as UploadBody } from "./bucket-CrsJNHzi.js";
6
6
  import { m as RejectedChange, o as DataSyncState } from "./data-engine-CX1oYDZl.js";
7
- import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-Dbd1E5Au.js";
8
- import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-x-mrN_Ff.js";
9
- import { t as AuthSnapshot } from "./bind-C2XvMlfg.js";
10
- import { n as AuthSession } from "./view-DdDY88SC.js";
11
- import { r as LiveCountSeed, v as RelayClientOptions } from "./index-lMApFSAd.js";
12
- import { n as Controller } from "./controller-CAcLEndc.js";
13
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-DXZk9Qjt.js";
14
- import { t as BlockEnv } from "./block-env-BQrtLPyc.js";
7
+ import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-DAS_5OfK.js";
8
+ import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-D7F2FBNp.js";
9
+ import { t as AuthSnapshot } from "./bind-5vOwNouG.js";
10
+ import { n as AuthSession } from "./view-eHgOOyRS.js";
11
+ import { r as LiveCountSeed, v as RelayClientOptions } from "./index-B5awu2SP.js";
12
+ import { n as Controller } from "./controller-CJ6rLnpS.js";
13
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-CdSjV9Zo.js";
14
+ import { t as BlockEnv } from "./block-env-hco8BLjC.js";
15
15
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-QSaPsL2P.js";
16
- import { s as RecordFormValues, t as RecordForm } from "./record-form-BQA-lawE.js";
16
+ import { s as RecordFormValues, t as RecordForm } from "./record-form-C-gIxGXe.js";
17
17
  import { SupabaseClient } from "@supabase/supabase-js";
18
18
  import { DependencyList, ReactNode, SubmitEvent } from "react";
19
19
  import { QueryClient } from "@tanstack/query-core";
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "./types-BzIYSSWK.js";
2
- import { t as OperationTable } from "./operations-SWpzGC_K.js";
3
- import { t as BetterSupabase } from "./define-BvkaC3Oh.js";
4
- import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-DEjva0MW.js";
5
- import { r as GuardOptions } from "./respond-CAxhkwAi.js";
2
+ import { t as OperationTable } from "./operations-knMnfzgm.js";
3
+ import { t as BetterSupabase } from "./define-C_He1bQO.js";
4
+ import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-DpI82uNq.js";
5
+ import { r as GuardOptions } from "./respond-D7kUatjc.js";
6
6
  import { D as ResourceOperation } from "./model-Lxa_mOzB.js";
7
- import { l as ResourceRouteOptions } from "./resource-types-CTcc37WL.js";
7
+ import { l as ResourceRouteOptions } from "./resource-types-CF3Uc6OW.js";
8
8
  import { StandardSchemaV1 } from "@standard-schema/spec";
9
9
  /**
10
10
  * The JSON Schema dialect of tool schemas, which depends on the protocol
@@ -1,4 +1,4 @@
1
- import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-yfOlyAqb.js";
1
+ import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-CH5FYnVk.js";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  declare const PRESET_CATALOG: PresetCatalog;
4
4
  /**
package/dist/index.d.ts CHANGED
@@ -3,10 +3,10 @@ import { n as DbException, t as escapeLike } from "./escape-like-CK6L7gkj.js";
3
3
  import { A as isConflict, C as DbErrorMatchers, D as ValidationIssue, E as RawDbError, F as statusOf, M as isForeignKey, N as mapDbError, O as dbError, P as matchDbError, S as DbErrorKinds, T as ErrorMapper, _ as ok, a as BetterResultOk, b as DbError, c as DbErrorClasses, d as Ok, f as Result, g as fromBetterResult, h as err, i as BetterResultErrors, j as isDbError, k as isCheck, l as Err, m as defineBetterResultErrors, n as BetterResultApi, o as BetterResultValue, r as BetterResultErr, s as DbErrorClass, t as AsyncResult, u as MappedDbError, v as toBetterResult, w as DbErrorOf, x as DbErrorKind, y as toDbError } from "./result-DTOQRyGY.js";
4
4
  import { n as validate, t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
5
5
  import { $ as RealtimeTableMeta, A as BootstrapMeta, At as MutationEvent, B as ForeignKeyConstraint, Bt as ExecuteResult, C as not, Ct as AnyPlugin, D as AccessTopicPolicy, Dt as ExtensionsOf, E as AccessPolicySql, Et as ExtensionOf, F as ClaimsMeta, Ft as RepositoryExtension, G as FunctionsOf, H as FunctionResult, Ht as RpcContext, I as Codec, It as RequestContext, J as ModelFlags, K as GeneratedColumns, L as ColumnMeta, Lt as WithExtension, M as BucketPolicyName, Mt as PLUGIN_API_VERSION, N as Casing, Nt as Plugin, O as AnyFunctions, Ot as HasFlag, P as CheckConstraint, Pt as RepositoryApi, Q as PrimaryKeyValue, R as DatabaseOf, Rt as definePlugin, S as column, St as Actor, T as AccessBucketPolicy, Tt as CallOptions, U as FunctionSignature, V as FunctionMeta, Vt as Executor, W as FunctionTypes, X as ModelsOf, Y as ModelTypes, Z as PrimaryKeyColumn, _ as SelectColumn, _t as WritableColumns, a as CountMode, at as Row, b as UpdateOp, c as Include, ct as Simplify, d as MutationIntent, dt as TableKey, et as RecordRef, f as MutationKind, ft as TableMeta, g as Quantifier, gt as Update, h as OrderTerm, ht as UniqueWhere, i as Condition, it as ResultColumn, j as BucketMeta, jt as NoExtension, k as AnyModels, kt as HookArgs, l as InsertOp, lt as SubjectTypeOf, m as Operation, mt as UniqueKeyName, n as Aggregation, nt as RelationTypes, o as DeleteOp, ot as Schema, p as MutationOp, pt as UniqueConstraint, q as Insert, r as ColumnOp, rt as Relations, s as FunctionSource, st as SchemaMeta, t as AggregateFn, tt as RelationMeta, u as Measure, ut as TableFlags, v as SelectOp, w as or, wt as ApplyExtension, x as and, y as Selection, z as Flags, zt as ExecuteContext } from "./types-BzIYSSWK.js";
6
- import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-DCw3c6pj.js";
6
+ import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-DddDlibJ.js";
7
7
  import { i as silentLogger, n as Logger, r as consoleLogger, t as LogFields } from "./logger-0LfhvwE4.js";
8
8
  import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, t as BlockProblemOptions, u as problemResponse } from "./problem-NGBjN-TO.js";
9
- import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-BvkaC3Oh.js";
9
+ import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-C_He1bQO.js";
10
10
  import { Q as StoragePath } from "./bucket-CrsJNHzi.js";
11
11
  import { a as PostgrestPlan, n as PlanLimit, o as compilePostgrest, r as PlanOrder, t as PlanFilter } from "./postgrest-Bjain6nf.js";
12
12
  import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec, r as tableSchema, t as StandardJSONSchemaV1 } from "./table-schema-CwXg7oBz.js";
@@ -1294,6 +1294,7 @@ const PRESET_CATALOG = {
1294
1294
  "outbox",
1295
1295
  "audit",
1296
1296
  "approvals",
1297
+ "workflow-editor",
1297
1298
  "bulk"
1298
1299
  ],
1299
1300
  "manifest": "state-machine",
@@ -2252,7 +2253,8 @@ const PRESET_CATALOG = {
2252
2253
  "promotions",
2253
2254
  "numbering",
2254
2255
  "state-machine",
2255
- "invoices"
2256
+ "invoices",
2257
+ "quotes"
2256
2258
  ],
2257
2259
  "manifest": "orders",
2258
2260
  "scopes": ["tenant"],
@@ -2312,6 +2314,8 @@ const PRESET_CATALOG = {
2312
2314
  "completedAt": "completed_at",
2313
2315
  "cancelledAt": "cancelled_at",
2314
2316
  "cancelReason": "cancel_reason",
2317
+ "originType": "origin_type",
2318
+ "originId": "origin_id",
2315
2319
  "updatedAt": "updated_at"
2316
2320
  }
2317
2321
  },
@@ -2607,7 +2611,8 @@ const PRESET_CATALOG = {
2607
2611
  "outbox",
2608
2612
  "audit",
2609
2613
  "workflow-editor",
2610
- "jsonb-schemas"
2614
+ "jsonb-schemas",
2615
+ "reminders"
2611
2616
  ],
2612
2617
  "manifest": "templates",
2613
2618
  "scopes": ["tenant"],
@@ -2624,6 +2629,7 @@ const PRESET_CATALOG = {
2624
2629
  "id": "id",
2625
2630
  "tenant": "tenant_id",
2626
2631
  "scope": "scope",
2632
+ "brand": "brand",
2627
2633
  "key": "key",
2628
2634
  "type": "type",
2629
2635
  "name": "name",
@@ -3774,6 +3780,7 @@ const PRESET_CATALOG = {
3774
3780
  "carryoverMax": "carryover_max",
3775
3781
  "color": "color",
3776
3782
  "autoApprove": "auto_approve",
3783
+ "confidential": "confidential",
3777
3784
  "archivedAt": "archived_at",
3778
3785
  "createdAt": "created_at",
3779
3786
  "updatedAt": "updated_at"
@@ -4756,7 +4763,8 @@ const PRESET_CATALOG = {
4756
4763
  "integrates": [
4757
4764
  "outbox",
4758
4765
  "audit",
4759
- "assets"
4766
+ "assets",
4767
+ "inventory"
4760
4768
  ],
4761
4769
  "manifest": "shipments",
4762
4770
  "scopes": ["tenant"],
@@ -4782,6 +4790,10 @@ const PRESET_CATALOG = {
4782
4790
  "shipment_tracking_event": {
4783
4791
  "table": "trackingEvents",
4784
4792
  "singular": "shipment_tracking_event"
4793
+ },
4794
+ "shipment_line": {
4795
+ "table": "lines",
4796
+ "singular": "shipment_line"
4785
4797
  }
4786
4798
  },
4787
4799
  "tables": {
@@ -4842,6 +4854,25 @@ const PRESET_CATALOG = {
4842
4854
  "source": "source",
4843
4855
  "createdAt": "created_at"
4844
4856
  }
4857
+ },
4858
+ "lines": {
4859
+ "name": "shipment_lines",
4860
+ "columns": {
4861
+ "id": "id",
4862
+ "tenant": "tenant_id",
4863
+ "shipment": "shipment_id",
4864
+ "position": "position",
4865
+ "direction": "direction",
4866
+ "variant": "variant_id",
4867
+ "location": "location_id",
4868
+ "quantity": "quantity",
4869
+ "allocation": "allocation_id",
4870
+ "detail": "detail",
4871
+ "disposition": "disposition",
4872
+ "movement": "movement_id",
4873
+ "movedAt": "moved_at",
4874
+ "createdAt": "created_at"
4875
+ }
4845
4876
  }
4846
4877
  },
4847
4878
  "keys": {
@@ -5472,7 +5503,9 @@ const PRESET_CATALOG = {
5472
5503
  "notifications",
5473
5504
  "subjects",
5474
5505
  "audit",
5475
- "workflows"
5506
+ "workflows",
5507
+ "state-machine",
5508
+ "messaging"
5476
5509
  ],
5477
5510
  "manifest": "timeline",
5478
5511
  "scopes": [
@@ -8804,6 +8837,11 @@ const PRESET_CATALOG = {
8804
8837
  "receiptOver": {
8805
8838
  "kind": "custom",
8806
8839
  "optional": true
8840
+ },
8841
+ "fields": {
8842
+ "kind": "json",
8843
+ "optional": true,
8844
+ "description": "The extra columns to set."
8807
8845
  }
8808
8846
  },
8809
8847
  "jsonSchema": {
@@ -8857,7 +8895,8 @@ const PRESET_CATALOG = {
8857
8895
  },
8858
8896
  "required": ["amount", "currency"],
8859
8897
  "additionalProperties": false
8860
- }
8898
+ },
8899
+ "fields": { "description": "The extra columns to set." }
8861
8900
  },
8862
8901
  "required": ["key", "name"],
8863
8902
  "additionalProperties": false
@@ -9500,11 +9539,15 @@ const PRESET_CATALOG = {
9500
9539
  { "name": "ShipmentLabelChoice" },
9501
9540
  { "name": "ShipmentLabeledEventData" },
9502
9541
  { "name": "ShipmentLabelRequest" },
9542
+ { "name": "ShipmentLine" },
9543
+ { "name": "ShipmentLineInput" },
9503
9544
  { "name": "ShipmentListOptions" },
9504
9545
  { "name": "ShipmentPackage" },
9505
9546
  { "name": "ShipmentParcel" },
9506
9547
  { "name": "ShipmentRate" },
9507
9548
  { "name": "ShipmentRateRequest" },
9549
+ { "name": "ShipmentReturnInput" },
9550
+ { "name": "ShipmentReturnReceivedEventData" },
9508
9551
  {
9509
9552
  "name": "Shipments",
9510
9553
  "fields": true
@@ -9668,7 +9711,8 @@ const PRESET_CATALOG = {
9668
9711
  "shipment.created",
9669
9712
  "shipment.labeled",
9670
9713
  "shipment.status_changed",
9671
- "shipment.cancelled"
9714
+ "shipment.cancelled",
9715
+ "shipment.return_received"
9672
9716
  ]
9673
9717
  },
9674
9718
  "providers": [{
@@ -12304,6 +12348,9 @@ const PRESET_CATALOG = {
12304
12348
  "reservation.created",
12305
12349
  "reservation.committed",
12306
12350
  "reservation.released",
12351
+ "allocation.created",
12352
+ "allocation.filled",
12353
+ "allocation.released",
12307
12354
  "transfer.shipped",
12308
12355
  "transfer.received",
12309
12356
  "transfer.cancelled",
@@ -12334,6 +12381,10 @@ const PRESET_CATALOG = {
12334
12381
  "name": "InvoiceInput",
12335
12382
  "fields": true
12336
12383
  },
12384
+ {
12385
+ "name": "InvoicePatch",
12386
+ "fields": true
12387
+ },
12337
12388
  { "name": "InvoicePayment" },
12338
12389
  {
12339
12390
  "name": "Invoices",
@@ -12347,6 +12398,8 @@ const PRESET_CATALOG = {
12347
12398
  "type": "InvoicesEvents",
12348
12399
  "types": [
12349
12400
  "invoice.created",
12401
+ "invoice.updated",
12402
+ "invoice.deleted",
12350
12403
  "invoice.issued",
12351
12404
  "invoice.payment_recorded",
12352
12405
  "invoice.paid",
@@ -13302,9 +13355,21 @@ const PRESET_CATALOG = {
13302
13355
  },
13303
13356
  { "name": "OrderBoardCard" },
13304
13357
  { "name": "OrderBoardQuery" },
13358
+ { "name": "OrderDocumentInput" },
13359
+ {
13360
+ "name": "OrderDocuments",
13361
+ "fields": true
13362
+ },
13363
+ {
13364
+ "name": "OrderFromDocument",
13365
+ "fields": true
13366
+ },
13367
+ { "name": "OrderFromLinesInput" },
13368
+ { "name": "OrderFromQuoteClients" },
13305
13369
  { "name": "OrderFromQuoteOptions" },
13306
13370
  { "name": "OrderKitchen" },
13307
13371
  { "name": "OrderLine" },
13372
+ { "name": "OrderLineInput" },
13308
13373
  { "name": "OrderMetrics" },
13309
13374
  { "name": "OrderMetricsOptions" },
13310
13375
  { "name": "OrderPayment" },
@@ -14550,12 +14615,20 @@ const PRESET_CATALOG = {
14550
14615
  "name": "TemplateInput",
14551
14616
  "fields": true
14552
14617
  },
14618
+ { "name": "TemplateJobs" },
14619
+ { "name": "TemplateOccurrence" },
14620
+ { "name": "TemplateRecurPayload" },
14621
+ { "name": "TemplateRecurring" },
14553
14622
  { "name": "TemplateRunStart" },
14554
14623
  {
14555
14624
  "name": "Templates",
14556
14625
  "fields": true
14557
14626
  },
14558
14627
  { "name": "TemplatesApplyOutput" },
14628
+ { "name": "TemplateSchedule" },
14629
+ { "name": "TemplateScheduleInput" },
14630
+ { "name": "TemplateScheduleOptions" },
14631
+ { "name": "TemplateScheduleResult" },
14559
14632
  { "name": "TemplateScope" },
14560
14633
  { "name": "TemplatesEvents" },
14561
14634
  { "name": "TemplatesOptions" },
@@ -14569,7 +14642,13 @@ const PRESET_CATALOG = {
14569
14642
  "events": {
14570
14643
  "type": "TemplatesEvents",
14571
14644
  "types": ["template.published", "template.applied"]
14572
- }
14645
+ },
14646
+ "schedules": [{
14647
+ "name": "recurring",
14648
+ "cron": "*/5 * * * *",
14649
+ "runs": "recurring.schedule()",
14650
+ "description": "Enqueues a templates.recur job for each recurring template occurrence due in the next day."
14651
+ }]
14573
14652
  },
14574
14653
  {
14575
14654
  "name": "memberships",
@@ -1,8 +1,8 @@
1
1
  import { b as DbError } from "./result-DTOQRyGY.js";
2
2
  import { Zt as AuthorizationResource } from "./types-BzIYSSWK.js";
3
- import { r as AuthState } from "./resolve-BIpQRhvF.js";
4
- import { n as AuthSession } from "./view-DdDY88SC.js";
5
- import { r as GuardOptions } from "./respond-CAxhkwAi.js";
3
+ import { r as AuthState } from "./resolve-XlMQRUeG.js";
4
+ import { n as AuthSession } from "./view-eHgOOyRS.js";
5
+ import { r as GuardOptions } from "./respond-D7kUatjc.js";
6
6
  import { StandardSchemaV1 } from "@standard-schema/spec";
7
7
  /**
8
8
  * What a server action returns: plain data, safe across any serialization
@@ -1,4 +1,4 @@
1
1
  import { _ as FilterRule, a as FilterDateValue, b as encodeFilterQuery, c as FilterFieldLabels, d as FilterLimits, f as FilterNode, g as FilterRelativeDate, h as FilterQuery, i as FilterCombinator, l as FilterFieldType, m as FilterOperatorSpec, n as FILTER_OPERATOR_LABELS, o as FilterField, p as FilterOperatorArity, r as FilterClock, s as FilterFieldInfo, t as FILTER_OPERATORS, u as FilterGroupNode, v as ListFilterConfig, y as decodeFilterQuery } from "../filter-query-Xj40B5KT.js";
2
- import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-D1h3Dmnk.js";
2
+ import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-BkbLV-Yc.js";
3
3
  import { n as FilterRecordField, r as evaluateFilterQuery, t as FilterEvaluation } from "../filter-evaluate-Bkbb0nuQ.js";
4
4
  export { FILTER_OPERATORS, FILTER_OPERATOR_LABELS, type FacetCountFields, type FacetCounts, type FacetInfo, type FilterClock, type FilterCombinator, type FilterDateValue, type FilterEvaluation, type FilterField, type FilterFieldInfo, type FilterFieldLabels, type FilterFieldType, type FilterGroupNode, type FilterLimits, type FilterNode, type FilterOperatorArity, type FilterOperatorSpec, type FilterQuery, type FilterRecordField, type FilterRelativeDate, type FilterRule, type ListDefinition, type ListExtra, type ListFilterConfig, type ListPage, type ListPagination, type ListParseOptions, type ListParseResult, type ListParsers, type ListQuery, type ListQueryConfig, type ListQueryInput, type ListSearchParams, type OpenApiParameter, type ParserSpec, UNSET, decodeFilterQuery, defineListQuery, encodeFilterQuery, evaluateFilterQuery };
@@ -1,6 +1,6 @@
1
1
  import { D as ValidationIssue, t as AsyncResult } from "./result-DTOQRyGY.js";
2
2
  import { O as AnyFunctions, a as CountMode, at as Row, dt as TableKey, k as AnyModels } from "./types-BzIYSSWK.js";
3
- import { A as OffsetPageArgs, C as FindExt, Gt as SelectArg, Vt as Payload, Yt as WhereInput, _ as CursorPage, jt as IncludeArg, k as OffsetPage, t as BetterSupabase, v as CursorPageArgs, z as RepositoryOf, zt as OrderByArg } from "./define-BvkaC3Oh.js";
3
+ import { A as OffsetPageArgs, C as FindExt, Gt as SelectArg, Vt as Payload, Yt as WhereInput, _ as CursorPage, jt as IncludeArg, k as OffsetPage, t as BetterSupabase, v as CursorPageArgs, z as RepositoryOf, zt as OrderByArg } from "./define-C_He1bQO.js";
4
4
  import { c as FilterFieldLabels, h as FilterQuery, o as FilterField, r as FilterClock, s as FilterFieldInfo, v as ListFilterConfig } from "./filter-query-Xj40B5KT.js";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  /** Facet value meaning "not set": filters with `is null`. */
@@ -1,10 +1,10 @@
1
- import { t as VERSION } from "../cli/version-DKfeme2I.js";
2
- import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-aMk9vF1_.js";
3
- import { t as loadSnapshot } from "../cli/snapshot-C3_eQUgY.js";
4
- import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-Bp7a7XQ9.js";
1
+ import { t as VERSION } from "../cli/version-CF6Yzah0.js";
2
+ import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-bS5bAoF-.js";
3
+ import { t as loadSnapshot } from "../cli/snapshot-DOXmozSq.js";
4
+ import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-UBqU9r44.js";
5
5
  import { i as discoverConfig, s as loadConfig } from "../cli/config-DrrkMihk.js";
6
6
  import { i as parseEnv, n as configEnvironment } from "../cli/env-BCuUsWOh.js";
7
- import { s as schemaStampPath } from "../cli/content-mapper-CEtdbshU.js";
7
+ import { s as schemaStampPath } from "../cli/content-mapper-CW6V6VRq.js";
8
8
  import { existsSync, realpathSync } from "node:fs";
9
9
  import { basename, dirname, join, resolve } from "node:path";
10
10
  import { createHash } from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { r as GuardOptions } from "../respond-CAxhkwAi.js";
2
- import { l as ResourceRouteOptions } from "../resource-types-CTcc37WL.js";
3
- import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-BUluRi0b.js";
1
+ import { r as GuardOptions } from "../respond-D7kUatjc.js";
2
+ import { l as ResourceRouteOptions } from "../resource-types-CF3Uc6OW.js";
3
+ import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-DzLLMmUB.js";
4
4
  export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "../../types-BzIYSSWK.js";
2
- import { r as AuthState } from "../../resolve-BIpQRhvF.js";
3
- import { i as CredentialRef, r as CredentialProvider } from "../../provider-bIAzxVMB.js";
2
+ import { r as AuthState } from "../../resolve-XlMQRUeG.js";
3
+ import { i as CredentialRef, r as CredentialProvider } from "../../provider-CVlXXbda.js";
4
4
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
5
- import { t as BetterSupabase } from "../../define-BvkaC3Oh.js";
6
- import { l as ServerOptions, o as ServerContext$1, r as BetterServer } from "../../server-types-DEjva0MW.js";
7
- import { r as GuardOptions, t as AllowedCaller } from "../../respond-CAxhkwAi.js";
5
+ import { t as BetterSupabase } from "../../define-C_He1bQO.js";
6
+ import { l as ServerOptions, o as ServerContext$1, r as BetterServer } from "../../server-types-DpI82uNq.js";
7
+ import { r as GuardOptions, t as AllowedCaller } from "../../respond-D7kUatjc.js";
8
8
  import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
9
9
  interface McpAuthOptions extends ServerOptions, Omit<GuardOptions, "scopes"> {
10
10
  /**
@@ -1,6 +1,6 @@
1
- import { n as RouteGuardOptions } from "../refusal-BX1EvmpJ.js";
1
+ import { n as RouteGuardOptions } from "../refusal-CjUUBfhY.js";
2
2
  import { t as Validated } from "../shared-DsBcvj6q.js";
3
- import { l as ToNodeOptions } from "../index-Ag-T51Jl.js";
3
+ import { l as ToNodeOptions } from "../index-CvLTqmdq.js";
4
4
  import { AnyEntry } from "@supabase/middleware";
5
5
  import { IncomingMessage, ServerResponse } from "node:http";
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-Df6tuKY9.js";
1
+ import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-CJjTuFtA.js";
2
2
  /**
3
3
  * Why the session changed: Auth ended it or banned the user, the user signed
4
4
  * out, or the claims or support target behind the session changed.