@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.
- package/dist/index.d.ts +14 -7
- 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
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
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;
|
|
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;
|
|
171
|
-
|
|
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. */
|