better-supabase 0.58.2 → 0.58.3
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-8PuJ3OoB.js → adapter-base-BbnpIsy4.js} +1 -1
- package/dist/{api-D8E2jvT5.js → api-DsFkhsYI.js} +1 -1
- package/dist/astro/index.js +3 -3
- package/dist/blocks/crm/index.js +1 -1
- package/dist/blocks/index.js +2 -2
- package/dist/{build-6vLM3d_J.js → build-Cb9yLxtS.js} +1 -1
- package/dist/cli/{add-Ctv6m6Up.js → add-BQZyQh4f.js} +2 -2
- package/dist/cli/add-DHvo6zQZ.js +1 -0
- package/dist/cli/{add-B77M4v-f.js → add-dbBQf6Vy.js} +9 -9
- package/dist/cli/{app-table-files-Cj0LsH5w.js → app-table-files-CITEmvRS.js} +3 -3
- package/dist/cli/{app-tables-Cwgr3GTi.js → app-tables-BBqu3dow.js} +2 -2
- package/dist/cli/{backfill-BN81Sthj.js → backfill-bBk3QjfK.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-i6YzVQLK.js → blocks-CsQNweG8.js} +1 -1
- package/dist/cli/{blocks-BgKD3-I9.js → blocks-D-DV2aCE.js} +1 -1
- package/dist/cli/{cache-BV7WlzUF.js → cache-sR8AQqSV.js} +1 -1
- package/dist/cli/{codemod-Dn8JZhKC.js → codemod-BkPcyPnF.js} +4 -4
- package/dist/cli/{codemod-naming-8eUxJ86U.js → codemod-naming-BLoVSmVF.js} +1 -1
- package/dist/cli/{column-renames-rRIoozHD.js → column-renames-brM-D_th.js} +2 -2
- package/dist/cli/{content-mapper-DBMKbB16.js → content-mapper-DMi2HOKi.js} +1 -1
- package/dist/cli/{dev-Bd5y9TWU.js → dev-ClH-7fB0.js} +3 -3
- package/dist/cli/{doctor-3L2SV9yp.js → doctor-C_BEuEGg.js} +16 -16
- package/dist/cli/{emit-DS6N1chg.js → emit-CTzFdffA.js} +2 -2
- package/dist/cli/{gen-CITLb2eh.js → gen-RKf7q3L5.js} +3 -3
- package/dist/cli/{gen-tasks-gpTX1KW5.js → gen-tasks-DmDvgVBV.js} +9 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-CI-WwnYW.js → init-B_CCByIh.js} +8 -8
- package/dist/cli/{live-TK2YbWEB.js → live-DjjMID3V.js} +2 -2
- package/dist/cli/{mcp-C08VfeGU.js → mcp-BYwrZHp1.js} +2 -2
- package/dist/cli/{memo-backend-Bjl2s-LJ.js → memo-backend-BIHqP1uE.js} +1 -1
- package/dist/cli/{metadata-VfgaGwPp.js → metadata-DCtLUYqR.js} +4 -4
- package/dist/cli/{migrate-BHQ0pQ8v.js → migrate-Bq6CUPbE.js} +1 -1
- package/dist/cli/{migration-safety-CIDbpK_i.js → migration-safety-BvJ-JK5n.js} +1 -1
- package/dist/cli/{module-migration-N79wX1lQ.js → module-migration-Dv6VV1om.js} +1 -1
- package/dist/cli/{partition-BWiWQ7Wv.js → partition-C4g7WAwh.js} +1 -1
- package/dist/cli/{powersync-B-K1msIl.js → powersync-1HMiZhFF.js} +3 -3
- package/dist/cli/powersync-DLUNuNl4.js +1 -0
- package/dist/cli/{print-BMDcJD64.js → print-D9biMrfv.js} +2 -2
- package/dist/cli/{providers-CjF7HAPk.js → providers-C5fw9XC_.js} +1 -1
- package/dist/cli/{prune-workflows-CJ4jrmPf.js → prune-workflows-DxpPCevB.js} +1 -1
- package/dist/cli/{remove-JJ4j1UPX.js → remove-CyhSdPkK.js} +6 -6
- package/dist/cli/{render-t8Y_8QIm.js → render-DOz25g5T.js} +4 -4
- package/dist/cli/{render-cache-D-L0uCUa.js → render-cache-CInSNFhV.js} +1 -1
- package/dist/cli/{run-C89xFeXI.js → run-0bMsZ1VV.js} +7 -7
- package/dist/cli/{run-BIL3hTIL.js → run-DVdkD1MI.js} +30 -30
- package/dist/cli/{shared-DJ0--OEH.js → shared-D2i8_u-U.js} +1 -1
- package/dist/cli/{source-3EDa7rPw.js → source-BGVOuWXq.js} +1 -1
- package/dist/cli/{spec-DP9TaDgC.js → spec-COotILIk.js} +2 -2
- package/dist/cli/{spec-D2Xwy1gO.js → spec-C_JKo_dP.js} +1 -1
- package/dist/cli/{sql-layout-COn2WEKP.js → sql-layout-D8dIzdy9.js} +2 -2
- package/dist/cli/{squash-bcwO1H_W.js → squash-xCseaSP1.js} +1 -1
- package/dist/cli/{sync-DqvkQ5MB.js → sync-Ceqa-3R6.js} +4 -4
- package/dist/cli/{upgrade-DmMKImiC.js → upgrade-CUNKALDw.js} +5 -5
- package/dist/cli/{upgrade-ecIafbIb.js → upgrade-DiMHauEU.js} +5 -5
- package/dist/cli/{version-DvQcNR10.js → version-C7imaHag.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.js +2 -2
- package/dist/{codec-CqLbYQ6z.js → codec-Cjquuv8M.js} +1 -1
- package/dist/{composite-6VIY4jUO.js → composite-DYAp3Znr.js} +1 -1
- package/dist/{composite-reads-CbPYsvlz.js → composite-reads-BJeDe1yV.js} +1 -1
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.js +2 -2
- package/dist/{define-runtime-BBF5JHl4.js → define-runtime-Dv8OYnKW.js} +59 -6
- package/dist/{define-runtime-full-D6v1ST7M.js → define-runtime-full-Bh5c_01f.js} +3 -3
- package/dist/edge/index.js +4 -4
- package/dist/{executor-BgjsCon6.js → executor-B0nTn-4Q.js} +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{framework-DSGTH9p6.js → framework-C9UiMaOq.js} +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{json-schema-DxVQGZbL.js → json-schema-CgwH39-G.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-Cl8x5Ffg.js → mcp-CoJbu0Hk.js} +3 -3
- package/dist/next/index.js +3 -3
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{ports-BXtpOQRz.js → ports-DfDzwMCR.js} +2 -2
- package/dist/powersync/index.js +1 -1
- package/dist/{project-Ch2b_g1M.js → project-CxoixIpG.js} +1 -1
- package/dist/react-router/index.js +3 -3
- package/dist/{read-set-DsIurGUE.js → read-set-BptYceHc.js} +1 -1
- package/dist/server/index.js +4 -4
- package/dist/{server-DFxO9Dyz.js → server-CqRpnOo0.js} +2 -2
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.js +1 -1
- package/dist/{sql-Cukwmnm3.js → sql-ZLYXNvXw.js} +16 -4
- 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.js +3 -3
- package/dist/{version-BAL_8E6V.js → version-DRVVrk-u.js} +1 -1
- package/dist/webmcp/index.js +1 -1
- package/package.json +1 -1
- package/dist/cli/add-CuKMP5du.js +0 -1
- package/dist/cli/powersync-C5u6SbHy.js +0 -1
|
@@ -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-sR8AQqSV.js";
|
|
5
|
+
import { t as VERSION } from "./version-C7imaHag.js";
|
|
6
|
+
import { M as generateDatabaseTypes, N as oxfmtInstalled, n as appSchemaTexts, t as appColumnsFor, x as apiTypeSchemas } from "./sql-layout-D8dIzdy9.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-CTzFdffA.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,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-C7imaHag.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,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-D8dIzdy9.js";
|
|
4
|
+
import { s as schemaStampPath } from "./content-mapper-DMi2HOKi.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-BBqu3dow.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-D2i8_u-U.js";
|
|
10
|
+
import { a as storeTypesModule, o as typesModuleKey, s as writeAtomic } from "./cache-sR8AQqSV.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-Dv6VV1om.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-DOz25g5T.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,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-C7imaHag.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-B_CCByIh.js").then((m) => m.initCommand)],
|
|
25
|
+
["add", () => import("./add-DHvo6zQZ.js").then((m) => m.addCommand)],
|
|
26
|
+
["remove", () => import("./remove-CyhSdPkK.js").then((m) => m.removeCommand)],
|
|
27
|
+
["upgrade", () => import("./upgrade-DiMHauEU.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-Bq6CUPbE.js").then((m) => m.migrateSchemaFirstCommand)],
|
|
30
|
+
["gen", () => import("./gen-RKf7q3L5.js").then((m) => m.genCommand)],
|
|
31
|
+
["doctor", () => import("./doctor-C_BEuEGg.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-bBk3QjfK.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-C4g7WAwh.js").then((m) => m.dbPartitionCommand)],
|
|
39
|
+
["db squash", () => import("./squash-xCseaSP1.js").then((m) => m.dbSquashCommand)],
|
|
40
|
+
["workflows prune", () => import("./prune-workflows-DxpPCevB.js").then((m) => m.workflowsPruneCommand)],
|
|
41
|
+
["dev", () => import("./dev-ClH-7fB0.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-CsQNweG8.js").then((m) => m.blocksListCommand)],
|
|
49
|
+
["blocks view", () => import("./blocks-CsQNweG8.js").then((m) => m.blocksViewCommand)],
|
|
50
|
+
["blocks search", () => import("./blocks-CsQNweG8.js").then((m) => m.blocksSearchCommand)],
|
|
51
|
+
["powersync streams", () => import("./powersync-DLUNuNl4.js").then((m) => m.powersyncStreamsCommand)],
|
|
52
|
+
["spec emit", () => import("./spec-C_JKo_dP.js").then((m) => m.specEmitCommand)],
|
|
53
|
+
["spec validate", () => import("./spec-C_JKo_dP.js").then((m) => m.specValidateCommand)],
|
|
54
|
+
["mcp", () => import("./mcp-BYwrZHp1.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-BkPcyPnF.js").then((m) => m.codemodCommand("naming"))],
|
|
58
|
+
["codemod extra-columns", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("extra-columns"))],
|
|
59
|
+
["codemod owned-columns", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("owned-columns"))],
|
|
60
|
+
["codemod config", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("config"))],
|
|
61
|
+
["codemod table-modules", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("table-modules"))],
|
|
62
|
+
["codemod account-calls", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("account-calls"))],
|
|
63
|
+
["codemod server-imports", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("server-imports"))],
|
|
64
|
+
["codemod generators", () => import("./codemod-BkPcyPnF.js").then((m) => m.codemodCommand("generators"))],
|
|
65
|
+
["codemod read-many", () => import("./codemod-BkPcyPnF.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-BIHqP1uE.js").then(({ installMemo }) => installMemo(config.root));
|
|
750
750
|
context = {
|
|
751
751
|
cwd,
|
|
752
752
|
config,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-C7imaHag.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";
|
|
@@ -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-sR8AQqSV.js";
|
|
8
|
+
import { t as VERSION } from "./version-C7imaHag.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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-COotILIk.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-sR8AQqSV.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-BGVOuWXq.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-D8dIzdy9.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-D8dIzdy9.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-Dv6VV1om.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-
|
|
8
|
+
import { r as layoutFor } from "./providers-C5fw9XC_.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-CInSNFhV.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-D8dIzdy9.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-Ceqa-3R6.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-
|
|
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-Dv6VV1om.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-C5fw9XC_.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-CInSNFhV.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-brM-D_th.js";
|
|
3
|
+
import { n as appSchemaTexts } from "./sql-layout-D8dIzdy9.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-
|
|
7
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { o as dataMigration, t as syncModules } from "./sync-Ceqa-3R6.js";
|
|
6
|
+
import { r as renderStats } from "./render-cache-CInSNFhV.js";
|
|
7
|
+
import { t as upgrade } from "./upgrade-CUNKALDw.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-DfDzwMCR.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-Bh5c_01f.js";
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-DfDzwMCR.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";
|
|
@@ -8,7 +8,7 @@ import { f as withMaxAffected, l as mapDbError, n as dbError } from "./errors-DK
|
|
|
8
8
|
import { t as lookupOf } from "./lookup-upE-e1zw.js";
|
|
9
9
|
import { c as optionalTemporal, d as temporalText, l as provideTemporal, u as providedTemporal } from "./temporal-VgABWvpY.js";
|
|
10
10
|
import { a as encodeArguments, n as decodeScalar, r as decodeValue, t as dateText } from "./wire-DDdE6nKn.js";
|
|
11
|
-
import { d as createSpecs, m as specTables } from "./read-set-
|
|
11
|
+
import { d as createSpecs, m as specTables } from "./read-set-BptYceHc.js";
|
|
12
12
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
13
13
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
14
14
|
import { o as toBase64Url, t as base64ToText } from "./base64-CEBz6-Jj.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-CqRpnOo0.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/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-CxoixIpG.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,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-DsFkhsYI.js";
|
|
4
|
+
import { n as loadProject } from "../../project-CxoixIpG.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
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as invalidRequest, o as installFunctions, r as addLazyTable, t as builderFor } from "./build-ByfDs2ru.js";
|
|
2
2
|
import { a as encodeArguments, o as encodeValue, r as decodeValue } from "./wire-DDdE6nKn.js";
|
|
3
|
-
import { a as encodeBoundCursor, d as deadline, f as invalidTuning, h as decodeRpcReturn, l as postgrestExecutor, n as needsDecoding, p as tuningOf, r as decodeBoundCursor, s as sortKey, t as decodeRows, u as NO_TUNING, y as installConnectionRuntime } from "./codec-
|
|
3
|
+
import { a as encodeBoundCursor, d as deadline, f as invalidTuning, h as decodeRpcReturn, l as postgrestExecutor, n as needsDecoding, p as tuningOf, r as decodeBoundCursor, s as sortKey, t as decodeRows, u as NO_TUNING, y as installConnectionRuntime } from "./codec-Cjquuv8M.js";
|
|
4
4
|
import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
5
5
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
6
6
|
import { t as instanceProperty } from "./instance-property-BlH7QSDl.js";
|
|
7
7
|
import { a as ok, c as withErrorMapper, r as err, s as toDbError, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
8
8
|
import { t as isStorageApi } from "./storage-api-COQr77e8.js";
|
|
9
9
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
10
|
-
import {
|
|
10
|
+
import { r as isPlainObject, t as cloneValue } from "./clone-H_gCsL29.js";
|
|
11
|
+
import { p as isQuerySpec, r as containsPlaceholder } from "./read-set-BptYceHc.js";
|
|
11
12
|
import { n as errorEvent } from "./events-Da482tiF.js";
|
|
12
13
|
import { t as simplify } from "./simplify-BzThKn5b.js";
|
|
13
14
|
import { i as or, n as column, r as not, t as and } from "./types-DnrJ_crV.js";
|
|
14
15
|
import { t as lookupOf } from "./lookup-upE-e1zw.js";
|
|
15
|
-
import { r as isPlainObject, t as cloneValue } from "./clone-H_gCsL29.js";
|
|
16
16
|
import { n as validate } from "./standard-DM4THQrL.js";
|
|
17
17
|
import { s as nowInstant } from "./temporal-VgABWvpY.js";
|
|
18
18
|
// src/core/define-lazy.ts
|
|
@@ -53,6 +53,55 @@ function lazyRepository(meta, state, key, load, build, register) {
|
|
|
53
53
|
});
|
|
54
54
|
} });
|
|
55
55
|
}
|
|
56
|
+
/** Every object key and string array item inside `value`. */
|
|
57
|
+
function argumentNames(value, names) {
|
|
58
|
+
if (Array.isArray(value)) for (const item of value) if (typeof item === "string") names.add(item);
|
|
59
|
+
else argumentNames(item, names);
|
|
60
|
+
else if (isPlainObject(value)) for (const [key, item] of Object.entries(value)) {
|
|
61
|
+
names.add(key);
|
|
62
|
+
argumentNames(item, names);
|
|
63
|
+
}
|
|
64
|
+
return names;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Keys of the unloaded tables that relations named in `names` reach from
|
|
68
|
+
* `table`, following loaded tables only.
|
|
69
|
+
*/
|
|
70
|
+
function missingTargets(meta, table, names) {
|
|
71
|
+
const missing = [];
|
|
72
|
+
const seen = /* @__PURE__ */ new Set([table.key]);
|
|
73
|
+
const queue = [table];
|
|
74
|
+
for (const from of queue) for (const [name, relation] of Object.entries(from.relations)) {
|
|
75
|
+
if (!names.has(name) || seen.has(relation.table)) continue;
|
|
76
|
+
seen.add(relation.table);
|
|
77
|
+
const target = meta.tables[relation.table];
|
|
78
|
+
if (target) queue.push(target);
|
|
79
|
+
else {
|
|
80
|
+
const load = meta.tableLoaders?.[relation.table];
|
|
81
|
+
if (load !== void 0) missing.push([relation.table, load]);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return missing;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Wraps a repository method of a lazy schema so the tables its arguments reach
|
|
88
|
+
* through relations (includes, counts, relation filters, orderBy) load before
|
|
89
|
+
* the query is built. A call that needs no load runs unchanged.
|
|
90
|
+
*/
|
|
91
|
+
function withRelatedTables(meta, table, method, register) {
|
|
92
|
+
return function related(...args) {
|
|
93
|
+
const names = argumentNames(args, /* @__PURE__ */ new Set());
|
|
94
|
+
if (missingTargets(meta, table, names).length === 0) return method.apply(this, args);
|
|
95
|
+
return AsyncResult.from(async () => {
|
|
96
|
+
let missing = missingTargets(meta, table, names);
|
|
97
|
+
while (missing.length > 0) {
|
|
98
|
+
await Promise.all(missing.map(([key, load]) => loadTable(meta, key, load, register)));
|
|
99
|
+
missing = missingTargets(meta, table, names);
|
|
100
|
+
}
|
|
101
|
+
return method.apply(this, args);
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
}
|
|
56
105
|
/** Loads function metadata once, on the first `rpc` call. */
|
|
57
106
|
async function ensureFunctions(meta) {
|
|
58
107
|
if (meta.loadFunctions === void 0 || Object.keys(meta.functions).length > 0) return;
|
|
@@ -1356,6 +1405,9 @@ var Connector = class {
|
|
|
1356
1405
|
if (this.#tables) return this.#tables;
|
|
1357
1406
|
const tables = {};
|
|
1358
1407
|
const throwAs = this.options.throwAs;
|
|
1408
|
+
const register = (table) => {
|
|
1409
|
+
this.registerTable(table);
|
|
1410
|
+
};
|
|
1359
1411
|
const build = (state, key) => {
|
|
1360
1412
|
let repository = state.repositories.get(key);
|
|
1361
1413
|
if (repository) return repository;
|
|
@@ -1363,11 +1415,12 @@ var Connector = class {
|
|
|
1363
1415
|
if (table === void 0) {
|
|
1364
1416
|
const load = this.meta.tableLoaders?.[key];
|
|
1365
1417
|
if (load === void 0) throw new TypeError(`better-supabase: unknown table "${key}"`);
|
|
1366
|
-
return lazyRepository(this.meta, state, key, load, build,
|
|
1367
|
-
this.registerTable(table);
|
|
1368
|
-
});
|
|
1418
|
+
return lazyRepository(this.meta, state, key, load, build, register);
|
|
1369
1419
|
}
|
|
1370
1420
|
repository = this.#repository(state.runner, key, table, state.plugins);
|
|
1421
|
+
if (this.meta.tableLoaders !== void 0) {
|
|
1422
|
+
for (const [name, method] of Object.entries(repository)) if (typeof method === "function" && name !== "extend") repository[name] = withRelatedTables(this.meta, table, method, register);
|
|
1423
|
+
}
|
|
1371
1424
|
if (throwAs) {
|
|
1372
1425
|
for (const [name, method] of Object.entries(repository)) if (typeof method === "function" && name !== "extend") repository[name] = mapThrows(method, throwAs);
|
|
1373
1426
|
}
|
|
@@ -3,12 +3,12 @@ import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
|
3
3
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
4
4
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
5
5
|
import { t as builderFor } from "./build-ByfDs2ru.js";
|
|
6
|
-
import { t as decodeRows } from "./codec-
|
|
6
|
+
import { t as decodeRows } from "./codec-Cjquuv8M.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-Dv8OYnKW.js";
|
|
10
10
|
import { t as EventHub } from "./events-Da482tiF.js";
|
|
11
|
-
import { f as isFunctionSpec, n as checkParams, o as isReadSet, p as isQuerySpec, t as bindParams } from "./read-set-
|
|
11
|
+
import { f as isFunctionSpec, n as checkParams, o as isReadSet, p as isQuerySpec, t as bindParams } from "./read-set-BptYceHc.js";
|
|
12
12
|
import { n as StatsRecorder, r as recordStats } from "./stats-D2TN2c3B.js";
|
|
13
13
|
// src/core/batch.ts
|
|
14
14
|
/**
|
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-BbnpIsy4.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-DYAp3Znr.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-C9UiMaOq.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-CqRpnOo0.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";
|
|
@@ -2,11 +2,11 @@ import { n as invalidRequest } from "./build-ByfDs2ru.js";
|
|
|
2
2
|
import { t as DbException } from "./db-exception-Dv18UZ-I.js";
|
|
3
3
|
import { l as mapDbError, n as dbError } from "./errors-DK1wGb9z.js";
|
|
4
4
|
import { t as lookupOf } from "./lookup-upE-e1zw.js";
|
|
5
|
-
import { p as isQuerySpec } from "./read-set-
|
|
5
|
+
import { p as isQuerySpec } from "./read-set-BptYceHc.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-Bh5c_01f.js";
|
|
10
10
|
// src/compile/sqlite.ts
|
|
11
11
|
/**
|
|
12
12
|
* The operation needs something the SQLite dialect can't express: full-text
|
package/dist/expo/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
|
6
6
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
7
7
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
8
8
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
9
|
-
import { t as adapterBase } from "../adapter-base-
|
|
9
|
+
import { t as adapterBase } from "../adapter-base-BbnpIsy4.js";
|
|
10
10
|
import { g as unexpectedResponse } from "../sessions-Dedk1ubX.js";
|
|
11
|
-
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-
|
|
11
|
+
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer } from "../server-CqRpnOo0.js";
|
|
12
12
|
import { i as userSessionTags, r as tableTags, t as sessionIdTag } from "../cache-tags-C5Oivuxo.js";
|
|
13
|
-
import { t as withBetterSupabase } from "../composite-
|
|
13
|
+
import { t as withBetterSupabase } from "../composite-DYAp3Znr.js";
|
|
14
14
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
15
15
|
import { i as guard, o as respond } from "../respond-DLvLJwwN.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as snapshotOf } from "./snapshot-C1KUHKTc.js";
|
|
2
2
|
import { i as toSession } from "./view-DpKWWhP2.js";
|
|
3
|
-
import { t as withBetterSupabase } from "./composite-
|
|
3
|
+
import { t as withBetterSupabase } from "./composite-DYAp3Znr.js";
|
|
4
4
|
// src/server/framework.ts
|
|
5
5
|
/**
|
|
6
6
|
* Every caller: the framework factories guard per loader, action or route
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-DRVVrk-u.js";
|
|
2
2
|
import { f as siblingPath, t as HEADER } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
4
4
|
// src/generators/factories.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-
|
|
1
|
+
export { t as jsonSchema, n as toJsonSchema } from "../../json-schema-CgwH39-G.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-DRVVrk-u.js";
|
|
2
2
|
import { _ as variantTitle, c as parseImport, d as schemaName, f as siblingPath, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, r as fieldSpec, t as HEADER, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-DRVVrk-u.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "../../version-
|
|
1
|
+
import { t as VERSION } from "../../version-DRVVrk-u.js";
|
|
2
2
|
import { _ as variantTitle, a as optionalLine, c as parseImport, d as schemaName, f as siblingPath, h as temporalGuardImport, i as fieldsFor, l as propertyKey, m as tableEntries, n as fieldDocs, p as tableDocs, t as HEADER, u as rowType, v as variantsFor } from "../../shared-BXRDj6UR.js";
|
|
3
3
|
import { a as objectType, i as fieldMetaLines, n as extraSchemas, o as resultType, t as extraKinds } from "../../extras-CW8CKLeE.js";
|
|
4
4
|
import { r as relativeImport } from "../../kit-D6kdfQFj.js";
|
package/dist/hono/index.js
CHANGED
|
@@ -3,16 +3,16 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
3
3
|
import { r as handoffOf } from "../shared-Ci1g9nl4.js";
|
|
4
4
|
import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { o as problemResponse } from "../problem-BwplIuhI.js";
|
|
6
|
-
import { t as adapterBase } from "../adapter-base-
|
|
6
|
+
import { t as adapterBase } from "../adapter-base-BbnpIsy4.js";
|
|
7
7
|
import { g as unexpectedResponse, p as flushEvents } from "../sessions-Dedk1ubX.js";
|
|
8
|
-
import { t as withBetterSupabase } from "../composite-
|
|
8
|
+
import { t as withBetterSupabase } from "../composite-DYAp3Znr.js";
|
|
9
9
|
import { n as corsConfig } from "../cors-DrDFLMNn.js";
|
|
10
10
|
import { i as requireCaller } from "../kit-BgRTtW9w.js";
|
|
11
11
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
12
12
|
import { i as defineAction, t as defineResource } from "../resource-BxSmk1R1.js";
|
|
13
13
|
import { t as matchResource } from "../resources-CM9wwyfa.js";
|
|
14
14
|
import { o as respond, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
15
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
15
|
+
import { n as extendServer, t as createServer } from "../server-CqRpnOo0.js";
|
|
16
16
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
17
17
|
import { withCors } from "@supabase/middleware/cors";
|
|
18
18
|
import { Hono } from "hono";
|