@rebasepro/server-postgres 0.20.1-canary.g4d882ca → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PostgresBackendDriver.d.ts +33 -3
- package/dist/auth/services.d.ts +19 -1
- package/dist/{backup-cli-DSpQyqcG.js → backup-cli-Bp-ou6o2.js} +2 -2
- package/dist/{backup-cli-DSpQyqcG.js.map → backup-cli-Bp-ou6o2.js.map} +1 -1
- package/dist/{backup-service-DA7a6SUV.js → backup-service-BNLwvxuy.js} +2 -2
- package/dist/{backup-service-DA7a6SUV.js.map → backup-service-BNLwvxuy.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/column-plan-helpers-CpILzHJS.js.map +1 -1
- package/dist/{doctor-D5SrGJ5P.js → doctor-ByFWL_ET.js} +25 -6
- package/dist/doctor-ByFWL_ET.js.map +1 -0
- package/dist/{ensure-collection-policies-CHO0moXQ.js → ensure-collection-policies-CQGHln-y.js} +2 -2
- package/dist/{ensure-collection-policies-CHO0moXQ.js.map → ensure-collection-policies-CQGHln-y.js.map} +1 -1
- package/dist/{ensure-tables-CYMtuuOd.js → ensure-tables-BnEvEJPr.js} +2 -2
- package/dist/ensure-tables-BnEvEJPr.js.map +1 -0
- package/dist/history/HistoryService.d.ts +16 -2
- package/dist/history/ensure-history-table.d.ts +7 -1
- package/dist/index.es.js +1580 -1085
- package/dist/index.es.js.map +1 -1
- package/dist/plan-schema-Hgl62S-w.js.map +1 -1
- package/dist/{rls-bootstrap-sql-BlzsOUtz.js → rls-bootstrap-sql-BHA6jLtj.js} +4 -3
- package/dist/{rls-bootstrap-sql-BlzsOUtz.js.map → rls-bootstrap-sql-BHA6jLtj.js.map} +1 -1
- package/dist/{rls-enforcement-BV12vBwQ.js → rls-enforcement-C6Xk0lA6.js} +20 -20
- package/dist/{rls-enforcement-BV12vBwQ.js.map → rls-enforcement-C6Xk0lA6.js.map} +1 -1
- package/dist/schema/doctor-cli.js +2 -2
- package/dist/services/PersistService.d.ts +11 -0
- package/dist/services/RelationService.d.ts +39 -0
- package/dist/services/RelationWriteService.d.ts +32 -1
- package/dist/services/dataService.d.ts +2 -0
- package/dist/services/junction-writes.d.ts +58 -2
- package/dist/services/write-transaction-scope.d.ts +68 -0
- package/dist/types.d.ts +18 -0
- package/package.json +7 -7
- package/dist/doctor-D5SrGJ5P.js.map +0 -1
- package/dist/ensure-tables-CYMtuuOd.js.map +0 -1
|
@@ -5,6 +5,7 @@ import { o as isRebaseIndexName } from "./collection-index-DdnsxiJ_.js";
|
|
|
5
5
|
import { r as outWarn, t as out } from "./cli-output-CNdMql-L.js";
|
|
6
6
|
import { t as chalk } from "./source-Br7L7GOI.js";
|
|
7
7
|
import { LEGACY_RLS_SCHEMA, REBASE_SCHEMA, isManyToMany } from "@rebasepro/types";
|
|
8
|
+
import { sqlRows } from "@rebasepro/common";
|
|
8
9
|
import fs from "fs";
|
|
9
10
|
import path from "path";
|
|
10
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -7165,7 +7166,7 @@ var LEGACY_RLS_FUNCTION_DEPENDENTS_SQL = `
|
|
|
7165
7166
|
async function dropLegacyAuthSchema(run, report) {
|
|
7166
7167
|
let blockers;
|
|
7167
7168
|
try {
|
|
7168
|
-
blockers = await run(LEGACY_RLS_DEPENDENTS_SQL);
|
|
7169
|
+
blockers = sqlRows(await run(LEGACY_RLS_DEPENDENTS_SQL));
|
|
7169
7170
|
} catch {
|
|
7170
7171
|
return;
|
|
7171
7172
|
}
|
|
@@ -7175,7 +7176,7 @@ async function dropLegacyAuthSchema(run, report) {
|
|
|
7175
7176
|
}
|
|
7176
7177
|
let borrowers;
|
|
7177
7178
|
try {
|
|
7178
|
-
borrowers = await run(LEGACY_RLS_FUNCTION_DEPENDENTS_SQL);
|
|
7179
|
+
borrowers = sqlRows(await run(LEGACY_RLS_FUNCTION_DEPENDENTS_SQL));
|
|
7179
7180
|
} catch {
|
|
7180
7181
|
return;
|
|
7181
7182
|
}
|
|
@@ -7192,4 +7193,4 @@ async function dropLegacyAuthSchema(run, report) {
|
|
|
7192
7193
|
//#endregion
|
|
7193
7194
|
export { execa as A, loadCollectionsForCli as C, readTriggersDdl as D, readSearchDdl as E, readVectorDdl as O, getVectorExcludes as S, queryGeneratedColumnDependencies as T, getDevDatabaseUrl as _, ExcludeIntrospectionError as a, getTableExcludes as b, applyVectorDdl as c, describeReinstallCommand as d, detectProjectPackageManager as f, ensureDevDatabaseExists as g, dropGeneratedColumns as h, rls_bootstrap_sql_exports as i, forLibpq as j, resolveLocalBin as k, describeBuildScriptRemedy as l, dropDevDatabase as m, RLS_BOOTSTRAP_STATEMENTS as n, applySearchDdl as o, diagnoseMissingBin as p, dropLegacyAuthSchema as r, applyTriggersDdl as s, RLS_BOOTSTRAP_SQL as t, describeDevAddCommand as u, getForeignIndexExcludes as v, promptConfirm as w, getTriggerExcludes as x, getSearchExcludes as y };
|
|
7194
7195
|
|
|
7195
|
-
//# sourceMappingURL=rls-bootstrap-sql-
|
|
7196
|
+
//# sourceMappingURL=rls-bootstrap-sql-BHA6jLtj.js.map
|