@coreframe/config 0.1.17 → 0.1.19

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 +14 -7
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -54,10 +54,10 @@ type DashboardConfig = {
54
54
  type DatabaseDialect = "postgres" | "sqlite";
55
55
  type DatabaseConfig = {
56
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.
57
+ * Cloudflare D1 binding that owns deployment migrations for a native D1-backed SQLite project.
58
+ * When omitted, Coreframe detects the binding from `wrangler.jsonc` migration metadata in the
59
+ * deploy environment. Set to `false` when the deployment database uses a connection URL even
60
+ * though the Worker declares unrelated D1 bindings.
61
61
  */
62
62
  d1Binding?: string | false; /** Database engine used by project workflows. */
63
63
  dialect: DatabaseDialect; /** Project-relative module that seeds the database. */
@@ -165,10 +165,17 @@ type DeploySmokeCheck = {
165
165
  };
166
166
  /** Inputs passed only to the application-owned reviewer deployment entrypoint. Never log them. */
167
167
  type ReviewerDeployContext = DeployContext & {
168
- /** Deployment database dialect; no local database lifecycle is started. */dialect: DatabaseDialect; /** Environment-scoped database credentials, without ambient/local fallbacks. */
168
+ /** Deployment database dialect; no local database lifecycle is started. */dialect: DatabaseDialect;
169
+ /**
170
+ * Deployment database credentials using the same connection selection as migrations; no local
171
+ * fallbacks.
172
+ */
169
173
  env: NodeJS.ProcessEnv; /** Dedicated reviewer email, normalized to lowercase. */
170
- email: string; /** Better Auth password hash used for creation and consistency checks; never overwritten. */
171
- passwordHash: string; /** Password used only for normal HTTPS sign-in verification. */
174
+ email: string;
175
+ /**
176
+ * Password hashed when creating the account and used for credential and HTTPS sign-in
177
+ * verification.
178
+ */
172
179
  password: string;
173
180
  };
174
181
  /** Application-owned provisioning and verification, independent of local/demo seeds. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/config",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "description": "Environment and project configuration utilities for Coreframe apps",
5
5
  "repository": {
6
6
  "type": "git",