alchemy 0.9.0 → 0.9.1
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.
|
@@ -125,6 +125,14 @@ export interface WranglerJsonSpec {
|
|
|
125
125
|
* Plain text bindings (vars)
|
|
126
126
|
*/
|
|
127
127
|
vars?: Record<string, string>;
|
|
128
|
+
/**
|
|
129
|
+
* D1 database bindings
|
|
130
|
+
*/
|
|
131
|
+
d1_databases?: {
|
|
132
|
+
binding: string;
|
|
133
|
+
database_id: string;
|
|
134
|
+
database_name: string;
|
|
135
|
+
}[];
|
|
128
136
|
/**
|
|
129
137
|
* Assets bindings
|
|
130
138
|
*/
|
package/package.json
CHANGED
|
@@ -200,6 +200,15 @@ export interface WranglerJsonSpec {
|
|
|
200
200
|
*/
|
|
201
201
|
vars?: Record<string, string>;
|
|
202
202
|
|
|
203
|
+
/**
|
|
204
|
+
* D1 database bindings
|
|
205
|
+
*/
|
|
206
|
+
d1_databases?: {
|
|
207
|
+
binding: string;
|
|
208
|
+
database_id: string;
|
|
209
|
+
database_name: string;
|
|
210
|
+
}[];
|
|
211
|
+
|
|
203
212
|
/**
|
|
204
213
|
* Assets bindings
|
|
205
214
|
*/
|
|
@@ -338,6 +347,10 @@ function processBindings(spec: WranglerJsonSpec, bindings: Bindings): void {
|
|
|
338
347
|
spec.services = services;
|
|
339
348
|
}
|
|
340
349
|
|
|
350
|
+
if (d1Databases.length > 0) {
|
|
351
|
+
spec.d1_databases = d1Databases;
|
|
352
|
+
}
|
|
353
|
+
|
|
341
354
|
if (queues.length > 0) {
|
|
342
355
|
spec.queues = queues;
|
|
343
356
|
}
|