@pattern-stack/codegen 0.3.1 → 0.3.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.
|
@@ -357,7 +357,7 @@ declare const syncRuns: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
357
357
|
tableName: "sync_runs";
|
|
358
358
|
dataType: "string";
|
|
359
359
|
columnType: "PgEnumColumn";
|
|
360
|
-
data: "success" | "
|
|
360
|
+
data: "success" | "no_changes" | "failed" | "running";
|
|
361
361
|
driverParam: string;
|
|
362
362
|
notNull: true;
|
|
363
363
|
hasDefault: true;
|
|
@@ -639,7 +639,7 @@ declare const syncRunItems: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
639
639
|
tableName: "sync_run_items";
|
|
640
640
|
dataType: "string";
|
|
641
641
|
columnType: "PgEnumColumn";
|
|
642
|
-
data: "
|
|
642
|
+
data: "created" | "updated" | "deleted" | "noop";
|
|
643
643
|
driverParam: string;
|
|
644
644
|
notNull: true;
|
|
645
645
|
hasDefault: false;
|
package/dist/src/cli/index.js
CHANGED
|
@@ -218377,7 +218377,10 @@ import fs9 from "fs";
|
|
|
218377
218377
|
import path17 from "path";
|
|
218378
218378
|
import { Command as Command3, Option as Option3 } from "clipanion";
|
|
218379
218379
|
function runtimeRoot() {
|
|
218380
|
-
|
|
218380
|
+
const pkgRoot = path17.resolve(import.meta.dirname, "..", "..", "..");
|
|
218381
|
+
const topLevel = path17.join(pkgRoot, "runtime");
|
|
218382
|
+
if (fs9.existsSync(topLevel)) return topLevel;
|
|
218383
|
+
return path17.join(pkgRoot, "dist", "runtime");
|
|
218381
218384
|
}
|
|
218382
218385
|
function subsystemSource(name) {
|
|
218383
218386
|
return path17.join(runtimeRoot(), "subsystems", name);
|
|
@@ -219131,7 +219134,10 @@ import fs10 from "fs";
|
|
|
219131
219134
|
import path18 from "path";
|
|
219132
219135
|
import { stringify as stringifyYaml } from "yaml";
|
|
219133
219136
|
function runtimeRoot2() {
|
|
219134
|
-
|
|
219137
|
+
const pkgRoot = path18.resolve(import.meta.dirname, "..", "..", "..");
|
|
219138
|
+
const topLevel = path18.join(pkgRoot, "runtime");
|
|
219139
|
+
if (fs10.existsSync(topLevel)) return topLevel;
|
|
219140
|
+
return path18.join(pkgRoot, "dist", "runtime");
|
|
219135
219141
|
}
|
|
219136
219142
|
function resolveRuntimePath(cwd) {
|
|
219137
219143
|
const shimDir = path18.join(cwd, "src", "shared", "base-classes");
|