better-supabase 0.33.0 → 0.35.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 (156) hide show
  1. package/dist/ai-sdk/agents/index.d.ts +2 -2
  2. package/dist/{app-tables-IrglDJCs.d.ts → app-tables-X3yzJljM.d.ts} +1 -1
  3. package/dist/{authorization-BlmDNI2b.d.ts → authorization-D1P3VBOd.d.ts} +53 -1
  4. package/dist/{automations-Bw5cX7oj.js → automations-D4QTP8nI.js} +2 -1
  5. package/dist/{bind-DP-KLgYI.d.ts → bind-Bvv-Zrdh.d.ts} +1 -1
  6. package/dist/{block-env-CJ38ZSTP.d.ts → block-env-h_uPl2f_.d.ts} +3 -3
  7. package/dist/{block-tables-CQTU71zn.d.ts → block-tables-pj3eHfoP.d.ts} +1 -1
  8. package/dist/blocks/ai-chat/index.d.ts +3 -3
  9. package/dist/blocks/announcements/index.d.ts +3 -3
  10. package/dist/blocks/api-keys/index.d.ts +1 -1
  11. package/dist/blocks/attachments/index.d.ts +1 -1
  12. package/dist/blocks/audit/index.d.ts +2 -2
  13. package/dist/blocks/automations/index.d.ts +1 -1
  14. package/dist/blocks/billing/index.d.ts +1 -1
  15. package/dist/blocks/bookings/index.d.ts +1 -1
  16. package/dist/blocks/calendar/index.d.ts +1 -1
  17. package/dist/blocks/catalog/index.d.ts +15 -0
  18. package/dist/blocks/catalog/index.js +23 -8
  19. package/dist/blocks/comments/index.d.ts +4 -4
  20. package/dist/blocks/deals/index.js +1 -1
  21. package/dist/blocks/drive/index.js +1 -1
  22. package/dist/blocks/entitlements/index.d.ts +2 -2
  23. package/dist/blocks/forms/index.d.ts +1 -1
  24. package/dist/blocks/inbox/index.d.ts +4 -4
  25. package/dist/blocks/index.d.ts +1 -1
  26. package/dist/blocks/invoices/index.d.ts +4 -0
  27. package/dist/blocks/invoices/index.js +6 -3
  28. package/dist/blocks/messaging/index.d.ts +4 -4
  29. package/dist/blocks/mfa/index.d.ts +1 -1
  30. package/dist/blocks/notifications/index.d.ts +3 -3
  31. package/dist/blocks/onboarding/index.d.ts +1 -1
  32. package/dist/blocks/organizations/index.d.ts +2 -2
  33. package/dist/blocks/permissions/index.d.ts +1 -1
  34. package/dist/blocks/push/index.d.ts +1 -1
  35. package/dist/blocks/quotes/index.js +1 -1
  36. package/dist/blocks/reactions/index.d.ts +3 -3
  37. package/dist/blocks/saved-views/index.d.ts +1 -1
  38. package/dist/blocks/search/index.d.ts +2 -2
  39. package/dist/blocks/sessions/index.d.ts +1 -1
  40. package/dist/blocks/settings/index.d.ts +1 -1
  41. package/dist/blocks/subjects/index.d.ts +1 -1
  42. package/dist/blocks/tags/index.d.ts +1 -1
  43. package/dist/blocks/time-tracking/index.js +1 -1
  44. package/dist/blocks/undo/index.d.ts +1 -1
  45. package/dist/blocks/usage/index.d.ts +1 -1
  46. package/dist/blocks/workflow-editor/index.d.ts +3 -3
  47. package/dist/blocks/workflows/index.d.ts +3 -3
  48. package/dist/claims/index.d.ts +3 -3
  49. package/dist/cli/add-BaB3y1lv.js +1 -0
  50. package/dist/cli/{add-D2pKTbPw.js → add-CYreXA68.js} +9 -9
  51. package/dist/cli/{add-BDLLVLI8.js → add-DzgsOE8V.js} +2 -2
  52. package/dist/cli/{app-table-files-CimWi_eh.js → app-table-files-BnISa3uY.js} +2 -2
  53. package/dist/cli/{backfill-B1xAsdL4.js → backfill-BLLTSDSa.js} +1 -1
  54. package/dist/cli/bin.js +1 -1
  55. package/dist/cli/{blocks-DtZtn-R4.js → blocks-CpRvI7x8.js} +1 -1
  56. package/dist/cli/{blocks-rBeis04I.js → blocks-uzh1g_0v.js} +1 -1
  57. package/dist/cli/{cache-CvBRwv02.js → cache-BPWC7tGD.js} +1 -1
  58. package/dist/cli/{codemod-DYbVbJ-e.js → codemod-CbJVS_kG.js} +1 -1
  59. package/dist/cli/{content-mapper-DrhtDsAm.js → content-mapper-Cjkm2Sg3.js} +2 -2
  60. package/dist/cli/{doctor-Dn4TzGmw.js → doctor-D94FEJZs.js} +19 -19
  61. package/dist/cli/{gen-BbeS0KgF.js → gen-Cd0VNDjE.js} +11 -11
  62. package/dist/cli/index.d.ts +1 -1
  63. package/dist/cli/index.js +6 -6
  64. package/dist/cli/{init-C30xdMSs.js → init-Co1N9ZoA.js} +8 -8
  65. package/dist/cli/{live-Ctc8Qh9Y.js → live-NFNeZsP7.js} +2 -2
  66. package/dist/cli/{mcp-5J0kUOtD.js → mcp-WZ8t7NMz.js} +2 -2
  67. package/dist/cli/{metadata-DxhUNctA.js → metadata-BzMkmrZR.js} +3 -3
  68. package/dist/cli/{migrate-ockrh3UX.js → migrate-C9gyDAV7.js} +1 -1
  69. package/dist/cli/{migration-safety-CLrqC0D-.js → migration-safety-BNi8PIiM.js} +1 -1
  70. package/dist/cli/{migrations-CZTg2UJM.js → migrations-Ds0J_TmZ.js} +2 -2
  71. package/dist/cli/{module-migration-BptQzmj2.js → module-migration-hFrlzQZ5.js} +2 -2
  72. package/dist/cli/powersync-J2Kms2NT.js +1 -0
  73. package/dist/cli/{powersync-DIvsipKr.js → powersync-oFiwgsBi.js} +3 -3
  74. package/dist/cli/{print-DdHt8xCc.js → print-BtreoJSm.js} +2 -2
  75. package/dist/cli/{providers-k-1cEna6.js → providers-Be2dgyuR.js} +1 -1
  76. package/dist/cli/{prune-workflows-Ddv-GfkO.js → prune-workflows-BPxgRrqY.js} +1 -1
  77. package/dist/cli/{remove-DEEQDoc7.js → remove-B4ad996E.js} +5 -5
  78. package/dist/cli/{render-SjSVz8yK.js → render-C-Mfq-o3.js} +3 -3
  79. package/dist/cli/{run-DdhIK7-K.js → run-D2nuyyPo.js} +47 -39
  80. package/dist/cli/{run-Ixt9mEb6.js → run-cLdnJHH0.js} +25 -25
  81. package/dist/cli/{shared-p6sxli_5.js → shared-DCHxLAEL.js} +1 -1
  82. package/dist/cli/{snapshot-Dd_8B9g-.js → snapshot-CloKPNxv.js} +2 -2
  83. package/dist/cli/{source-BYvVe_Es.js → source-Bwyp18Rj.js} +1 -1
  84. package/dist/cli/{spec-BxQgllJY.js → spec-DAUF4ybu.js} +2 -2
  85. package/dist/cli/{spec-liRzcZTa.js → spec-DsVq4_qV.js} +1 -1
  86. package/dist/cli/{sql-layout-DHwiUOaD.js → sql-layout-CHpEL0oq.js} +3 -3
  87. package/dist/cli/{sync-CreQWj53.js → sync-DZu1r34s.js} +4 -4
  88. package/dist/cli/{upgrade-U7IKj45h.js → upgrade-A-BALvp3.js} +2 -2
  89. package/dist/cli/{upgrade-3NQOUO1_.js → upgrade-Bpvi70zm.js} +5 -5
  90. package/dist/cli/{version-mBwP-aMG.js → version-B59mZJoy.js} +1 -1
  91. package/dist/client/index.d.ts +5 -5
  92. package/dist/client/native/index.d.ts +4 -4
  93. package/dist/config/index.d.ts +2 -2
  94. package/dist/config/index.js +4 -4
  95. package/dist/{config-Bu6pwqcO.js → config-BZWSFxkG.js} +3 -3
  96. package/dist/{config-MDRA2sre.js → config-DQP0IvDX.js} +1 -1
  97. package/dist/{context-D7jICqdN.d.ts → context-CderJRZf.d.ts} +1 -1
  98. package/dist/contract/index.d.ts +3 -3
  99. package/dist/{controller-DxtxeYdf.d.ts → controller-DaWA9eWS.d.ts} +1 -1
  100. package/dist/create/index.d.ts +3 -3
  101. package/dist/create/index.js +3 -3
  102. package/dist/create/lite/index.d.ts +3 -3
  103. package/dist/create/lite/index.js +2 -2
  104. package/dist/{entitlements-w04ivvAy.d.ts → entitlements-BefkpQIz.d.ts} +1 -1
  105. package/dist/{field-errors-DKCaSlZw.d.ts → field-errors-D1meOs_H.d.ts} +4 -4
  106. package/dist/{index-BvcMQYL-.d.ts → index-BQlLxOj5.d.ts} +1 -1
  107. package/dist/{index-DU0UwWvL.d.ts → index-BbDiBiKt.d.ts} +4 -4
  108. package/dist/{index-BZCmy767.d.ts → index-C13UgV67.d.ts} +2 -2
  109. package/dist/{index-BgkHbf9C.d.ts → index-ChLuLxy-.d.ts} +6 -6
  110. package/dist/{index-BdC2IqkU.d.ts → index-D9aV0Fvx.d.ts} +2 -2
  111. package/dist/{index-CbUXFzQV.d.ts → index-DXUiRyEk.d.ts} +1 -1
  112. package/dist/{index-CiE37wKX.d.ts → index-ZQZMQF4l.d.ts} +1 -1
  113. package/dist/{instances-D31jrmKh.js → instances-D9YrkoAy.js} +28 -1
  114. package/dist/mapper/bin.js +5 -5
  115. package/dist/mcp/index.d.ts +1 -1
  116. package/dist/next/index.d.ts +4 -4
  117. package/dist/{operations-CsCwruKT.d.ts → operations-t_hlXkS4.d.ts} +1 -1
  118. package/dist/{options-CgMiQGOF.js → options-C9bp3SEA.js} +2 -0
  119. package/dist/{options-B56njigZ.js → options-CjocPkX1.js} +2 -0
  120. package/dist/{options-Sq4bYbf5.js → options-CuaWhsQS.js} +2 -0
  121. package/dist/{options-DjFbIRgV.js → options-DjdxZgHi.js} +2 -1
  122. package/dist/{options-C-NFS6e3.js → options-DxgZ8tVc.js} +2 -1
  123. package/dist/otel/index.js +4 -4
  124. package/dist/{permissions-BP593xxk.d.ts → permissions-C8p6RlIZ.d.ts} +1 -1
  125. package/dist/{ports-BVLhLUvR.d.ts → ports-C-8uduFM.d.ts} +1 -1
  126. package/dist/powersync/index.d.ts +2 -2
  127. package/dist/preset/index.d.ts +3 -3
  128. package/dist/preset/index.js +3 -3
  129. package/dist/{preset-om2rbdYw.js → preset-B_sSI9vg.js} +2 -2
  130. package/dist/{project-D4ArwcS5.js → project-DVlXQGEp.js} +5 -5
  131. package/dist/{push-token-B0j171on.d.ts → push-token-D41lOoE8.d.ts} +1 -1
  132. package/dist/react/index.d.ts +5 -5
  133. package/dist/react/native/index.d.ts +1 -1
  134. package/dist/react/server.d.ts +5 -5
  135. package/dist/realtime/index.d.ts +3 -3
  136. package/dist/records/index.d.ts +3 -3
  137. package/dist/{resolved-names-DYYyh35i.js → resolved-names-h-3UbKcw.js} +1 -1
  138. package/dist/server/index.d.ts +3 -3
  139. package/dist/solid/index.d.ts +5 -5
  140. package/dist/sql/index.d.ts +5 -5
  141. package/dist/sql/index.js +2 -2
  142. package/dist/{sql-DiUP7fKX.js → sql-C9nO-Mat.js} +493 -198
  143. package/dist/ssr/index.d.ts +1 -1
  144. package/dist/svelte/index.d.ts +5 -5
  145. package/dist/{tenant-B3IIq8Eq.d.ts → tenant-gezshhcs.d.ts} +1 -1
  146. package/dist/testing/index.d.ts +3 -3
  147. package/dist/testing/index.js +1 -1
  148. package/dist/{topic-D2MyBeaI.d.ts → topic-BVq5RdsI.d.ts} +1 -1
  149. package/dist/{types-BFEKRmEK.d.ts → types-hTj5OuFo.d.ts} +2 -2
  150. package/dist/vue/index.d.ts +5 -5
  151. package/dist/{watch-topic-q6krNw0T.d.ts → watch-topic-BOclyLFd.d.ts} +1 -1
  152. package/dist/yjs/index.d.ts +1 -1
  153. package/package.json +1 -1
  154. package/schemas/config-v1.json +41 -0
  155. package/dist/cli/add-BaOCKKt6.js +0 -1
  156. package/dist/cli/powersync-CmsXOuui.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { C as pruneSessionChunks, D as sessionEncoding, E as sessionCookieName, O as writeSession, S as parseCookies, T as serializeCookie, _ as SessionEncoding, a as ResolveAuthOptions, b as applyCookieWrites, d as AUTH_CACHE_HEADERS, f as CookieOptions, g as DEFAULT_SESSION_ENCODING, h as CookieWrite, m as CookieScope, n as AuthResolver, p as CookieRecord, r as AuthState, t as AuthResolution, u as resolveAuth, v as StoredSession, w as readSession, x as clearSessionAtScopes, y as WriteSessionOptions } from "../resolve--LfVoOMg.js";
2
- import { r as MembershipClaim } from "../entitlements-w04ivvAy.js";
2
+ import { r as MembershipClaim } from "../entitlements-BefkpQIz.js";
3
3
  import { n as AuthSession, o as toSession } from "../view-Cy2XxYp1.js";
4
4
  import { n as RefreshOutcome, r as refreshSession, t as RefreshOptions } from "../refresh-BtbC2rZe.js";
5
5
  import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-NC_ZesY4.js";
@@ -2,12 +2,12 @@ import { b as DbError } from "../result-DTOQRyGY.js";
2
2
  import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-DVt3Z9hw.js";
3
3
  import { mt as QuerySpec } from "../define-ITQA71fw.js";
4
4
  import { tt as TemplateValues } from "../bucket-DvG66r5G.js";
5
- import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-D2MyBeaI.js";
6
- import { t as AuthSnapshot } from "../bind-DP-KLgYI.js";
5
+ import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BVq5RdsI.js";
6
+ import { t as AuthSnapshot } from "../bind-Bvv-Zrdh.js";
7
7
  import { n as AuthSession } from "../view-Cy2XxYp1.js";
8
- import { n as Controller } from "../controller-DxtxeYdf.js";
9
- import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-DKCaSlZw.js";
10
- import { n as BlockOptions } from "../block-env-CJ38ZSTP.js";
8
+ import { n as Controller } from "../controller-DaWA9eWS.js";
9
+ import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-D1meOs_H.js";
10
+ import { n as BlockOptions } from "../block-env-h_uPl2f_.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
12
12
  import { SupabaseClient } from "@supabase/supabase-js";
13
13
  import { QueryClient } from "@tanstack/query-core";
@@ -1,4 +1,4 @@
1
- import { s as ClaimsSource } from "./entitlements-w04ivvAy.js";
1
+ import { s as ClaimsSource } from "./entitlements-BefkpQIz.js";
2
2
  /**
3
3
  * The active tenant of a user session: the `claim` claim (`tenant_id` by
4
4
  * default, as `config.claims.tenant`) at the top level of the token, then in
@@ -9,7 +9,7 @@ import { a as BlockTransportMiddleware } from "../block-hooks-DrA_d1dJ.js";
9
9
  import { a as SessionActor, o as SessionDelegation } from "../actor-DseNR02I.js";
10
10
  import { L as QueueProvider } from "../types-Dh2OGEW5.js";
11
11
  import { n as Embedder } from "../knowledge-BBC2sfAY.js";
12
- import { a as AuthorizationProvider } from "../authorization-BlmDNI2b.js";
12
+ import { a as AuthorizationProvider } from "../authorization-D1P3VBOd.js";
13
13
  import { o as StreamStore } from "../store-c7QxUHX-.js";
14
14
  import { Qt as CacheAdapter, Y as DbStats, t as BetterSupabase, y as Db } from "../define-ITQA71fw.js";
15
15
  import { Q as StoragePath } from "../bucket-DvG66r5G.js";
@@ -24,9 +24,9 @@ import { l as ServerOptions, o as ServerContext } from "../server-types-C2hlvhP4
24
24
  import { C as SupportSessionStore } from "../support-DxYI6sDM.js";
25
25
  import { r as GuardOptions } from "../respond-BYOV7KZp.js";
26
26
  import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-D69Va7gP.js";
27
- import { n as Controller } from "../controller-DxtxeYdf.js";
27
+ import { n as Controller } from "../controller-DaWA9eWS.js";
28
28
  import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-Drx2KRTn.js";
29
- import { Qt as GeneratorModel, Vt as Generator, Yt as GeneratorInput, cn as ResolvedConfig } from "../context-D7jICqdN.js";
29
+ import { Qt as GeneratorModel, Vt as Generator, Yt as GeneratorInput, cn as ResolvedConfig } from "../context-CderJRZf.js";
30
30
  import { r as WebhookInput } from "../signatures-jPr9JXyw.js";
31
31
  import { n as Payment, o as PaymentProvider } from "../payments-BBGSGRQ7.js";
32
32
  import { y as FlagValue } from "../flags-6emyAXly.js";
@@ -7,7 +7,7 @@ import { a as ok } from "../result-8xza7w5W.js";
7
7
  import { t as BetterSupabase } from "../define-B6D55cO0.js";
8
8
  import { a as toBase64Url, r as fromBase64, t as base64ToText } from "../base64-CVyKHBBw.js";
9
9
  import "../claim-names-BKig1LOk.js";
10
- import { c as resolveConfig } from "../config-Bu6pwqcO.js";
10
+ import { c as resolveConfig } from "../config-BZWSFxkG.js";
11
11
  import { a as isScopeName, c as templateFunctions, l as templatePlaceholders, n as TEMPLATE_PLACEHOLDERS, s as scopeProblems, u as templateProblems } from "../access-sql-Dao1C0fz.js";
12
12
  import { r as TRACKING_STATUSES, t as LABEL_FORMATS } from "../statuses-BTrQ5H4S.js";
13
13
  import { t as importOptionalPeer } from "../optional-peer-5SOYr3lL.js";
@@ -1,6 +1,6 @@
1
1
  import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-DTOQRyGY.js";
2
2
  import { D as AccessTopicPolicy, O as AnyFunctions, it as Row, k as AnyModels, ut as TableKey } from "./types-BkYEUWdz.js";
3
- import { t as AuthorizationFunctions } from "./authorization-BlmDNI2b.js";
3
+ import { t as AuthorizationFunctions } from "./authorization-D1P3VBOd.js";
4
4
  import { t as BetterSupabase } from "./define-ITQA71fw.js";
5
5
  import { et as TemplateParams, tt as TemplateValues } from "./bucket-DvG66r5G.js";
6
6
  import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-CxwsRnfV.js";
@@ -1,5 +1,5 @@
1
- import { _r as AppColumnFormat, br as AppOnDeleteAction, hr as AppColumnAccess, kr as AppTableVersions, vr as AppColumnType, xi as Preset } from "./context-D7jICqdN.js";
2
- import { k as DesignErrorCode } from "./index-BvcMQYL-.js";
1
+ import { _r as AppColumnFormat, br as AppOnDeleteAction, hr as AppColumnAccess, kr as AppTableVersions, vr as AppColumnType, xi as Preset } from "./context-CderJRZf.js";
2
+ import { k as DesignErrorCode } from "./index-BQlLxOj5.js";
3
3
  /** Where in the project pipeline an issue came from. */
4
4
  type IssueSource = "design" | "rules" | "sql" | "verifier" | "plan";
5
5
  type IssueSeverity = "error" | "warning" | "info";
@@ -2,12 +2,12 @@ import { b as DbError } from "../result-DTOQRyGY.js";
2
2
  import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "../events-DVt3Z9hw.js";
3
3
  import { mt as QuerySpec } from "../define-ITQA71fw.js";
4
4
  import { tt as TemplateValues } from "../bucket-DvG66r5G.js";
5
- import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-D2MyBeaI.js";
6
- import { t as AuthSnapshot } from "../bind-DP-KLgYI.js";
5
+ import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BVq5RdsI.js";
6
+ import { t as AuthSnapshot } from "../bind-Bvv-Zrdh.js";
7
7
  import { n as AuthSession } from "../view-Cy2XxYp1.js";
8
- import { n as Controller } from "../controller-DxtxeYdf.js";
9
- import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-DKCaSlZw.js";
10
- import { n as BlockOptions } from "../block-env-CJ38ZSTP.js";
8
+ import { n as Controller } from "../controller-DaWA9eWS.js";
9
+ import { C as LiveCountSource, D as ProfileOf, E as PresenceTopic, O as UseActionOptions, S as LiveCountHookOptions, T as PresenceHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, v as ActionState, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-D1meOs_H.js";
10
+ import { n as BlockOptions } from "../block-env-h_uPl2f_.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
12
12
  import { t as SupportView } from "../support-view-DSmCett7.js";
13
13
  import { SupabaseClient } from "@supabase/supabase-js";
@@ -1,4 +1,4 @@
1
- import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-D2MyBeaI.js";
1
+ import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-BVq5RdsI.js";
2
2
  interface TopicWatch {
3
3
  readonly onMessage: (event: string, payload: unknown) => void;
4
4
  readonly onRejoin: () => void;
@@ -1,5 +1,5 @@
1
1
  import { t as AsyncResult } from "../result-DTOQRyGY.js";
2
- import { c as RealtimeClient, r as PresenceMember } from "../topic-D2MyBeaI.js";
2
+ import { c as RealtimeClient, r as PresenceMember } from "../topic-BVq5RdsI.js";
3
3
  import { a as DocumentSuggestion, d as OpenedDocument, l as Documents, r as DocumentRef, t as DecidedSuggestion } from "../documents-DeZw83ue.js";
4
4
  type PresenceState = Readonly<Record<string, unknown>>;
5
5
  /** The part of a `Y.Doc` the provider uses. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-supabase",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "Strongly typed Supabase: generated schema, typed repositories, plugins, auth glue, framework integrations and the better-supabase CLI.",
5
5
  "keywords": [
6
6
  "cli",
@@ -4031,6 +4031,18 @@
4031
4031
  "type": "string"
4032
4032
  }
4033
4033
  },
4034
+ "variantExtraColumns": {
4035
+ "type": "object",
4036
+ "additionalProperties": {
4037
+ "type": "string"
4038
+ }
4039
+ },
4040
+ "categoryExtraColumns": {
4041
+ "type": "object",
4042
+ "additionalProperties": {
4043
+ "type": "string"
4044
+ }
4045
+ },
4034
4046
  "locales": {
4035
4047
  "type": "array",
4036
4048
  "items": {
@@ -4383,6 +4395,10 @@
4383
4395
  "additionalProperties": {
4384
4396
  "type": "string"
4385
4397
  }
4398
+ },
4399
+ "lineRates": {
4400
+ "type": "string",
4401
+ "default": "bps"
4386
4402
  }
4387
4403
  }
4388
4404
  }
@@ -4519,6 +4535,11 @@
4519
4535
  },
4520
4536
  "default": ["google-drive", "onedrive"]
4521
4537
  },
4538
+ "roleFunctions": {},
4539
+ "readPolicy": {
4540
+ "type": "boolean",
4541
+ "default": true
4542
+ },
4522
4543
  "extraColumns": {
4523
4544
  "type": "object",
4524
4545
  "additionalProperties": {
@@ -5027,6 +5048,16 @@
5027
5048
  "type": "string"
5028
5049
  }
5029
5050
  },
5051
+ "lineRates": {
5052
+ "type": "string",
5053
+ "default": "bps"
5054
+ },
5055
+ "chargeExtraColumns": {
5056
+ "type": "object",
5057
+ "additionalProperties": {
5058
+ "type": "string"
5059
+ }
5060
+ },
5030
5061
  "totals": {
5031
5062
  "type": "string",
5032
5063
  "default": "block"
@@ -5811,6 +5842,10 @@
5811
5842
  "additionalProperties": {
5812
5843
  "type": "string"
5813
5844
  }
5845
+ },
5846
+ "lineRates": {
5847
+ "type": "string",
5848
+ "default": "bps"
5814
5849
  }
5815
5850
  }
5816
5851
  }
@@ -6468,6 +6503,12 @@
6468
6503
  "timers": {
6469
6504
  "type": "string",
6470
6505
  "default": "one"
6506
+ },
6507
+ "lockedColumns": {
6508
+ "type": "array",
6509
+ "items": {
6510
+ "type": "string"
6511
+ }
6471
6512
  }
6472
6513
  }
6473
6514
  }
@@ -1 +0,0 @@
1
- export { t as addCommand } from "./add-D2pKTbPw.js";
@@ -1 +0,0 @@
1
- export { t as powersyncStreamsCommand } from "./powersync-DIvsipKr.js";