alchemy 0.77.0 → 0.77.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.
- package/bin/alchemy.js +21741 -2128
- package/lib/cloudflare/bucket-custom-domain.d.ts +4 -4
- package/lib/cloudflare/bucket-custom-domain.d.ts.map +1 -1
- package/lib/cloudflare/bucket-custom-domain.js +7 -7
- package/lib/cloudflare/bucket-custom-domain.js.map +1 -1
- package/lib/cloudflare/compatibility-date.gen.d.ts +1 -1
- package/lib/cloudflare/compatibility-date.gen.js +1 -1
- package/lib/cloudflare/container.d.ts.map +1 -1
- package/lib/cloudflare/container.js +8 -5
- package/lib/cloudflare/container.js.map +1 -1
- package/lib/cloudflare/d1-database.d.ts +13 -3
- package/lib/cloudflare/d1-database.d.ts.map +1 -1
- package/lib/cloudflare/d1-database.js +31 -15
- package/lib/cloudflare/d1-database.js.map +1 -1
- package/lib/docker/api.d.ts +4 -0
- package/lib/docker/api.d.ts.map +1 -1
- package/lib/docker/api.js +3 -0
- package/lib/docker/api.js.map +1 -1
- package/lib/docker/image.d.ts +50 -12
- package/lib/docker/image.d.ts.map +1 -1
- package/lib/docker/image.js +86 -58
- package/lib/docker/image.js.map +1 -1
- package/lib/docker/remote-image.d.ts +1 -0
- package/lib/docker/remote-image.d.ts.map +1 -1
- package/lib/docker/remote-image.js +2 -0
- package/lib/docker/remote-image.js.map +1 -1
- package/lib/util/safe-fetch.d.ts +1 -0
- package/lib/util/safe-fetch.d.ts.map +1 -1
- package/lib/util/safe-fetch.js +1 -1
- package/lib/util/safe-fetch.js.map +1 -1
- package/lib/util/telemetry.d.ts.map +1 -1
- package/lib/util/telemetry.js +32 -20
- package/lib/util/telemetry.js.map +1 -1
- package/package.json +1 -1
- package/src/cloudflare/bucket-custom-domain.ts +9 -9
- package/src/cloudflare/compatibility-date.gen.ts +1 -1
- package/src/cloudflare/container.ts +10 -7
- package/src/cloudflare/d1-database.ts +44 -6
- package/src/docker/api.ts +7 -0
- package/src/docker/image.ts +164 -89
- package/src/docker/remote-image.ts +3 -0
- package/src/util/safe-fetch.ts +1 -1
- package/src/util/telemetry.ts +39 -19
- package/workers/cloudflare-state-store.js +57 -57
- package/workers/tunnel-proxy.js +1 -1
|
@@ -12,7 +12,7 @@ var __export = (all) => {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
15
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/entity.js
|
|
16
16
|
const entityKind = Symbol.for("drizzle:entityKind");
|
|
17
17
|
const hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
18
18
|
function is(value, type) {
|
|
@@ -28,7 +28,7 @@ function is(value, type) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
31
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/logger.js
|
|
32
32
|
var ConsoleLogWriter = class {
|
|
33
33
|
static [entityKind] = "ConsoleLogWriter";
|
|
34
34
|
write(message) {
|
|
@@ -59,11 +59,11 @@ var NoopLogger = class {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
62
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/table.utils.js
|
|
63
63
|
const TableName = Symbol.for("drizzle:Name");
|
|
64
64
|
|
|
65
65
|
//#endregion
|
|
66
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
66
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/table.js
|
|
67
67
|
const Schema = Symbol.for("drizzle:Schema");
|
|
68
68
|
const Columns = Symbol.for("drizzle:Columns");
|
|
69
69
|
const ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
|
|
@@ -126,7 +126,7 @@ function getTableUniqueName(table) {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
//#endregion
|
|
129
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
129
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/column.js
|
|
130
130
|
var Column = class {
|
|
131
131
|
constructor(table, config) {
|
|
132
132
|
this.table = table;
|
|
@@ -177,7 +177,7 @@ var Column = class {
|
|
|
177
177
|
};
|
|
178
178
|
|
|
179
179
|
//#endregion
|
|
180
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
180
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/column-builder.js
|
|
181
181
|
var ColumnBuilder = class {
|
|
182
182
|
static [entityKind] = "ColumnBuilder";
|
|
183
183
|
config;
|
|
@@ -281,7 +281,7 @@ var ColumnBuilder = class {
|
|
|
281
281
|
};
|
|
282
282
|
|
|
283
283
|
//#endregion
|
|
284
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
284
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/foreign-keys.js
|
|
285
285
|
var ForeignKeyBuilder$1 = class {
|
|
286
286
|
static [entityKind] = "PgForeignKeyBuilder";
|
|
287
287
|
/** @internal */
|
|
@@ -344,13 +344,13 @@ var ForeignKey$1 = class {
|
|
|
344
344
|
};
|
|
345
345
|
|
|
346
346
|
//#endregion
|
|
347
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
347
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/tracing-utils.js
|
|
348
348
|
function iife(fn, ...args) {
|
|
349
349
|
return fn(...args);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
//#endregion
|
|
353
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
353
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
354
354
|
function uniqueKeyName$1(table, columns$1) {
|
|
355
355
|
return `${table[TableName]}_${columns$1.join("_")}_unique`;
|
|
356
356
|
}
|
|
@@ -401,7 +401,7 @@ var UniqueConstraint$1 = class {
|
|
|
401
401
|
};
|
|
402
402
|
|
|
403
403
|
//#endregion
|
|
404
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
404
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/utils/array.js
|
|
405
405
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
|
406
406
|
for (let i = startFrom; i < arrayString.length; i++) {
|
|
407
407
|
const char = arrayString[i];
|
|
@@ -464,7 +464,7 @@ function makePgArray(array) {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
//#endregion
|
|
467
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
467
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
468
468
|
var PgColumnBuilder = class extends ColumnBuilder {
|
|
469
469
|
foreignKeyConfigs = [];
|
|
470
470
|
static [entityKind] = "PgColumnBuilder";
|
|
@@ -637,7 +637,7 @@ var PgArray = class PgArray extends PgColumn {
|
|
|
637
637
|
};
|
|
638
638
|
|
|
639
639
|
//#endregion
|
|
640
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
640
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
641
641
|
var PgEnumObjectColumnBuilder = class extends PgColumnBuilder {
|
|
642
642
|
static [entityKind] = "PgEnumObjectColumnBuilder";
|
|
643
643
|
constructor(name, enumInstance) {
|
|
@@ -690,7 +690,7 @@ var PgEnumColumn = class extends PgColumn {
|
|
|
690
690
|
};
|
|
691
691
|
|
|
692
692
|
//#endregion
|
|
693
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
693
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/subquery.js
|
|
694
694
|
var Subquery = class {
|
|
695
695
|
static [entityKind] = "Subquery";
|
|
696
696
|
constructor(sql$1, fields, alias, isWith = false, usedTables = []) {
|
|
@@ -709,17 +709,17 @@ var WithSubquery = class extends Subquery {
|
|
|
709
709
|
};
|
|
710
710
|
|
|
711
711
|
//#endregion
|
|
712
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
712
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/tracing.js
|
|
713
713
|
const tracer = { startActiveSpan(name, fn) {
|
|
714
714
|
return fn();
|
|
715
715
|
} };
|
|
716
716
|
|
|
717
717
|
//#endregion
|
|
718
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
718
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/view-common.js
|
|
719
719
|
const ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
720
720
|
|
|
721
721
|
//#endregion
|
|
722
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
722
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sql/sql.js
|
|
723
723
|
var FakePrimitiveParam = class {
|
|
724
724
|
static [entityKind] = "FakePrimitiveParam";
|
|
725
725
|
};
|
|
@@ -1094,7 +1094,7 @@ Subquery.prototype.getSQL = function() {
|
|
|
1094
1094
|
};
|
|
1095
1095
|
|
|
1096
1096
|
//#endregion
|
|
1097
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1097
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/utils.js
|
|
1098
1098
|
function mapResultRow(columns$1, row, joinsNotNullableMap) {
|
|
1099
1099
|
const nullifyMap = {};
|
|
1100
1100
|
const result = columns$1.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -1171,7 +1171,7 @@ function getColumnNameAndConfig(a, b) {
|
|
|
1171
1171
|
const textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder();
|
|
1172
1172
|
|
|
1173
1173
|
//#endregion
|
|
1174
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1174
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/table.js
|
|
1175
1175
|
const InlineForeignKeys$1 = Symbol.for("drizzle:PgInlineForeignKeys");
|
|
1176
1176
|
const EnableRLS = Symbol.for("drizzle:EnableRLS");
|
|
1177
1177
|
var PgTable = class extends Table {
|
|
@@ -1192,7 +1192,7 @@ var PgTable = class extends Table {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
|
|
1194
1194
|
//#endregion
|
|
1195
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1195
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
1196
1196
|
var PrimaryKeyBuilder$1 = class {
|
|
1197
1197
|
static [entityKind] = "PgPrimaryKeyBuilder";
|
|
1198
1198
|
/** @internal */
|
|
@@ -1223,7 +1223,7 @@ var PrimaryKey$1 = class {
|
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
1225
|
//#endregion
|
|
1226
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1226
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
1227
1227
|
function bindIfParam(value, column) {
|
|
1228
1228
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) return new Param(value, column);
|
|
1229
1229
|
return value;
|
|
@@ -1315,7 +1315,7 @@ function notIlike(column, value) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
1317
|
//#endregion
|
|
1318
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1318
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sql/expressions/select.js
|
|
1319
1319
|
function asc(column) {
|
|
1320
1320
|
return sql`${column} asc`;
|
|
1321
1321
|
}
|
|
@@ -1324,7 +1324,7 @@ function desc(column) {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
1326
|
//#endregion
|
|
1327
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1327
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/relations.js
|
|
1328
1328
|
var Relation = class {
|
|
1329
1329
|
constructor(sourceTable, referencedTable, relationName) {
|
|
1330
1330
|
this.sourceTable = sourceTable;
|
|
@@ -1501,7 +1501,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
|
1501
1501
|
}
|
|
1502
1502
|
|
|
1503
1503
|
//#endregion
|
|
1504
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1504
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/alias.js
|
|
1505
1505
|
var ColumnAliasProxyHandler = class {
|
|
1506
1506
|
constructor(table) {
|
|
1507
1507
|
this.table = table;
|
|
@@ -1570,7 +1570,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
1572
|
//#endregion
|
|
1573
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1573
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/selection-proxy.js
|
|
1574
1574
|
var SelectionProxyHandler = class SelectionProxyHandler {
|
|
1575
1575
|
static [entityKind] = "SelectionProxyHandler";
|
|
1576
1576
|
config;
|
|
@@ -1608,7 +1608,7 @@ var SelectionProxyHandler = class SelectionProxyHandler {
|
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
1610
|
//#endregion
|
|
1611
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1611
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/query-promise.js
|
|
1612
1612
|
var QueryPromise = class {
|
|
1613
1613
|
static [entityKind] = "QueryPromise";
|
|
1614
1614
|
[Symbol.toStringTag] = "QueryPromise";
|
|
@@ -1630,7 +1630,7 @@ var QueryPromise = class {
|
|
|
1630
1630
|
};
|
|
1631
1631
|
|
|
1632
1632
|
//#endregion
|
|
1633
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1633
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/foreign-keys.js
|
|
1634
1634
|
var ForeignKeyBuilder = class {
|
|
1635
1635
|
static [entityKind] = "SQLiteForeignKeyBuilder";
|
|
1636
1636
|
/** @internal */
|
|
@@ -1693,7 +1693,7 @@ var ForeignKey = class {
|
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
1695
|
//#endregion
|
|
1696
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1696
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/unique-constraint.js
|
|
1697
1697
|
function uniqueKeyName(table, columns$1) {
|
|
1698
1698
|
return `${table[TableName]}_${columns$1.join("_")}_unique`;
|
|
1699
1699
|
}
|
|
@@ -1736,7 +1736,7 @@ var UniqueConstraint = class {
|
|
|
1736
1736
|
};
|
|
1737
1737
|
|
|
1738
1738
|
//#endregion
|
|
1739
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1739
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/common.js
|
|
1740
1740
|
var SQLiteColumnBuilder = class extends ColumnBuilder {
|
|
1741
1741
|
static [entityKind] = "SQLiteColumnBuilder";
|
|
1742
1742
|
foreignKeyConfigs = [];
|
|
@@ -1788,7 +1788,7 @@ var SQLiteColumn = class extends Column {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
|
|
1790
1790
|
//#endregion
|
|
1791
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1791
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/blob.js
|
|
1792
1792
|
var SQLiteBigIntBuilder = class extends SQLiteColumnBuilder {
|
|
1793
1793
|
static [entityKind] = "SQLiteBigIntBuilder";
|
|
1794
1794
|
constructor(name) {
|
|
@@ -1869,7 +1869,7 @@ function blob(a, b) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
//#endregion
|
|
1872
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1872
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/custom.js
|
|
1873
1873
|
var SQLiteCustomColumnBuilder = class extends SQLiteColumnBuilder {
|
|
1874
1874
|
static [entityKind] = "SQLiteCustomColumnBuilder";
|
|
1875
1875
|
constructor(name, fieldConfig, customTypeParams) {
|
|
@@ -1911,7 +1911,7 @@ function customType(customTypeParams) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
|
|
1913
1913
|
//#endregion
|
|
1914
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
1914
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/integer.js
|
|
1915
1915
|
var SQLiteBaseIntegerBuilder = class extends SQLiteColumnBuilder {
|
|
1916
1916
|
static [entityKind] = "SQLiteBaseIntegerBuilder";
|
|
1917
1917
|
constructor(name, dataType, columnType) {
|
|
@@ -2002,7 +2002,7 @@ function integer(a, b) {
|
|
|
2002
2002
|
}
|
|
2003
2003
|
|
|
2004
2004
|
//#endregion
|
|
2005
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2005
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/numeric.js
|
|
2006
2006
|
var SQLiteNumericBuilder = class extends SQLiteColumnBuilder {
|
|
2007
2007
|
static [entityKind] = "SQLiteNumericBuilder";
|
|
2008
2008
|
constructor(name) {
|
|
@@ -2069,7 +2069,7 @@ function numeric(a, b) {
|
|
|
2069
2069
|
}
|
|
2070
2070
|
|
|
2071
2071
|
//#endregion
|
|
2072
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2072
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/real.js
|
|
2073
2073
|
var SQLiteRealBuilder = class extends SQLiteColumnBuilder {
|
|
2074
2074
|
static [entityKind] = "SQLiteRealBuilder";
|
|
2075
2075
|
constructor(name) {
|
|
@@ -2091,7 +2091,7 @@ function real(name) {
|
|
|
2091
2091
|
}
|
|
2092
2092
|
|
|
2093
2093
|
//#endregion
|
|
2094
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2094
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/text.js
|
|
2095
2095
|
var SQLiteTextBuilder = class extends SQLiteColumnBuilder {
|
|
2096
2096
|
static [entityKind] = "SQLiteTextBuilder";
|
|
2097
2097
|
constructor(name, config) {
|
|
@@ -2144,7 +2144,7 @@ function text(a, b = {}) {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
|
|
2146
2146
|
//#endregion
|
|
2147
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2147
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/columns/all.js
|
|
2148
2148
|
function getSQLiteColumnBuilders() {
|
|
2149
2149
|
return {
|
|
2150
2150
|
blob,
|
|
@@ -2157,7 +2157,7 @@ function getSQLiteColumnBuilders() {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
|
|
2159
2159
|
//#endregion
|
|
2160
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2160
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/table.js
|
|
2161
2161
|
const InlineForeignKeys = Symbol.for("drizzle:SQLiteInlineForeignKeys");
|
|
2162
2162
|
var SQLiteTable = class extends Table {
|
|
2163
2163
|
static [entityKind] = "SQLiteTable";
|
|
@@ -2191,7 +2191,7 @@ const sqliteTable = (name, columns$1, extraConfig) => {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
|
|
2193
2193
|
//#endregion
|
|
2194
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2194
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/primary-keys.js
|
|
2195
2195
|
function primaryKey(...config) {
|
|
2196
2196
|
if (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);
|
|
2197
2197
|
return new PrimaryKeyBuilder(config);
|
|
@@ -2226,7 +2226,7 @@ var PrimaryKey = class {
|
|
|
2226
2226
|
};
|
|
2227
2227
|
|
|
2228
2228
|
//#endregion
|
|
2229
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2229
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/utils.js
|
|
2230
2230
|
function extractUsedTable(table) {
|
|
2231
2231
|
if (is(table, SQLiteTable)) return [`${table[Table.Symbol.BaseName]}`];
|
|
2232
2232
|
if (is(table, Subquery)) return table._.usedTables ?? [];
|
|
@@ -2235,7 +2235,7 @@ function extractUsedTable(table) {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
2237
|
//#endregion
|
|
2238
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2238
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/delete.js
|
|
2239
2239
|
var SQLiteDeleteBase = class extends QueryPromise {
|
|
2240
2240
|
constructor(table, session, dialect$1, withList) {
|
|
2241
2241
|
super();
|
|
@@ -2344,7 +2344,7 @@ var SQLiteDeleteBase = class extends QueryPromise {
|
|
|
2344
2344
|
};
|
|
2345
2345
|
|
|
2346
2346
|
//#endregion
|
|
2347
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2347
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/casing.js
|
|
2348
2348
|
function toSnakeCase(input) {
|
|
2349
2349
|
return (input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? []).map((word) => word.toLowerCase()).join("_");
|
|
2350
2350
|
}
|
|
@@ -2388,7 +2388,7 @@ var CasingCache = class {
|
|
|
2388
2388
|
};
|
|
2389
2389
|
|
|
2390
2390
|
//#endregion
|
|
2391
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2391
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/errors.js
|
|
2392
2392
|
var DrizzleError = class extends Error {
|
|
2393
2393
|
static [entityKind] = "DrizzleError";
|
|
2394
2394
|
constructor({ message, cause }) {
|
|
@@ -2416,13 +2416,13 @@ var TransactionRollbackError = class extends DrizzleError {
|
|
|
2416
2416
|
};
|
|
2417
2417
|
|
|
2418
2418
|
//#endregion
|
|
2419
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2419
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/view-base.js
|
|
2420
2420
|
var SQLiteViewBase = class extends View {
|
|
2421
2421
|
static [entityKind] = "SQLiteViewBase";
|
|
2422
2422
|
};
|
|
2423
2423
|
|
|
2424
2424
|
//#endregion
|
|
2425
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2425
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/dialect.js
|
|
2426
2426
|
var SQLiteDialect = class {
|
|
2427
2427
|
static [entityKind] = "SQLiteDialect";
|
|
2428
2428
|
/** @internal */
|
|
@@ -2861,7 +2861,7 @@ var SQLiteAsyncDialect = class extends SQLiteDialect {
|
|
|
2861
2861
|
};
|
|
2862
2862
|
|
|
2863
2863
|
//#endregion
|
|
2864
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2864
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
2865
2865
|
var TypedQueryBuilder = class {
|
|
2866
2866
|
static [entityKind] = "TypedQueryBuilder";
|
|
2867
2867
|
/** @internal */
|
|
@@ -2871,7 +2871,7 @@ var TypedQueryBuilder = class {
|
|
|
2871
2871
|
};
|
|
2872
2872
|
|
|
2873
2873
|
//#endregion
|
|
2874
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
2874
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/select.js
|
|
2875
2875
|
var SQLiteSelectBuilder = class {
|
|
2876
2876
|
static [entityKind] = "SQLiteSelectBuilder";
|
|
2877
2877
|
fields;
|
|
@@ -3478,7 +3478,7 @@ const intersect = createSetOperator("intersect", false);
|
|
|
3478
3478
|
const except = createSetOperator("except", false);
|
|
3479
3479
|
|
|
3480
3480
|
//#endregion
|
|
3481
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
3481
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.js
|
|
3482
3482
|
var QueryBuilder = class {
|
|
3483
3483
|
static [entityKind] = "SQLiteQueryBuilder";
|
|
3484
3484
|
dialect;
|
|
@@ -3545,7 +3545,7 @@ var QueryBuilder = class {
|
|
|
3545
3545
|
};
|
|
3546
3546
|
|
|
3547
3547
|
//#endregion
|
|
3548
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
3548
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/insert.js
|
|
3549
3549
|
var SQLiteInsertBuilder = class {
|
|
3550
3550
|
constructor(table, session, dialect$1, withList) {
|
|
3551
3551
|
this.table = table;
|
|
@@ -3704,7 +3704,7 @@ var SQLiteInsertBase = class extends QueryPromise {
|
|
|
3704
3704
|
};
|
|
3705
3705
|
|
|
3706
3706
|
//#endregion
|
|
3707
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
3707
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/update.js
|
|
3708
3708
|
var SQLiteUpdateBuilder = class {
|
|
3709
3709
|
constructor(table, session, dialect$1, withList) {
|
|
3710
3710
|
this.table = table;
|
|
@@ -3861,7 +3861,7 @@ var SQLiteUpdateBase = class extends QueryPromise {
|
|
|
3861
3861
|
};
|
|
3862
3862
|
|
|
3863
3863
|
//#endregion
|
|
3864
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
3864
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/count.js
|
|
3865
3865
|
var SQLiteCountBuilder = class SQLiteCountBuilder extends SQL {
|
|
3866
3866
|
constructor(params) {
|
|
3867
3867
|
super(SQLiteCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
|
|
@@ -3897,7 +3897,7 @@ var SQLiteCountBuilder = class SQLiteCountBuilder extends SQL {
|
|
|
3897
3897
|
};
|
|
3898
3898
|
|
|
3899
3899
|
//#endregion
|
|
3900
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
3900
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/query.js
|
|
3901
3901
|
var RelationalQueryBuilder = class {
|
|
3902
3902
|
constructor(mode, fullSchema, schema, tableNamesMap, table, tableConfig, dialect$1, session) {
|
|
3903
3903
|
this.mode = mode;
|
|
@@ -3998,7 +3998,7 @@ var SQLiteSyncRelationalQuery = class extends SQLiteRelationalQuery {
|
|
|
3998
3998
|
};
|
|
3999
3999
|
|
|
4000
4000
|
//#endregion
|
|
4001
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4001
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/query-builders/raw.js
|
|
4002
4002
|
var SQLiteRaw = class extends QueryPromise {
|
|
4003
4003
|
constructor(execute, getSQL, action, dialect$1, mapBatchResult) {
|
|
4004
4004
|
super();
|
|
@@ -4030,7 +4030,7 @@ var SQLiteRaw = class extends QueryPromise {
|
|
|
4030
4030
|
};
|
|
4031
4031
|
|
|
4032
4032
|
//#endregion
|
|
4033
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4033
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/db.js
|
|
4034
4034
|
var BaseSQLiteDatabase = class {
|
|
4035
4035
|
constructor(resultKind, dialect$1, session, schema) {
|
|
4036
4036
|
this.resultKind = resultKind;
|
|
@@ -4284,7 +4284,7 @@ var BaseSQLiteDatabase = class {
|
|
|
4284
4284
|
};
|
|
4285
4285
|
|
|
4286
4286
|
//#endregion
|
|
4287
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4287
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/cache/core/cache.js
|
|
4288
4288
|
var Cache = class {
|
|
4289
4289
|
static [entityKind] = "Cache";
|
|
4290
4290
|
};
|
|
@@ -4305,7 +4305,7 @@ async function hashQuery(sql$1, params) {
|
|
|
4305
4305
|
}
|
|
4306
4306
|
|
|
4307
4307
|
//#endregion
|
|
4308
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4308
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/sqlite-core/session.js
|
|
4309
4309
|
var ExecuteResultSync = class extends QueryPromise {
|
|
4310
4310
|
constructor(resultCb) {
|
|
4311
4311
|
super();
|
|
@@ -4464,7 +4464,7 @@ var SQLiteTransaction = class extends BaseSQLiteDatabase {
|
|
|
4464
4464
|
};
|
|
4465
4465
|
|
|
4466
4466
|
//#endregion
|
|
4467
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4467
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/durable-sqlite/session.js
|
|
4468
4468
|
var SQLiteDOSession = class extends SQLiteSession {
|
|
4469
4469
|
constructor(client, dialect$1, schema, options = {}) {
|
|
4470
4470
|
super(dialect$1);
|
|
@@ -4542,7 +4542,7 @@ var SQLiteDOPreparedQuery = class extends SQLitePreparedQuery {
|
|
|
4542
4542
|
};
|
|
4543
4543
|
|
|
4544
4544
|
//#endregion
|
|
4545
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4545
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/durable-sqlite/driver.js
|
|
4546
4546
|
var DrizzleSqliteDODatabase = class extends BaseSQLiteDatabase {
|
|
4547
4547
|
static [entityKind] = "DrizzleSqliteDODatabase";
|
|
4548
4548
|
};
|
|
@@ -4566,7 +4566,7 @@ function drizzle(client, config = {}) {
|
|
|
4566
4566
|
}
|
|
4567
4567
|
|
|
4568
4568
|
//#endregion
|
|
4569
|
-
//#region ../node_modules/.bun/drizzle-orm@0.44.6+
|
|
4569
|
+
//#region ../node_modules/.bun/drizzle-orm@0.44.6+18fa98f9a11657f9/node_modules/drizzle-orm/durable-sqlite/migrator.js
|
|
4570
4570
|
function readMigrationFiles({ journal, migrations }) {
|
|
4571
4571
|
const migrationQueries = [];
|
|
4572
4572
|
for (const journalEntry of journal.entries) {
|
package/workers/tunnel-proxy.js
CHANGED
|
@@ -83,7 +83,7 @@ const renderErrorHtml = (props) => `
|
|
|
83
83
|
Alchemy</a>.</p>
|
|
84
84
|
</div>
|
|
85
85
|
<div class="bg-slate-200 px-5 py-3 flex flex-col w-full max-w-lg">
|
|
86
|
-
<p class="text-sm text-slate-500">Alchemy 0.77.
|
|
86
|
+
<p class="text-sm text-slate-500">Alchemy 0.77.2</p>
|
|
87
87
|
</div>
|
|
88
88
|
</div>
|
|
89
89
|
</body>
|