better-supabase 0.22.0 → 0.25.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 (347) hide show
  1. package/dist/{access-sql-CNIgUqWf.js → access-sql-bjWFUWlk.js} +11 -0
  2. package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +2 -2
  4. package/dist/ai-sdk/batches/index.d.ts +1 -1
  5. package/dist/ai-sdk/index.d.ts +1 -1
  6. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  7. package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
  8. package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
  9. package/dist/{app-tables-BGzdnQm5.d.ts → app-tables-xij_MI5H.d.ts} +1 -1
  10. package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
  11. package/dist/astro/index.d.ts +5 -5
  12. package/dist/{authorization-DhoA7dsD.d.ts → authorization-BJV2i8xB.d.ts} +136 -21
  13. package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
  14. package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
  15. package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
  16. package/dist/better-result/index.d.ts +2 -2
  17. package/dist/{bind-CFsctoFJ.d.ts → bind-vKDmdu_4.d.ts} +4 -4
  18. package/dist/{block-env-BrUNeuJ_.d.ts → block-env-wVLz0KMV.d.ts} +4 -4
  19. package/dist/blocks/access-requests/index.d.ts +2 -2
  20. package/dist/blocks/activities/index.d.ts +3 -3
  21. package/dist/blocks/agents/index.d.ts +2 -2
  22. package/dist/blocks/ai-cache/index.d.ts +1 -1
  23. package/dist/blocks/ai-chat/index.d.ts +5 -5
  24. package/dist/blocks/ai-files/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +3 -3
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +5 -5
  28. package/dist/blocks/api-keys/index.d.ts +5 -5
  29. package/dist/blocks/approvals/index.d.ts +3 -3
  30. package/dist/blocks/assets/index.d.ts +2 -2
  31. package/dist/blocks/assignment/index.d.ts +3 -3
  32. package/dist/blocks/attachments/index.d.ts +3 -3
  33. package/dist/blocks/audit/index.d.ts +7 -7
  34. package/dist/blocks/automations/index.d.ts +5 -5
  35. package/dist/blocks/billable-time/index.d.ts +2 -2
  36. package/dist/blocks/billing/index.d.ts +5 -5
  37. package/dist/blocks/bookings/index.d.ts +6 -6
  38. package/dist/blocks/bulk/index.d.ts +2 -2
  39. package/dist/blocks/calendar/index.d.ts +50 -13
  40. package/dist/blocks/calendar/index.js +133 -30
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +3 -3
  43. package/dist/blocks/collections/index.d.ts +3 -3
  44. package/dist/blocks/comments/index.d.ts +5 -5
  45. package/dist/blocks/compliance/index.d.ts +2 -2
  46. package/dist/blocks/connectors/index.d.ts +3 -3
  47. package/dist/blocks/contacts/index.d.ts +3 -3
  48. package/dist/blocks/content/index.d.ts +2 -2
  49. package/dist/blocks/contracts/index.d.ts +2 -2
  50. package/dist/blocks/courses/index.d.ts +2 -2
  51. package/dist/blocks/created-by/index.d.ts +1 -1
  52. package/dist/blocks/custom-fields/index.d.ts +45 -3
  53. package/dist/blocks/custom-fields/index.js +40 -1
  54. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  55. package/dist/blocks/deals/index.d.ts +3 -3
  56. package/dist/blocks/dispatch/index.d.ts +2 -2
  57. package/dist/blocks/documents/index.d.ts +2 -2
  58. package/dist/blocks/domains/index.d.ts +2 -2
  59. package/dist/blocks/donations/index.d.ts +2 -2
  60. package/dist/blocks/drive/index.d.ts +4 -4
  61. package/dist/blocks/employees/index.d.ts +25 -6
  62. package/dist/blocks/employees/index.js +37 -2
  63. package/dist/blocks/enrichment/index.d.ts +3 -3
  64. package/dist/blocks/enrollments/index.d.ts +2 -2
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +2 -2
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +2 -2
  69. package/dist/blocks/forecasts/index.d.ts +3 -3
  70. package/dist/blocks/forms/index.d.ts +3 -3
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +2 -2
  73. package/dist/blocks/hiring/index.d.ts +13 -6
  74. package/dist/blocks/hiring/index.js +15 -4
  75. package/dist/blocks/identities/index.d.ts +2 -2
  76. package/dist/blocks/imports/index.d.ts +2 -2
  77. package/dist/blocks/inbox/index.d.ts +6 -6
  78. package/dist/blocks/incidents/index.d.ts +2 -2
  79. package/dist/blocks/index.d.ts +4 -4
  80. package/dist/blocks/inventory/index.d.ts +2 -2
  81. package/dist/blocks/invoices/index.d.ts +3 -3
  82. package/dist/blocks/knowledge/index.d.ts +1 -1
  83. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  84. package/dist/blocks/leases/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.d.ts +2 -2
  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 +3 -3
  99. package/dist/blocks/organizations/index.d.ts +4 -4
  100. package/dist/blocks/outbox/index.d.ts +2 -2
  101. package/dist/blocks/passes/index.d.ts +3 -3
  102. package/dist/blocks/permissions/index.d.ts +3 -3
  103. package/dist/blocks/pipelines/index.d.ts +3 -3
  104. package/dist/blocks/posts/index.d.ts +2 -2
  105. package/dist/blocks/profiles/index.d.ts +1 -1
  106. package/dist/blocks/promotions/index.d.ts +2 -2
  107. package/dist/blocks/push/index.d.ts +3 -3
  108. package/dist/blocks/queue/index.d.ts +1 -1
  109. package/dist/blocks/quotes/index.d.ts +3 -3
  110. package/dist/blocks/rank/index.d.ts +1 -1
  111. package/dist/blocks/reactions/index.d.ts +5 -5
  112. package/dist/blocks/relations/index.d.ts +2 -2
  113. package/dist/blocks/reminders/index.d.ts +3 -3
  114. package/dist/blocks/reviews/index.d.ts +2 -2
  115. package/dist/blocks/saved-views/index.d.ts +4 -4
  116. package/dist/blocks/scores/index.d.ts +2 -2
  117. package/dist/blocks/search/index.d.ts +6 -4
  118. package/dist/blocks/search/index.js +2 -0
  119. package/dist/blocks/security-events/index.d.ts +3 -3
  120. package/dist/blocks/segments/index.d.ts +3 -3
  121. package/dist/blocks/sequences/index.d.ts +2 -2
  122. package/dist/blocks/service-accounts/index.d.ts +2 -2
  123. package/dist/blocks/sessions/index.d.ts +2 -2
  124. package/dist/blocks/settings/index.d.ts +3 -3
  125. package/dist/blocks/share-links/index.d.ts +30 -5
  126. package/dist/blocks/share-links/index.js +58 -22
  127. package/dist/blocks/shipments/index.d.ts +2 -2
  128. package/dist/blocks/signatures/index.d.ts +2 -2
  129. package/dist/blocks/signing-keys/index.d.ts +2 -2
  130. package/dist/blocks/sla/index.d.ts +3 -3
  131. package/dist/blocks/sso/index.d.ts +3 -3
  132. package/dist/blocks/state-machine/index.d.ts +2 -2
  133. package/dist/blocks/subjects/index.d.ts +2 -2
  134. package/dist/blocks/tags/index.d.ts +20 -5
  135. package/dist/blocks/tags/index.js +15 -2
  136. package/dist/blocks/tasks/index.d.ts +5 -5
  137. package/dist/blocks/teams/index.d.ts +28 -6
  138. package/dist/blocks/teams/index.js +10 -3
  139. package/dist/blocks/templates/index.d.ts +4 -4
  140. package/dist/blocks/time-tracking/index.d.ts +28 -5
  141. package/dist/blocks/time-tracking/index.js +27 -11
  142. package/dist/blocks/timeline/index.d.ts +4 -4
  143. package/dist/blocks/trash/index.d.ts +2 -2
  144. package/dist/blocks/undo/index.d.ts +2 -2
  145. package/dist/blocks/updated-at/index.d.ts +1 -1
  146. package/dist/blocks/usage/index.d.ts +2 -2
  147. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  148. package/dist/blocks/versions/index.d.ts +2 -2
  149. package/dist/blocks/waitlist/index.d.ts +2 -2
  150. package/dist/blocks/webhooks/index.d.ts +6 -6
  151. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  152. package/dist/blocks/workflows/index.d.ts +5 -5
  153. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  154. package/dist/chat-sdk/index.d.ts +2 -2
  155. package/dist/cli/{add-BXFzr0Wf.js → add-BTVrOGJF.js} +11 -11
  156. package/dist/cli/add-Bf1fyCWm.js +1 -0
  157. package/dist/cli/{add-B6CQOt3A.js → add-C2pNvVpu.js} +2 -2
  158. package/dist/cli/{backfill-Dflp6JZk.js → backfill-BicVPugb.js} +3 -3
  159. package/dist/cli/bin.js +1 -1
  160. package/dist/cli/{blocks-CBH3N7Fy.js → blocks-BmYOH4T-.js} +1 -1
  161. package/dist/cli/{blocks-FtOIcUbu.js → blocks-sScN-ik-.js} +1 -1
  162. package/dist/cli/{cache-61VwYKEv.js → cache-1TfBy2K4.js} +1 -1
  163. package/dist/cli/{codemod-CqPRa25J.js → codemod-ylE6wGLo.js} +1 -1
  164. package/dist/cli/{config-BH0goim0.js → config-BVfeG3A5.js} +37 -5
  165. package/dist/cli/{config-CTRzkX0H.js → config-CeaQMrvS.js} +1 -1
  166. package/dist/cli/{content-mapper-DGQQY5IA.js → content-mapper-hUW2nb92.js} +2 -2
  167. package/dist/cli/{db-DCeyHS1y.js → db-DwjyUbAh.js} +2 -2
  168. package/dist/cli/{doctor-BxxSO193.js → doctor-D3WKFBSv.js} +16 -16
  169. package/dist/cli/{gen-D2cqqqTH.js → gen-CqsUdsB2.js} +14 -14
  170. package/dist/cli/index.d.ts +1 -1
  171. package/dist/cli/index.js +7 -7
  172. package/dist/cli/{init-BnG1IE1y.js → init-DryZ5Mp1.js} +6 -6
  173. package/dist/cli/{live-D26OWOAb.js → live-Di45imoV.js} +2 -2
  174. package/dist/cli/{mcp-1l3C_GdB.js → mcp-BklC-3eK.js} +2 -2
  175. package/dist/cli/{metadata-DDfPBHwI.js → metadata-7PsBF5Xw.js} +3 -3
  176. package/dist/cli/{migration-safety-CQbrfZIx.js → migration-safety-Doy9qYO8.js} +2 -2
  177. package/dist/cli/{migrations-Ch5Uuvyj.js → migrations-JtsPYv8g.js} +1 -1
  178. package/dist/cli/{module-migration-Dul1uTYX.js → module-migration-ZIn1NCMi.js} +2 -2
  179. package/dist/cli/{powersync-CfT-tRx1.js → powersync-BRGXOCJ0.js} +2 -2
  180. package/dist/cli/powersync-Dq-txa0_.js +1 -0
  181. package/dist/cli/{print-CbPT4PTL.js → print-Dfqd4DB-.js} +2 -2
  182. package/dist/cli/{remove-kDH1yxKZ.js → remove-CQzSCYTu.js} +5 -5
  183. package/dist/cli/{render-0Vd7BaNA.js → render-DWRz-uPQ.js} +7 -4
  184. package/dist/cli/{run-DxTd55Ug.js → run-DPLedqTF.js} +25 -25
  185. package/dist/cli/{run-Dafms0D2.js → run-j54rk2w-.js} +8 -8
  186. package/dist/cli/{seed-CdSxunFT.js → seed-BMynpMPy.js} +2 -2
  187. package/dist/cli/seed-CO3j_bly.js +1 -0
  188. package/dist/cli/{shared-BQAMXvwd.js → shared-CslNcs-R.js} +1 -1
  189. package/dist/cli/{snapshot-B8K6gYjA.js → snapshot-DdN5GlhH.js} +3 -3
  190. package/dist/cli/{source-CXDyCWz5.js → source-COARbqch.js} +1 -1
  191. package/dist/cli/{source-args-z-jkabmO.js → source-args-CDmmFmFG.js} +1 -1
  192. package/dist/cli/{spec-BGsnTkIl.js → spec-CgLNZc_C.js} +2 -2
  193. package/dist/cli/{spec-CaN7nOqI.js → spec-DIhBQlBF.js} +1 -1
  194. package/dist/cli/{sql-layout-BGAlcp1U.js → sql-layout-8jrP5gIa.js} +2 -2
  195. package/dist/cli/{sync-CT_5VG0E.js → sync-SqyVHRSJ.js} +3 -3
  196. package/dist/cli/{upgrade-frUtPDDb.js → upgrade-CY-vj_qh.js} +4 -4
  197. package/dist/cli/{upgrade-DA7aO88E.js → upgrade-D0aLhluU.js} +2 -2
  198. package/dist/cli/{version-CUdPyV6J.js → version-Bhca9D6q.js} +1 -1
  199. package/dist/client/index.d.ts +5 -5
  200. package/dist/client/native/index.d.ts +4 -4
  201. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  202. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  203. package/dist/config/index.d.ts +4 -4
  204. package/dist/config/index.js +4 -4
  205. package/dist/{config-C9AOcQ9S.js → config-C19McoGo.js} +4 -3
  206. package/dist/{config-CH-D2B-4.js → config-CP-WaboC.js} +6 -5
  207. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  208. package/dist/{context-DEisra3V.d.ts → context-BJoHD20l.d.ts} +60 -14
  209. package/dist/{controller-B6vWdKSa.d.ts → controller-CwGXms17.d.ts} +1 -1
  210. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  211. package/dist/create/index.d.ts +3 -3
  212. package/dist/create/index.js +3 -3
  213. package/dist/create/lite/index.d.ts +3 -3
  214. package/dist/create/lite/index.js +2 -2
  215. package/dist/credentials/index.d.ts +3 -3
  216. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  217. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  218. package/dist/edge/index.d.ts +8 -8
  219. package/dist/elysia/index.d.ts +1 -1
  220. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  221. package/dist/{entitlements-BPaPd3MD.d.ts → entitlements-CsZcfllV.d.ts} +2 -2
  222. package/dist/eve/index.d.ts +2 -2
  223. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  224. package/dist/events/index.d.ts +3 -3
  225. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  226. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  227. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  228. package/dist/expo/index.d.ts +3 -3
  229. package/dist/{field-errors-DBgDCITw.d.ts → field-errors-6BVg31Yp.d.ts} +7 -7
  230. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  231. package/dist/h3/index.d.ts +1 -1
  232. package/dist/h3/v1/index.d.ts +1 -1
  233. package/dist/hono/index.d.ts +8 -8
  234. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  235. package/dist/{index-CM2aGNRo.d.ts → index-C0QuN9_P.d.ts} +186 -8
  236. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  237. package/dist/{index-3p_oWttZ.d.ts → index-Cagz4Z2k.d.ts} +1 -1
  238. package/dist/{index-ByF22_C6.d.ts → index-CbUCGMqj.d.ts} +3 -3
  239. package/dist/{index-C4sjewrr.d.ts → index-D01wHGSN.d.ts} +11 -11
  240. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  241. package/dist/{index-CdMZQCYR.d.ts → index-DOHx3JuB.d.ts} +4 -4
  242. package/dist/index.d.ts +2 -2
  243. package/dist/{instances-CK0jR3Pc.js → instances-qz2MCMyK.js} +111 -11
  244. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  245. package/dist/list/index.d.ts +1 -1
  246. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  247. package/dist/mapper/bin.js +6 -6
  248. package/dist/mcp/index.d.ts +5 -5
  249. package/dist/mcp/sdk/index.d.ts +5 -5
  250. package/dist/nestjs/index.d.ts +2 -2
  251. package/dist/next/client/index.d.ts +1 -1
  252. package/dist/next/index.d.ts +21 -21
  253. package/dist/node/index.d.ts +2 -2
  254. package/dist/{operations-DC3wU3Sy.d.ts → operations-CPhOcuzl.d.ts} +1 -1
  255. package/dist/{options-fMxhtuVR.js → options-BJtdsK7b.js} +4 -1
  256. package/dist/options-BOGo1qCA.js +13 -0
  257. package/dist/options-BSsYXjhC.js +9 -0
  258. package/dist/options-C4LuqmdG.js +15 -0
  259. package/dist/{options-DhdazgTZ.js → options-eTepQ1rZ.js} +4 -1
  260. package/dist/{options-BfFC4iFE.js → options-jsOCvLUz.js} +3 -1
  261. package/dist/orpc/index.d.ts +7 -7
  262. package/dist/otel/index.d.ts +1 -1
  263. package/dist/otel/index.js +4 -4
  264. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  265. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  266. package/dist/{ports-BbBJVyS0.d.ts → ports-Bw7uxPd_.d.ts} +1 -1
  267. package/dist/postgres/index.d.ts +1 -1
  268. package/dist/powersync/index.d.ts +3 -3
  269. package/dist/preset/index.d.ts +3 -3
  270. package/dist/preset/index.js +3 -3
  271. package/dist/{preset-CS490mYJ.js → preset-BbSWLoXM.js} +2 -2
  272. package/dist/{project-NmP1NdLi.js → project-TN03XDsA.js} +5 -5
  273. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  274. package/dist/{push-token-CPJfPFa2.d.ts → push-token-vykw2JXT.d.ts} +1 -1
  275. package/dist/query/index.d.ts +1 -1
  276. package/dist/react/index.d.ts +7 -7
  277. package/dist/react/native/index.d.ts +1 -1
  278. package/dist/react/server.d.ts +8 -8
  279. package/dist/react/session.d.ts +2 -2
  280. package/dist/react-router/index.d.ts +5 -5
  281. package/dist/realtime/index.d.ts +4 -4
  282. package/dist/realtime/index.js +1 -1
  283. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  284. package/dist/records/index.d.ts +7 -7
  285. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  286. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  287. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  288. package/dist/{resolved-names-DdlJzoMK.js → resolved-names-Dsf28_Dr.js} +1 -1
  289. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  290. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  291. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  292. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  293. package/dist/server/index.d.ts +20 -20
  294. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  295. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  296. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  297. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  298. package/dist/solid/index.d.ts +9 -9
  299. package/dist/solid-start/index.d.ts +5 -5
  300. package/dist/spec/index.d.ts +1 -1
  301. package/dist/sql/index.d.ts +5 -5
  302. package/dist/sql/index.js +5 -5
  303. package/dist/{sql-BMXEHTvr.js → sql-Dg3W1ENk.js} +5113 -1530
  304. package/dist/sqlite/index.d.ts +1 -1
  305. package/dist/ssr/index.d.ts +5 -5
  306. package/dist/storage/index.js +1 -1
  307. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  308. package/dist/subjects-NomQg6Eg.d.ts +131 -0
  309. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  310. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  311. package/dist/svelte/index.d.ts +8 -8
  312. package/dist/sveltekit/index.d.ts +6 -6
  313. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  314. package/dist/tanstack-db/index.d.ts +1 -1
  315. package/dist/tanstack-start/index.d.ts +5 -5
  316. package/dist/{tenant-BHvMFNXl.d.ts → tenant-BRmKZ7aq.d.ts} +2 -2
  317. package/dist/testing/index.d.ts +16 -16
  318. package/dist/testing/index.js +2 -2
  319. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  320. package/dist/{topic-gTVjLGTk.d.ts → topic-CpsKVBot.d.ts} +3 -3
  321. package/dist/{topic-DClSoqY7.js → topic-F0FKzJyQ.js} +1 -1
  322. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  323. package/dist/{types-BC1HLEVx.d.ts → types-CjRwmCRP.d.ts} +2 -2
  324. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  325. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  326. package/dist/vercel-connect/index.d.ts +1 -1
  327. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  328. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  329. package/dist/vue/index.d.ts +9 -9
  330. package/dist/{watch-topic-C6HhbnVz.d.ts → watch-topic-BaMZX139.d.ts} +1 -1
  331. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  332. package/dist/workflow-sdk/index.d.ts +1 -1
  333. package/dist/workflow-sdk/world/index.d.ts +1 -1
  334. package/dist/workflow-sdk/world/index.js +1 -1
  335. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  336. package/dist/{workflow-sdk-DELaQEp3.js → workflow-sdk-CE8sEK57.js} +38 -1
  337. package/dist/yjs/index.d.ts +1 -1
  338. package/dist/yjs/index.js +1 -1
  339. package/package.json +1 -1
  340. package/schemas/config-v1.json +217 -1
  341. package/dist/cli/add-w_HumDPX.js +0 -1
  342. package/dist/cli/powersync-Vmhw5c1N.js +0 -1
  343. package/dist/cli/seed-CXJvTU5D.js +0 -1
  344. package/dist/options-C1-pwEqm.js +0 -5
  345. package/dist/options-CTv-xmbA.js +0 -5
  346. package/dist/options-ChiL-4ZS.js +0 -8
  347. package/dist/subjects-DvmQeF_F.d.ts +0 -79
@@ -44,6 +44,7 @@ function resolveBlock(config = {}) {
44
44
  schema: config.schema ?? MODULE_SCHEMA,
45
45
  tables: defined(config.tables),
46
46
  columns: Object.fromEntries(Object.entries(defined(config.columns)).map(([table, columns]) => [table, defined(columns)])),
47
+ ...config.values === void 0 ? {} : { values: config.values },
47
48
  ...config.idType === void 0 ? {} : { idType: config.idType },
48
49
  ...config.scope === void 0 ? {} : { scope: config.scope },
49
50
  ownTablePolicies: config.ownTablePolicies ?? "block",
@@ -1232,6 +1233,7 @@ const PRESET_CATALOG = {
1232
1233
  "integrates": [
1233
1234
  "outbox",
1234
1235
  "drive",
1236
+ "subjects",
1235
1237
  "bulk"
1236
1238
  ],
1237
1239
  "manifest": "tags",
@@ -1291,7 +1293,8 @@ const PRESET_CATALOG = {
1291
1293
  "integrates": [
1292
1294
  "outbox",
1293
1295
  "field-encryption",
1294
- "audit"
1296
+ "audit",
1297
+ "subjects"
1295
1298
  ],
1296
1299
  "manifest": "custom-fields",
1297
1300
  "scopes": ["tenant"],
@@ -1329,7 +1332,11 @@ const PRESET_CATALOG = {
1329
1332
  "title": "Share links",
1330
1333
  "category": "collaboration",
1331
1334
  "requires": ["memberships", "permissions"],
1332
- "integrates": ["outbox", "versions"],
1335
+ "integrates": [
1336
+ "outbox",
1337
+ "versions",
1338
+ "subjects"
1339
+ ],
1333
1340
  "manifest": "share-links",
1334
1341
  "scopes": ["tenant"],
1335
1342
  "extraColumns": "links",
@@ -1355,7 +1362,8 @@ const PRESET_CATALOG = {
1355
1362
  "useCount": "use_count",
1356
1363
  "createdBy": "created_by",
1357
1364
  "leaf": "leaf_id",
1358
- "versionId": "version_id"
1365
+ "versionId": "version_id",
1366
+ "createdAt": "created_at"
1359
1367
  }
1360
1368
  } },
1361
1369
  "keys": {
@@ -1612,7 +1620,10 @@ const PRESET_CATALOG = {
1612
1620
  "autoDecline": "auto_decline",
1613
1621
  "createdBy": "created_by",
1614
1622
  "createdAt": "created_at",
1615
- "updatedAt": "updated_at"
1623
+ "updatedAt": "updated_at",
1624
+ "visibility": "visibility",
1625
+ "owner": "owner_id",
1626
+ "rdates": "rdates"
1616
1627
  }
1617
1628
  },
1618
1629
  "calendars": {
@@ -1625,7 +1636,11 @@ const PRESET_CATALOG = {
1625
1636
  "color": "color",
1626
1637
  "ownerType": "owner_type",
1627
1638
  "ownerId": "owner_id",
1628
- "createdAt": "created_at"
1639
+ "createdAt": "created_at",
1640
+ "visibility": "visibility",
1641
+ "description": "description",
1642
+ "rank": "rank",
1643
+ "isDefault": "is_default"
1629
1644
  }
1630
1645
  }
1631
1646
  },
@@ -2465,6 +2480,7 @@ const PRESET_CATALOG = {
2465
2480
  "integrates": [
2466
2481
  "outbox",
2467
2482
  "audit",
2483
+ "employees",
2468
2484
  "approvals"
2469
2485
  ],
2470
2486
  "manifest": "time-tracking",
@@ -2500,7 +2516,9 @@ const PRESET_CATALOG = {
2500
2516
  "note": "note",
2501
2517
  "createdAt": "created_at",
2502
2518
  "updatedAt": "updated_at",
2503
- "seconds": "seconds"
2519
+ "seconds": "seconds",
2520
+ "runningSince": "running_since",
2521
+ "employee": "employee_id"
2504
2522
  }
2505
2523
  },
2506
2524
  "timesheets": {
@@ -2514,7 +2532,12 @@ const PRESET_CATALOG = {
2514
2532
  "note": "note",
2515
2533
  "submittedAt": "submitted_at",
2516
2534
  "approvedAt": "approved_at",
2517
- "createdAt": "created_at"
2535
+ "createdAt": "created_at",
2536
+ "status": "status",
2537
+ "decidedBy": "decided_by",
2538
+ "decidedAt": "decided_at",
2539
+ "decisionNote": "decision_note",
2540
+ "employee": "employee_id"
2518
2541
  }
2519
2542
  }
2520
2543
  },
@@ -3414,6 +3437,7 @@ const PRESET_CATALOG = {
3414
3437
  "primary": true,
3415
3438
  "subject": {
3416
3439
  "title": "name",
3440
+ "fallbackTitle": "firstName",
3417
3441
  "permissions": {
3418
3442
  "read": "read",
3419
3443
  "write": "write"
@@ -3444,7 +3468,9 @@ const PRESET_CATALOG = {
3444
3468
  "originId": "origin_id",
3445
3469
  "createdBy": "created_by",
3446
3470
  "createdAt": "created_at",
3447
- "updatedAt": "updated_at"
3471
+ "updatedAt": "updated_at",
3472
+ "firstName": "first_name",
3473
+ "lastName": "last_name"
3448
3474
  }
3449
3475
  } },
3450
3476
  "keys": {
@@ -6593,6 +6619,8 @@ const PRESET_CATALOG = {
6593
6619
  },
6594
6620
  { "name": "CalendarActions" },
6595
6621
  { "name": "CalendarAttendee" },
6622
+ { "name": "CalendarAttendeeInput" },
6623
+ { "name": "CalendarAttributes" },
6596
6624
  { "name": "CalendarController" },
6597
6625
  { "name": "CalendarControllerOptions" },
6598
6626
  { "name": "CalendarEvent" },
@@ -6600,12 +6628,15 @@ const PRESET_CATALOG = {
6600
6628
  { "name": "CalendarEventKind" },
6601
6629
  { "name": "CalendarEvents" },
6602
6630
  { "name": "CalendarEventStatus" },
6631
+ { "name": "CalendarGrant" },
6632
+ { "name": "CalendarGrantRole" },
6603
6633
  { "name": "CalendarImport" },
6604
6634
  { "name": "CalendarInfo" },
6605
6635
  { "name": "CalendarOccurrence" },
6606
6636
  { "name": "CalendarOptions" },
6607
6637
  { "name": "CalendarSnapshot" },
6608
6638
  { "name": "CalendarTransparency" },
6639
+ { "name": "CalendarVisibility" },
6609
6640
  { "name": "EventCalendarEvent" },
6610
6641
  { "name": "EventCalendarOptions" },
6611
6642
  { "name": "EventCalendarResource" },
@@ -6667,6 +6698,16 @@ const PRESET_CATALOG = {
6667
6698
  "optional": true,
6668
6699
  "array": true
6669
6700
  },
6701
+ "rdates": {
6702
+ "kind": "instant",
6703
+ "optional": true,
6704
+ "array": true
6705
+ },
6706
+ "visibility": {
6707
+ "kind": "enum",
6708
+ "values": ["public", "private"],
6709
+ "optional": true
6710
+ },
6670
6711
  "subjectType": {
6671
6712
  "kind": "string",
6672
6713
  "optional": true,
@@ -6751,6 +6792,17 @@ const PRESET_CATALOG = {
6751
6792
  "format": "date-time"
6752
6793
  }
6753
6794
  },
6795
+ "rdates": {
6796
+ "type": "array",
6797
+ "items": {
6798
+ "type": "string",
6799
+ "format": "date-time"
6800
+ }
6801
+ },
6802
+ "visibility": {
6803
+ "type": "string",
6804
+ "enum": ["public", "private"]
6805
+ },
6754
6806
  "subjectType": { "type": ["string", "null"] },
6755
6807
  "subjectId": { "type": ["string", "null"] },
6756
6808
  "color": { "type": ["string", "null"] },
@@ -6834,6 +6886,16 @@ const PRESET_CATALOG = {
6834
6886
  "optional": true,
6835
6887
  "array": true
6836
6888
  },
6889
+ "rdates": {
6890
+ "kind": "instant",
6891
+ "optional": true,
6892
+ "array": true
6893
+ },
6894
+ "visibility": {
6895
+ "kind": "enum",
6896
+ "values": ["public", "private"],
6897
+ "optional": true
6898
+ },
6837
6899
  "subjectType": {
6838
6900
  "kind": "string",
6839
6901
  "optional": true,
@@ -6918,6 +6980,17 @@ const PRESET_CATALOG = {
6918
6980
  "format": "date-time"
6919
6981
  }
6920
6982
  },
6983
+ "rdates": {
6984
+ "type": "array",
6985
+ "items": {
6986
+ "type": "string",
6987
+ "format": "date-time"
6988
+ }
6989
+ },
6990
+ "visibility": {
6991
+ "type": "string",
6992
+ "enum": ["public", "private"]
6993
+ },
6921
6994
  "subjectType": { "type": ["string", "null"] },
6922
6995
  "subjectId": { "type": ["string", "null"] },
6923
6996
  "color": { "type": ["string", "null"] },
@@ -6951,6 +7024,7 @@ const PRESET_CATALOG = {
6951
7024
  "type": "CalendarEvents",
6952
7025
  "types": [
6953
7026
  "calendar.created",
7027
+ "calendar.updated",
6954
7028
  "calendar_event.created",
6955
7029
  "calendar_event.updated",
6956
7030
  "calendar_event.deleted"
@@ -7138,7 +7212,9 @@ const PRESET_CATALOG = {
7138
7212
  { "name": "CustomFieldsOptions" },
7139
7213
  { "name": "CustomFieldType" },
7140
7214
  { "name": "FieldDefinition" },
7141
- { "name": "FieldDefinitionDetail" }
7215
+ { "name": "FieldDefinitionDetail" },
7216
+ { "name": "FieldValue" },
7217
+ { "name": "SetFieldInput" }
7142
7218
  ],
7143
7219
  "events": {
7144
7220
  "type": "CustomFieldsEvents",
@@ -7146,6 +7222,7 @@ const PRESET_CATALOG = {
7146
7222
  "custom_field.saved",
7147
7223
  "custom_field.deleted",
7148
7224
  "field_value.set",
7225
+ "field_value.deleted",
7149
7226
  "field_value.viewed"
7150
7227
  ]
7151
7228
  }
@@ -11259,6 +11336,16 @@ const PRESET_CATALOG = {
11259
11336
  "minLength": 1,
11260
11337
  "maxLength": 200
11261
11338
  },
11339
+ "firstName": {
11340
+ "kind": "string",
11341
+ "optional": true,
11342
+ "maxLength": 200
11343
+ },
11344
+ "lastName": {
11345
+ "kind": "string",
11346
+ "optional": true,
11347
+ "maxLength": 200
11348
+ },
11262
11349
  "email": {
11263
11350
  "kind": "string",
11264
11351
  "optional": true,
@@ -11323,6 +11410,14 @@ const PRESET_CATALOG = {
11323
11410
  "minLength": 1,
11324
11411
  "maxLength": 200
11325
11412
  },
11413
+ "firstName": {
11414
+ "type": "string",
11415
+ "maxLength": 200
11416
+ },
11417
+ "lastName": {
11418
+ "type": "string",
11419
+ "maxLength": 200
11420
+ },
11326
11421
  "email": {
11327
11422
  "type": "string",
11328
11423
  "maxLength": 320
@@ -13869,6 +13964,7 @@ const PRESET_CATALOG = {
13869
13964
  "name": "CreateShareLinkOptions",
13870
13965
  "fields": true
13871
13966
  },
13967
+ { "name": "FoundShareLink" },
13872
13968
  { "name": "ResolvedShareLink" },
13873
13969
  {
13874
13970
  "name": "ShareLink",
@@ -14124,6 +14220,7 @@ const PRESET_CATALOG = {
14124
14220
  "consumes": {},
14125
14221
  "provides": [],
14126
14222
  "entityTypes": [
14223
+ { "name": "CreateTeamOptions" },
14127
14224
  {
14128
14225
  "name": "Team",
14129
14226
  "fields": true
@@ -14133,7 +14230,8 @@ const PRESET_CATALOG = {
14133
14230
  "fields": true
14134
14231
  },
14135
14232
  { "name": "TeamsEvents" },
14136
- { "name": "TeamsOptions" }
14233
+ { "name": "TeamsOptions" },
14234
+ { "name": "UpdateTeamOptions" }
14137
14235
  ],
14138
14236
  "events": {
14139
14237
  "type": "TeamsEvents",
@@ -14141,6 +14239,7 @@ const PRESET_CATALOG = {
14141
14239
  "team.created",
14142
14240
  "team.updated",
14143
14241
  "team.archived",
14242
+ "team.restored",
14144
14243
  "team.deleted",
14145
14244
  "team_member.added",
14146
14245
  "team_member.removed"
@@ -14248,7 +14347,8 @@ const PRESET_CATALOG = {
14248
14347
  "time_entry.deleted",
14249
14348
  "timesheet.submitted",
14250
14349
  "timesheet.approved",
14251
- "timesheet.reopened"
14350
+ "timesheet.reopened",
14351
+ "timesheet.rejected"
14252
14352
  ]
14253
14353
  }
14254
14354
  },
@@ -1,8 +1,8 @@
1
1
  import { b as DbError } from "./result-DZeA5KS6.js";
2
- import { r as AuthState } from "./resolve-CXX6DHv3.js";
2
+ import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
3
3
  import { i as AuthorizationResource } from "./authorizer-B6X09otb.js";
4
- import { t as AuthSession } from "./view-DyFdMCqg.js";
5
- import { r as GuardOptions } from "./respond-oZeJ342J.js";
4
+ import { t as AuthSession } from "./view-BvNA7EOC.js";
5
+ import { r as GuardOptions } from "./respond-BzRG-0qc.js";
6
6
  import { StandardSchemaV1 } from "@standard-schema/spec";
7
7
  //#region src/server/kit.d.ts
8
8
  /**
@@ -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-BXLs72G9.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-XYfUZb0j.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-XHoYDlRN.js";
3
3
  import { n as FilterRecordField, r as evaluateFilterQuery, t as FilterEvaluation } from "../filter-evaluate-CPxeae5X.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-DZeA5KS6.js";
2
2
  import { O as AnyFunctions, a as CountMode, it as Row, k as AnyModels, ut as TableKey } from "./types-DFdg_4yN.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-Lf6rI2QN.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-BLP6XtoL.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-BXLs72G9.js";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  //#region src/list/list-query.d.ts
@@ -1,10 +1,10 @@
1
- import { t as VERSION } from "../cli/version-CUdPyV6J.js";
2
- import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-61VwYKEv.js";
3
- import { t as loadSnapshot } from "../cli/snapshot-B8K6gYjA.js";
4
- import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-0Vd7BaNA.js";
5
- import { i as discoverConfig, s as loadConfig } from "../cli/config-BH0goim0.js";
1
+ import { t as VERSION } from "../cli/version-Bhca9D6q.js";
2
+ import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-1TfBy2K4.js";
3
+ import { t as loadSnapshot } from "../cli/snapshot-DdN5GlhH.js";
4
+ import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-DWRz-uPQ.js";
5
+ import { i as discoverConfig, s as loadConfig } from "../cli/config-BVfeG3A5.js";
6
6
  import { i as parseEnv, n as configEnvironment } from "../cli/env-DMgjB_4y.js";
7
- import { s as schemaStampPath } from "../cli/content-mapper-DGQQY5IA.js";
7
+ import { s as schemaStampPath } from "../cli/content-mapper-hUW2nb92.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,11 +1,11 @@
1
1
  import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../types-DFdg_4yN.js";
2
- import { t as OperationTable } from "../operations-DC3wU3Sy.js";
2
+ import { t as OperationTable } from "../operations-CPhOcuzl.js";
3
3
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
4
- import { t as BetterSupabase } from "../define-Lf6rI2QN.js";
5
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BH6AjDBN.js";
6
- import { r as GuardOptions } from "../respond-oZeJ342J.js";
4
+ import { t as BetterSupabase } from "../define-BLP6XtoL.js";
5
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BlDiY-ya.js";
6
+ import { r as GuardOptions } from "../respond-BzRG-0qc.js";
7
7
  import { D as ResourceOperation } from "../model-hwpvole9.js";
8
- import { l as ResourceRouteOptions } from "../resource-types-DjZ91WKA.js";
8
+ import { l as ResourceRouteOptions } from "../resource-types-D5WEvYtV.js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  //#region src/mcp/dialect.d.ts
11
11
  /**
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "../../types-DFdg_4yN.js";
2
- import { r as AuthState } from "../../resolve-CXX6DHv3.js";
3
- import { i as CredentialRef, r as CredentialProvider } from "../../provider-CqwEOLCA.js";
2
+ import { r as AuthState } from "../../resolve-Bj1qD7Dy.js";
3
+ import { i as CredentialRef, r as CredentialProvider } from "../../provider-ClrIplXa.js";
4
4
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-Z4vtsuoO.js";
5
- import { t as BetterSupabase } from "../../define-Lf6rI2QN.js";
6
- import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-BH6AjDBN.js";
7
- import { r as GuardOptions, t as AllowedCaller } from "../../respond-oZeJ342J.js";
5
+ import { t as BetterSupabase } from "../../define-BLP6XtoL.js";
6
+ import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-BlDiY-ya.js";
7
+ import { r as GuardOptions, t as AllowedCaller } from "../../respond-BzRG-0qc.js";
8
8
  import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
9
9
  //#region src/mcp/sdk/sdk.d.ts
10
10
  interface McpAuthOptions extends ServerOptions, Omit<GuardOptions, "scopes"> {
@@ -1,6 +1,6 @@
1
- import { n as RouteGuardOptions } from "../refusal-OrlI3g4H.js";
1
+ import { n as RouteGuardOptions } from "../refusal-D_tklIEb.js";
2
2
  import { t as Validated } from "../shared-CRRfQAKG.js";
3
- import { l as ToNodeOptions } from "../index-iRkFvJ7J.js";
3
+ import { l as ToNodeOptions } from "../index-D1ckLbUM.js";
4
4
  import { AnyEntry } from "@supabase/middleware";
5
5
  import { IncomingMessage, ServerResponse } from "node:http";
6
6
  //#region src/nestjs/index.d.ts
@@ -1,4 +1,4 @@
1
- import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-qQLm7jzh.js";
1
+ import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-C4t7kbSn.js";
2
2
  //#region src/next/client/session-watch.d.ts
3
3
  /**
4
4
  * Why the session changed: Auth ended it or banned the user, the user signed
@@ -1,30 +1,30 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
2
  import { $ as RecordRef, O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-CXX6DHv3.js";
3
+ import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
4
4
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
5
- import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-Lf6rI2QN.js";
6
- import { A as isSessionSnapshot, M as sessionCacheKey, O as SessionSnapshot, a as ServerContext, c as ServerOptions, j as issuedAtOf, k as authzVersionOf, l as SharedServer, n as BetterServer, r as ContextOptions } from "../server-types-BH6AjDBN.js";
5
+ import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-BLP6XtoL.js";
6
+ import { A as isSessionSnapshot, M as sessionCacheKey, O as SessionSnapshot, a as ServerContext, c as ServerOptions, j as issuedAtOf, k as authzVersionOf, l as SharedServer, n as BetterServer, r as ContextOptions } from "../server-types-BlDiY-ya.js";
7
7
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
8
8
  import { n as AmrEntry, t as Aal } from "../mfa-oIOYTpvc.js";
9
- import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DCAiOrNX.js";
10
- import { M as BindingName, N as BindingOf, 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-ClvuSZEz.js";
11
- import { t as tenantOf } from "../tenant-BHvMFNXl.js";
12
- import { n as toSession, t as AuthSession } from "../view-DyFdMCqg.js";
13
- import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-B4ZBVxt3.js";
14
- import { t as AuthOutageHook } from "../session-Y5SSYO2C.js";
15
- import { n as AuthKind, r as GuardOptions } from "../respond-oZeJ342J.js";
16
- import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-CVgQCIBO.js";
17
- import { c as ListParseOptions, m as ListSearchParams } from "../list-query-XYfUZb0j.js";
18
- import { r as LiveCountSeed, t as CountRunner } from "../index-ByF22_C6.js";
19
- import { r as MembershipClaim } from "../entitlements-BPaPd3MD.js";
20
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-DjZ91WKA.js";
21
- import { t as ResourceMap } from "../resources-6Ncdt9XT.js";
22
- import { t as defineAction } from "../resource-execute-CUG6xUuh.js";
9
+ import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DibVN37N.js";
10
+ import { M as BindingName, N as BindingOf, 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-BfYDY6eh.js";
11
+ import { t as tenantOf } from "../tenant-BRmKZ7aq.js";
12
+ import { n as toSession, t as AuthSession } from "../view-BvNA7EOC.js";
13
+ import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-D7CMbhRT.js";
14
+ import { t as AuthOutageHook } from "../session-BGP98Rgj.js";
15
+ import { n as AuthKind, r as GuardOptions } from "../respond-BzRG-0qc.js";
16
+ import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-Dxx3MT8m.js";
17
+ import { c as ListParseOptions, m as ListSearchParams } from "../list-query-XHoYDlRN.js";
18
+ import { r as LiveCountSeed, t as CountRunner } from "../index-CbUCGMqj.js";
19
+ import { r as MembershipClaim } from "../entitlements-CsZcfllV.js";
20
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-D5WEvYtV.js";
21
+ import { t as ResourceMap } from "../resources-CsZ7RhZC.js";
22
+ import { t as defineAction } from "../resource-execute-BSTIfp1D.js";
23
23
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
24
- import { i as tagFor, t as TagOptions } from "../tags-Cjtcp5cN.js";
25
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-CEzj9v1z.js";
26
- import { r as safeRedirectPath } from "../sign-in-BAjR49fq.js";
27
- import { n as supportOf, t as SupportView } from "../support-view-BYOgwXsJ.js";
24
+ import { i as tagFor, t as TagOptions } from "../tags-Dg4Ywmqp.js";
25
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-Cjl-1hiA.js";
26
+ import { r as safeRedirectPath } from "../sign-in-CAadgm33.js";
27
+ import { n as supportOf, t as SupportView } from "../support-view-CIDXF3_H.js";
28
28
  import { NextRequest } from "next/server.js";
29
29
  import { StandardSchemaV1 } from "@standard-schema/spec";
30
30
  //#region src/next/collector.d.ts
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-OrlI3g4H.js";
1
+ import { n as RouteGuardOptions } from "../refusal-D_tklIEb.js";
2
2
  import { i as toWebHeaders, r as applyWebHeaders, t as NodeHeaderTarget } from "../node-headers-BPtMP4_V.js";
3
- import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-iRkFvJ7J.js";
3
+ import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-D1ckLbUM.js";
4
4
  export { ExpressErrorHandler, ExpressMiddleware, ExpressResponse, FastifyHook, FastifyReplyLike, FastifyRequestLike, KoaContextLike, KoaMiddleware, type NodeHeaderTarget, type RouteGuardOptions, ToNodeOptions, type WebRequestOptions, applyWebHeaders, fastifyGuard, guard, koaGuard, problemErrorHandler, sendWebResponse, toExpress, toFastify, toKoa, toNodeHandler, toWebHeaders, toWebRequest };
@@ -1,4 +1,4 @@
1
- import { r as AuthorizationOperation } from "./authorization-DhoA7dsD.js";
1
+ import { r as AuthorizationOperation } from "./authorization-BJV2i8xB.js";
2
2
  //#region src/core/operations.d.ts
3
3
  /** Operations by name, as `authorization.operations` or a module's own defaults. */
4
4
  type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
@@ -1,5 +1,8 @@
1
1
  import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
2
  //#region src/blocks/tags/options.ts
3
- const tagsSqlOptions = blockOptions({ extraColumns: option.extraColumns() });
3
+ const tagsSqlOptions = blockOptions({
4
+ extraColumns: option.extraColumns(),
5
+ patch: option.boolean({ default: false })
6
+ });
4
7
  //#endregion
5
8
  export { tagsSqlOptions as t };
@@ -0,0 +1,13 @@
1
+ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
+ //#region src/blocks/employees/options.ts
3
+ const employeesSqlOptions = blockOptions({
4
+ employmentTypes: option.strings(),
5
+ extraColumns: option.extraColumns(),
6
+ privateDetailsExtraColumns: option.extraColumns(),
7
+ contractExtraColumns: option.extraColumns(),
8
+ name: option.string({ default: "single" }),
9
+ privateDetails: option.string({ default: "json" }),
10
+ contracts: option.string({ default: "append" })
11
+ });
12
+ //#endregion
13
+ export { employeesSqlOptions as t };
@@ -0,0 +1,9 @@
1
+ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
+ //#region src/blocks/share-links/options.ts
3
+ const shareLinksSqlOptions = blockOptions({
4
+ extraColumns: option.extraColumns(),
5
+ tokenHash: option.boolean({ default: false }),
6
+ fullRows: option.boolean({ default: false })
7
+ });
8
+ //#endregion
9
+ export { shareLinksSqlOptions as t };
@@ -0,0 +1,15 @@
1
+ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
+ //#region src/blocks/calendar/options.ts
3
+ const calendarSqlOptions = blockOptions({
4
+ extraColumns: option.extraColumns(),
5
+ calendarExtraColumns: option.extraColumns(),
6
+ access: option.boolean({ default: false }),
7
+ accessFunctions: option.unknown(),
8
+ userFeed: option.boolean({ default: false }),
9
+ recurrence: option.string({ default: "inline" }),
10
+ rdates: option.boolean({ default: false }),
11
+ attendeeKey: option.string({ default: "email" }),
12
+ calendarDetails: option.boolean({ default: false })
13
+ });
14
+ //#endregion
15
+ export { calendarSqlOptions as t };
@@ -6,7 +6,10 @@ const timeTrackingSqlOptions = blockOptions({
6
6
  default: "UTC",
7
7
  client: true
8
8
  }),
9
- extraColumns: option.extraColumns()
9
+ extraColumns: option.extraColumns(),
10
+ approvals: option.boolean({ default: true }),
11
+ userTimeZone: option.unknown(),
12
+ owner: option.string({ default: "user" })
10
13
  });
11
14
  //#endregion
12
15
  export { timeTrackingSqlOptions as t };
@@ -2,7 +2,9 @@ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
2
  //#region src/blocks/teams/options.ts
3
3
  const teamsSqlOptions = blockOptions({
4
4
  teamIdType: option.string({ default: "uuid" }),
5
- extraColumns: option.extraColumns()
5
+ extraColumns: option.extraColumns(),
6
+ patch: option.boolean({ default: false }),
7
+ restore: option.boolean({ default: false })
6
8
  });
7
9
  //#endregion
8
10
  export { teamsSqlOptions as t };
@@ -1,15 +1,15 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
2
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-CXX6DHv3.js";
3
+ import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
4
4
  import { i as ProblemDetails } from "../problem-DNwN8iGz.js";
5
- import { t as BetterSupabase } from "../define-Lf6rI2QN.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BH6AjDBN.js";
7
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-oZeJ342J.js";
8
- import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-CVgQCIBO.js";
5
+ import { t as BetterSupabase } from "../define-BLP6XtoL.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BlDiY-ya.js";
7
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BzRG-0qc.js";
8
+ import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-Dxx3MT8m.js";
9
9
  import { t as Validated } from "../shared-CRRfQAKG.js";
10
- import { a as ResourceHandler } from "../resource-types-DjZ91WKA.js";
10
+ import { a as ResourceHandler } from "../resource-types-D5WEvYtV.js";
11
11
  import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-Bztf32cl.js";
12
- import { t as Api } from "../api-CHObZL7m.js";
12
+ import { t as Api } from "../api-B1OkIWdx.js";
13
13
  import { AnyEntry, Contributions } from "@supabase/middleware";
14
14
  import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
15
15
  //#region src/orpc/router.d.ts
@@ -1,5 +1,5 @@
1
1
  import { Mt as Plugin } from "../types-DFdg_4yN.js";
2
- import { o as EventHub } from "../events-vcqenSYU.js";
2
+ import { o as EventHub } from "../events-Cc9DDQWH.js";
3
3
  import { t as SPEC_PINS } from "../spec-pins-BZkKfwY8.js";
4
4
  import { Attributes, Meter, Tracer } from "@opentelemetry/api";
5
5
  //#region src/otel/index.d.ts
@@ -40,9 +40,9 @@ function systemOf(executor) {
40
40
  * ```
41
41
  */
42
42
  function otel(options = {}) {
43
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.22.0");
43
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.25.0");
44
44
  let histogram;
45
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.22.0")).createHistogram("db.client.operation.duration", {
45
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.25.0")).createHistogram("db.client.operation.duration", {
46
46
  unit: "s",
47
47
  description: "Duration of database client operations.",
48
48
  advice: { explicitBucketBoundaries: [
@@ -219,7 +219,7 @@ function otel(options = {}) {
219
219
  * `betterSupabase.events`. Returns a function that stops listening.
220
220
  */
221
221
  function traceAuth(betterSupabase, options = {}) {
222
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.22.0");
222
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.25.0");
223
223
  const offAuth = betterSupabase.events.on("auth", (event) => {
224
224
  const span = tracer.startSpan("auth.resolve", {
225
225
  kind: SpanKind.INTERNAL,
@@ -257,7 +257,7 @@ function traceAuth(betterSupabase, options = {}) {
257
257
  * an error status. Returns a function that stops listening.
258
258
  */
259
259
  function traceBlockEvents(betterSupabase, options = {}) {
260
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.22.0");
260
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.25.0");
261
261
  return betterSupabase.events.on("block", (event) => {
262
262
  const attributes = {
263
263
  ...options.attributes,