tempest.games 0.1.9 → 0.1.11
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 +13 -0
- package/app/assets/{index-BEjht4Wp.js → index-Cj0zGHKx.js} +11 -11
- package/app/index.html +1 -1
- package/bin/backend.bun.js +14 -14
- package/bin/backend.worker.game.bun.js +1 -1
- package/bin/backend.worker.tribunal.bun.js +11 -11
- package/bin/frontend.bun.js +6 -6
- package/bin/setup-db.bun.js +66 -63
- package/package.json +23 -23
package/bin/setup-db.bun.js
CHANGED
|
@@ -9,7 +9,7 @@ import { resolve } from "path";
|
|
|
9
9
|
import os from "os";
|
|
10
10
|
import fs from "fs";
|
|
11
11
|
|
|
12
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
12
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/query.js
|
|
13
13
|
var originCache = new Map;
|
|
14
14
|
var originStackCache = new Map;
|
|
15
15
|
var originError = Symbol("OriginError");
|
|
@@ -147,7 +147,7 @@ function cachedError(xs) {
|
|
|
147
147
|
return originCache.get(xs);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
150
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/errors.js
|
|
151
151
|
class PostgresError extends Error {
|
|
152
152
|
constructor(x) {
|
|
153
153
|
super(x.message);
|
|
@@ -190,7 +190,7 @@ function notSupported(x) {
|
|
|
190
190
|
return error;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
193
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/types.js
|
|
194
194
|
var types = {
|
|
195
195
|
string: {
|
|
196
196
|
to: 25,
|
|
@@ -471,14 +471,14 @@ fromKebab.column = { to: fromKebab };
|
|
|
471
471
|
var kebab = { ...toKebab };
|
|
472
472
|
kebab.column.to = fromKebab;
|
|
473
473
|
|
|
474
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
474
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/connection.js
|
|
475
475
|
import net from "net";
|
|
476
476
|
import tls from "tls";
|
|
477
477
|
import crypto from "crypto";
|
|
478
478
|
import Stream from "stream";
|
|
479
479
|
import { performance } from "perf_hooks";
|
|
480
480
|
|
|
481
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
481
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/result.js
|
|
482
482
|
class Result extends Array {
|
|
483
483
|
constructor() {
|
|
484
484
|
super();
|
|
@@ -495,7 +495,7 @@ class Result extends Array {
|
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
498
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/queue.js
|
|
499
499
|
var queue_default = Queue;
|
|
500
500
|
function Queue(initial = []) {
|
|
501
501
|
let xs = initial.slice();
|
|
@@ -522,7 +522,7 @@ function Queue(initial = []) {
|
|
|
522
522
|
};
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
525
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/bytes.js
|
|
526
526
|
var size = 256;
|
|
527
527
|
var buffer = Buffer.allocUnsafe(size);
|
|
528
528
|
var messages = "BCcDdEFfHPpQSX".split("").reduce((acc, x) => {
|
|
@@ -595,7 +595,7 @@ function reset() {
|
|
|
595
595
|
return b;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
598
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/connection.js
|
|
599
599
|
var connection_default = Connection;
|
|
600
600
|
var uid = 1;
|
|
601
601
|
var Sync = bytes_default().S().end();
|
|
@@ -854,7 +854,7 @@ function Connection(options, queues = {}, { onopen = noop, onend = noop, onclose
|
|
|
854
854
|
initial && (queryError(initial, err), initial = null);
|
|
855
855
|
}
|
|
856
856
|
function queryError(query2, err) {
|
|
857
|
-
Object.defineProperties(err, {
|
|
857
|
+
"query" in err || "parameters" in err || Object.defineProperties(err, {
|
|
858
858
|
stack: { value: err.stack + query2.origin.replace(/.*\n/, "\n"), enumerable: options.debug },
|
|
859
859
|
query: { value: query2.string, enumerable: options.debug },
|
|
860
860
|
parameters: { value: query2.parameters, enumerable: options.debug },
|
|
@@ -1293,7 +1293,7 @@ function timer(fn, seconds) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
1296
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/subscribe.js
|
|
1297
1297
|
var noop2 = () => {
|
|
1298
1298
|
};
|
|
1299
1299
|
function Subscribe(postgres2, options) {
|
|
@@ -1494,7 +1494,7 @@ function parseEvent(x) {
|
|
|
1494
1494
|
return (command || "*") + (path ? ":" + (path.indexOf(".") === -1 ? "public." + path : path) : "") + (key ? "=" + key : "");
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
// ../../node_modules/.pnpm/postgres@3.4.
|
|
1497
|
+
// ../../node_modules/.pnpm/postgres@3.4.5/node_modules/postgres/src/large.js
|
|
1498
1498
|
import Stream2 from "stream";
|
|
1499
1499
|
function largeObject(sql, oid, mode = 131072 | 262144) {
|
|
1500
1500
|
return new Promise(async (resolve, reject) => {
|
|
@@ -1954,7 +1954,7 @@ function osUsername() {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
1957
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/entity.js
|
|
1958
1958
|
var entityKind = Symbol.for("drizzle:entityKind");
|
|
1959
1959
|
var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
1960
1960
|
function is(value, type) {
|
|
@@ -1979,7 +1979,7 @@ function is(value, type) {
|
|
|
1979
1979
|
return false;
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
1982
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/logger.js
|
|
1983
1983
|
class ConsoleLogWriter {
|
|
1984
1984
|
static [entityKind] = "ConsoleLogWriter";
|
|
1985
1985
|
write(message) {
|
|
@@ -2012,7 +2012,7 @@ class NoopLogger {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
|
|
2015
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2015
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/query-promise.js
|
|
2016
2016
|
class QueryPromise {
|
|
2017
2017
|
static [entityKind] = "QueryPromise";
|
|
2018
2018
|
[Symbol.toStringTag] = "QueryPromise";
|
|
@@ -2033,10 +2033,10 @@ class QueryPromise {
|
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2036
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/table.utils.js
|
|
2037
2037
|
var TableName = Symbol.for("drizzle:Name");
|
|
2038
2038
|
|
|
2039
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2039
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/table.js
|
|
2040
2040
|
var Schema = Symbol.for("drizzle:Schema");
|
|
2041
2041
|
var Columns = Symbol.for("drizzle:Columns");
|
|
2042
2042
|
var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
|
|
@@ -2080,15 +2080,15 @@ function getTableUniqueName(table) {
|
|
|
2080
2080
|
return `${table[Schema] ?? "public"}.${table[TableName]}`;
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2083
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/tracing-utils.js
|
|
2084
2084
|
function iife(fn, ...args) {
|
|
2085
2085
|
return fn(...args);
|
|
2086
2086
|
}
|
|
2087
2087
|
|
|
2088
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2089
|
-
var version = "0.
|
|
2088
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/version.js
|
|
2089
|
+
var version = "0.36.0";
|
|
2090
2090
|
|
|
2091
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2091
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/tracing.js
|
|
2092
2092
|
var otel;
|
|
2093
2093
|
var rawTracer;
|
|
2094
2094
|
var tracer = {
|
|
@@ -2115,7 +2115,7 @@ var tracer = {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
2118
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2118
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/column.js
|
|
2119
2119
|
class Column {
|
|
2120
2120
|
constructor(table, config) {
|
|
2121
2121
|
this.table = table;
|
|
@@ -2165,12 +2165,12 @@ class Column {
|
|
|
2165
2165
|
}
|
|
2166
2166
|
}
|
|
2167
2167
|
|
|
2168
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2168
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
2169
2169
|
function uniqueKeyName(table, columns) {
|
|
2170
2170
|
return `${table[TableName]}_${columns.join("_")}_unique`;
|
|
2171
2171
|
}
|
|
2172
2172
|
|
|
2173
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2173
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
2174
2174
|
class PgColumn extends Column {
|
|
2175
2175
|
constructor(table, config) {
|
|
2176
2176
|
if (!config.uniqueName) {
|
|
@@ -2219,7 +2219,7 @@ class ExtraConfigColumn extends PgColumn {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
}
|
|
2221
2221
|
|
|
2222
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2222
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
2223
2223
|
var isPgEnumSym = Symbol.for("drizzle:isPgEnum");
|
|
2224
2224
|
function isPgEnum(obj) {
|
|
2225
2225
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
|
@@ -2237,7 +2237,7 @@ class PgEnumColumn extends PgColumn {
|
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
2240
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2240
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/subquery.js
|
|
2241
2241
|
class Subquery {
|
|
2242
2242
|
static [entityKind] = "Subquery";
|
|
2243
2243
|
constructor(sql, selection, alias, isWith = false) {
|
|
@@ -2255,10 +2255,10 @@ class WithSubquery extends Subquery {
|
|
|
2255
2255
|
static [entityKind] = "WithSubquery";
|
|
2256
2256
|
}
|
|
2257
2257
|
|
|
2258
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2258
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/view-common.js
|
|
2259
2259
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
2260
2260
|
|
|
2261
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2261
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/sql/sql.js
|
|
2262
2262
|
function isSQLWrapper(value) {
|
|
2263
2263
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
2264
2264
|
}
|
|
@@ -2625,7 +2625,7 @@ Subquery.prototype.getSQL = function() {
|
|
|
2625
2625
|
return new SQL([this]);
|
|
2626
2626
|
};
|
|
2627
2627
|
|
|
2628
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2628
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/utils.js
|
|
2629
2629
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
2630
2630
|
const nullifyMap = {};
|
|
2631
2631
|
const result = columns.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -2761,7 +2761,7 @@ function isConfig(data) {
|
|
|
2761
2761
|
}
|
|
2762
2762
|
if ("client" in data) {
|
|
2763
2763
|
const type = typeof data["client"];
|
|
2764
|
-
if (type !== "object" && type !== "undefined")
|
|
2764
|
+
if (type !== "object" && type !== "function" && type !== "undefined")
|
|
2765
2765
|
return false;
|
|
2766
2766
|
return true;
|
|
2767
2767
|
}
|
|
@@ -2770,7 +2770,7 @@ function isConfig(data) {
|
|
|
2770
2770
|
return false;
|
|
2771
2771
|
}
|
|
2772
2772
|
|
|
2773
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2773
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/delete.js
|
|
2774
2774
|
class PgDeleteBase extends QueryPromise {
|
|
2775
2775
|
constructor(table, session, dialect, withList) {
|
|
2776
2776
|
super();
|
|
@@ -2813,7 +2813,7 @@ class PgDeleteBase extends QueryPromise {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
2815
2815
|
|
|
2816
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2816
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/insert.js
|
|
2817
2817
|
class PgInsertBuilder {
|
|
2818
2818
|
constructor(table, session, dialect, withList) {
|
|
2819
2819
|
this.table = table;
|
|
@@ -2902,7 +2902,7 @@ class PgInsertBase extends QueryPromise {
|
|
|
2902
2902
|
}
|
|
2903
2903
|
}
|
|
2904
2904
|
|
|
2905
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2905
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/alias.js
|
|
2906
2906
|
class ColumnAliasProxyHandler {
|
|
2907
2907
|
constructor(table) {
|
|
2908
2908
|
this.table = table;
|
|
@@ -2981,7 +2981,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
|
2981
2981
|
}));
|
|
2982
2982
|
}
|
|
2983
2983
|
|
|
2984
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
2984
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/casing.js
|
|
2985
2985
|
function toSnakeCase(input) {
|
|
2986
2986
|
const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
|
|
2987
2987
|
return words.map((word) => word.toLowerCase()).join("_");
|
|
@@ -3034,7 +3034,7 @@ class CasingCache {
|
|
|
3034
3034
|
}
|
|
3035
3035
|
}
|
|
3036
3036
|
|
|
3037
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3037
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/errors.js
|
|
3038
3038
|
class DrizzleError extends Error {
|
|
3039
3039
|
static [entityKind] = "DrizzleError";
|
|
3040
3040
|
constructor({ message, cause }) {
|
|
@@ -3051,7 +3051,7 @@ class TransactionRollbackError extends DrizzleError {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
}
|
|
3053
3053
|
|
|
3054
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3054
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/date.js
|
|
3055
3055
|
class PgDate extends PgColumn {
|
|
3056
3056
|
static [entityKind] = "PgDate";
|
|
3057
3057
|
getSQLType() {
|
|
@@ -3071,7 +3071,7 @@ class PgDateString extends PgColumn {
|
|
|
3071
3071
|
}
|
|
3072
3072
|
}
|
|
3073
3073
|
|
|
3074
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3074
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/json.js
|
|
3075
3075
|
class PgJson extends PgColumn {
|
|
3076
3076
|
static [entityKind] = "PgJson";
|
|
3077
3077
|
constructor(table, config) {
|
|
@@ -3095,7 +3095,7 @@ class PgJson extends PgColumn {
|
|
|
3095
3095
|
}
|
|
3096
3096
|
}
|
|
3097
3097
|
|
|
3098
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3098
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/jsonb.js
|
|
3099
3099
|
class PgJsonb extends PgColumn {
|
|
3100
3100
|
static [entityKind] = "PgJsonb";
|
|
3101
3101
|
constructor(table, config) {
|
|
@@ -3119,7 +3119,7 @@ class PgJsonb extends PgColumn {
|
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
3121
|
|
|
3122
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3122
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/numeric.js
|
|
3123
3123
|
class PgNumeric extends PgColumn {
|
|
3124
3124
|
static [entityKind] = "PgNumeric";
|
|
3125
3125
|
precision;
|
|
@@ -3140,7 +3140,7 @@ class PgNumeric extends PgColumn {
|
|
|
3140
3140
|
}
|
|
3141
3141
|
}
|
|
3142
3142
|
|
|
3143
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3143
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/time.js
|
|
3144
3144
|
class PgTime extends PgColumn {
|
|
3145
3145
|
static [entityKind] = "PgTime";
|
|
3146
3146
|
withTimezone;
|
|
@@ -3156,7 +3156,7 @@ class PgTime extends PgColumn {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
}
|
|
3158
3158
|
|
|
3159
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3159
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/timestamp.js
|
|
3160
3160
|
class PgTimestamp extends PgColumn {
|
|
3161
3161
|
static [entityKind] = "PgTimestamp";
|
|
3162
3162
|
withTimezone;
|
|
@@ -3192,7 +3192,7 @@ class PgTimestampString extends PgColumn {
|
|
|
3192
3192
|
}
|
|
3193
3193
|
}
|
|
3194
3194
|
|
|
3195
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3195
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/columns/uuid.js
|
|
3196
3196
|
class PgUUID extends PgColumn {
|
|
3197
3197
|
static [entityKind] = "PgUUID";
|
|
3198
3198
|
getSQLType() {
|
|
@@ -3200,19 +3200,22 @@ class PgUUID extends PgColumn {
|
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
3202
|
|
|
3203
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3203
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/table.js
|
|
3204
3204
|
var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
|
|
3205
|
+
var EnableRLS = Symbol.for("drizzle:EnableRLS");
|
|
3205
3206
|
|
|
3206
3207
|
class PgTable extends Table {
|
|
3207
3208
|
static [entityKind] = "PgTable";
|
|
3208
3209
|
static Symbol = Object.assign({}, Table.Symbol, {
|
|
3209
|
-
InlineForeignKeys
|
|
3210
|
+
InlineForeignKeys,
|
|
3211
|
+
EnableRLS
|
|
3210
3212
|
});
|
|
3211
3213
|
[InlineForeignKeys] = [];
|
|
3214
|
+
[EnableRLS] = false;
|
|
3212
3215
|
[Table.Symbol.ExtraConfigBuilder] = undefined;
|
|
3213
3216
|
}
|
|
3214
3217
|
|
|
3215
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3218
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
3216
3219
|
class PrimaryKeyBuilder {
|
|
3217
3220
|
static [entityKind] = "PgPrimaryKeyBuilder";
|
|
3218
3221
|
columns;
|
|
@@ -3240,7 +3243,7 @@ class PrimaryKey {
|
|
|
3240
3243
|
}
|
|
3241
3244
|
}
|
|
3242
3245
|
|
|
3243
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3246
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
3244
3247
|
function bindIfParam(value, column) {
|
|
3245
3248
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
|
|
3246
3249
|
return new Param(value, column);
|
|
@@ -3345,7 +3348,7 @@ function notIlike(column, value) {
|
|
|
3345
3348
|
return sql`${column} not ilike ${value}`;
|
|
3346
3349
|
}
|
|
3347
3350
|
|
|
3348
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3351
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/sql/expressions/select.js
|
|
3349
3352
|
function asc(column) {
|
|
3350
3353
|
return sql`${column} asc`;
|
|
3351
3354
|
}
|
|
@@ -3353,7 +3356,7 @@ function desc(column) {
|
|
|
3353
3356
|
return sql`${column} desc`;
|
|
3354
3357
|
}
|
|
3355
3358
|
|
|
3356
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3359
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/relations.js
|
|
3357
3360
|
class Relation {
|
|
3358
3361
|
constructor(sourceTable, referencedTable, relationName) {
|
|
3359
3362
|
this.sourceTable = sourceTable;
|
|
@@ -3573,12 +3576,12 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
|
3573
3576
|
return result;
|
|
3574
3577
|
}
|
|
3575
3578
|
|
|
3576
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3579
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/view-base.js
|
|
3577
3580
|
class PgViewBase extends View {
|
|
3578
3581
|
static [entityKind] = "PgViewBase";
|
|
3579
3582
|
}
|
|
3580
3583
|
|
|
3581
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
3584
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/dialect.js
|
|
3582
3585
|
class PgDialect {
|
|
3583
3586
|
static [entityKind] = "PgDialect";
|
|
3584
3587
|
casing;
|
|
@@ -4111,7 +4114,7 @@ class PgDialect {
|
|
|
4111
4114
|
}
|
|
4112
4115
|
}
|
|
4113
4116
|
|
|
4114
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4117
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/selection-proxy.js
|
|
4115
4118
|
class SelectionProxyHandler {
|
|
4116
4119
|
static [entityKind] = "SelectionProxyHandler";
|
|
4117
4120
|
config;
|
|
@@ -4163,7 +4166,7 @@ class SelectionProxyHandler {
|
|
|
4163
4166
|
}
|
|
4164
4167
|
}
|
|
4165
4168
|
|
|
4166
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4169
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
4167
4170
|
class TypedQueryBuilder {
|
|
4168
4171
|
static [entityKind] = "TypedQueryBuilder";
|
|
4169
4172
|
getSelectedFields() {
|
|
@@ -4171,7 +4174,7 @@ class TypedQueryBuilder {
|
|
|
4171
4174
|
}
|
|
4172
4175
|
}
|
|
4173
4176
|
|
|
4174
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4177
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/select.js
|
|
4175
4178
|
class PgSelectBuilder {
|
|
4176
4179
|
static [entityKind] = "PgSelectBuilder";
|
|
4177
4180
|
fields;
|
|
@@ -4449,7 +4452,7 @@ var intersectAll = createSetOperator("intersect", true);
|
|
|
4449
4452
|
var except = createSetOperator("except", false);
|
|
4450
4453
|
var exceptAll = createSetOperator("except", true);
|
|
4451
4454
|
|
|
4452
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4455
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
|
|
4453
4456
|
class QueryBuilder {
|
|
4454
4457
|
static [entityKind] = "PgQueryBuilder";
|
|
4455
4458
|
dialect;
|
|
@@ -4528,7 +4531,7 @@ class QueryBuilder {
|
|
|
4528
4531
|
}
|
|
4529
4532
|
}
|
|
4530
4533
|
|
|
4531
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4534
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
|
|
4532
4535
|
class PgRefreshMaterializedView extends QueryPromise {
|
|
4533
4536
|
constructor(view, session, dialect) {
|
|
4534
4537
|
super();
|
|
@@ -4574,7 +4577,7 @@ class PgRefreshMaterializedView extends QueryPromise {
|
|
|
4574
4577
|
};
|
|
4575
4578
|
}
|
|
4576
4579
|
|
|
4577
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4580
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/update.js
|
|
4578
4581
|
class PgUpdateBuilder {
|
|
4579
4582
|
constructor(table, session, dialect, withList) {
|
|
4580
4583
|
this.table = table;
|
|
@@ -4626,7 +4629,7 @@ class PgUpdateBase extends QueryPromise {
|
|
|
4626
4629
|
}
|
|
4627
4630
|
}
|
|
4628
4631
|
|
|
4629
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4632
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/count.js
|
|
4630
4633
|
class PgCountBuilder extends SQL {
|
|
4631
4634
|
constructor(params) {
|
|
4632
4635
|
super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
|
|
@@ -4662,7 +4665,7 @@ class PgCountBuilder extends SQL {
|
|
|
4662
4665
|
}
|
|
4663
4666
|
}
|
|
4664
4667
|
|
|
4665
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4668
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/query.js
|
|
4666
4669
|
class RelationalQueryBuilder {
|
|
4667
4670
|
constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
|
|
4668
4671
|
this.fullSchema = fullSchema;
|
|
@@ -4740,7 +4743,7 @@ class PgRelationalQuery extends QueryPromise {
|
|
|
4740
4743
|
}
|
|
4741
4744
|
}
|
|
4742
4745
|
|
|
4743
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4746
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/query-builders/raw.js
|
|
4744
4747
|
class PgRaw extends QueryPromise {
|
|
4745
4748
|
constructor(execute, sql2, query, mapBatchResult) {
|
|
4746
4749
|
super();
|
|
@@ -4767,7 +4770,7 @@ class PgRaw extends QueryPromise {
|
|
|
4767
4770
|
}
|
|
4768
4771
|
}
|
|
4769
4772
|
|
|
4770
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4773
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/db.js
|
|
4771
4774
|
class PgDatabase {
|
|
4772
4775
|
constructor(dialect, session, schema) {
|
|
4773
4776
|
this.dialect = dialect;
|
|
@@ -4891,7 +4894,7 @@ class PgDatabase {
|
|
|
4891
4894
|
}
|
|
4892
4895
|
}
|
|
4893
4896
|
|
|
4894
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4897
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/pg-core/session.js
|
|
4895
4898
|
class PgPreparedQuery {
|
|
4896
4899
|
constructor(query) {
|
|
4897
4900
|
this.query = query;
|
|
@@ -4956,7 +4959,7 @@ class PgTransaction extends PgDatabase {
|
|
|
4956
4959
|
}
|
|
4957
4960
|
}
|
|
4958
4961
|
|
|
4959
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
4962
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/postgres-js/session.js
|
|
4960
4963
|
class PostgresJsPreparedQuery extends PgPreparedQuery {
|
|
4961
4964
|
constructor(client, queryString, params, logger, fields, _isResponseInArrayMode, customResultMapper) {
|
|
4962
4965
|
super({ sql: queryString, params });
|
|
@@ -5064,7 +5067,7 @@ class PostgresJsTransaction extends PgTransaction {
|
|
|
5064
5067
|
}
|
|
5065
5068
|
}
|
|
5066
5069
|
|
|
5067
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
5070
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/postgres-js/driver.js
|
|
5068
5071
|
class PostgresJsDatabase extends PgDatabase {
|
|
5069
5072
|
static [entityKind] = "PostgresJsDatabase";
|
|
5070
5073
|
}
|
|
@@ -5123,7 +5126,7 @@ function drizzle(...params) {
|
|
|
5123
5126
|
drizzle2.mock = mock;
|
|
5124
5127
|
})(drizzle || (drizzle = {}));
|
|
5125
5128
|
|
|
5126
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.
|
|
5129
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.36.0_@libsql+client-wasm@0.14.0_@types+react@18.3.12_bun-types@1.1.34_postgres@3.4.5_react@18.3.1/node_modules/drizzle-orm/migrator.js
|
|
5127
5130
|
import crypto2 from "crypto";
|
|
5128
5131
|
import fs2 from "fs";
|
|
5129
5132
|
function readMigrationFiles(config) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tempest.games",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,43 +19,43 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@t3-oss/env-core": "0.11.1",
|
|
22
|
-
"cron": "3.1.
|
|
23
|
-
"drizzle-orm": "0.
|
|
24
|
-
"openai": "4.
|
|
25
|
-
"postgres": "3.4.
|
|
22
|
+
"cron": "3.1.9",
|
|
23
|
+
"drizzle-orm": "0.36.0",
|
|
24
|
+
"openai": "4.71.0",
|
|
25
|
+
"postgres": "3.4.5",
|
|
26
26
|
"react": "18.3.1",
|
|
27
27
|
"react-dom": "18.3.1",
|
|
28
|
-
"safegen": "0.
|
|
29
|
-
"socket.io": "4.8.
|
|
30
|
-
"socket.io-client": "4.8.
|
|
28
|
+
"safegen": "0.1.1",
|
|
29
|
+
"socket.io": "4.8.1",
|
|
30
|
+
"socket.io-client": "4.8.1",
|
|
31
31
|
"zod": "3.23.8",
|
|
32
|
-
"zod-to-json-schema": "3.23.
|
|
33
|
-
"atom.io": "0.30.
|
|
32
|
+
"zod-to-json-schema": "3.23.5",
|
|
33
|
+
"atom.io": "0.30.2",
|
|
34
34
|
"treetrunks": "0.0.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@eslint/js": "9.
|
|
38
|
-
"@types/node": "22.7
|
|
37
|
+
"@eslint/js": "9.14.0",
|
|
38
|
+
"@types/node": "22.8.7",
|
|
39
39
|
"@types/react": "18.3.12",
|
|
40
40
|
"@types/react-dom": "18.3.1",
|
|
41
41
|
"@vitejs/plugin-react-swc": "3.7.1",
|
|
42
|
-
"bun-types": "1.1.
|
|
43
|
-
"concurrently": "9.0
|
|
42
|
+
"bun-types": "1.1.34",
|
|
43
|
+
"concurrently": "9.1.0",
|
|
44
44
|
"cross-env": "7.0.3",
|
|
45
45
|
"dotenv": "16.4.5",
|
|
46
46
|
"dotenv-cli": "7.4.2",
|
|
47
|
-
"drizzle-kit": "0.
|
|
48
|
-
"eslint": "9.
|
|
49
|
-
"eslint-plugin-react-refresh": "0.4.
|
|
50
|
-
"globals": "15.
|
|
47
|
+
"drizzle-kit": "0.27.1",
|
|
48
|
+
"eslint": "9.14.0",
|
|
49
|
+
"eslint-plugin-react-refresh": "0.4.14",
|
|
50
|
+
"globals": "15.12.0",
|
|
51
51
|
"rimraf": "6.0.1",
|
|
52
|
-
"sass-embedded": "1.80.
|
|
53
|
-
"tsx": "4.19.
|
|
52
|
+
"sass-embedded": "1.80.6",
|
|
53
|
+
"tsx": "4.19.2",
|
|
54
54
|
"typescript": "5.6.3",
|
|
55
|
-
"typescript-eslint": "8.
|
|
55
|
+
"typescript-eslint": "8.13.0",
|
|
56
56
|
"vite": "5.4.10",
|
|
57
|
-
"vite-tsconfig-paths": "5.0
|
|
58
|
-
"vitest": "2.1.
|
|
57
|
+
"vite-tsconfig-paths": "5.1.0",
|
|
58
|
+
"vitest": "2.1.4",
|
|
59
59
|
"varmint": "0.3.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|