better-supabase 0.42.0 → 0.43.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 (149) hide show
  1. package/dist/ai-sdk/agents/index.d.ts +2 -2
  2. package/dist/{app-tables-DGgCgRwq.d.ts → app-tables-CVMn4c4b.d.ts} +1 -1
  3. package/dist/{authorization-CcvJbvr1.d.ts → authorization-hGBtxrnQ.d.ts} +27 -2
  4. package/dist/{automations-CJhRmPmq.js → automations-K0O3En6E.js} +4 -1
  5. package/dist/{bind-B71jMEGG.d.ts → bind-DWAIKYvJ.d.ts} +1 -1
  6. package/dist/{block-env-DzYTC9d1.d.ts → block-env-C6OEu9Xk.d.ts} +3 -3
  7. package/dist/{block-subjects-a_ECM9o0.js → block-subjects-B1zfhFWC.js} +1 -1
  8. package/dist/{block-tables-B92SBFqM.d.ts → block-tables-BIExrL2J.d.ts} +1 -1
  9. package/dist/blocks/ai-chat/index.d.ts +3 -3
  10. package/dist/blocks/announcements/index.d.ts +3 -3
  11. package/dist/blocks/api-keys/index.d.ts +1 -1
  12. package/dist/blocks/attachments/index.d.ts +1 -1
  13. package/dist/blocks/audit/index.d.ts +2 -2
  14. package/dist/blocks/automations/index.d.ts +1 -1
  15. package/dist/blocks/billing/index.d.ts +1 -1
  16. package/dist/blocks/bookings/index.d.ts +1 -1
  17. package/dist/blocks/calendar/index.d.ts +1 -1
  18. package/dist/blocks/comments/index.d.ts +4 -4
  19. package/dist/blocks/entitlements/index.d.ts +2 -2
  20. package/dist/blocks/forms/index.d.ts +1 -1
  21. package/dist/blocks/inbox/index.d.ts +4 -4
  22. package/dist/blocks/index.d.ts +1 -1
  23. package/dist/blocks/invoices/index.d.ts +15 -1
  24. package/dist/blocks/invoices/index.js +13 -4
  25. package/dist/blocks/messaging/index.d.ts +4 -4
  26. package/dist/blocks/mfa/index.d.ts +1 -1
  27. package/dist/blocks/notifications/index.d.ts +3 -3
  28. package/dist/blocks/onboarding/index.d.ts +1 -1
  29. package/dist/blocks/organizations/index.d.ts +2 -2
  30. package/dist/blocks/permissions/index.d.ts +1 -1
  31. package/dist/blocks/push/index.d.ts +1 -1
  32. package/dist/blocks/quotes/index.d.ts +9 -4
  33. package/dist/blocks/quotes/index.js +5 -2
  34. package/dist/blocks/reactions/index.d.ts +3 -3
  35. package/dist/blocks/saved-views/index.d.ts +1 -1
  36. package/dist/blocks/search/index.d.ts +2 -2
  37. package/dist/blocks/sessions/index.d.ts +1 -1
  38. package/dist/blocks/settings/index.d.ts +1 -1
  39. package/dist/blocks/subjects/index.d.ts +1 -1
  40. package/dist/blocks/tags/index.d.ts +1 -1
  41. package/dist/blocks/undo/index.d.ts +1 -1
  42. package/dist/blocks/usage/index.d.ts +1 -1
  43. package/dist/blocks/workflow-editor/index.d.ts +3 -3
  44. package/dist/blocks/workflows/index.d.ts +3 -3
  45. package/dist/claims/index.d.ts +3 -3
  46. package/dist/cli/add-CjSPssgL.js +1 -0
  47. package/dist/cli/{add-NosuEQn1.js → add-fdZAY8C_.js} +10 -10
  48. package/dist/cli/{add-U0pyhIyx.js → add-uwUI80aZ.js} +2 -2
  49. package/dist/cli/{app-table-files-DUi898lB.js → app-table-files-BR_7lT4u.js} +2 -2
  50. package/dist/cli/{app-tables-BINtREbx.js → app-tables-DoxrhJb1.js} +2 -2
  51. package/dist/cli/{backfill-VfqI5GqN.js → backfill-BTMgDL6X.js} +1 -1
  52. package/dist/cli/bin.js +1 -1
  53. package/dist/cli/{blocks-DsEaPf6J.js → blocks-BgPbXNhB.js} +1 -1
  54. package/dist/cli/{blocks-Bo2Lw2UO.js → blocks-Bj0LS3rF.js} +1 -1
  55. package/dist/cli/{cache-CNJD8OdR.js → cache-CEGpAmXJ.js} +1 -1
  56. package/dist/cli/{codemod-BWa3Bte6.js → codemod-CaXGpQ10.js} +1 -1
  57. package/dist/cli/{content-mapper-Dl50Ny6a.js → content-mapper-BJRfCnFX.js} +2 -2
  58. package/dist/cli/{doctor-B9GtOGSa.js → doctor-CHQDLcwL.js} +15 -15
  59. package/dist/cli/{gen-CIUD1sgB.js → gen-DSK152A3.js} +11 -11
  60. package/dist/cli/index.d.ts +1 -1
  61. package/dist/cli/index.js +6 -6
  62. package/dist/cli/{init-wl5jk5vX.js → init-CPC1ceqC.js} +8 -8
  63. package/dist/cli/{live-B0f_X3rI.js → live-BFXisTDf.js} +2 -2
  64. package/dist/cli/{mcp-CZWaBkXY.js → mcp-CrulrTBs.js} +2 -2
  65. package/dist/cli/{metadata-Bi5eQP4w.js → metadata-yePOltZY.js} +3 -3
  66. package/dist/cli/{migrate-DMITLPEu.js → migrate-kjYx7du-.js} +1 -1
  67. package/dist/cli/{migration-safety-2n8e8njJ.js → migration-safety-DnvCYRsw.js} +1 -1
  68. package/dist/cli/{migrations-C5k9hNOo.js → migrations-ZYHA0gks.js} +2 -2
  69. package/dist/cli/{module-migration-BFchEhAJ.js → module-migration-Du7UHsO9.js} +2 -2
  70. package/dist/cli/{powersync-DViexv6m.js → powersync-BOxy1_xW.js} +3 -3
  71. package/dist/cli/powersync-BurpZLJB.js +1 -0
  72. package/dist/cli/{print-ChX1vQhO.js → print-B4OqfSML.js} +2 -2
  73. package/dist/cli/{providers-lwK2lplZ.js → providers-KYOKi_jp.js} +1 -1
  74. package/dist/cli/{prune-workflows-DO3nRZFF.js → prune-workflows-7JISyAI7.js} +1 -1
  75. package/dist/cli/{remove-WB9dFyNn.js → remove-DvncDSRp.js} +5 -5
  76. package/dist/cli/{render-B0MMWWZE.js → render-C6dQ0C0Y.js} +3 -3
  77. package/dist/cli/{run-CmJbNG2-.js → run-BYiApqFR.js} +9 -9
  78. package/dist/cli/{run-CMvwtBX9.js → run-DWDRg4vp.js} +27 -27
  79. package/dist/cli/{shared-BL5kcRdz.js → shared-DC86fQYk.js} +1 -1
  80. package/dist/cli/{snapshot-CVB9Ri2a.js → snapshot-CwCG_YX2.js} +2 -2
  81. package/dist/cli/{source-COGgsYiV.js → source-DDxRHVzk.js} +1 -1
  82. package/dist/cli/{spec-CH6Qd2LE.js → spec-Cnxqc7kC.js} +2 -2
  83. package/dist/cli/{spec-002zD_9Z.js → spec-CvKJ6GpI.js} +1 -1
  84. package/dist/cli/{sql-layout-jZOzCj-S.js → sql-layout-BwbfVSR8.js} +2 -2
  85. package/dist/cli/{sync-I4x-1aVx.js → sync-lpbLqJly.js} +4 -4
  86. package/dist/cli/{upgrade-BRp5AxAY.js → upgrade-34ZODJZj.js} +2 -2
  87. package/dist/cli/{upgrade-C60BZggI.js → upgrade-Cq4EFBH7.js} +5 -5
  88. package/dist/cli/{version-CRCAxS2s.js → version-BGN5319Z.js} +1 -1
  89. package/dist/client/index.d.ts +5 -5
  90. package/dist/client/native/index.d.ts +4 -4
  91. package/dist/config/index.d.ts +2 -2
  92. package/dist/config/index.js +4 -4
  93. package/dist/{config-BND2PFGs.js → config-BN17nVp1.js} +1 -1
  94. package/dist/{config-2SwAe0Im.js → config-C-eXOuhp.js} +3 -3
  95. package/dist/{context-DXWyPNzr.d.ts → context-Dga2sgyx.d.ts} +1 -1
  96. package/dist/contract/index.d.ts +3 -3
  97. package/dist/{controller-D3MPVovD.d.ts → controller-BFOCK5AG.d.ts} +1 -1
  98. package/dist/create/index.d.ts +3 -3
  99. package/dist/create/index.js +3 -3
  100. package/dist/create/lite/index.d.ts +3 -3
  101. package/dist/create/lite/index.js +2 -2
  102. package/dist/{entitlements-CljrSoWD.d.ts → entitlements-C5k_9hHt.d.ts} +1 -1
  103. package/dist/{field-errors-C4NOUBpu.d.ts → field-errors-LVBXokQN.d.ts} +4 -4
  104. package/dist/{index-BrGOE0c2.d.ts → index-BA8sPQ49.d.ts} +2 -2
  105. package/dist/{index-DWVDKVYA.d.ts → index-BhmjjkMu.d.ts} +1 -1
  106. package/dist/{index-D5qW2cRD.d.ts → index-CjN6kzvL.d.ts} +2 -2
  107. package/dist/{index-DmSDAFkF.d.ts → index-D-SIdOiL.d.ts} +6 -6
  108. package/dist/{index-Bjj-GNhd.d.ts → index-DBbdaYAH.d.ts} +1 -1
  109. package/dist/{index-DhHtsi-q.d.ts → index-DUmsXPdh.d.ts} +1 -1
  110. package/dist/{index-CUxdZYSi.d.ts → index-DwP65vFk.d.ts} +2 -2
  111. package/dist/{instances-DwrdFwKq.js → instances-Bx94JGSW.js} +3 -0
  112. package/dist/mapper/bin.js +5 -5
  113. package/dist/mcp/index.d.ts +1 -1
  114. package/dist/next/index.d.ts +4 -4
  115. package/dist/{operations-DFmuxaxW.d.ts → operations-J0PkKTaF.d.ts} +1 -1
  116. package/dist/{options-C5cLEJEa.js → options-ByxOMSXu.js} +2 -1
  117. package/dist/otel/index.js +4 -4
  118. package/dist/{permissions-Bsd4mEEZ.d.ts → permissions-Cp2qvVJo.d.ts} +1 -1
  119. package/dist/{ports-BKdt_9Oe.d.ts → ports-C61eesjD.d.ts} +1 -1
  120. package/dist/powersync/index.d.ts +2 -2
  121. package/dist/preset/index.d.ts +3 -3
  122. package/dist/preset/index.js +3 -3
  123. package/dist/{preset-CenE7f1G.js → preset-yRJgGbn9.js} +2 -2
  124. package/dist/{project-Ceh2yTSv.js → project-ps9mOsLx.js} +5 -5
  125. package/dist/{push-token-DRcEl9Ce.d.ts → push-token-2LRdwl_8.d.ts} +1 -1
  126. package/dist/react/index.d.ts +5 -5
  127. package/dist/react/native/index.d.ts +1 -1
  128. package/dist/react/server.d.ts +5 -5
  129. package/dist/realtime/index.d.ts +3 -3
  130. package/dist/records/index.d.ts +3 -3
  131. package/dist/server/index.d.ts +3 -3
  132. package/dist/solid/index.d.ts +5 -5
  133. package/dist/sql/index.d.ts +5 -5
  134. package/dist/sql/index.js +2 -2
  135. package/dist/{sql-BIniB45X.js → sql-CWzlxS6f.js} +348 -130
  136. package/dist/ssr/index.d.ts +1 -1
  137. package/dist/svelte/index.d.ts +5 -5
  138. package/dist/{tenant--Hm8mlPy.d.ts → tenant-P7mo0ulH.d.ts} +1 -1
  139. package/dist/testing/index.d.ts +3 -3
  140. package/dist/testing/index.js +1 -1
  141. package/dist/{topic-BYF-GTW9.d.ts → topic-CjKlzHD-.d.ts} +1 -1
  142. package/dist/{types-B8h0reJ4.d.ts → types-VwM7DBvC.d.ts} +2 -2
  143. package/dist/vue/index.d.ts +5 -5
  144. package/dist/{watch-topic-tfTxgEGc.d.ts → watch-topic-jqBMNMs3.d.ts} +1 -1
  145. package/dist/yjs/index.d.ts +1 -1
  146. package/package.json +1 -1
  147. package/schemas/config-v1.json +17 -0
  148. package/dist/cli/add-BbhRYaFe.js +0 -1
  149. package/dist/cli/powersync-i7KJcTtM.js +0 -1
@@ -6,9 +6,9 @@ import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
6
6
  import { n as AmrEntry, t as Aal } from "../mfa-CM5r904M.js";
7
7
  import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DBD7yhQg.js";
8
8
  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-1_-lg9Gc.js";
9
- import { r as MembershipClaim } from "../entitlements-CljrSoWD.js";
10
- import { t as tenantOf } from "../tenant--Hm8mlPy.js";
11
- import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Bsd4mEEZ.js";
9
+ import { r as MembershipClaim } from "../entitlements-C5k_9hHt.js";
10
+ import { t as tenantOf } from "../tenant-P7mo0ulH.js";
11
+ import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Cp2qvVJo.js";
12
12
  import { n as AuthSession, o as toSession } from "../view-eHgOOyRS.js";
13
13
  import { i as ContextOptions, l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DpI82uNq.js";
14
14
  import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-Dj5V2WTs.js";
@@ -16,7 +16,7 @@ import { t as AuthOutageHook } from "../session-s-mUZ8RQ.js";
16
16
  import { n as AuthKind, r as GuardOptions } from "../respond-D7kUatjc.js";
17
17
  import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-lHFpu2_1.js";
18
18
  import { c as ListParseOptions, m as ListSearchParams } from "../list-query-BkbLV-Yc.js";
19
- import { r as LiveCountSeed, t as CountRunner } from "../index-BrGOE0c2.js";
19
+ import { r as LiveCountSeed, t as CountRunner } from "../index-BA8sPQ49.js";
20
20
  import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CF3Uc6OW.js";
21
21
  import { t as Validated } from "../shared-DsBcvj6q.js";
22
22
  import { t as ResourceMap } from "../resources-DnHSmJIM.js";
@@ -1,4 +1,4 @@
1
- import { r as AuthorizationOperation } from "./authorization-CcvJbvr1.js";
1
+ import { r as AuthorizationOperation } from "./authorization-hGBtxrnQ.js";
2
2
  /** Operations by name, as `authorization.operations` or a module's own defaults. */
3
3
  type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
4
4
  export { OperationTable as t };
@@ -14,6 +14,7 @@ const invoicesSqlOptions = blockOptions({
14
14
  providerPaymentMethods: option.strings({ default: ["stripe", "order"] }),
15
15
  uniqueNumber: option.unknown(),
16
16
  linePositionKey: option.boolean({ default: true }),
17
- paymentsAfterWriteOff: option.boolean({ default: false })
17
+ paymentsAfterWriteOff: option.boolean({ default: false }),
18
+ depositKind: option.string()
18
19
  });
19
20
  export { invoicesSqlOptions as t };
@@ -39,9 +39,9 @@ function systemOf(executor) {
39
39
  * ```
40
40
  */
41
41
  function otel(options = {}) {
42
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.42.0");
42
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.43.0");
43
43
  let histogram;
44
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.42.0")).createHistogram("db.client.operation.duration", {
44
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.43.0")).createHistogram("db.client.operation.duration", {
45
45
  unit: "s",
46
46
  description: "Duration of database client operations.",
47
47
  advice: { explicitBucketBoundaries: [
@@ -218,7 +218,7 @@ function otel(options = {}) {
218
218
  * `betterSupabase.events`. Returns a function that stops listening.
219
219
  */
220
220
  function traceAuth(betterSupabase, options = {}) {
221
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.42.0");
221
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.43.0");
222
222
  const offAuth = betterSupabase.events.on("auth", (event) => {
223
223
  const span = tracer.startSpan("auth.resolve", {
224
224
  kind: SpanKind.INTERNAL,
@@ -256,7 +256,7 @@ function traceAuth(betterSupabase, options = {}) {
256
256
  * an error status. Returns a function that stops listening.
257
257
  */
258
258
  function traceBlockEvents(betterSupabase, options = {}) {
259
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.42.0");
259
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.43.0");
260
260
  return betterSupabase.events.on("block", (event) => {
261
261
  const attributes = {
262
262
  ...options.attributes,
@@ -1,4 +1,4 @@
1
- import { o as ClaimsRecord, s as ClaimsSource } from "./entitlements-CljrSoWD.js";
1
+ import { o as ClaimsRecord, s as ClaimsSource } from "./entitlements-C5k_9hHt.js";
2
2
  interface PermissionsOfOptions {
3
3
  /**
4
4
  * The claim holding `{ [tenantId]: string[] }`, as
@@ -1,5 +1,5 @@
1
1
  import { t as AsyncResult } from "./result-DTOQRyGY.js";
2
- import { n as TopicPort } from "./watch-topic-tfTxgEGc.js";
2
+ import { n as TopicPort } from "./watch-topic-jqBMNMs3.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  /**
5
5
  * A string store: `localStorage` on the web (`webStorage()`), AsyncStorage,
@@ -2,8 +2,8 @@ import { f as Result } from "../result-DTOQRyGY.js";
2
2
  import { Vt as Executor } from "../types-BzIYSSWK.js";
3
3
  import { t as BlockTransport } from "../block-transport-CDmOUuLZ.js";
4
4
  import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-CX1oYDZl.js";
5
- import { n as TopicPort } from "../watch-topic-tfTxgEGc.js";
6
- import { t as AuthSnapshot } from "../bind-B71jMEGG.js";
5
+ import { n as TopicPort } from "../watch-topic-jqBMNMs3.js";
6
+ import { t as AuthSnapshot } from "../bind-DWAIKYvJ.js";
7
7
  import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-CxMHiDp_.js";
8
8
  /** The part of PowerSync's `SyncStatus` the engine reads. */
9
9
  interface SyncStatusLike {
@@ -1,4 +1,4 @@
1
- import { $n as PresetGroup, Ai as PresetValueInfo, At as PresetConflict, Ci as PresetConventions, Ct as ConfigConventions, Di as PresetFramework, Dt as expandPreset, Ei as PresetFieldValue, Et as conventionConfig, Ft as presetBlockConflict, Gn as presetFromSpec, It as resolvePreset, Jn as DEFAULT_PRESET_NAME, Kn as presetOfSpec, Mi as presetField, Mt as ResolvedPreset, Ni as presetValueLabel, Nt as ResolvedPresetBlock, Oi as PresetPlatforms, Ot as presetConfig, Pt as listNames, Qn as PRESET_NAMES, Si as PresetAccess, Ti as PresetFieldKey, Tt as PresetInput, Wn as PresetSpec, Xn as PRESETS, Yn as NamedPreset, Zn as PRESET_GROUPS, _i as CONVENTION_FIELDS, _r as AppColumnFormat, bi as PRESET_TENANT_NAMES, di as INSTANCE_NAME, er as PresetName, fi as instancePrefix, gi as PresetGlueItem, hi as PresetCatalogManifest, ji as integrationsForFramework, jt as PresetIntegration, ki as PresetScope, kt as presetOf, mi as PresetCatalogBlock, nr as isPresetName, pi as PresetCatalog, qn as presetSpec, rr as namedPreset, tr as defaultPreset, ui as CORE_BLOCKS, ur as APP_COLUMN_FORMATS, vi as DEFAULT_CONVENTIONS, wi as PresetField, wt as ExpandedConfig, xi as Preset, yi as PRESET_FRAMEWORKS } from "../context-DXWyPNzr.js";
2
- import { $ as readDesignFile, A as DesignFile, B as designFileSource, C as diffAppTables, D as DESIGN_FILE, E as CreateDesign, F as MAX_DESIGN_CODE_LENGTH, G as isDesignCode, H as designOf, I as createQuery, J as presetApplyCommand, K as parseDesign, L as createUrl, M as DesignParseIssue, N as DesignParseResult, O as DESIGN_FORMAT, P as DesignTooLongError, Q as presetKey, R as decodeDesign, S as DiffOptions, T as CREATE_URL, U as designSchema, V as designFormat, W as encodeDesign, X as presetConfigSource, Y as presetArgumentOf, Z as presetInstallCommand, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, et as safeDesignFileSource, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, it as PRESET_CATALOG, j as DesignParseError, k as DesignErrorCode, l as instanceBlock, m as withInstance, n as BlockInstance, nt as appDefaultError, o as canAddInstance, p as withEntityName, q as presetAndDesignOf, r as PresetInstance, rt as isAppDefault, s as entityName, t as BlockEntity, tt as safeParseDesign, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue, z as designConfig } from "../index-Bjj-GNhd.js";
3
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-DGgCgRwq.js";
1
+ import { $n as PresetGroup, Ai as PresetValueInfo, At as PresetConflict, Ci as PresetConventions, Ct as ConfigConventions, Di as PresetFramework, Dt as expandPreset, Ei as PresetFieldValue, Et as conventionConfig, Ft as presetBlockConflict, Gn as presetFromSpec, It as resolvePreset, Jn as DEFAULT_PRESET_NAME, Kn as presetOfSpec, Mi as presetField, Mt as ResolvedPreset, Ni as presetValueLabel, Nt as ResolvedPresetBlock, Oi as PresetPlatforms, Ot as presetConfig, Pt as listNames, Qn as PRESET_NAMES, Si as PresetAccess, Ti as PresetFieldKey, Tt as PresetInput, Wn as PresetSpec, Xn as PRESETS, Yn as NamedPreset, Zn as PRESET_GROUPS, _i as CONVENTION_FIELDS, _r as AppColumnFormat, bi as PRESET_TENANT_NAMES, di as INSTANCE_NAME, er as PresetName, fi as instancePrefix, gi as PresetGlueItem, hi as PresetCatalogManifest, ji as integrationsForFramework, jt as PresetIntegration, ki as PresetScope, kt as presetOf, mi as PresetCatalogBlock, nr as isPresetName, pi as PresetCatalog, qn as presetSpec, rr as namedPreset, tr as defaultPreset, ui as CORE_BLOCKS, ur as APP_COLUMN_FORMATS, vi as DEFAULT_CONVENTIONS, wi as PresetField, wt as ExpandedConfig, xi as Preset, yi as PRESET_FRAMEWORKS } from "../context-Dga2sgyx.js";
2
+ import { $ as readDesignFile, A as DesignFile, B as designFileSource, C as diffAppTables, D as DESIGN_FILE, E as CreateDesign, F as MAX_DESIGN_CODE_LENGTH, G as isDesignCode, H as designOf, I as createQuery, J as presetApplyCommand, K as parseDesign, L as createUrl, M as DesignParseIssue, N as DesignParseResult, O as DESIGN_FORMAT, P as DesignTooLongError, Q as presetKey, R as decodeDesign, S as DiffOptions, T as CREATE_URL, U as designSchema, V as designFormat, W as encodeDesign, X as presetConfigSource, Y as presetArgumentOf, Z as presetInstallCommand, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, et as safeDesignFileSource, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, it as PRESET_CATALOG, j as DesignParseError, k as DesignErrorCode, l as instanceBlock, m as withInstance, n as BlockInstance, nt as appDefaultError, o as canAddInstance, p as withEntityName, q as presetAndDesignOf, r as PresetInstance, rt as isAppDefault, s as entityName, t as BlockEntity, tt as safeParseDesign, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue, z as designConfig } from "../index-DBbdaYAH.js";
3
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-CVMn4c4b.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetValueInfo, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,4 +1,4 @@
1
- import { C as integrationsForFramework, S as PRESET_TENANT_NAMES, T as presetValueLabel, _ as isPresetName, a as presetOf, b as DEFAULT_CONVENTIONS, c as presetSpec, d as resolvePreset, f as DEFAULT_PRESET_NAME, g as defaultPreset, h as PRESET_NAMES, i as presetConfig, l as listNames, m as PRESET_GROUPS, o as presetFromSpec, p as PRESETS, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as namedPreset, w as presetField, x as PRESET_FRAMEWORKS, y as CONVENTION_FIELDS } from "../config-BND2PFGs.js";
2
- import { D as APP_COLUMN_FORMATS, M as PRESET_CATALOG, b as isAppDefault, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, y as appDefaultError } from "../instances-DwrdFwKq.js";
3
- import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-CenE7f1G.js";
1
+ import { C as integrationsForFramework, S as PRESET_TENANT_NAMES, T as presetValueLabel, _ as isPresetName, a as presetOf, b as DEFAULT_CONVENTIONS, c as presetSpec, d as resolvePreset, f as DEFAULT_PRESET_NAME, g as defaultPreset, h as PRESET_NAMES, i as presetConfig, l as listNames, m as PRESET_GROUPS, o as presetFromSpec, p as PRESETS, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as namedPreset, w as presetField, x as PRESET_FRAMEWORKS, y as CONVENTION_FIELDS } from "../config-BN17nVp1.js";
2
+ import { D as APP_COLUMN_FORMATS, M as PRESET_CATALOG, b as isAppDefault, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, y as appDefaultError } from "../instances-Bx94JGSW.js";
3
+ import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-yRJgGbn9.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, CONVENTION_FIELDS, CREATE_URL, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, DesignParseError, DesignTooLongError, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,5 +1,5 @@
1
- import { M as groupEntries, a as presetOf, c as presetSpec, d as resolvePreset, g as defaultPreset, i as presetConfig, s as presetOfSpec } from "./config-BND2PFGs.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-DwrdFwKq.js";
1
+ import { M as groupEntries, a as presetOf, c as presetSpec, d as resolvePreset, g as defaultPreset, i as presetConfig, s as presetOfSpec } from "./config-BN17nVp1.js";
2
+ import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-Bx94JGSW.js";
3
3
  import { r as FIELD_FORMATS } from "./field-formats-Cap-V7UP.js";
4
4
  import { t as isSqlType } from "./sql-type-XWMeZRAl.js";
5
5
  // src/preset/render.ts
@@ -1,8 +1,8 @@
1
- import { a as presetOf, d as resolvePreset } from "./config-BND2PFGs.js";
2
- import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-DwrdFwKq.js";
3
- import { c as resolveConfig } from "./config-2SwAe0Im.js";
4
- import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-CenE7f1G.js";
5
- import { I as renderBlocks, j as moduleLayout, rt as SQL_MODULES } from "./sql-BIniB45X.js";
1
+ import { a as presetOf, d as resolvePreset } from "./config-BN17nVp1.js";
2
+ import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-Bx94JGSW.js";
3
+ import { c as resolveConfig } from "./config-C-eXOuhp.js";
4
+ import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-yRJgGbn9.js";
5
+ import { I as renderBlocks, j as moduleLayout, rt as SQL_MODULES } from "./sql-CWzlxS6f.js";
6
6
  // src/create/column-keys.ts
7
7
  /** The most options a select takes, and the longest option. */
8
8
  const MAX_OPTIONS = 100;
@@ -1,4 +1,4 @@
1
- import { s as PushTokenPort } from "./ports-BKdt_9Oe.js";
1
+ import { s as PushTokenPort } from "./ports-C61eesjD.js";
2
2
  /** The part of `expo-notifications` the push token port uses. */
3
3
  interface ExpoNotificationsLike {
4
4
  getPermissionsAsync(): Promise<{
@@ -1,13 +1,13 @@
1
1
  import { t as escapeLike } from "../escape-like-CK6L7gkj.js";
2
2
  import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
3
3
  import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-CX1oYDZl.js";
4
- import { r as MembershipClaim } from "../entitlements-CljrSoWD.js";
5
- import { t as tenantOf } from "../tenant--Hm8mlPy.js";
4
+ import { r as MembershipClaim } from "../entitlements-C5k_9hHt.js";
5
+ import { t as tenantOf } from "../tenant-P7mo0ulH.js";
6
6
  import { n as AuthSession } from "../view-eHgOOyRS.js";
7
- import { r as LiveCountSeed } from "../index-BrGOE0c2.js";
8
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, l as BlockEventSource, m as BlockQueryState, o as DataSource, p as BlockQueryOptions, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-C4NOUBpu.js";
7
+ import { r as LiveCountSeed } from "../index-BA8sPQ49.js";
8
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, l as BlockEventSource, m as BlockQueryState, o as DataSource, p as BlockQueryOptions, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-LVBXokQN.js";
9
9
  import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
10
- import { $ as UseActionFormOptions, A as useController, B as RecordListUrl, C as useConflicts, D as defineDataHooks, E as DataView, F as RecordFormState, G as RecordInitial, H as useRecordListState, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm, M as useBlockEvent, N as useBlockMutation, O as useBlockEnv, P as useBlockQuery, Q as ActionHandle, R as RecordListQueryStates, S as Conflicts, T as DataHooks, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl, dt as useSupabase, et as useAction, f as useUpload, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest, k as useBlockTenant, l as UseUploadOptions, lt as useLiveCount, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, ot as createHooks, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, tt as useActionForm, u as useImage, ut as useLiveQuery, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as RecordListState } from "../index-DmSDAFkF.js";
10
+ import { $ as UseActionFormOptions, A as useController, B as RecordListUrl, C as useConflicts, D as defineDataHooks, E as DataView, F as RecordFormState, G as RecordInitial, H as useRecordListState, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm, M as useBlockEvent, N as useBlockMutation, O as useBlockEnv, P as useBlockQuery, Q as ActionHandle, R as RecordListQueryStates, S as Conflicts, T as DataHooks, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl, dt as useSupabase, et as useAction, f as useUpload, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest, k as useBlockTenant, l as UseUploadOptions, lt as useLiveCount, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, ot as createHooks, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, tt as useActionForm, u as useImage, ut as useLiveQuery, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as RecordListState } from "../index-D-SIdOiL.js";
11
11
  import { a as useSupportSession, i as useSession, n as SessionProviderProps, t as SessionProvider } from "../session-JV1z0kxa.js";
12
12
  import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
13
13
  export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, type PendingState, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, createHooks, createRecordProvider, defineDataHooks, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "../../bind-B71jMEGG.js";
1
+ import { t as AuthSnapshot } from "../../bind-DWAIKYvJ.js";
2
2
  import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
3
3
  import { n as PendingState } from "../../sign-in-C9pZE1kM.js";
4
4
  import { Provider } from "@supabase/supabase-js";
@@ -1,13 +1,13 @@
1
1
  import { t as escapeLike } from "../escape-like-CK6L7gkj.js";
2
2
  import { mt as QuerySpec } from "../define-C_He1bQO.js";
3
3
  import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
4
- import { r as MembershipClaim } from "../entitlements-CljrSoWD.js";
5
- import { t as tenantOf } from "../tenant--Hm8mlPy.js";
4
+ import { r as MembershipClaim } from "../entitlements-C5k_9hHt.js";
5
+ import { t as tenantOf } from "../tenant-P7mo0ulH.js";
6
6
  import { n as AuthSession } from "../view-eHgOOyRS.js";
7
- import { r as LiveCountSeed } from "../index-BrGOE0c2.js";
8
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, g as ActionInputOf, t as fieldErrorsOf, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-C4NOUBpu.js";
7
+ import { r as LiveCountSeed } from "../index-BA8sPQ49.js";
8
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, g as ActionInputOf, t as fieldErrorsOf, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-LVBXokQN.js";
9
9
  import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
10
- import { $ as UseActionFormOptions, A as useController$1, B as RecordListUrl, C as useConflicts$1, D as defineDataHooks$1, F as RecordFormState, G as RecordInitial, H as useRecordListState$1, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm$1, M as useBlockEvent$1, N as useBlockMutation$1, O as useBlockEnv$1, P as useBlockQuery$1, Q as ActionHandle, R as RecordListQueryStates, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider$1, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay$1, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl$1, dt as useSupabase, f as useUpload$1, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest$1, k as useBlockTenant$1, l as UseUploadOptions, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, u as useImage$1, ut as useLiveQuery, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as RecordListState } from "../index-DmSDAFkF.js";
10
+ import { $ as UseActionFormOptions, A as useController$1, B as RecordListUrl, C as useConflicts$1, D as defineDataHooks$1, F as RecordFormState, G as RecordInitial, H as useRecordListState$1, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm$1, M as useBlockEvent$1, N as useBlockMutation$1, O as useBlockEnv$1, P as useBlockQuery$1, Q as ActionHandle, R as RecordListQueryStates, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider$1, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay$1, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl$1, dt as useSupabase, f as useUpload$1, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest$1, k as useBlockTenant$1, l as UseUploadOptions, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, u as useImage$1, ut as useLiveQuery, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as RecordListState } from "../index-D-SIdOiL.js";
11
11
  import { n as SessionProviderProps, t as SessionProvider } from "../session-JV1z0kxa.js";
12
12
  import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
13
13
  /** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
@@ -1,8 +1,8 @@
1
1
  import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BzIYSSWK.js";
2
2
  import { et as TemplateParams, tt as TemplateValues } from "../bucket-CrsJNHzi.js";
3
3
  import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
4
- import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-BYF-GTW9.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-tfTxgEGc.js";
6
- import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-BrGOE0c2.js";
4
+ import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-CjKlzHD-.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-jqBMNMs3.js";
6
+ import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-BA8sPQ49.js";
7
7
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-D1Km_Q42.js";
8
8
  export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
@@ -2,9 +2,9 @@ import { b as DbError, t as AsyncResult } from "../result-DTOQRyGY.js";
2
2
  import { et as RecordRef } from "../types-BzIYSSWK.js";
3
3
  import { _n as recordBindingWrite, an as RecordBindingDefinition, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, gn as defineRecordBinding, hn as TimelineItem, in as RecordBindingData, ln as RecordBindingWrite, mn as RecordRowInput, nn as AnyRecordBindingWrite, on as RecordBindingOptions, pn as RecordBindingWrites, rn as RecordBinding, sn as RecordBindingPermissions, tn as AnyRecordBinding, un as RecordBindingWriteInput, vn as recordEventMatches, yn as recordRowInput } from "../define-block-DBD7yhQg.js";
4
4
  import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-1_-lg9Gc.js";
5
- import { p as SubscriptionStatus } from "../topic-BYF-GTW9.js";
6
- import { n as TopicPort } from "../watch-topic-tfTxgEGc.js";
7
- import { n as Controller, t as AuthPort } from "../controller-D3MPVovD.js";
5
+ import { p as SubscriptionStatus } from "../topic-CjKlzHD-.js";
6
+ import { n as TopicPort } from "../watch-topic-jqBMNMs3.js";
7
+ import { n as Controller, t as AuthPort } from "../controller-BFOCK5AG.js";
8
8
  import { a as RecordSummaryOptions, c as Subjects, f as MyWorkKind, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-DNFE2rMl.js";
9
9
  import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-BB9fKT_r.js";
10
10
  import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-C-1TPtMG.js";
@@ -12,9 +12,9 @@ import { j as StorageApi } from "../bucket-CrsJNHzi.js";
12
12
  import { n as Impersonator, r as impersonatorOf, t as ImpersonationOptions } from "../impersonation-BOCJcsmS.js";
13
13
  import { a as checkAal, i as amrOf, n as AmrEntry, r as aalOf, t as Aal } from "../mfa-CM5r904M.js";
14
14
  import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-CR8TVvqo.js";
15
- import { c as RealtimeClient } from "../topic-BYF-GTW9.js";
16
- import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-CljrSoWD.js";
17
- import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Bsd4mEEZ.js";
15
+ import { c as RealtimeClient } from "../topic-CjKlzHD-.js";
16
+ import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-C5k_9hHt.js";
17
+ import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Cp2qvVJo.js";
18
18
  import { a as isUserSession, i as isApiKeySession, n as AuthSession, o as toSession, r as UserSession, t as ApiKeySession } from "../view-eHgOOyRS.js";
19
19
  import { C as DeleteAccountOptions, S as LiteDriver, T as deleteAccount, _ as lastSignIns, a as ForContextOptions, b as PRIMARY_COOKIE, c as ServerKeys, d as TENANT_HEADER, f as EndSessionsResult, g as endSessions, h as SuspendAccountResult, i as ContextOptions, l as ServerOptions, m as SuspendAccountOptions, n as ApprovalOptions, o as ServerContext, p as LastSignIn, r as BetterServer, s as ServerDbOptions, t as AdminDb, v as suspendAccount, w as DeleteAccountResult, x as ReplicaState, y as RequestIdOptions } from "../server-types-DpI82uNq.js";
20
20
  import { C as SupportSessionStore, E as supportClaims, S as SupportSession, T as sqlSupportStore, _ as SupportCallerClaims, a as SupportPolicy, b as SupportRequest, c as supportSessions, d as clearSupportCookie, f as supportCookie, g as SupportApprover, h as SupportApprovalQuery, i as SupportOptions, l as SUPPORT_COOKIE, m as SqlSupportStoreOptions, n as SupportApi, o as SupportSessions, p as supportCookieValue, r as SupportExpireRouteOptions, s as SupportStartRequest, t as ActiveSupport, u as SupportCookieOptions, v as SupportEndedBy, w as SupportStartInput, x as SupportRequestInput, y as SupportListFilter } from "../support-Dj5V2WTs.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-DddDlibJ.js";
3
3
  import { mt as QuerySpec } from "../define-C_He1bQO.js";
4
4
  import { tt as TemplateValues } from "../bucket-CrsJNHzi.js";
5
- import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BYF-GTW9.js";
6
- import { t as AuthSnapshot } from "../bind-B71jMEGG.js";
5
+ import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-CjKlzHD-.js";
6
+ import { t as AuthSnapshot } from "../bind-DWAIKYvJ.js";
7
7
  import { n as AuthSession } from "../view-eHgOOyRS.js";
8
- import { n as Controller } from "../controller-D3MPVovD.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-C4NOUBpu.js";
10
- import { n as BlockOptions } from "../block-env-DzYTC9d1.js";
8
+ import { n as Controller } from "../controller-BFOCK5AG.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-LVBXokQN.js";
10
+ import { n as BlockOptions } from "../block-env-C6OEu9Xk.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-DKZkZeM5.js";
13
13
  import { SupabaseClient } from "@supabase/supabase-js";
@@ -1,6 +1,6 @@
1
- import { M as BlockOptionsRegistry, j as BLOCK_OPTION_SCHEMAS, k as resolveBlock } from "../authorization-CcvJbvr1.js";
2
- import { A as declaredIndexes, C as OwnView, D as OwnIndex, E as DeclaredView, F as extensionSchema, I as policyGrants, L as rlsTables, M as declaredTables, N as declaredUpdatedAtTriggers, O as PolicyGrant, P as declaredViews, S as BlockSqlUpgrade, T as notNullCheckName, _ as BlockSqlDeprecation, a as BlockSqlContext, ar as DeclaredForeignKey, b as BlockSqlLayout, c as BlockSqlIdType, cr as auditRegistrations, d as MODULE_ID_TYPES, f as contractSignature, g as BlockSqlAccessProvider, h as BlockSql, i as BlockSqlAudit, j as declaredTableColumns, k as declaredColumnTypes, l as BlockSqlNames, m as moduleIdType, n as AuditCategory, o as BlockSqlContractFunction, or as sameTenantLayout, p as isBlockSqlIdType, r as BlockSqlAction, s as BlockSqlEmit, sr as AuditedTable, t as AUDIT_CATEGORIES, u as BlockSqlTableSpec, v as BlockSqlEntitlementsProvider, w as blockSqlVersion, x as BlockSqlTestFile, y as BlockSqlFile } from "../context-DXWyPNzr.js";
3
- import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-B92SBFqM.js";
4
- import { a as appTableEventTypes } from "../app-tables-DGgCgRwq.js";
5
- import { $ as MigrationOptionUse, $t as BlockSqlTopic, A as declaredPolicies, At as BlockSqlExtension, B as catalogPolicy, Bt as moduleDataDir, C as isRule, Ct as APP_TABLES_MARKER, D as renderRulePolicy, Dt as instanceFunctions, E as renderRule, Et as DEFAULT_ROLES, F as Policy, Ft as moduleSchemaExtensions, G as readPolicy, Gt as BLOCK_RENAMES, H as policy, Ht as EntityRenamePlan, I as PolicyCommand, It as blockFileState, J as hasColumnAccess, Jt as renamedBlock, K as renderPolicy, Kt as currentBlockName, L as PolicyInput, Lt as isModuleDataFile, M as TENANT_SCOPE_NAMES, Mt as moduleEventTriggers, N as TENANT_SCOPE_POLICY, Nt as moduleHidingColumns, O as rulePolicy, Ot as SQL_MODULES, P as Grant, Pt as modulePermissionKeys, Q as sharedRolesProblems, Qt as upgradePlan, R as ReadPolicy, Rt as moduleFileVersion, S as disallowedPolicyCalls, St as moduleWritesText, T as readRulePolicies, Tt as appTablesFiles, U as readGrants, Ut as EntityRenameStep, V as maskSql, Vt as moduleFilePaths, W as readPolicies, Wt as entityRenamePlan, X as compileReadSet, Xt as InstalledBlock, Y as CompiledReadSet, Yt as BlockSqlUpgradePlan, Z as compileReadSets, Zt as moduleDeprecations, _ as Rule, _t as AdoptedTable, a as setTableFeature, at as templateFunctions, b as RulePolicyInput, bt as adoptedTables, c as BsbComment, ct as tenantsQuery, d as formatBsbComment, dt as sameTenantTrigger, en as customContracts, et as migrationOptionUses, f as parseBsbComment, ft as DataExportPlan, g as ReadRulePolicy, gt as resolveExposeColumns, h as PolicyFunctionsOptions, ht as excludedColumns, i as isTableFeature, it as scopeProblems, j as widenedCommands, jt as BlockSqlPermissionKey, k as appTablePolicyNotes, kt as resolveBlocks, l as BsbTag, lt as expiredFlagsQuery, m as POLICY_FUNCTIONS, mt as dataExportPlan, n as TableFeature, nn as moduleTopics, nt as SCOPE_ID_TYPES, o as tableFeatures, ot as subjectColumns, p as setBsbTag, pt as SECRET_COLUMNS, q as scopePolicyName, qt as formerBlockName, r as createsTable, rn as renderBlocks, rt as resolveProviderSql, s as tableTagComments, st as TenantQuery, t as TABLE_FEATURES, tn as moduleBody, tt as moduleLayout, u as commentOnTableSql, ut as sameTenantColumn, v as RuleOperator, vt as AdoptedView, w as policyFunctionsSql, wt as APP_TABLES_MODULE, x as RuleValue, xt as adoptedViews, y as RulePolicy, yt as adoptedColumnProblems, z as RenderPolicyOptions, zt as sameBlockFile } from "../index-D5qW2cRD.js";
1
+ import { M as BlockOptionsRegistry, j as BLOCK_OPTION_SCHEMAS, k as resolveBlock } from "../authorization-hGBtxrnQ.js";
2
+ import { A as declaredIndexes, C as OwnView, D as OwnIndex, E as DeclaredView, F as extensionSchema, I as policyGrants, L as rlsTables, M as declaredTables, N as declaredUpdatedAtTriggers, O as PolicyGrant, P as declaredViews, S as BlockSqlUpgrade, T as notNullCheckName, _ as BlockSqlDeprecation, a as BlockSqlContext, ar as DeclaredForeignKey, b as BlockSqlLayout, c as BlockSqlIdType, cr as auditRegistrations, d as MODULE_ID_TYPES, f as contractSignature, g as BlockSqlAccessProvider, h as BlockSql, i as BlockSqlAudit, j as declaredTableColumns, k as declaredColumnTypes, l as BlockSqlNames, m as moduleIdType, n as AuditCategory, o as BlockSqlContractFunction, or as sameTenantLayout, p as isBlockSqlIdType, r as BlockSqlAction, s as BlockSqlEmit, sr as AuditedTable, t as AUDIT_CATEGORIES, u as BlockSqlTableSpec, v as BlockSqlEntitlementsProvider, w as blockSqlVersion, x as BlockSqlTestFile, y as BlockSqlFile } from "../context-Dga2sgyx.js";
3
+ import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-BIExrL2J.js";
4
+ import { a as appTableEventTypes } from "../app-tables-CVMn4c4b.js";
5
+ import { $ as MigrationOptionUse, $t as BlockSqlTopic, A as declaredPolicies, At as BlockSqlExtension, B as catalogPolicy, Bt as moduleDataDir, C as isRule, Ct as APP_TABLES_MARKER, D as renderRulePolicy, Dt as instanceFunctions, E as renderRule, Et as DEFAULT_ROLES, F as Policy, Ft as moduleSchemaExtensions, G as readPolicy, Gt as BLOCK_RENAMES, H as policy, Ht as EntityRenamePlan, I as PolicyCommand, It as blockFileState, J as hasColumnAccess, Jt as renamedBlock, K as renderPolicy, Kt as currentBlockName, L as PolicyInput, Lt as isModuleDataFile, M as TENANT_SCOPE_NAMES, Mt as moduleEventTriggers, N as TENANT_SCOPE_POLICY, Nt as moduleHidingColumns, O as rulePolicy, Ot as SQL_MODULES, P as Grant, Pt as modulePermissionKeys, Q as sharedRolesProblems, Qt as upgradePlan, R as ReadPolicy, Rt as moduleFileVersion, S as disallowedPolicyCalls, St as moduleWritesText, T as readRulePolicies, Tt as appTablesFiles, U as readGrants, Ut as EntityRenameStep, V as maskSql, Vt as moduleFilePaths, W as readPolicies, Wt as entityRenamePlan, X as compileReadSet, Xt as InstalledBlock, Y as CompiledReadSet, Yt as BlockSqlUpgradePlan, Z as compileReadSets, Zt as moduleDeprecations, _ as Rule, _t as AdoptedTable, a as setTableFeature, at as templateFunctions, b as RulePolicyInput, bt as adoptedTables, c as BsbComment, ct as tenantsQuery, d as formatBsbComment, dt as sameTenantTrigger, en as customContracts, et as migrationOptionUses, f as parseBsbComment, ft as DataExportPlan, g as ReadRulePolicy, gt as resolveExposeColumns, h as PolicyFunctionsOptions, ht as excludedColumns, i as isTableFeature, it as scopeProblems, j as widenedCommands, jt as BlockSqlPermissionKey, k as appTablePolicyNotes, kt as resolveBlocks, l as BsbTag, lt as expiredFlagsQuery, m as POLICY_FUNCTIONS, mt as dataExportPlan, n as TableFeature, nn as moduleTopics, nt as SCOPE_ID_TYPES, o as tableFeatures, ot as subjectColumns, p as setBsbTag, pt as SECRET_COLUMNS, q as scopePolicyName, qt as formerBlockName, r as createsTable, rn as renderBlocks, rt as resolveProviderSql, s as tableTagComments, st as TenantQuery, t as TABLE_FEATURES, tn as moduleBody, tt as moduleLayout, u as commentOnTableSql, ut as sameTenantColumn, v as RuleOperator, vt as AdoptedView, w as policyFunctionsSql, wt as APP_TABLES_MODULE, x as RuleValue, xt as adoptedViews, y as RulePolicy, yt as adoptedColumnProblems, z as RenderPolicyOptions, zt as sameBlockFile } from "../index-CjN6kzvL.js";
6
6
  export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BlockTable, type BlockTables, type BsbComment, type BsbTag, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type DeclaredForeignKey, type DeclaredView, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, MODULE_ID_TYPES, type MigrationOptionUse, type OwnIndex, type OwnView, POLICY_FUNCTIONS, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, type ReadPolicy, type ReadRulePolicy, type RenderPolicyOptions, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableFeature, type TenantQuery, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, auditRegistrations, blockFileState, blockSqlVersion, blockTables, catalogPolicy, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, setBsbTag, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands };
package/dist/sql/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { I as resolveBlock, h as appTableEventTypes, w as hasColumnAccess } from "../instances-DwrdFwKq.js";
1
+ import { I as resolveBlock, h as appTableEventTypes, w as hasColumnAccess } from "../instances-Bx94JGSW.js";
2
2
  import { c as templateFunctions, o as resolveProviderSql, s as scopeProblems, t as SCOPE_ID_TYPES } from "../access-sql-Dao1C0fz.js";
3
- import { $ as moduleEventTriggers, A as blockTables, At as declaredViews, B as declaredPolicies, Bt as readPolicy, C as expiredFlagsQuery, Ct as moduleIdType, D as adoptedViews, Dt as declaredTableColumns, E as adoptedTables, Et as declaredIndexes, F as moduleTopics, Ft as catalogPolicy, G as APP_TABLES_MODULE, H as moduleDataDir, I as renderBlocks, It as maskSql, J as blockSqlVersion, K as appTablesFiles, L as moduleDeprecations, Lt as policy, M as entityRenamePlan, Mt as policyGrants, N as customContracts, Nt as rlsTables, O as moduleWritesText, Ot as declaredTables, P as moduleBody, Pt as auditRegistrations, Q as sameBlockFile, R as upgradePlan, Rt as readGrants, S as tenantsQuery, St as isBlockSqlIdType, T as adoptedColumnProblems, Tt as declaredColumnTypes, U as moduleFilePaths, V as widenedCommands, Vt as renderPolicy, W as APP_TABLES_MARKER, X as isModuleDataFile, Y as blockFileState, Z as moduleFileVersion, _ as renderRulePolicy, _t as formerBlockName, a as tableFeatures, at as TENANT_SCOPE_NAMES, b as compileReadSets, bt as MODULE_ID_TYPES, c as formatBsbComment, ct as resolveExposeColumns, d as POLICY_FUNCTIONS, dt as subjectColumns, et as moduleHidingColumns, f as disallowedPolicyCalls, ft as sameTenantColumn, g as renderRule, gt as currentBlockName, h as readRulePolicies, ht as BLOCK_RENAMES, i as setTableFeature, it as resolveBlocks, j as moduleLayout, jt as extensionSchema, k as instanceFunctions, kt as declaredUpdatedAtTriggers, l as parseBsbComment, lt as SECRET_COLUMNS, m as policyFunctionsSql, mt as migrationOptionUses, n as createsTable, nt as moduleSchemaExtensions, o as tableTagComments, ot as TENANT_SCOPE_POLICY, p as isRule, pt as sameTenantTrigger, q as scopePolicyName, r as isTableFeature, rt as SQL_MODULES, s as commentOnTableSql, st as excludedColumns, t as TABLE_FEATURES, tt as modulePermissionKeys, u as setBsbTag, ut as dataExportPlan, v as rulePolicy, vt as renamedBlock, w as sameTenantLayout, wt as BLOCK_OPTION_SCHEMAS, x as sharedRolesProblems, xt as contractSignature, y as compileReadSet, yt as AUDIT_CATEGORIES, z as appTablePolicyNotes, zt as readPolicies } from "../sql-BIniB45X.js";
3
+ import { $ as moduleEventTriggers, A as blockTables, At as declaredViews, B as declaredPolicies, Bt as readPolicy, C as expiredFlagsQuery, Ct as moduleIdType, D as adoptedViews, Dt as declaredTableColumns, E as adoptedTables, Et as declaredIndexes, F as moduleTopics, Ft as catalogPolicy, G as APP_TABLES_MODULE, H as moduleDataDir, I as renderBlocks, It as maskSql, J as blockSqlVersion, K as appTablesFiles, L as moduleDeprecations, Lt as policy, M as entityRenamePlan, Mt as policyGrants, N as customContracts, Nt as rlsTables, O as moduleWritesText, Ot as declaredTables, P as moduleBody, Pt as auditRegistrations, Q as sameBlockFile, R as upgradePlan, Rt as readGrants, S as tenantsQuery, St as isBlockSqlIdType, T as adoptedColumnProblems, Tt as declaredColumnTypes, U as moduleFilePaths, V as widenedCommands, Vt as renderPolicy, W as APP_TABLES_MARKER, X as isModuleDataFile, Y as blockFileState, Z as moduleFileVersion, _ as renderRulePolicy, _t as formerBlockName, a as tableFeatures, at as TENANT_SCOPE_NAMES, b as compileReadSets, bt as MODULE_ID_TYPES, c as formatBsbComment, ct as resolveExposeColumns, d as POLICY_FUNCTIONS, dt as subjectColumns, et as moduleHidingColumns, f as disallowedPolicyCalls, ft as sameTenantColumn, g as renderRule, gt as currentBlockName, h as readRulePolicies, ht as BLOCK_RENAMES, i as setTableFeature, it as resolveBlocks, j as moduleLayout, jt as extensionSchema, k as instanceFunctions, kt as declaredUpdatedAtTriggers, l as parseBsbComment, lt as SECRET_COLUMNS, m as policyFunctionsSql, mt as migrationOptionUses, n as createsTable, nt as moduleSchemaExtensions, o as tableTagComments, ot as TENANT_SCOPE_POLICY, p as isRule, pt as sameTenantTrigger, q as scopePolicyName, r as isTableFeature, rt as SQL_MODULES, s as commentOnTableSql, st as excludedColumns, t as TABLE_FEATURES, tt as modulePermissionKeys, u as setBsbTag, ut as dataExportPlan, v as rulePolicy, vt as renamedBlock, w as sameTenantLayout, wt as BLOCK_OPTION_SCHEMAS, x as sharedRolesProblems, xt as contractSignature, y as compileReadSet, yt as AUDIT_CATEGORIES, z as appTablePolicyNotes, zt as readPolicies } from "../sql-CWzlxS6f.js";
4
4
  import { X as notNullCheckName, a as DEFAULT_ROLES } from "../workflow-sdk-Bps7tpOv.js";
5
5
  export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, DEFAULT_ROLES, MODULE_ID_TYPES, POLICY_FUNCTIONS, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, auditRegistrations, blockFileState, blockSqlVersion, blockTables, catalogPolicy, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, setBsbTag, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands };