better-supabase 0.58.0 → 0.58.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-base-xVHtNe6Y.js → adapter-base-8PuJ3OoB.js} +1 -1
- package/dist/{api-CCA7xIEu.js → api-D8E2jvT5.js} +1 -1
- package/dist/{app-tables-BS_qkwdc.d.ts → app-tables-IXL0Hzut.d.ts} +1 -1
- package/dist/astro/index.js +3 -3
- package/dist/{block-tables-DCB8f9J4.d.ts → block-tables-DmDyNlJf.d.ts} +1 -1
- package/dist/{build-CfjNUbQF.js → build-6vLM3d_J.js} +1 -1
- package/dist/cli/{add-AGqgANt0.js → add-B77M4v-f.js} +9 -9
- package/dist/cli/{add-PGMtNCB5.js → add-Ctv6m6Up.js} +2 -2
- package/dist/cli/add-CuKMP5du.js +1 -0
- package/dist/cli/{app-table-files-DN6altk8.js → app-table-files-Cj0LsH5w.js} +3 -3
- package/dist/cli/{app-tables-BEuVy9jZ.js → app-tables-Cwgr3GTi.js} +2 -2
- package/dist/cli/{backfill-DQky-bnQ.js → backfill-BN81Sthj.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CvgKphq5.js → blocks-BgKD3-I9.js} +1 -1
- package/dist/cli/{blocks-C4gf-NCB.js → blocks-i6YzVQLK.js} +1 -1
- package/dist/cli/{cache-BL0PV5bp.js → cache-BV7WlzUF.js} +1 -1
- package/dist/cli/{codemod-CfMLArut.js → codemod-Dn8JZhKC.js} +40 -10
- package/dist/cli/{codemod-naming-GlDd60vP.js → codemod-naming-8eUxJ86U.js} +3 -3
- package/dist/cli/{column-renames-OREkqj_i.js → column-renames-rRIoozHD.js} +2 -2
- package/dist/cli/{content-mapper-4kvJb2Zr.js → content-mapper-DBMKbB16.js} +1 -1
- package/dist/cli/{dev-DZPgvArG.js → dev-Bd5y9TWU.js} +3 -3
- package/dist/cli/{doctor-9H-4NFvs.js → doctor-3L2SV9yp.js} +39 -24
- package/dist/cli/{emit-CvADhyWe.js → emit-DS6N1chg.js} +2 -2
- package/dist/cli/{gen-DMIJFtUS.js → gen-CITLb2eh.js} +3 -3
- package/dist/cli/{gen-tasks--SLFTBiL.js → gen-tasks-gpTX1KW5.js} +9 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-PfhcsqFp.js → init-CI-WwnYW.js} +8 -8
- package/dist/cli/{live-D7d0_esL.js → live-TK2YbWEB.js} +2 -2
- package/dist/cli/{mcp-3zkYyT1k.js → mcp-C08VfeGU.js} +2 -2
- package/dist/cli/{memo-backend-u47k0fen.js → memo-backend-Bjl2s-LJ.js} +1 -1
- package/dist/cli/{metadata-DPc2UrU8.js → metadata-VfgaGwPp.js} +4 -4
- package/dist/cli/{migrate-BaOQ2TRl.js → migrate-BHQ0pQ8v.js} +1 -1
- package/dist/cli/{migration-safety-C9VTNSRj.js → migration-safety-CIDbpK_i.js} +1 -1
- package/dist/cli/{module-migration-D3eboFLN.js → module-migration-N79wX1lQ.js} +1 -1
- package/dist/cli/{partition-DWO1HSmo.js → partition-BWiWQ7Wv.js} +1 -1
- package/dist/cli/{powersync-CVA8cmDL.js → powersync-B-K1msIl.js} +3 -3
- package/dist/cli/powersync-C5u6SbHy.js +1 -0
- package/dist/cli/{print-BLFFKbTG.js → print-BMDcJD64.js} +2 -2
- package/dist/cli/{providers-CwsjSukl.js → providers-CjF7HAPk.js} +1 -1
- package/dist/cli/{prune-workflows-Y-8-5f6g.js → prune-workflows-CJ4jrmPf.js} +1 -1
- package/dist/cli/{remove-BJXH69GK.js → remove-JJ4j1UPX.js} +6 -6
- package/dist/cli/{render-cache-D-mQmPU3.js → render-cache-D-L0uCUa.js} +1 -1
- package/dist/cli/{render-DpQu2hex.js → render-t8Y_8QIm.js} +4 -4
- package/dist/cli/{run-DfESdGAS.js → run-BIL3hTIL.js} +30 -30
- package/dist/cli/{run-DBtkS8LK.js → run-C89xFeXI.js} +7 -7
- package/dist/cli/{shared-BOCyL4Jr.js → shared-DJ0--OEH.js} +1 -1
- package/dist/cli/{source-Di9xMdUa.js → source-3EDa7rPw.js} +1 -1
- package/dist/cli/{spec-B8BagkH4.js → spec-D2Xwy1gO.js} +1 -1
- package/dist/cli/{spec-CKLkRyUY.js → spec-DP9TaDgC.js} +2 -2
- package/dist/cli/{sql-layout-DoiFr1yL.js → sql-layout-COn2WEKP.js} +2 -2
- package/dist/cli/{squash-COXoWW5e.js → squash-bcwO1H_W.js} +1 -1
- package/dist/cli/{sync-B4TvyjWJ.js → sync-DqvkQ5MB.js} +4 -4
- package/dist/cli/{upgrade-AyAHttUG.js → upgrade-DmMKImiC.js} +5 -5
- package/dist/cli/{upgrade-MiBhMtCR.js → upgrade-ecIafbIb.js} +5 -5
- package/dist/cli/{version-Coyg0Oh1.js → version-DvQcNR10.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CE_0rQOp.js → composite-6VIY4jUO.js} +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/{context-CTVM2dnp.d.ts → context-DMBXEzQa.d.ts} +7 -1
- package/dist/contract/index.d.ts +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.d.ts +2 -2
- package/dist/create/lite/index.js +2 -2
- package/dist/{define-runtime-D65Va0N-.js → define-runtime-BBF5JHl4.js} +3 -2
- package/dist/{define-runtime-full-BbAQ7sWI.js → define-runtime-full-D6v1ST7M.js} +1 -1
- package/dist/edge/index.js +4 -4
- package/dist/{executor-BL-zAKSs.js → executor-BgjsCon6.js} +1 -1
- package/dist/expo/index.js +3 -3
- package/dist/{extras-BUIrkbFZ.d.ts → extras-C258FsPj.d.ts} +1 -1
- package/dist/{framework-B2sjpHOX.js → framework-DSGTH9p6.js} +1 -1
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.js +3 -3
- package/dist/{index-DYIGj6Qq.d.ts → index-CIVA5x1i.d.ts} +1 -1
- package/dist/{index-C1UeevYS.d.ts → index-DRKAMZV3.d.ts} +1 -1
- package/dist/{json-schema-CjKyPNYA.js → json-schema-DxVQGZbL.js} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-CzzpcpQl.js → mcp-Cl8x5Ffg.js} +3 -3
- package/dist/next/index.js +2 -2
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{ports-_zS9fGcE.js → ports-BXtpOQRz.js} +1 -1
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +3 -3
- package/dist/{project-I5wL8liz.js → project-Ch2b_g1M.js} +1 -1
- package/dist/react-router/index.js +3 -3
- package/dist/server/index.js +4 -4
- package/dist/{server-DwF_O2Lx.js → server-DFxO9Dyz.js} +1 -1
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +4 -4
- package/dist/sql/index.js +1 -1
- package/dist/{sql-C4eWk1yb.js → sql-Cukwmnm3.js} +85 -43
- package/dist/sqlite/index.js +1 -1
- package/dist/sveltekit/index.js +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +2 -2
- package/dist/{types-B7t7smOy.d.ts → types-BidEA6pZ.d.ts} +1 -1
- package/dist/{version-4Go_CIFV.js → version-BAL_8E6V.js} +1 -1
- package/dist/webmcp/index.js +1 -1
- package/package.json +1 -1
- package/dist/cli/add-Ck4nVuBp.js +0 -1
- package/dist/cli/powersync-BQSUM-F9.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as INTEGRATIONS } from "./config-NxPVkM-K.js";
|
|
2
|
-
import { l as schemaModulePath } from "./emit-
|
|
2
|
+
import { l as schemaModulePath } from "./emit-DS6N1chg.js";
|
|
3
3
|
import { dirname, join, posix } from "node:path";
|
|
4
4
|
import { readdir } from "node:fs/promises";
|
|
5
5
|
import { splitStatements } from "better-supabase/sql";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
2
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-COn2WEKP.js";
|
|
3
3
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
4
4
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
@@ -3,7 +3,7 @@ import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js"
|
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
6
|
+
import { n as ident } from "./live-TK2YbWEB.js";
|
|
7
7
|
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-B3Rowfv5.js";
|
|
8
8
|
// src/cli/commands/partition.ts
|
|
9
9
|
const DEFAULT_BATCH = 5e4;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-NnXnawki.js";
|
|
3
3
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
4
|
-
import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-
|
|
4
|
+
import { c as snapshotColumnTypes, i as migrationsDir, n as appSchemaTexts, s as schemasDirOf } from "./sql-layout-COn2WEKP.js";
|
|
5
5
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
6
|
-
import { r as layoutFor } from "./providers-
|
|
7
|
-
import { n as renderBlocksCached } from "./render-cache-D-
|
|
6
|
+
import { r as layoutFor } from "./providers-CjF7HAPk.js";
|
|
7
|
+
import { n as renderBlocksCached } from "./render-cache-D-L0uCUa.js";
|
|
8
8
|
import { d as subjectFromTag } from "./config-NxPVkM-K.js";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { join, resolve } from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as powersyncStreamsCommand } from "./powersync-B-K1msIl.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
2
|
-
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
3
|
-
import { n as layout } from "./providers-
|
|
2
|
+
import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-N79wX1lQ.js";
|
|
3
|
+
import { n as layout } from "./providers-CjF7HAPk.js";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { SQL_MODULES, contractSignature, customContracts, moduleBody, moduleFilePaths } from "better-supabase/sql";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as entitlementsMode, o as moduleKeyProblems, t as accessProviderMode } from "./authorization-CNWhpdKb.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
4
|
-
import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-
|
|
4
|
+
import { a as moduleLayoutFor, s as schemasDirOf } from "./sql-layout-COn2WEKP.js";
|
|
5
5
|
import { moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
|
|
6
6
|
import { FormerPermissionKeyError } from "better-supabase/config";
|
|
7
7
|
// src/cli/sql/providers.ts
|
|
@@ -3,7 +3,7 @@ import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js"
|
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
6
|
+
import { n as ident } from "./live-TK2YbWEB.js";
|
|
7
7
|
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-B3Rowfv5.js";
|
|
8
8
|
// src/cli/commands/prune-workflows.ts
|
|
9
9
|
const TERMINAL = [
|
|
@@ -2,15 +2,15 @@ import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
|
|
4
4
|
import { r as readIfExists, t as display } from "./io-CngfGyMA.js";
|
|
5
|
-
import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-
|
|
5
|
+
import { h as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-B77M4v-f.js";
|
|
6
6
|
import { t as detectProject } from "./detect-CHR-SAmE.js";
|
|
7
|
-
import { l as sqlPlan } from "./sql-layout-
|
|
8
|
-
import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-
|
|
7
|
+
import { l as sqlPlan } from "./sql-layout-COn2WEKP.js";
|
|
8
|
+
import { _ as tidyInline, c as cutRange, i as addBlocksToJson, l as mask, n as isComposite, o as closingIndex, r as addBlocksToConfig, s as configObject, u as properties, v as wiringBlocks } from "./add-Ctv6m6Up.js";
|
|
9
9
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
10
|
-
import { r as layoutFor } from "./providers-
|
|
11
|
-
import { n as guardedRemoval } from "./sync-
|
|
10
|
+
import { r as layoutFor } from "./providers-CjF7HAPk.js";
|
|
11
|
+
import { n as guardedRemoval } from "./sync-DqvkQ5MB.js";
|
|
12
12
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
13
|
-
import { t as blockNames } from "./blocks-
|
|
13
|
+
import { t as blockNames } from "./blocks-BgKD3-I9.js";
|
|
14
14
|
import { existsSync } from "node:fs";
|
|
15
15
|
import { resolve } from "node:path";
|
|
16
16
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
|
-
import { t as VERSION } from "./version-
|
|
2
|
+
import { t as VERSION } from "./version-DvQcNR10.js";
|
|
3
3
|
import { t as generatorHash } from "./generator-hash-BkdtEywR.js";
|
|
4
4
|
import { dirname, resolve } from "node:path";
|
|
5
5
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as importPath } from "./io-CngfGyMA.js";
|
|
2
2
|
import { n as cacheEnabled, t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
3
3
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
4
|
-
import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-
|
|
5
|
-
import { t as VERSION } from "./version-
|
|
6
|
-
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-
|
|
4
|
+
import { o as typesModuleKey, r as cachedTypesModule, s as writeAtomic, t as cachedDatabaseTypes } from "./cache-BV7WlzUF.js";
|
|
5
|
+
import { t as VERSION } from "./version-DvQcNR10.js";
|
|
6
|
+
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-COn2WEKP.js";
|
|
7
7
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
8
|
-
import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-
|
|
8
|
+
import { _ as prop, a as emitModule, b as singular, c as metaPaths, d as buildModel$1, f as generatorModel, g as pascal$2, h as identifier, i as emitMeta, l as schemaModulePath, n as emitFunctions, o as emitRuntime, r as emitFunctionsTypes, s as emitSchemaModule, t as GENERATED_HEADER, u as valueLists, v as q, x as applyCasing, y as runtimeSubpath } from "./emit-DS6N1chg.js";
|
|
9
9
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
10
10
|
import { t as projectionsOf } from "./projection-DlVB5YL-.js";
|
|
11
11
|
import { u as withTableTags } from "./config-NxPVkM-K.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { s as setCacheEnabled } from "./store-DP-nmqBt.js";
|
|
3
3
|
import { n as highlight, r as painter } from "./style-B5-nByxb.js";
|
|
4
|
-
import { t as VERSION } from "./version-
|
|
4
|
+
import { t as VERSION } from "./version-DvQcNR10.js";
|
|
5
5
|
import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-BlYLJPzM.js";
|
|
6
6
|
import { a as isActionRequired, l as toCliError, n as CliError, o as isReport, s as isRetryable } from "./errors-B7i-VGxk.js";
|
|
7
7
|
import { r as splitCommandLine } from "./shell-omi9-T2X.js";
|
|
@@ -21,48 +21,48 @@ const LOADERS = [
|
|
|
21
21
|
["login", () => import("./account-BzhVD6jJ.js").then((m) => m.loginCommand)],
|
|
22
22
|
["logout", () => import("./account-BzhVD6jJ.js").then((m) => m.logoutCommand)],
|
|
23
23
|
["whoami", () => import("./account-BzhVD6jJ.js").then((m) => m.whoamiCommand)],
|
|
24
|
-
["init", () => import("./init-
|
|
25
|
-
["add", () => import("./add-
|
|
26
|
-
["remove", () => import("./remove-
|
|
27
|
-
["upgrade", () => import("./upgrade-
|
|
24
|
+
["init", () => import("./init-CI-WwnYW.js").then((m) => m.initCommand)],
|
|
25
|
+
["add", () => import("./add-CuKMP5du.js").then((m) => m.addCommand)],
|
|
26
|
+
["remove", () => import("./remove-JJ4j1UPX.js").then((m) => m.removeCommand)],
|
|
27
|
+
["upgrade", () => import("./upgrade-ecIafbIb.js").then((m) => m.upgradeCommand)],
|
|
28
28
|
["table", () => import("./table-CcO-m_7t.js").then((m) => m.tableCommand)],
|
|
29
|
-
["migrate schema-first", () => import("./migrate-
|
|
30
|
-
["gen", () => import("./gen-
|
|
31
|
-
["doctor", () => import("./doctor-
|
|
29
|
+
["migrate schema-first", () => import("./migrate-BHQ0pQ8v.js").then((m) => m.migrateSchemaFirstCommand)],
|
|
30
|
+
["gen", () => import("./gen-CITLb2eh.js").then((m) => m.genCommand)],
|
|
31
|
+
["doctor", () => import("./doctor-3L2SV9yp.js").then((m) => m.doctorCommand)],
|
|
32
32
|
["codes", () => import("./codes-DNq30BZg.js").then((m) => m.codesCommand)],
|
|
33
33
|
["db query", () => import("./db-od92zIrO.js").then((m) => m.dbQueryCommand)],
|
|
34
34
|
["db diff", () => import("./db-od92zIrO.js").then((m) => m.dbDiffCommand)],
|
|
35
35
|
["db seed", () => import("./seed-Dlm5jjPn.js").then((m) => m.seedCommand)],
|
|
36
|
-
["db backfill", () => import("./backfill-
|
|
36
|
+
["db backfill", () => import("./backfill-BN81Sthj.js").then((m) => m.dbBackfillCommand)],
|
|
37
37
|
["db verify", () => import("./verify-BFLaU6w3.js").then((m) => m.dbVerifyCommand)],
|
|
38
|
-
["db partition", () => import("./partition-
|
|
39
|
-
["db squash", () => import("./squash-
|
|
40
|
-
["workflows prune", () => import("./prune-workflows-
|
|
41
|
-
["dev", () => import("./dev-
|
|
38
|
+
["db partition", () => import("./partition-BWiWQ7Wv.js").then((m) => m.dbPartitionCommand)],
|
|
39
|
+
["db squash", () => import("./squash-bcwO1H_W.js").then((m) => m.dbSquashCommand)],
|
|
40
|
+
["workflows prune", () => import("./prune-workflows-CJ4jrmPf.js").then((m) => m.workflowsPruneCommand)],
|
|
41
|
+
["dev", () => import("./dev-Bd5y9TWU.js").then((m) => m.devCommand)],
|
|
42
42
|
["dev env", () => import("./env-bItpF97w.js").then((m) => m.envCommand)],
|
|
43
43
|
["dev run", () => import("./run-DbR0NaN_.js").then((m) => m.runCommand)],
|
|
44
44
|
["dev keys", () => import("./keys-f9iMQepr.js").then((m) => m.keysCommand)],
|
|
45
45
|
["dev stack ls", () => import("./stack-BUrc8jsg.js").then((m) => m.stackLsCommand)],
|
|
46
46
|
["dev stack prune", () => import("./stack-BUrc8jsg.js").then((m) => m.stackPruneCommand)],
|
|
47
47
|
["automations list", () => import("./automations-C1yZj3mn.js").then((m) => m.automationsListCommand)],
|
|
48
|
-
["blocks list", () => import("./blocks-
|
|
49
|
-
["blocks view", () => import("./blocks-
|
|
50
|
-
["blocks search", () => import("./blocks-
|
|
51
|
-
["powersync streams", () => import("./powersync-
|
|
52
|
-
["spec emit", () => import("./spec-
|
|
53
|
-
["spec validate", () => import("./spec-
|
|
54
|
-
["mcp", () => import("./mcp-
|
|
48
|
+
["blocks list", () => import("./blocks-i6YzVQLK.js").then((m) => m.blocksListCommand)],
|
|
49
|
+
["blocks view", () => import("./blocks-i6YzVQLK.js").then((m) => m.blocksViewCommand)],
|
|
50
|
+
["blocks search", () => import("./blocks-i6YzVQLK.js").then((m) => m.blocksSearchCommand)],
|
|
51
|
+
["powersync streams", () => import("./powersync-C5u6SbHy.js").then((m) => m.powersyncStreamsCommand)],
|
|
52
|
+
["spec emit", () => import("./spec-D2Xwy1gO.js").then((m) => m.specEmitCommand)],
|
|
53
|
+
["spec validate", () => import("./spec-D2Xwy1gO.js").then((m) => m.specValidateCommand)],
|
|
54
|
+
["mcp", () => import("./mcp-C08VfeGU.js").then((m) => m.mcpCommand)],
|
|
55
55
|
["skills list", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsListCommand)],
|
|
56
56
|
["skills install", () => import("./skills-C4vNmuxw.js").then((m) => m.skillsInstallCommand)],
|
|
57
|
-
["codemod naming", () => import("./codemod-
|
|
58
|
-
["codemod extra-columns", () => import("./codemod-
|
|
59
|
-
["codemod owned-columns", () => import("./codemod-
|
|
60
|
-
["codemod config", () => import("./codemod-
|
|
61
|
-
["codemod table-modules", () => import("./codemod-
|
|
62
|
-
["codemod account-calls", () => import("./codemod-
|
|
63
|
-
["codemod server-imports", () => import("./codemod-
|
|
64
|
-
["codemod generators", () => import("./codemod-
|
|
65
|
-
["codemod read-many", () => import("./codemod-
|
|
57
|
+
["codemod naming", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("naming"))],
|
|
58
|
+
["codemod extra-columns", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("extra-columns"))],
|
|
59
|
+
["codemod owned-columns", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("owned-columns"))],
|
|
60
|
+
["codemod config", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("config"))],
|
|
61
|
+
["codemod table-modules", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("table-modules"))],
|
|
62
|
+
["codemod account-calls", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("account-calls"))],
|
|
63
|
+
["codemod server-imports", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("server-imports"))],
|
|
64
|
+
["codemod generators", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("generators"))],
|
|
65
|
+
["codemod read-many", () => import("./codemod-Dn8JZhKC.js").then((m) => m.codemodCommand("read-many"))],
|
|
66
66
|
["completion", () => import("./completion-Ct0kXYpV.js").then((m) => m.completionCommand)],
|
|
67
67
|
["cache purge", () => import("./cache-DwdJCb29.js").then((m) => m.cachePurgeCommand)],
|
|
68
68
|
["config", () => import("./config-J8LaJ0Nl.js").then((m) => m.configCommand)]
|
|
@@ -746,7 +746,7 @@ function cliFromTree(init, extra = {}) {
|
|
|
746
746
|
digest: globals["effects-digest"]
|
|
747
747
|
});
|
|
748
748
|
};
|
|
749
|
-
await import("./memo-backend-
|
|
749
|
+
await import("./memo-backend-Bjl2s-LJ.js").then(({ installMemo }) => installMemo(config.root));
|
|
750
750
|
context = {
|
|
751
751
|
cwd,
|
|
752
752
|
config,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
2
2
|
import { a as entitlementsMode, c as unsafeKey, i as entitlementRequirements, n as accessRequirements, o as moduleKeyProblems, s as providerLabel } from "./authorization-CNWhpdKb.js";
|
|
3
|
-
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-
|
|
4
|
-
import { s as schemaStampPath } from "./content-mapper-
|
|
3
|
+
import { B as typegenVersionNotice, H as installedVersion, L as stabilizeMetadata, N as oxfmtInstalled, V as declaredPeers, W as satisfies, d as loadSnapshot, i as migrationsDir, z as typegenVersion } from "./sql-layout-COn2WEKP.js";
|
|
4
|
+
import { s as schemaStampPath } from "./content-mapper-DBMKbB16.js";
|
|
5
5
|
import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-NnXnawki.js";
|
|
6
6
|
import { a as sameText, t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
7
|
+
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-Cwgr3GTi.js";
|
|
8
8
|
import { r as errorText } from "./errors-B7i-VGxk.js";
|
|
9
|
-
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-
|
|
10
|
-
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-
|
|
9
|
+
import { c as qualified, l as tableObject, r as exposed, s as policyObject, t as catalogOf } from "./shared-DJ0--OEH.js";
|
|
10
|
+
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-BV7WlzUF.js";
|
|
11
11
|
import { t as compiledReadSets } from "./read-sets-77o7SxpK.js";
|
|
12
|
-
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
12
|
+
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-N79wX1lQ.js";
|
|
13
13
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
14
|
-
import { n as render } from "./render-
|
|
14
|
+
import { n as render } from "./render-t8Y_8QIm.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
17
17
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-DvQcNR10.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as redactUrl } from "./redact--zOGdWzo.js";
|
|
4
4
|
import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-DP9TaDgC.js";
|
|
@@ -4,8 +4,8 @@ import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
|
4
4
|
import { i as failedResult, n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
6
6
|
import { t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { s as writeAtomic } from "./cache-
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
7
|
+
import { s as writeAtomic } from "./cache-BV7WlzUF.js";
|
|
8
|
+
import { t as VERSION } from "./version-DvQcNR10.js";
|
|
9
9
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
10
10
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
11
11
|
import { t as loadTopics } from "./topics-CqhOV1S0.js";
|
|
@@ -4,8 +4,8 @@ import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, n as declarative
|
|
|
4
4
|
import { n as databaseUrl, p as accessToken } from "./config-NxPVkM-K.js";
|
|
5
5
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
6
6
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
7
|
-
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-
|
|
8
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
7
|
+
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-BV7WlzUF.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-3EDa7rPw.js";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { dirname, join, posix, relative, resolve, sep } from "node:path";
|
|
11
11
|
import { glob, readFile, readdir } from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
4
|
-
import { i as migrationsDir } from "./sql-layout-
|
|
4
|
+
import { i as migrationsDir } from "./sql-layout-COn2WEKP.js";
|
|
5
5
|
import { r as migrationStamp } from "./migration-names-7zAdXfcd.js";
|
|
6
6
|
import { resolve } from "node:path";
|
|
7
7
|
import { readFile, readdir, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-COn2WEKP.js";
|
|
4
4
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as loadTopics } from "./topics-CqhOV1S0.js";
|
|
6
|
-
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
6
|
+
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-N79wX1lQ.js";
|
|
7
7
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-D-
|
|
8
|
+
import { r as layoutFor } from "./providers-CjF7HAPk.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-D-L0uCUa.js";
|
|
10
10
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
|
|
11
11
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
12
12
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-COn2WEKP.js";
|
|
4
4
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
5
|
-
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-
|
|
5
|
+
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-DqvkQ5MB.js";
|
|
6
6
|
import { n as migrationFile } from "./migration-names-7zAdXfcd.js";
|
|
7
|
-
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-D-
|
|
7
|
+
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-N79wX1lQ.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-CjF7HAPk.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-D-L0uCUa.js";
|
|
10
10
|
import { resolve } from "node:path";
|
|
11
11
|
import { readFile, readdir } from "node:fs/promises";
|
|
12
12
|
import { PRELUDE_FUNCTIONS, PRELUDE_MODULE, SQL_MODULES, buildModel, conflicts, duplicatePolicies, entityRenamePlan, moduleFileVersion, moduleTopics, sameBlockFile, upgradePlan } from "better-supabase/sql";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
|
-
import { t as shadowedBlockColumns } from "./column-renames-
|
|
3
|
-
import { n as appSchemaTexts } from "./sql-layout-
|
|
2
|
+
import { t as shadowedBlockColumns } from "./column-renames-rRIoozHD.js";
|
|
3
|
+
import { n as appSchemaTexts } from "./sql-layout-COn2WEKP.js";
|
|
4
4
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
5
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
6
|
-
import { r as renderStats } from "./render-cache-D-
|
|
7
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { o as dataMigration, t as syncModules } from "./sync-DqvkQ5MB.js";
|
|
6
|
+
import { r as renderStats } from "./render-cache-D-L0uCUa.js";
|
|
7
|
+
import { t as upgrade } from "./upgrade-DmMKImiC.js";
|
|
8
8
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
9
9
|
// src/cli/commands/upgrade.ts
|
|
10
10
|
const UPGRADE_ARGS = {
|
package/dist/client/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as parsePublicEnv } from "../public-CCEJuurM.js";
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-BXtpOQRz.js";
|
|
3
3
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D7fPUY4P.js";
|
|
4
4
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { i as isProblem, r as fromProblem } from "../problem-BwplIuhI.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as provideConnectionRuntime } from "../../define-runtime-full-
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-
|
|
1
|
+
import { t as provideConnectionRuntime } from "../../define-runtime-full-D6v1ST7M.js";
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-BXtpOQRz.js";
|
|
3
3
|
import { i as signInWithOAuthBrowser, n as handleAuthDeepLink, r as linkParams, t as startNativeAuthzRefresh } from "../../authz-refresh-CNV_LFEh.js";
|
|
4
4
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../../authz-topic-D7fPUY4P.js";
|
|
5
5
|
import { t as expoPushToken } from "../../push-token-CO28k46S.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
|
|
2
|
-
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-
|
|
2
|
+
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-DFxO9Dyz.js";
|
|
3
3
|
import { c as serverCore, i as withSession } from "./sessions-Dedk1ubX.js";
|
|
4
4
|
import { o as problemResponse } from "./problem-BwplIuhI.js";
|
|
5
5
|
import { i as guard, n as defaultExpose } from "./respond-DLvLJwwN.js";
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as Casing } from "../types-BJ4cg51a.js";
|
|
2
2
|
import { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf } from "../blocks-RVd7m590.js";
|
|
3
3
|
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-kWv1wYf7.js";
|
|
4
|
-
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-
|
|
4
|
+
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-DMBXEzQa.js";
|
|
5
5
|
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-Dq47C4vf.js";
|
|
6
6
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEmbedding, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFixtureRole, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationPersona, type AuthorizationPlatformRoles, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, FormerPermissionKeyError, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorCapability, type GeneratorColumn, type GeneratorConfigView, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorImports, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorModule, type GeneratorNoun, type GeneratorTable, type HooksFramework, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaSource, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type OwnTablePolicies, PERMISSION_LEVEL_SEPARATOR, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type VectorDistance, type VectorSearchConfig, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
|
@@ -1562,7 +1562,7 @@ interface DeclaredForeignKey {
|
|
|
1562
1562
|
*/
|
|
1563
1563
|
declare function sameTenantLayout(files: readonly {
|
|
1564
1564
|
readonly text: string;
|
|
1565
|
-
}[], schemas: readonly string[]): Required<Pick<BlockSqlLayout, "foreignKeys" | "declaredColumns" | "appTriggerColumns">> & {
|
|
1565
|
+
}[], schemas: readonly string[]): Required<Pick<BlockSqlLayout, "foreignKeys" | "declaredColumns" | "notNullColumns" | "appTriggerColumns">> & {
|
|
1566
1566
|
/**
|
|
1567
1567
|
* The function body of each app trigger, `schema.table` to bodies (doctor
|
|
1568
1568
|
* BS398).
|
|
@@ -4186,6 +4186,12 @@ interface BlockSqlLayout {
|
|
|
4186
4186
|
* `sameTenant.auto`.
|
|
4187
4187
|
*/
|
|
4188
4188
|
readonly declaredColumns?: Readonly<Record<string, readonly string[]>>;
|
|
4189
|
+
/**
|
|
4190
|
+
* Each declared table's not-null columns, `schema.table` to names. A derived
|
|
4191
|
+
* `sameTenant` entry whose referenced tenant column may be null passes rows
|
|
4192
|
+
* with no tenant (`shared`).
|
|
4193
|
+
*/
|
|
4194
|
+
readonly notNullColumns?: Readonly<Record<string, readonly string[]>>;
|
|
4189
4195
|
/**
|
|
4190
4196
|
* The columns the app's own triggers read or write, `schema.table` to names.
|
|
4191
4197
|
* `sameTenant.auto` emits nothing for a column an app trigger already guards
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { r as CredentialProvider } from "../provider-r2RjlARm.js";
|
|
|
7
7
|
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-bkm44ycq.js";
|
|
8
8
|
import { g as SessionSnapshot } from "../resolve-Chhtdk4M.js";
|
|
9
9
|
import { n as ApprovalOptions } from "../server-types-C8zErBy9.js";
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-DmDyNlJf.js";
|
|
11
11
|
import { a as BootstrapPermissionsWire, i as BootstrapPermissionsFull, n as BootstrapPermissions, r as BootstrapPermissionsCompact } from "../bootstrap-permissions-hiWjQ2N7.js";
|
|
12
12
|
/**
|
|
13
13
|
* The types an authorization library implements or reads, in one entry with no
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-
|
|
3
|
-
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-
|
|
2
|
+
import { Kr as APP_ON_DELETE_ACTIONS, Nn as PresetSpec, Qr as AppColumnType, Qt as PresetName, Yr as AppColumnAccess, ei as AppOnDeleteAction, m as BlockSqlAccessProvider, pt as PresetInput, rn as CreateDesign } from "../context-DMBXEzQa.js";
|
|
3
|
+
import { $ as keyColumnsOf, A as renameTable, B as eventsColumnsEdited, C as freeTableName, Ct as Issue, D as moveTables, E as isEmptyDesign, Et as IssueSource, F as updateTable, G as SchemaComputed, H as subjectColumnsEdited, I as userConnection, J as SchemaOptions, K as SchemaData, L as withDesign, M as setTableId, N as singular, O as referenceFrom, P as tidy, Q as SchemaTarget, R as AppEvents, S as editTable, St as tableWithoutComputed, T as isAppTable, Tt as IssueSeverity, U as subjectTypeError, V as subjectColumns, W as SchemaColumn, X as SchemaSource, Y as SchemaSoftRef, Z as SchemaTable, _ as connect, _t as prunedComputed, a as AppScope, at as AppRollup, b as deleteTable, bt as rollupSources, c as ConnectResult, ct as ROLLUP_AGGREGATES, d as EMPTY_DESIGN, dt as computedRows, et as parseSchema, f as NamedDesign, ft as computedTableRenamed, g as columnError, gt as lookupSources, h as appTableId, ht as isRollupAggregate, i as AppReference, it as AppLookup, j as setColumn, k as renameColumn, l as Connection, lt as RollupAggregate, m as addTable, mt as fittedRollup, n as APP_MODULE, nt as tableStatements, o as AppTable, ot as ComputedRow, p as TablePatch, pt as filterColumns, q as SchemaForeignKey, r as AppColumn, rt as tenantColumnOf, s as AppTableId, st as DraftRollup, t as PresetMigrationFile, tt as schemaRelations, u as Design, ut as computedColumnRenamed, v as defaultError, vt as readableColumns, w as identifierError, wt as IssueCode, x as duplicateTable, xt as tableWithComputed, y as deleteColumn, yt as rollupColumns, z as AppSubject } from "../types-BidEA6pZ.js";
|
|
4
4
|
import { kr as Preset } from "../define-block-kWv1wYf7.js";
|
|
5
5
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
6
|
-
import { b as DesignChange } from "../index-
|
|
6
|
+
import { b as DesignChange } from "../index-CIVA5x1i.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|
package/dist/create/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as APP_ON_DELETE_ACTIONS } from "../instances-07Lopbd1.js";
|
|
2
|
-
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-
|
|
2
|
+
import { $ as eventsColumnsEdited, A as renameColumn, B as computedColumnRenamed, C as editTable, D as isEmptyDesign, E as isAppTable, F as tidy, G as isRollupAggregate, H as computedTableRenamed, I as updateTable, J as readableColumns, K as lookupSources, L as userConnection, M as setColumn, N as setTableId, O as moveTables, P as singular, Q as tableWithoutComputed, R as withDesign, S as duplicateTable, T as identifierError, U as filterColumns, V as computedRows, W as fittedRollup, X as rollupSources, Y as rollupColumns, Z as tableWithComputed, _ as columnError, a as parseSchema, at as encryptable, b as deleteColumn, c as tenantColumnOf, ct as optionError, d as previewFiles, et as subjectColumns, f as designIssues, g as appTableId, h as addTable, i as keyColumnsOf, it as columnLabel, j as renameTable, k as referenceFrom, l as schemaData, lt as takesBounds, m as EMPTY_DESIGN, n as loadProject, nt as subjectTypeError, o as schemaRelations, ot as fitted, p as APP_MODULE, q as prunedComputed, r as checkDesign, rt as boundError, s as tableStatements, st as lockedWithoutDefault, t as checkProject, tt as subjectColumnsEdited, u as previewAccessProvider, ut as withBounds, v as connect, w as freeTableName, x as deleteTable, y as defaultError, z as ROLLUP_AGGREGATES } from "../project-Ch2b_g1M.js";
|
|
3
3
|
import { m as diffDesigns } from "../preset-HzYIrxUS.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { pt as PresetInput, rn as CreateDesign } from "../../context-
|
|
1
|
+
import { Ct as Issue, t as PresetMigrationFile, u as Design } from "../../types-BidEA6pZ.js";
|
|
2
|
+
import { pt as PresetInput, rn as CreateDesign } from "../../context-DMBXEzQa.js";
|
|
3
3
|
import { st as SchemaMeta } from "../../types-BJ4cg51a.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
5
|
import { c as AuthorizationProvider } from "../../authorization-Dq47C4vf.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-sBnEajcK.js";
|
|
2
2
|
import { b as appDefaultError } from "../../instances-07Lopbd1.js";
|
|
3
|
-
import { t as defineApi } from "../../api-
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
3
|
+
import { t as defineApi } from "../../api-D8E2jvT5.js";
|
|
4
|
+
import { n as loadProject } from "../../project-Ch2b_g1M.js";
|
|
5
5
|
import { c as resolvePersonas } from "../../config-DzPViWQU.js";
|
|
6
6
|
import { i as fillTemplate } from "../../access-sql-Dvl7BRy0.js";
|
|
7
7
|
// src/create/lite/apply.ts
|
|
@@ -1375,9 +1375,10 @@ var Connector = class {
|
|
|
1375
1375
|
return repository;
|
|
1376
1376
|
};
|
|
1377
1377
|
this.#build = build;
|
|
1378
|
-
|
|
1378
|
+
const keys = /* @__PURE__ */ new Set([...Object.keys(this.meta.tables), ...Object.keys(this.meta.tableLoaders ?? {})]);
|
|
1379
|
+
for (const key of keys) this.#defineTable(tables, key);
|
|
1379
1380
|
const { blocks, temporal } = this.options;
|
|
1380
|
-
this.#tables = blocks === void 0 ? tables : blocksPrototype(blocks, tables,
|
|
1381
|
+
this.#tables = blocks === void 0 ? tables : blocksPrototype(blocks, tables, [...keys], this.events, temporal);
|
|
1381
1382
|
return this.#tables;
|
|
1382
1383
|
}
|
|
1383
1384
|
#build;
|
|
@@ -6,7 +6,7 @@ import { t as builderFor } from "./build-ByfDs2ru.js";
|
|
|
6
6
|
import { t as decodeRows } from "./codec-CqLbYQ6z.js";
|
|
7
7
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
8
8
|
import { t as vectorLiteral } from "./search-DtbkD0h0.js";
|
|
9
|
-
import { a as runSpec, i as NO_PLUGINS, n as decodeRpcResult, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-
|
|
9
|
+
import { a as runSpec, i as NO_PLUGINS, n as decodeRpcResult, r as rpcFunction, t as provideLeanConnectionRuntime } from "./define-runtime-BBF5JHl4.js";
|
|
10
10
|
import { t as EventHub } from "./events-Da482tiF.js";
|
|
11
11
|
import { f as isFunctionSpec, n as checkParams, o as isReadSet, p as isQuerySpec, t as bindParams } from "./read-set-DsIurGUE.js";
|
|
12
12
|
import { n as StatsRecorder, r as recordStats } from "./stats-D2TN2c3B.js";
|
package/dist/edge/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
3
3
|
import { a as ok, r as err } from "../result-DijoXEFG.js";
|
|
4
|
-
import { t as adapterBase } from "../adapter-base-
|
|
4
|
+
import { t as adapterBase } from "../adapter-base-8PuJ3OoB.js";
|
|
5
5
|
import { _ as withFlush, g as unexpectedResponse } from "../sessions-Dedk1ubX.js";
|
|
6
|
-
import { t as withBetterSupabase } from "../composite-
|
|
6
|
+
import { t as withBetterSupabase } from "../composite-6VIY4jUO.js";
|
|
7
7
|
import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-DrDFLMNn.js";
|
|
8
8
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
9
|
-
import { t as EVERY_CALLER } from "../framework-
|
|
9
|
+
import { t as EVERY_CALLER } from "../framework-DSGTH9p6.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { n as resourceRouter } from "../resources-CM9wwyfa.js";
|
|
12
12
|
import { o as respond, s as settle } from "../respond-DLvLJwwN.js";
|
|
13
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
13
|
+
import { n as extendServer, t as createServer } from "../server-DFxO9Dyz.js";
|
|
14
14
|
import { i as defineAction } from "../resource-BxSmk1R1.js";
|
|
15
15
|
import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
|
|
16
16
|
import { n as validate } from "../standard-DM4THQrL.js";
|
|
@@ -6,7 +6,7 @@ import { p as isQuerySpec } from "./read-set-DsIurGUE.js";
|
|
|
6
6
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
7
7
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
8
8
|
import { n as whereClause, t as integer } from "./shared-BRFaCh8n.js";
|
|
9
|
-
import { t as provideConnectionRuntime } from "./define-runtime-full-
|
|
9
|
+
import { t as provideConnectionRuntime } from "./define-runtime-full-D6v1ST7M.js";
|
|
10
10
|
// src/compile/sqlite.ts
|
|
11
11
|
/**
|
|
12
12
|
* The operation needs something the SQLite dialect can't express: full-text
|