tempest.games 0.1.33 → 0.1.35
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/CHANGELOG.md +15 -0
- package/app/assets/{index-Bdrp8zDN.js → index-CpVfnMp6.js} +14 -14
- package/app/index.html +1 -1
- package/bin/backend.bun.js +28 -28
- package/bin/backend.worker.game.bun.js +8 -8
- package/bin/backend.worker.tribunal.bun.js +50 -50
- package/bin/frontend.bun.js +16 -16
- package/bin/setup-db.bun.js +60 -70
- package/package.json +15 -15
package/bin/setup-db.bun.js
CHANGED
|
@@ -603,8 +603,7 @@ var Flush = bytes_default().H().end();
|
|
|
603
603
|
var SSLRequest = bytes_default().i32(8).i32(80877103).end(8);
|
|
604
604
|
var ExecuteUnnamed = Buffer.concat([bytes_default().E().str(bytes_default.N).i32(0).end(), Sync]);
|
|
605
605
|
var DescribeUnnamed = bytes_default().D().str("S").str(bytes_default.N).end();
|
|
606
|
-
var noop = () => {
|
|
607
|
-
};
|
|
606
|
+
var noop = () => {};
|
|
608
607
|
var retryRoutines = new Set([
|
|
609
608
|
"FetchPreparedStatement",
|
|
610
609
|
"RevalidateCachedQuery",
|
|
@@ -1191,8 +1190,7 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
1191
1190
|
function NoticeResponse(x) {
|
|
1192
1191
|
onnotice ? onnotice(parseError(x)) : console.log(parseError(x));
|
|
1193
1192
|
}
|
|
1194
|
-
function EmptyQueryResponse() {
|
|
1195
|
-
}
|
|
1193
|
+
function EmptyQueryResponse() {}
|
|
1196
1194
|
function FunctionCallResponse() {
|
|
1197
1195
|
errored(Errors.notSupported("FunctionCallResponse"));
|
|
1198
1196
|
}
|
|
@@ -1295,8 +1293,7 @@ function timer(fn, seconds) {
|
|
|
1295
1293
|
}
|
|
1296
1294
|
|
|
1297
1295
|
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/subscribe.js
|
|
1298
|
-
var noop2 = () => {
|
|
1299
|
-
};
|
|
1296
|
+
var noop2 = () => {};
|
|
1300
1297
|
function Subscribe(postgres2, options) {
|
|
1301
1298
|
const subscribers = new Map, slot = "postgresjs_" + Math.random().toString(36).slice(2), state = {};
|
|
1302
1299
|
let connection2, stream, ended = false;
|
|
@@ -1427,10 +1424,8 @@ function parse(x, state, parsers2, handle, transform) {
|
|
|
1427
1424
|
i += 4;
|
|
1428
1425
|
}
|
|
1429
1426
|
},
|
|
1430
|
-
Y: () => {
|
|
1431
|
-
},
|
|
1432
|
-
O: () => {
|
|
1433
|
-
},
|
|
1427
|
+
Y: () => {},
|
|
1428
|
+
O: () => {},
|
|
1434
1429
|
B: (x2) => {
|
|
1435
1430
|
state.date = Time(x2.readBigInt64BE(9));
|
|
1436
1431
|
state.lsn = x2.subarray(1, 9);
|
|
@@ -1470,10 +1465,8 @@ function parse(x, state, parsers2, handle, transform) {
|
|
|
1470
1465
|
old: xs && xs.row
|
|
1471
1466
|
});
|
|
1472
1467
|
},
|
|
1473
|
-
T: () => {
|
|
1474
|
-
}
|
|
1475
|
-
C: () => {
|
|
1476
|
-
}
|
|
1468
|
+
T: () => {},
|
|
1469
|
+
C: () => {}
|
|
1477
1470
|
}).reduce(char, {})[x[0]](x);
|
|
1478
1471
|
}
|
|
1479
1472
|
function tuples(x, columns, xi, transform) {
|
|
@@ -1663,8 +1656,7 @@ function Postgres(a, b2) {
|
|
|
1663
1656
|
onclose() {
|
|
1664
1657
|
Object.entries(listen.channels).forEach(([name2, { listeners }]) => {
|
|
1665
1658
|
delete listen.channels[name2];
|
|
1666
|
-
Promise.all(listeners.map((l) => listen(name2, l.fn, l.onlisten).catch(() => {
|
|
1667
|
-
})));
|
|
1659
|
+
Promise.all(listeners.map((l) => listen(name2, l.fn, l.onlisten).catch(() => {})));
|
|
1668
1660
|
});
|
|
1669
1661
|
},
|
|
1670
1662
|
onnotify(c, x) {
|
|
@@ -1955,7 +1947,7 @@ function osUsername() {
|
|
|
1955
1947
|
}
|
|
1956
1948
|
}
|
|
1957
1949
|
|
|
1958
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
1950
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/entity.js
|
|
1959
1951
|
var entityKind = Symbol.for("drizzle:entityKind");
|
|
1960
1952
|
var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
1961
1953
|
function is(value, type) {
|
|
@@ -1980,7 +1972,7 @@ function is(value, type) {
|
|
|
1980
1972
|
return false;
|
|
1981
1973
|
}
|
|
1982
1974
|
|
|
1983
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
1975
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/logger.js
|
|
1984
1976
|
class ConsoleLogWriter {
|
|
1985
1977
|
static [entityKind] = "ConsoleLogWriter";
|
|
1986
1978
|
write(message) {
|
|
@@ -2009,11 +2001,10 @@ class DefaultLogger {
|
|
|
2009
2001
|
|
|
2010
2002
|
class NoopLogger {
|
|
2011
2003
|
static [entityKind] = "NoopLogger";
|
|
2012
|
-
logQuery() {
|
|
2013
|
-
}
|
|
2004
|
+
logQuery() {}
|
|
2014
2005
|
}
|
|
2015
2006
|
|
|
2016
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2007
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/query-promise.js
|
|
2017
2008
|
class QueryPromise {
|
|
2018
2009
|
static [entityKind] = "QueryPromise";
|
|
2019
2010
|
[Symbol.toStringTag] = "QueryPromise";
|
|
@@ -2034,7 +2025,7 @@ class QueryPromise {
|
|
|
2034
2025
|
}
|
|
2035
2026
|
}
|
|
2036
2027
|
|
|
2037
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2028
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/column.js
|
|
2038
2029
|
class Column {
|
|
2039
2030
|
constructor(table, config) {
|
|
2040
2031
|
this.table = table;
|
|
@@ -2084,20 +2075,20 @@ class Column {
|
|
|
2084
2075
|
}
|
|
2085
2076
|
}
|
|
2086
2077
|
|
|
2087
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2078
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/table.utils.js
|
|
2088
2079
|
var TableName = Symbol.for("drizzle:Name");
|
|
2089
2080
|
|
|
2090
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2081
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/tracing-utils.js
|
|
2091
2082
|
function iife(fn, ...args) {
|
|
2092
2083
|
return fn(...args);
|
|
2093
2084
|
}
|
|
2094
2085
|
|
|
2095
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2086
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
2096
2087
|
function uniqueKeyName(table, columns) {
|
|
2097
2088
|
return `${table[TableName]}_${columns.join("_")}_unique`;
|
|
2098
2089
|
}
|
|
2099
2090
|
|
|
2100
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2091
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
2101
2092
|
class PgColumn extends Column {
|
|
2102
2093
|
constructor(table, config) {
|
|
2103
2094
|
if (!config.uniqueName) {
|
|
@@ -2146,7 +2137,7 @@ class ExtraConfigColumn extends PgColumn {
|
|
|
2146
2137
|
}
|
|
2147
2138
|
}
|
|
2148
2139
|
|
|
2149
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2140
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
2150
2141
|
var isPgEnumSym = Symbol.for("drizzle:isPgEnum");
|
|
2151
2142
|
function isPgEnum(obj) {
|
|
2152
2143
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
|
@@ -2164,7 +2155,7 @@ class PgEnumColumn extends PgColumn {
|
|
|
2164
2155
|
}
|
|
2165
2156
|
}
|
|
2166
2157
|
|
|
2167
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2158
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/subquery.js
|
|
2168
2159
|
class Subquery {
|
|
2169
2160
|
static [entityKind] = "Subquery";
|
|
2170
2161
|
constructor(sql, selection, alias, isWith = false) {
|
|
@@ -2182,10 +2173,10 @@ class WithSubquery extends Subquery {
|
|
|
2182
2173
|
static [entityKind] = "WithSubquery";
|
|
2183
2174
|
}
|
|
2184
2175
|
|
|
2185
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2176
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/version.js
|
|
2186
2177
|
var version = "0.40.0";
|
|
2187
2178
|
|
|
2188
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2179
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/tracing.js
|
|
2189
2180
|
var otel;
|
|
2190
2181
|
var rawTracer;
|
|
2191
2182
|
var tracer = {
|
|
@@ -2212,10 +2203,10 @@ var tracer = {
|
|
|
2212
2203
|
}
|
|
2213
2204
|
};
|
|
2214
2205
|
|
|
2215
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2206
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/view-common.js
|
|
2216
2207
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
2217
2208
|
|
|
2218
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2209
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/table.js
|
|
2219
2210
|
var Schema = Symbol.for("drizzle:Schema");
|
|
2220
2211
|
var Columns = Symbol.for("drizzle:Columns");
|
|
2221
2212
|
var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
|
|
@@ -2259,7 +2250,7 @@ function getTableUniqueName(table) {
|
|
|
2259
2250
|
return `${table[Schema] ?? "public"}.${table[TableName]}`;
|
|
2260
2251
|
}
|
|
2261
2252
|
|
|
2262
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2253
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/sql/sql.js
|
|
2263
2254
|
function isSQLWrapper(value) {
|
|
2264
2255
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
2265
2256
|
}
|
|
@@ -2632,7 +2623,7 @@ Subquery.prototype.getSQL = function() {
|
|
|
2632
2623
|
return new SQL([this]);
|
|
2633
2624
|
};
|
|
2634
2625
|
|
|
2635
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2626
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/alias.js
|
|
2636
2627
|
class ColumnAliasProxyHandler {
|
|
2637
2628
|
constructor(table) {
|
|
2638
2629
|
this.table = table;
|
|
@@ -2711,7 +2702,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
|
2711
2702
|
}));
|
|
2712
2703
|
}
|
|
2713
2704
|
|
|
2714
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2705
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/selection-proxy.js
|
|
2715
2706
|
class SelectionProxyHandler {
|
|
2716
2707
|
static [entityKind] = "SelectionProxyHandler";
|
|
2717
2708
|
config;
|
|
@@ -2763,7 +2754,7 @@ class SelectionProxyHandler {
|
|
|
2763
2754
|
}
|
|
2764
2755
|
}
|
|
2765
2756
|
|
|
2766
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2757
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/utils.js
|
|
2767
2758
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
2768
2759
|
const nullifyMap = {};
|
|
2769
2760
|
const result = columns.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -2908,7 +2899,7 @@ function isConfig(data) {
|
|
|
2908
2899
|
return false;
|
|
2909
2900
|
}
|
|
2910
2901
|
|
|
2911
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2902
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/delete.js
|
|
2912
2903
|
class PgDeleteBase extends QueryPromise {
|
|
2913
2904
|
constructor(table, session, dialect, withList) {
|
|
2914
2905
|
super();
|
|
@@ -2964,7 +2955,7 @@ class PgDeleteBase extends QueryPromise {
|
|
|
2964
2955
|
}
|
|
2965
2956
|
}
|
|
2966
2957
|
|
|
2967
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
2958
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/casing.js
|
|
2968
2959
|
function toSnakeCase(input) {
|
|
2969
2960
|
const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
|
|
2970
2961
|
return words.map((word) => word.toLowerCase()).join("_");
|
|
@@ -3017,7 +3008,7 @@ class CasingCache {
|
|
|
3017
3008
|
}
|
|
3018
3009
|
}
|
|
3019
3010
|
|
|
3020
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3011
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/errors.js
|
|
3021
3012
|
class DrizzleError extends Error {
|
|
3022
3013
|
static [entityKind] = "DrizzleError";
|
|
3023
3014
|
constructor({ message, cause }) {
|
|
@@ -3034,7 +3025,7 @@ class TransactionRollbackError extends DrizzleError {
|
|
|
3034
3025
|
}
|
|
3035
3026
|
}
|
|
3036
3027
|
|
|
3037
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3028
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/date.js
|
|
3038
3029
|
class PgDate extends PgColumn {
|
|
3039
3030
|
static [entityKind] = "PgDate";
|
|
3040
3031
|
getSQLType() {
|
|
@@ -3054,7 +3045,7 @@ class PgDateString extends PgColumn {
|
|
|
3054
3045
|
}
|
|
3055
3046
|
}
|
|
3056
3047
|
|
|
3057
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3048
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/json.js
|
|
3058
3049
|
class PgJson extends PgColumn {
|
|
3059
3050
|
static [entityKind] = "PgJson";
|
|
3060
3051
|
constructor(table, config) {
|
|
@@ -3078,7 +3069,7 @@ class PgJson extends PgColumn {
|
|
|
3078
3069
|
}
|
|
3079
3070
|
}
|
|
3080
3071
|
|
|
3081
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3072
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/jsonb.js
|
|
3082
3073
|
class PgJsonb extends PgColumn {
|
|
3083
3074
|
static [entityKind] = "PgJsonb";
|
|
3084
3075
|
constructor(table, config) {
|
|
@@ -3102,7 +3093,7 @@ class PgJsonb extends PgColumn {
|
|
|
3102
3093
|
}
|
|
3103
3094
|
}
|
|
3104
3095
|
|
|
3105
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3096
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/numeric.js
|
|
3106
3097
|
class PgNumeric extends PgColumn {
|
|
3107
3098
|
static [entityKind] = "PgNumeric";
|
|
3108
3099
|
precision;
|
|
@@ -3123,7 +3114,7 @@ class PgNumeric extends PgColumn {
|
|
|
3123
3114
|
}
|
|
3124
3115
|
}
|
|
3125
3116
|
|
|
3126
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3117
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/time.js
|
|
3127
3118
|
class PgTime extends PgColumn {
|
|
3128
3119
|
static [entityKind] = "PgTime";
|
|
3129
3120
|
withTimezone;
|
|
@@ -3139,7 +3130,7 @@ class PgTime extends PgColumn {
|
|
|
3139
3130
|
}
|
|
3140
3131
|
}
|
|
3141
3132
|
|
|
3142
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3133
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/timestamp.js
|
|
3143
3134
|
class PgTimestamp extends PgColumn {
|
|
3144
3135
|
static [entityKind] = "PgTimestamp";
|
|
3145
3136
|
withTimezone;
|
|
@@ -3175,7 +3166,7 @@ class PgTimestampString extends PgColumn {
|
|
|
3175
3166
|
}
|
|
3176
3167
|
}
|
|
3177
3168
|
|
|
3178
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3169
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/uuid.js
|
|
3179
3170
|
class PgUUID extends PgColumn {
|
|
3180
3171
|
static [entityKind] = "PgUUID";
|
|
3181
3172
|
getSQLType() {
|
|
@@ -3183,7 +3174,7 @@ class PgUUID extends PgColumn {
|
|
|
3183
3174
|
}
|
|
3184
3175
|
}
|
|
3185
3176
|
|
|
3186
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3177
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/table.js
|
|
3187
3178
|
var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
|
|
3188
3179
|
var EnableRLS = Symbol.for("drizzle:EnableRLS");
|
|
3189
3180
|
|
|
@@ -3199,7 +3190,7 @@ class PgTable extends Table {
|
|
|
3199
3190
|
[Table.Symbol.ExtraConfigColumns] = {};
|
|
3200
3191
|
}
|
|
3201
3192
|
|
|
3202
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3193
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
3203
3194
|
class PrimaryKeyBuilder {
|
|
3204
3195
|
static [entityKind] = "PgPrimaryKeyBuilder";
|
|
3205
3196
|
columns;
|
|
@@ -3227,7 +3218,7 @@ class PrimaryKey {
|
|
|
3227
3218
|
}
|
|
3228
3219
|
}
|
|
3229
3220
|
|
|
3230
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3221
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
3231
3222
|
function bindIfParam(value, column) {
|
|
3232
3223
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
|
|
3233
3224
|
return new Param(value, column);
|
|
@@ -3332,7 +3323,7 @@ function notIlike(column, value) {
|
|
|
3332
3323
|
return sql`${column} not ilike ${value}`;
|
|
3333
3324
|
}
|
|
3334
3325
|
|
|
3335
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3326
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/sql/expressions/select.js
|
|
3336
3327
|
function asc(column) {
|
|
3337
3328
|
return sql`${column} asc`;
|
|
3338
3329
|
}
|
|
@@ -3340,7 +3331,7 @@ function desc(column) {
|
|
|
3340
3331
|
return sql`${column} desc`;
|
|
3341
3332
|
}
|
|
3342
3333
|
|
|
3343
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3334
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/relations.js
|
|
3344
3335
|
class Relation {
|
|
3345
3336
|
constructor(sourceTable, referencedTable, relationName) {
|
|
3346
3337
|
this.sourceTable = sourceTable;
|
|
@@ -3560,12 +3551,12 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
|
3560
3551
|
return result;
|
|
3561
3552
|
}
|
|
3562
3553
|
|
|
3563
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3554
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/view-base.js
|
|
3564
3555
|
class PgViewBase extends View {
|
|
3565
3556
|
static [entityKind] = "PgViewBase";
|
|
3566
3557
|
}
|
|
3567
3558
|
|
|
3568
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
3559
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/dialect.js
|
|
3569
3560
|
class PgDialect {
|
|
3570
3561
|
static [entityKind] = "PgDialect";
|
|
3571
3562
|
casing;
|
|
@@ -4122,7 +4113,7 @@ class PgDialect {
|
|
|
4122
4113
|
}
|
|
4123
4114
|
}
|
|
4124
4115
|
|
|
4125
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4116
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
4126
4117
|
class TypedQueryBuilder {
|
|
4127
4118
|
static [entityKind] = "TypedQueryBuilder";
|
|
4128
4119
|
getSelectedFields() {
|
|
@@ -4130,7 +4121,7 @@ class TypedQueryBuilder {
|
|
|
4130
4121
|
}
|
|
4131
4122
|
}
|
|
4132
4123
|
|
|
4133
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4124
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/select.js
|
|
4134
4125
|
class PgSelectBuilder {
|
|
4135
4126
|
static [entityKind] = "PgSelectBuilder";
|
|
4136
4127
|
fields;
|
|
@@ -4419,7 +4410,7 @@ var intersectAll = createSetOperator("intersect", true);
|
|
|
4419
4410
|
var except = createSetOperator("except", false);
|
|
4420
4411
|
var exceptAll = createSetOperator("except", true);
|
|
4421
4412
|
|
|
4422
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4413
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
|
|
4423
4414
|
class QueryBuilder {
|
|
4424
4415
|
static [entityKind] = "PgQueryBuilder";
|
|
4425
4416
|
dialect;
|
|
@@ -4497,7 +4488,7 @@ class QueryBuilder {
|
|
|
4497
4488
|
}
|
|
4498
4489
|
}
|
|
4499
4490
|
|
|
4500
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4491
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/insert.js
|
|
4501
4492
|
class PgInsertBuilder {
|
|
4502
4493
|
constructor(table, session, dialect, withList, overridingSystemValue_) {
|
|
4503
4494
|
this.table = table;
|
|
@@ -4616,7 +4607,7 @@ class PgInsertBase extends QueryPromise {
|
|
|
4616
4607
|
}
|
|
4617
4608
|
}
|
|
4618
4609
|
|
|
4619
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4610
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
|
|
4620
4611
|
class PgRefreshMaterializedView extends QueryPromise {
|
|
4621
4612
|
constructor(view, session, dialect) {
|
|
4622
4613
|
super();
|
|
@@ -4667,7 +4658,7 @@ class PgRefreshMaterializedView extends QueryPromise {
|
|
|
4667
4658
|
};
|
|
4668
4659
|
}
|
|
4669
4660
|
|
|
4670
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4661
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/update.js
|
|
4671
4662
|
class PgUpdateBuilder {
|
|
4672
4663
|
constructor(table, session, dialect, withList) {
|
|
4673
4664
|
this.table = table;
|
|
@@ -4817,7 +4808,7 @@ class PgUpdateBase extends QueryPromise {
|
|
|
4817
4808
|
}
|
|
4818
4809
|
}
|
|
4819
4810
|
|
|
4820
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4811
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/count.js
|
|
4821
4812
|
class PgCountBuilder extends SQL {
|
|
4822
4813
|
constructor(params) {
|
|
4823
4814
|
super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
|
|
@@ -4858,7 +4849,7 @@ class PgCountBuilder extends SQL {
|
|
|
4858
4849
|
}
|
|
4859
4850
|
}
|
|
4860
4851
|
|
|
4861
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4852
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/query.js
|
|
4862
4853
|
class RelationalQueryBuilder {
|
|
4863
4854
|
constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
|
|
4864
4855
|
this.fullSchema = fullSchema;
|
|
@@ -4941,7 +4932,7 @@ class PgRelationalQuery extends QueryPromise {
|
|
|
4941
4932
|
}
|
|
4942
4933
|
}
|
|
4943
4934
|
|
|
4944
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4935
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/raw.js
|
|
4945
4936
|
class PgRaw extends QueryPromise {
|
|
4946
4937
|
constructor(execute, sql2, query, mapBatchResult) {
|
|
4947
4938
|
super();
|
|
@@ -4968,7 +4959,7 @@ class PgRaw extends QueryPromise {
|
|
|
4968
4959
|
}
|
|
4969
4960
|
}
|
|
4970
4961
|
|
|
4971
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
4962
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/db.js
|
|
4972
4963
|
class PgDatabase {
|
|
4973
4964
|
constructor(dialect, session, schema) {
|
|
4974
4965
|
this.dialect = dialect;
|
|
@@ -5092,7 +5083,7 @@ class PgDatabase {
|
|
|
5092
5083
|
}
|
|
5093
5084
|
}
|
|
5094
5085
|
|
|
5095
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
5086
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/pg-core/session.js
|
|
5096
5087
|
class PgPreparedQuery {
|
|
5097
5088
|
constructor(query) {
|
|
5098
5089
|
this.query = query;
|
|
@@ -5162,7 +5153,7 @@ class PgTransaction extends PgDatabase {
|
|
|
5162
5153
|
}
|
|
5163
5154
|
}
|
|
5164
5155
|
|
|
5165
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
5156
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/session.js
|
|
5166
5157
|
class PostgresJsPreparedQuery extends PgPreparedQuery {
|
|
5167
5158
|
constructor(client, queryString, params, logger, fields, _isResponseInArrayMode, customResultMapper) {
|
|
5168
5159
|
super({ sql: queryString, params });
|
|
@@ -5270,7 +5261,7 @@ class PostgresJsTransaction extends PgTransaction {
|
|
|
5270
5261
|
}
|
|
5271
5262
|
}
|
|
5272
5263
|
|
|
5273
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
5264
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/driver.js
|
|
5274
5265
|
class PostgresJsDatabase extends PgDatabase {
|
|
5275
5266
|
static [entityKind] = "PostgresJsDatabase";
|
|
5276
5267
|
}
|
|
@@ -5334,7 +5325,7 @@ function drizzle(...params) {
|
|
|
5334
5325
|
drizzle2.mock = mock;
|
|
5335
5326
|
})(drizzle || (drizzle = {}));
|
|
5336
5327
|
|
|
5337
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
5328
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/migrator.js
|
|
5338
5329
|
import crypto2 from "crypto";
|
|
5339
5330
|
import fs2 from "fs";
|
|
5340
5331
|
function readMigrationFiles(config) {
|
|
@@ -5366,7 +5357,7 @@ function readMigrationFiles(config) {
|
|
|
5366
5357
|
return migrationQueries;
|
|
5367
5358
|
}
|
|
5368
5359
|
|
|
5369
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_bun-types@1.2.
|
|
5360
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.40.0_@cloudflare+workers-types@4.20250313.0_bun-types@1.2.5_gel@2.0.0_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/migrator.js
|
|
5370
5361
|
async function migrate(db, config) {
|
|
5371
5362
|
const migrations = readMigrationFiles(config);
|
|
5372
5363
|
await db.dialect.migrate(migrations, db.session, config);
|
|
@@ -5473,8 +5464,7 @@ function createEnv(opts) {
|
|
|
5473
5464
|
var util;
|
|
5474
5465
|
(function(util2) {
|
|
5475
5466
|
util2.assertEqual = (val) => val;
|
|
5476
|
-
function assertIs(_arg) {
|
|
5477
|
-
}
|
|
5467
|
+
function assertIs(_arg) {}
|
|
5478
5468
|
util2.assertIs = assertIs;
|
|
5479
5469
|
function assertNever(_x) {
|
|
5480
5470
|
throw new Error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tempest.games",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,44 +28,44 @@
|
|
|
28
28
|
"@t3-oss/env-core": "0.12.0",
|
|
29
29
|
"cron": "4.1.0",
|
|
30
30
|
"drizzle-orm": "0.40.0",
|
|
31
|
-
"openai": "4.
|
|
31
|
+
"openai": "4.87.3",
|
|
32
32
|
"postgres": "3.4.5",
|
|
33
33
|
"react": "19.0.0",
|
|
34
34
|
"react-dom": "19.0.0",
|
|
35
|
-
"safegen": "0.2.
|
|
35
|
+
"safegen": "0.2.12",
|
|
36
36
|
"socket.io": "4.8.1",
|
|
37
37
|
"socket.io-client": "4.8.1",
|
|
38
38
|
"zod": "3.24.2",
|
|
39
|
-
"zod-to-json-schema": "3.24.
|
|
40
|
-
"atom.io": "0.32.
|
|
39
|
+
"zod-to-json-schema": "3.24.4",
|
|
40
|
+
"atom.io": "0.32.3",
|
|
41
41
|
"safedeposit": "0.1.0",
|
|
42
|
-
"treetrunks": "0.0.
|
|
42
|
+
"treetrunks": "0.0.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@eslint/js": "9.
|
|
46
|
-
"@types/node": "22.13.
|
|
45
|
+
"@eslint/js": "9.22.0",
|
|
46
|
+
"@types/node": "22.13.10",
|
|
47
47
|
"@types/react": "19.0.10",
|
|
48
48
|
"@types/react-dom": "19.0.4",
|
|
49
49
|
"@vitejs/plugin-react-swc": "3.8.0",
|
|
50
|
-
"bun-types": "1.2.
|
|
50
|
+
"bun-types": "1.2.5",
|
|
51
51
|
"concurrently": "9.1.2",
|
|
52
52
|
"cross-env": "7.0.3",
|
|
53
53
|
"dotenv": "16.4.7",
|
|
54
54
|
"dotenv-cli": "8.0.0",
|
|
55
55
|
"drizzle-kit": "0.30.5",
|
|
56
|
-
"eslint": "9.
|
|
56
|
+
"eslint": "9.22.0",
|
|
57
57
|
"eslint-plugin-react-refresh": "0.4.19",
|
|
58
58
|
"globals": "16.0.0",
|
|
59
59
|
"rimraf": "6.0.1",
|
|
60
60
|
"sass-embedded": "1.85.1",
|
|
61
61
|
"tsx": "4.19.3",
|
|
62
62
|
"typescript": "5.8.2",
|
|
63
|
-
"typescript-eslint": "8.
|
|
64
|
-
"vite": "6.2.
|
|
63
|
+
"typescript-eslint": "8.26.1",
|
|
64
|
+
"vite": "6.2.2",
|
|
65
65
|
"vite-tsconfig-paths": "5.1.4",
|
|
66
|
-
"vitest": "3.0.
|
|
67
|
-
"flightdeck": "0.2.
|
|
68
|
-
"varmint": "0.4.
|
|
66
|
+
"vitest": "3.0.8",
|
|
67
|
+
"flightdeck": "0.2.20",
|
|
68
|
+
"varmint": "0.4.4"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"dev": "bun run env:dev && concurrently \"bun:dev:*\"",
|