@coreframe/config 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -53,7 +53,14 @@ type DashboardConfig = {
53
53
  };
54
54
  type DatabaseDialect = "postgres" | "sqlite";
55
55
  type DatabaseConfig = {
56
- /** Database engine used by project workflows. */dialect: DatabaseDialect; /** Project-relative module that seeds the database. */
56
+ /**
57
+ * Cloudflare D1 binding that owns deployment migrations for a native D1-backed SQLite
58
+ * project. When omitted, Coreframe detects the binding from `wrangler.jsonc` migration
59
+ * metadata in the deploy environment. Set to `false` when the deployment database uses a
60
+ * connection URL even though the Worker declares unrelated D1 bindings.
61
+ */
62
+ d1Binding?: string | false; /** Database engine used by project workflows. */
63
+ dialect: DatabaseDialect; /** Project-relative module that seeds the database. */
57
64
  seed?: string;
58
65
  };
59
66
  type JobsConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/config",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Environment and project configuration utilities for Coreframe apps",
5
5
  "repository": {
6
6
  "type": "git",