tempest.games 0.2.0 → 0.2.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/CHANGELOG.md +14 -0
- package/app/assets/index-D9sd7NK-.js +109 -0
- package/app/index.html +1 -1
- package/bin/backend.bun.js +227 -227
- package/bin/backend.worker.game.bun.js +3 -14
- package/bin/backend.worker.tribunal.bun.js +83 -94
- package/bin/frontend.bun.js +43 -54
- package/bin/setup-db.bun.js +68 -82
- package/package.json +17 -18
- package/app/assets/index-DhXAmgc-.js +0 -109
package/bin/setup-db.bun.js
CHANGED
|
@@ -1947,7 +1947,7 @@ function osUsername() {
|
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
1950
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/entity.js
|
|
1951
1951
|
var entityKind = Symbol.for("drizzle:entityKind");
|
|
1952
1952
|
var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
1953
1953
|
function is(value, type) {
|
|
@@ -1972,7 +1972,7 @@ function is(value, type) {
|
|
|
1972
1972
|
return false;
|
|
1973
1973
|
}
|
|
1974
1974
|
|
|
1975
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
1975
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/logger.js
|
|
1976
1976
|
class ConsoleLogWriter {
|
|
1977
1977
|
static [entityKind] = "ConsoleLogWriter";
|
|
1978
1978
|
write(message) {
|
|
@@ -2004,7 +2004,7 @@ class NoopLogger {
|
|
|
2004
2004
|
logQuery() {}
|
|
2005
2005
|
}
|
|
2006
2006
|
|
|
2007
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2007
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/query-promise.js
|
|
2008
2008
|
class QueryPromise {
|
|
2009
2009
|
static [entityKind] = "QueryPromise";
|
|
2010
2010
|
[Symbol.toStringTag] = "QueryPromise";
|
|
@@ -2025,7 +2025,7 @@ class QueryPromise {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
2028
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2028
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/column.js
|
|
2029
2029
|
class Column {
|
|
2030
2030
|
constructor(table, config) {
|
|
2031
2031
|
this.table = table;
|
|
@@ -2075,20 +2075,20 @@ class Column {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
2077
|
|
|
2078
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2078
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/table.utils.js
|
|
2079
2079
|
var TableName = Symbol.for("drizzle:Name");
|
|
2080
2080
|
|
|
2081
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2081
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/tracing-utils.js
|
|
2082
2082
|
function iife(fn, ...args) {
|
|
2083
2083
|
return fn(...args);
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2086
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
2087
2087
|
function uniqueKeyName(table, columns) {
|
|
2088
2088
|
return `${table[TableName]}_${columns.join("_")}_unique`;
|
|
2089
2089
|
}
|
|
2090
2090
|
|
|
2091
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2091
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
2092
2092
|
class PgColumn extends Column {
|
|
2093
2093
|
constructor(table, config) {
|
|
2094
2094
|
if (!config.uniqueName) {
|
|
@@ -2137,7 +2137,7 @@ class ExtraConfigColumn extends PgColumn {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
}
|
|
2139
2139
|
|
|
2140
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2140
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
2141
2141
|
class PgEnumObjectColumn extends PgColumn {
|
|
2142
2142
|
static [entityKind] = "PgEnumObjectColumn";
|
|
2143
2143
|
enum;
|
|
@@ -2167,7 +2167,7 @@ class PgEnumColumn extends PgColumn {
|
|
|
2167
2167
|
}
|
|
2168
2168
|
}
|
|
2169
2169
|
|
|
2170
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2170
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/subquery.js
|
|
2171
2171
|
class Subquery {
|
|
2172
2172
|
static [entityKind] = "Subquery";
|
|
2173
2173
|
constructor(sql, selection, alias, isWith = false) {
|
|
@@ -2185,10 +2185,10 @@ class WithSubquery extends Subquery {
|
|
|
2185
2185
|
static [entityKind] = "WithSubquery";
|
|
2186
2186
|
}
|
|
2187
2187
|
|
|
2188
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2188
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/version.js
|
|
2189
2189
|
var version = "0.43.1";
|
|
2190
2190
|
|
|
2191
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2191
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/tracing.js
|
|
2192
2192
|
var otel;
|
|
2193
2193
|
var rawTracer;
|
|
2194
2194
|
var tracer = {
|
|
@@ -2215,10 +2215,10 @@ var tracer = {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
};
|
|
2217
2217
|
|
|
2218
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2218
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/view-common.js
|
|
2219
2219
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
2220
2220
|
|
|
2221
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2221
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/table.js
|
|
2222
2222
|
var Schema = Symbol.for("drizzle:Schema");
|
|
2223
2223
|
var Columns = Symbol.for("drizzle:Columns");
|
|
2224
2224
|
var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
|
|
@@ -2262,7 +2262,7 @@ function getTableUniqueName(table) {
|
|
|
2262
2262
|
return `${table[Schema] ?? "public"}.${table[TableName]}`;
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2265
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/sql/sql.js
|
|
2266
2266
|
function isSQLWrapper(value) {
|
|
2267
2267
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
2268
2268
|
}
|
|
@@ -2635,7 +2635,7 @@ Subquery.prototype.getSQL = function() {
|
|
|
2635
2635
|
return new SQL([this]);
|
|
2636
2636
|
};
|
|
2637
2637
|
|
|
2638
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2638
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/alias.js
|
|
2639
2639
|
class ColumnAliasProxyHandler {
|
|
2640
2640
|
constructor(table) {
|
|
2641
2641
|
this.table = table;
|
|
@@ -2714,7 +2714,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
|
2714
2714
|
}));
|
|
2715
2715
|
}
|
|
2716
2716
|
|
|
2717
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2717
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/selection-proxy.js
|
|
2718
2718
|
class SelectionProxyHandler {
|
|
2719
2719
|
static [entityKind] = "SelectionProxyHandler";
|
|
2720
2720
|
config;
|
|
@@ -2766,7 +2766,7 @@ class SelectionProxyHandler {
|
|
|
2766
2766
|
}
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2769
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/utils.js
|
|
2770
2770
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
2771
2771
|
const nullifyMap = {};
|
|
2772
2772
|
const result = columns.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -2911,7 +2911,7 @@ function isConfig(data) {
|
|
|
2911
2911
|
return false;
|
|
2912
2912
|
}
|
|
2913
2913
|
|
|
2914
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2914
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/delete.js
|
|
2915
2915
|
class PgDeleteBase extends QueryPromise {
|
|
2916
2916
|
constructor(table, session, dialect, withList) {
|
|
2917
2917
|
super();
|
|
@@ -2967,7 +2967,7 @@ class PgDeleteBase extends QueryPromise {
|
|
|
2967
2967
|
}
|
|
2968
2968
|
}
|
|
2969
2969
|
|
|
2970
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
2970
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/casing.js
|
|
2971
2971
|
function toSnakeCase(input) {
|
|
2972
2972
|
const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
|
|
2973
2973
|
return words.map((word) => word.toLowerCase()).join("_");
|
|
@@ -3020,7 +3020,7 @@ class CasingCache {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
3022
|
|
|
3023
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3023
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/errors.js
|
|
3024
3024
|
class DrizzleError extends Error {
|
|
3025
3025
|
static [entityKind] = "DrizzleError";
|
|
3026
3026
|
constructor({ message, cause }) {
|
|
@@ -3037,7 +3037,7 @@ class TransactionRollbackError extends DrizzleError {
|
|
|
3037
3037
|
}
|
|
3038
3038
|
}
|
|
3039
3039
|
|
|
3040
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3040
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/date.js
|
|
3041
3041
|
class PgDate extends PgColumn {
|
|
3042
3042
|
static [entityKind] = "PgDate";
|
|
3043
3043
|
getSQLType() {
|
|
@@ -3057,7 +3057,7 @@ class PgDateString extends PgColumn {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
|
|
3060
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3060
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/json.js
|
|
3061
3061
|
class PgJson extends PgColumn {
|
|
3062
3062
|
static [entityKind] = "PgJson";
|
|
3063
3063
|
constructor(table, config) {
|
|
@@ -3081,7 +3081,7 @@ class PgJson extends PgColumn {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
}
|
|
3083
3083
|
|
|
3084
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3084
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/jsonb.js
|
|
3085
3085
|
class PgJsonb extends PgColumn {
|
|
3086
3086
|
static [entityKind] = "PgJsonb";
|
|
3087
3087
|
constructor(table, config) {
|
|
@@ -3105,7 +3105,7 @@ class PgJsonb extends PgColumn {
|
|
|
3105
3105
|
}
|
|
3106
3106
|
}
|
|
3107
3107
|
|
|
3108
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3108
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/numeric.js
|
|
3109
3109
|
class PgNumeric extends PgColumn {
|
|
3110
3110
|
static [entityKind] = "PgNumeric";
|
|
3111
3111
|
precision;
|
|
@@ -3131,7 +3131,7 @@ class PgNumeric extends PgColumn {
|
|
|
3131
3131
|
}
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3134
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/time.js
|
|
3135
3135
|
class PgTime extends PgColumn {
|
|
3136
3136
|
static [entityKind] = "PgTime";
|
|
3137
3137
|
withTimezone;
|
|
@@ -3147,7 +3147,7 @@ class PgTime extends PgColumn {
|
|
|
3147
3147
|
}
|
|
3148
3148
|
}
|
|
3149
3149
|
|
|
3150
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3150
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/timestamp.js
|
|
3151
3151
|
class PgTimestamp extends PgColumn {
|
|
3152
3152
|
static [entityKind] = "PgTimestamp";
|
|
3153
3153
|
withTimezone;
|
|
@@ -3183,7 +3183,7 @@ class PgTimestampString extends PgColumn {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
3185
|
|
|
3186
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3186
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/columns/uuid.js
|
|
3187
3187
|
class PgUUID extends PgColumn {
|
|
3188
3188
|
static [entityKind] = "PgUUID";
|
|
3189
3189
|
getSQLType() {
|
|
@@ -3191,7 +3191,7 @@ class PgUUID extends PgColumn {
|
|
|
3191
3191
|
}
|
|
3192
3192
|
}
|
|
3193
3193
|
|
|
3194
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3194
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/table.js
|
|
3195
3195
|
var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
|
|
3196
3196
|
var EnableRLS = Symbol.for("drizzle:EnableRLS");
|
|
3197
3197
|
|
|
@@ -3207,7 +3207,7 @@ class PgTable extends Table {
|
|
|
3207
3207
|
[Table.Symbol.ExtraConfigColumns] = {};
|
|
3208
3208
|
}
|
|
3209
3209
|
|
|
3210
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3210
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
3211
3211
|
class PrimaryKeyBuilder {
|
|
3212
3212
|
static [entityKind] = "PgPrimaryKeyBuilder";
|
|
3213
3213
|
columns;
|
|
@@ -3235,7 +3235,7 @@ class PrimaryKey {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
}
|
|
3237
3237
|
|
|
3238
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3238
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
3239
3239
|
function bindIfParam(value, column) {
|
|
3240
3240
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
|
|
3241
3241
|
return new Param(value, column);
|
|
@@ -3340,7 +3340,7 @@ function notIlike(column, value) {
|
|
|
3340
3340
|
return sql`${column} not ilike ${value}`;
|
|
3341
3341
|
}
|
|
3342
3342
|
|
|
3343
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3343
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/sql/expressions/select.js
|
|
3344
3344
|
function asc(column) {
|
|
3345
3345
|
return sql`${column} asc`;
|
|
3346
3346
|
}
|
|
@@ -3348,7 +3348,7 @@ function desc(column) {
|
|
|
3348
3348
|
return sql`${column} desc`;
|
|
3349
3349
|
}
|
|
3350
3350
|
|
|
3351
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3351
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/relations.js
|
|
3352
3352
|
class Relation {
|
|
3353
3353
|
constructor(sourceTable, referencedTable, relationName) {
|
|
3354
3354
|
this.sourceTable = sourceTable;
|
|
@@ -3568,12 +3568,12 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
|
3568
3568
|
return result;
|
|
3569
3569
|
}
|
|
3570
3570
|
|
|
3571
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3571
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/view-base.js
|
|
3572
3572
|
class PgViewBase extends View {
|
|
3573
3573
|
static [entityKind] = "PgViewBase";
|
|
3574
3574
|
}
|
|
3575
3575
|
|
|
3576
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
3576
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/dialect.js
|
|
3577
3577
|
class PgDialect {
|
|
3578
3578
|
static [entityKind] = "PgDialect";
|
|
3579
3579
|
casing;
|
|
@@ -4131,7 +4131,7 @@ class PgDialect {
|
|
|
4131
4131
|
}
|
|
4132
4132
|
}
|
|
4133
4133
|
|
|
4134
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4134
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
4135
4135
|
class TypedQueryBuilder {
|
|
4136
4136
|
static [entityKind] = "TypedQueryBuilder";
|
|
4137
4137
|
getSelectedFields() {
|
|
@@ -4139,7 +4139,7 @@ class TypedQueryBuilder {
|
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
4141
|
|
|
4142
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4142
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/select.js
|
|
4143
4143
|
class PgSelectBuilder {
|
|
4144
4144
|
static [entityKind] = "PgSelectBuilder";
|
|
4145
4145
|
fields;
|
|
@@ -4433,7 +4433,7 @@ var intersectAll = createSetOperator("intersect", true);
|
|
|
4433
4433
|
var except = createSetOperator("except", false);
|
|
4434
4434
|
var exceptAll = createSetOperator("except", true);
|
|
4435
4435
|
|
|
4436
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4436
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
|
|
4437
4437
|
class QueryBuilder {
|
|
4438
4438
|
static [entityKind] = "PgQueryBuilder";
|
|
4439
4439
|
dialect;
|
|
@@ -4511,7 +4511,7 @@ class QueryBuilder {
|
|
|
4511
4511
|
}
|
|
4512
4512
|
}
|
|
4513
4513
|
|
|
4514
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4514
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/insert.js
|
|
4515
4515
|
class PgInsertBuilder {
|
|
4516
4516
|
constructor(table, session, dialect, withList, overridingSystemValue_) {
|
|
4517
4517
|
this.table = table;
|
|
@@ -4630,7 +4630,7 @@ class PgInsertBase extends QueryPromise {
|
|
|
4630
4630
|
}
|
|
4631
4631
|
}
|
|
4632
4632
|
|
|
4633
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4633
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
|
|
4634
4634
|
class PgRefreshMaterializedView extends QueryPromise {
|
|
4635
4635
|
constructor(view, session, dialect) {
|
|
4636
4636
|
super();
|
|
@@ -4681,7 +4681,7 @@ class PgRefreshMaterializedView extends QueryPromise {
|
|
|
4681
4681
|
};
|
|
4682
4682
|
}
|
|
4683
4683
|
|
|
4684
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4684
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/update.js
|
|
4685
4685
|
class PgUpdateBuilder {
|
|
4686
4686
|
constructor(table, session, dialect, withList) {
|
|
4687
4687
|
this.table = table;
|
|
@@ -4831,7 +4831,7 @@ class PgUpdateBase extends QueryPromise {
|
|
|
4831
4831
|
}
|
|
4832
4832
|
}
|
|
4833
4833
|
|
|
4834
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4834
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/count.js
|
|
4835
4835
|
class PgCountBuilder extends SQL {
|
|
4836
4836
|
constructor(params) {
|
|
4837
4837
|
super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
|
|
@@ -4872,7 +4872,7 @@ class PgCountBuilder extends SQL {
|
|
|
4872
4872
|
}
|
|
4873
4873
|
}
|
|
4874
4874
|
|
|
4875
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4875
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/query.js
|
|
4876
4876
|
class RelationalQueryBuilder {
|
|
4877
4877
|
constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
|
|
4878
4878
|
this.fullSchema = fullSchema;
|
|
@@ -4955,7 +4955,7 @@ class PgRelationalQuery extends QueryPromise {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
4957
|
|
|
4958
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4958
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/query-builders/raw.js
|
|
4959
4959
|
class PgRaw extends QueryPromise {
|
|
4960
4960
|
constructor(execute, sql2, query, mapBatchResult) {
|
|
4961
4961
|
super();
|
|
@@ -4982,7 +4982,7 @@ class PgRaw extends QueryPromise {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
}
|
|
4984
4984
|
|
|
4985
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
4985
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/db.js
|
|
4986
4986
|
class PgDatabase {
|
|
4987
4987
|
constructor(dialect, session, schema) {
|
|
4988
4988
|
this.dialect = dialect;
|
|
@@ -5106,7 +5106,7 @@ class PgDatabase {
|
|
|
5106
5106
|
}
|
|
5107
5107
|
}
|
|
5108
5108
|
|
|
5109
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
5109
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/pg-core/session.js
|
|
5110
5110
|
class PgPreparedQuery {
|
|
5111
5111
|
constructor(query) {
|
|
5112
5112
|
this.query = query;
|
|
@@ -5176,7 +5176,7 @@ class PgTransaction extends PgDatabase {
|
|
|
5176
5176
|
}
|
|
5177
5177
|
}
|
|
5178
5178
|
|
|
5179
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
5179
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/session.js
|
|
5180
5180
|
class PostgresJsPreparedQuery extends PgPreparedQuery {
|
|
5181
5181
|
constructor(client, queryString, params, logger, fields, _isResponseInArrayMode, customResultMapper) {
|
|
5182
5182
|
super({ sql: queryString, params });
|
|
@@ -5284,7 +5284,7 @@ class PostgresJsTransaction extends PgTransaction {
|
|
|
5284
5284
|
}
|
|
5285
5285
|
}
|
|
5286
5286
|
|
|
5287
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
5287
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/driver.js
|
|
5288
5288
|
class PostgresJsDatabase extends PgDatabase {
|
|
5289
5289
|
static [entityKind] = "PostgresJsDatabase";
|
|
5290
5290
|
}
|
|
@@ -5348,7 +5348,7 @@ function drizzle(...params) {
|
|
|
5348
5348
|
drizzle2.mock = mock;
|
|
5349
5349
|
})(drizzle || (drizzle = {}));
|
|
5350
5350
|
|
|
5351
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
5351
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/migrator.js
|
|
5352
5352
|
import crypto2 from "crypto";
|
|
5353
5353
|
import fs2 from "fs";
|
|
5354
5354
|
function readMigrationFiles(config) {
|
|
@@ -5380,17 +5380,16 @@ function readMigrationFiles(config) {
|
|
|
5380
5380
|
return migrationQueries;
|
|
5381
5381
|
}
|
|
5382
5382
|
|
|
5383
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.
|
|
5383
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.43.1_bun-types@1.2.11_postgres@3.4.5/node_modules/drizzle-orm/postgres-js/migrator.js
|
|
5384
5384
|
async function migrate(db, config) {
|
|
5385
5385
|
const migrations = readMigrationFiles(config);
|
|
5386
5386
|
await db.dialect.migrate(migrations, db.session, config);
|
|
5387
5387
|
}
|
|
5388
5388
|
|
|
5389
|
-
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.
|
|
5389
|
+
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.4_arktype@2.1.20_typescript@5.8.3_valibot@1.0.0_typescript@5.8.3__zod@3.24.3/node_modules/@t3-oss/env-core/dist/src-Cq4nGjdj.js
|
|
5390
5390
|
function ensureSynchronous(value, message) {
|
|
5391
|
-
if (value instanceof Promise)
|
|
5391
|
+
if (value instanceof Promise)
|
|
5392
5392
|
throw new Error(message);
|
|
5393
|
-
}
|
|
5394
5393
|
}
|
|
5395
5394
|
function parseWithDictionary(dictionary, value) {
|
|
5396
5395
|
const result = {};
|
|
@@ -5401,33 +5400,23 @@ function parseWithDictionary(dictionary, value) {
|
|
|
5401
5400
|
if (propResult.issues) {
|
|
5402
5401
|
issues.push(...propResult.issues.map((issue) => ({
|
|
5403
5402
|
...issue,
|
|
5404
|
-
path: [
|
|
5405
|
-
key,
|
|
5406
|
-
...issue.path ?? []
|
|
5407
|
-
]
|
|
5403
|
+
path: [key, ...issue.path ?? []]
|
|
5408
5404
|
})));
|
|
5409
5405
|
continue;
|
|
5410
5406
|
}
|
|
5411
5407
|
result[key] = propResult.value;
|
|
5412
5408
|
}
|
|
5413
|
-
if (issues.length)
|
|
5414
|
-
return {
|
|
5415
|
-
|
|
5416
|
-
};
|
|
5417
|
-
}
|
|
5418
|
-
return {
|
|
5419
|
-
value: result
|
|
5420
|
-
};
|
|
5409
|
+
if (issues.length)
|
|
5410
|
+
return { issues };
|
|
5411
|
+
return { value: result };
|
|
5421
5412
|
}
|
|
5422
5413
|
function createEnv(opts) {
|
|
5423
5414
|
const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
|
|
5424
5415
|
const emptyStringAsUndefined = opts.emptyStringAsUndefined ?? false;
|
|
5425
5416
|
if (emptyStringAsUndefined) {
|
|
5426
|
-
for (const [key, value] of Object.entries(runtimeEnv))
|
|
5427
|
-
if (value === "")
|
|
5417
|
+
for (const [key, value] of Object.entries(runtimeEnv))
|
|
5418
|
+
if (value === "")
|
|
5428
5419
|
delete runtimeEnv[key];
|
|
5429
|
-
}
|
|
5430
|
-
}
|
|
5431
5420
|
}
|
|
5432
5421
|
const skip = !!opts.skipValidation;
|
|
5433
5422
|
if (skip)
|
|
@@ -5453,9 +5442,8 @@ function createEnv(opts) {
|
|
|
5453
5442
|
const onInvalidAccess = opts.onInvalidAccess ?? (() => {
|
|
5454
5443
|
throw new Error("\u274C Attempted to access a server-side environment variable on the client");
|
|
5455
5444
|
});
|
|
5456
|
-
if (parsed.issues)
|
|
5445
|
+
if (parsed.issues)
|
|
5457
5446
|
return onValidationError(parsed.issues);
|
|
5458
|
-
}
|
|
5459
5447
|
const isServerAccess = (prop) => {
|
|
5460
5448
|
if (!opts.clientPrefix)
|
|
5461
5449
|
return true;
|
|
@@ -5471,17 +5459,15 @@ function createEnv(opts) {
|
|
|
5471
5459
|
return Object.assign(acc, curr);
|
|
5472
5460
|
}, {});
|
|
5473
5461
|
const fullObj = Object.assign(extendedObj, parsed.value);
|
|
5474
|
-
const env = new Proxy(fullObj, {
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
}
|
|
5484
|
-
});
|
|
5462
|
+
const env = new Proxy(fullObj, { get(target, prop) {
|
|
5463
|
+
if (typeof prop !== "string")
|
|
5464
|
+
return;
|
|
5465
|
+
if (ignoreProp(prop))
|
|
5466
|
+
return;
|
|
5467
|
+
if (!isValidServerAccess(prop))
|
|
5468
|
+
return onInvalidAccess(prop);
|
|
5469
|
+
return Reflect.get(target, prop);
|
|
5470
|
+
} });
|
|
5485
5471
|
return env;
|
|
5486
5472
|
}
|
|
5487
5473
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tempest.games",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,37 +26,36 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@floating-ui/react": "0.27.8",
|
|
29
|
-
"@react-email/components": "0.0.
|
|
30
|
-
"@t3-oss/env-core": "0.13.
|
|
31
|
-
"@trpc/client": "11.1.
|
|
32
|
-
"@trpc/server": "11.1.
|
|
29
|
+
"@react-email/components": "0.0.37",
|
|
30
|
+
"@t3-oss/env-core": "0.13.4",
|
|
31
|
+
"@trpc/client": "11.1.2",
|
|
32
|
+
"@trpc/server": "11.1.2",
|
|
33
33
|
"arktype": "2.1.20",
|
|
34
34
|
"cron": "4.3.0",
|
|
35
35
|
"drizzle-orm": "0.43.1",
|
|
36
36
|
"nanoid": "5.1.5",
|
|
37
|
-
"openai": "4.96.
|
|
37
|
+
"openai": "4.96.2",
|
|
38
38
|
"postgres": "3.4.5",
|
|
39
39
|
"react": "19.1.0",
|
|
40
40
|
"react-dom": "19.1.0",
|
|
41
|
-
"react-email": "4.0.
|
|
42
|
-
"resend": "4.
|
|
41
|
+
"react-email": "4.0.11",
|
|
42
|
+
"resend": "4.5.0",
|
|
43
43
|
"safegen": "0.3.0",
|
|
44
44
|
"socket.io": "4.8.1",
|
|
45
45
|
"socket.io-client": "4.8.1",
|
|
46
|
-
"atom.io": "0.
|
|
46
|
+
"atom.io": "0.33.1",
|
|
47
47
|
"safedeposit": "0.1.1",
|
|
48
48
|
"treetrunks": "0.1.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@eslint/js": "9.25.1",
|
|
52
|
-
"@react-email/components": "0.0.
|
|
53
|
-
"@types/bun": "npm:bun-types@1.2.
|
|
52
|
+
"@react-email/components": "0.0.37",
|
|
53
|
+
"@types/bun": "npm:bun-types@1.2.11",
|
|
54
54
|
"@types/cors": "2.8.17",
|
|
55
|
-
"@types/node": "22.15.
|
|
55
|
+
"@types/node": "22.15.3",
|
|
56
56
|
"@types/react": "19.1.2",
|
|
57
|
-
"@types/react-dom": "19.1.
|
|
57
|
+
"@types/react-dom": "19.1.3",
|
|
58
58
|
"@vitejs/plugin-react-swc": "3.9.0",
|
|
59
|
-
"bun-types": "1.2.10",
|
|
60
59
|
"concurrently": "9.1.2",
|
|
61
60
|
"cors": "2.8.5",
|
|
62
61
|
"cross-env": "7.0.3",
|
|
@@ -69,13 +68,13 @@
|
|
|
69
68
|
"globals": "16.0.0",
|
|
70
69
|
"rimraf": "6.0.1",
|
|
71
70
|
"sass-embedded": "1.87.0",
|
|
72
|
-
"tsx": "4.19.
|
|
71
|
+
"tsx": "4.19.4",
|
|
73
72
|
"typescript": "5.8.3",
|
|
74
|
-
"typescript-eslint": "8.31.
|
|
75
|
-
"vite": "6.3.
|
|
73
|
+
"typescript-eslint": "8.31.1",
|
|
74
|
+
"vite": "6.3.4",
|
|
76
75
|
"vite-tsconfig-paths": "5.1.4",
|
|
77
76
|
"vitest": "3.1.2",
|
|
78
|
-
"flightdeck": "0.2.
|
|
77
|
+
"flightdeck": "0.2.30",
|
|
79
78
|
"varmint": "0.5.0"
|
|
80
79
|
},
|
|
81
80
|
"scripts": {
|