tempest.games 0.1.21 → 0.1.23

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.
@@ -1955,7 +1955,7 @@ function osUsername() {
1955
1955
  }
1956
1956
  }
1957
1957
 
1958
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/entity.js
1958
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/entity.js
1959
1959
  var entityKind = Symbol.for("drizzle:entityKind");
1960
1960
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
1961
1961
  function is(value, type) {
@@ -1980,7 +1980,7 @@ function is(value, type) {
1980
1980
  return false;
1981
1981
  }
1982
1982
 
1983
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/logger.js
1983
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/logger.js
1984
1984
  class ConsoleLogWriter {
1985
1985
  static [entityKind] = "ConsoleLogWriter";
1986
1986
  write(message) {
@@ -2013,7 +2013,7 @@ class NoopLogger {
2013
2013
  }
2014
2014
  }
2015
2015
 
2016
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/query-promise.js
2016
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/query-promise.js
2017
2017
  class QueryPromise {
2018
2018
  static [entityKind] = "QueryPromise";
2019
2019
  [Symbol.toStringTag] = "QueryPromise";
@@ -2034,10 +2034,10 @@ class QueryPromise {
2034
2034
  }
2035
2035
  }
2036
2036
 
2037
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/table.utils.js
2037
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/table.utils.js
2038
2038
  var TableName = Symbol.for("drizzle:Name");
2039
2039
 
2040
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/table.js
2040
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/table.js
2041
2041
  var Schema = Symbol.for("drizzle:Schema");
2042
2042
  var Columns = Symbol.for("drizzle:Columns");
2043
2043
  var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
@@ -2081,15 +2081,15 @@ function getTableUniqueName(table) {
2081
2081
  return `${table[Schema] ?? "public"}.${table[TableName]}`;
2082
2082
  }
2083
2083
 
2084
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/tracing-utils.js
2084
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/tracing-utils.js
2085
2085
  function iife(fn, ...args) {
2086
2086
  return fn(...args);
2087
2087
  }
2088
2088
 
2089
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/version.js
2090
- var version = "0.37.0";
2089
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/version.js
2090
+ var version = "0.38.3";
2091
2091
 
2092
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/tracing.js
2092
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/tracing.js
2093
2093
  var otel;
2094
2094
  var rawTracer;
2095
2095
  var tracer = {
@@ -2116,7 +2116,7 @@ var tracer = {
2116
2116
  }
2117
2117
  };
2118
2118
 
2119
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/column.js
2119
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/column.js
2120
2120
  class Column {
2121
2121
  constructor(table, config) {
2122
2122
  this.table = table;
@@ -2166,12 +2166,12 @@ class Column {
2166
2166
  }
2167
2167
  }
2168
2168
 
2169
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/unique-constraint.js
2169
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/unique-constraint.js
2170
2170
  function uniqueKeyName(table, columns) {
2171
2171
  return `${table[TableName]}_${columns.join("_")}_unique`;
2172
2172
  }
2173
2173
 
2174
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/common.js
2174
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/common.js
2175
2175
  class PgColumn extends Column {
2176
2176
  constructor(table, config) {
2177
2177
  if (!config.uniqueName) {
@@ -2220,7 +2220,7 @@ class ExtraConfigColumn extends PgColumn {
2220
2220
  }
2221
2221
  }
2222
2222
 
2223
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/enum.js
2223
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/enum.js
2224
2224
  var isPgEnumSym = Symbol.for("drizzle:isPgEnum");
2225
2225
  function isPgEnum(obj) {
2226
2226
  return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
@@ -2238,7 +2238,7 @@ class PgEnumColumn extends PgColumn {
2238
2238
  }
2239
2239
  }
2240
2240
 
2241
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/subquery.js
2241
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/subquery.js
2242
2242
  class Subquery {
2243
2243
  static [entityKind] = "Subquery";
2244
2244
  constructor(sql, selection, alias, isWith = false) {
@@ -2256,10 +2256,10 @@ class WithSubquery extends Subquery {
2256
2256
  static [entityKind] = "WithSubquery";
2257
2257
  }
2258
2258
 
2259
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/view-common.js
2259
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/view-common.js
2260
2260
  var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
2261
2261
 
2262
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/sql.js
2262
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/sql.js
2263
2263
  function isSQLWrapper(value) {
2264
2264
  return value !== null && value !== undefined && typeof value.getSQL === "function";
2265
2265
  }
@@ -2601,10 +2601,12 @@ function fillPlaceholders(params, values2) {
2601
2601
  return p;
2602
2602
  });
2603
2603
  }
2604
+ var IsDrizzleView = Symbol.for("drizzle:IsDrizzleView");
2604
2605
 
2605
2606
  class View {
2606
2607
  static [entityKind] = "View";
2607
2608
  [ViewBaseConfig];
2609
+ [IsDrizzleView] = true;
2608
2610
  constructor({ name: name2, schema, selectedFields, query }) {
2609
2611
  this[ViewBaseConfig] = {
2610
2612
  name: name2,
@@ -2630,7 +2632,7 @@ Subquery.prototype.getSQL = function() {
2630
2632
  return new SQL([this]);
2631
2633
  };
2632
2634
 
2633
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/utils.js
2635
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/utils.js
2634
2636
  function mapResultRow(columns, row, joinsNotNullableMap) {
2635
2637
  const nullifyMap = {};
2636
2638
  const result = columns.reduce((result2, { path, field }, columnIndex) => {
@@ -2775,7 +2777,7 @@ function isConfig(data) {
2775
2777
  return false;
2776
2778
  }
2777
2779
 
2778
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/delete.js
2780
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/delete.js
2779
2781
  class PgDeleteBase extends QueryPromise {
2780
2782
  constructor(table, session, dialect, withList) {
2781
2783
  super();
@@ -2823,7 +2825,7 @@ class PgDeleteBase extends QueryPromise {
2823
2825
  }
2824
2826
  }
2825
2827
 
2826
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/alias.js
2828
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/alias.js
2827
2829
  class ColumnAliasProxyHandler {
2828
2830
  constructor(table) {
2829
2831
  this.table = table;
@@ -2902,7 +2904,7 @@ function mapColumnsInSQLToAlias(query, alias) {
2902
2904
  }));
2903
2905
  }
2904
2906
 
2905
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/casing.js
2907
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/casing.js
2906
2908
  function toSnakeCase(input) {
2907
2909
  const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
2908
2910
  return words.map((word) => word.toLowerCase()).join("_");
@@ -2955,7 +2957,7 @@ class CasingCache {
2955
2957
  }
2956
2958
  }
2957
2959
 
2958
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/errors.js
2960
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/errors.js
2959
2961
  class DrizzleError extends Error {
2960
2962
  static [entityKind] = "DrizzleError";
2961
2963
  constructor({ message, cause }) {
@@ -2972,7 +2974,7 @@ class TransactionRollbackError extends DrizzleError {
2972
2974
  }
2973
2975
  }
2974
2976
 
2975
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/date.js
2977
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/date.js
2976
2978
  class PgDate extends PgColumn {
2977
2979
  static [entityKind] = "PgDate";
2978
2980
  getSQLType() {
@@ -2992,7 +2994,7 @@ class PgDateString extends PgColumn {
2992
2994
  }
2993
2995
  }
2994
2996
 
2995
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/json.js
2997
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/json.js
2996
2998
  class PgJson extends PgColumn {
2997
2999
  static [entityKind] = "PgJson";
2998
3000
  constructor(table, config) {
@@ -3016,7 +3018,7 @@ class PgJson extends PgColumn {
3016
3018
  }
3017
3019
  }
3018
3020
 
3019
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/jsonb.js
3021
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/jsonb.js
3020
3022
  class PgJsonb extends PgColumn {
3021
3023
  static [entityKind] = "PgJsonb";
3022
3024
  constructor(table, config) {
@@ -3040,7 +3042,7 @@ class PgJsonb extends PgColumn {
3040
3042
  }
3041
3043
  }
3042
3044
 
3043
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/numeric.js
3045
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/numeric.js
3044
3046
  class PgNumeric extends PgColumn {
3045
3047
  static [entityKind] = "PgNumeric";
3046
3048
  precision;
@@ -3061,7 +3063,7 @@ class PgNumeric extends PgColumn {
3061
3063
  }
3062
3064
  }
3063
3065
 
3064
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/time.js
3066
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/time.js
3065
3067
  class PgTime extends PgColumn {
3066
3068
  static [entityKind] = "PgTime";
3067
3069
  withTimezone;
@@ -3077,7 +3079,7 @@ class PgTime extends PgColumn {
3077
3079
  }
3078
3080
  }
3079
3081
 
3080
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/timestamp.js
3082
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/timestamp.js
3081
3083
  class PgTimestamp extends PgColumn {
3082
3084
  static [entityKind] = "PgTimestamp";
3083
3085
  withTimezone;
@@ -3113,7 +3115,7 @@ class PgTimestampString extends PgColumn {
3113
3115
  }
3114
3116
  }
3115
3117
 
3116
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/uuid.js
3118
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/columns/uuid.js
3117
3119
  class PgUUID extends PgColumn {
3118
3120
  static [entityKind] = "PgUUID";
3119
3121
  getSQLType() {
@@ -3121,7 +3123,7 @@ class PgUUID extends PgColumn {
3121
3123
  }
3122
3124
  }
3123
3125
 
3124
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/table.js
3126
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/table.js
3125
3127
  var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
3126
3128
  var EnableRLS = Symbol.for("drizzle:EnableRLS");
3127
3129
 
@@ -3136,7 +3138,7 @@ class PgTable extends Table {
3136
3138
  [Table.Symbol.ExtraConfigBuilder] = undefined;
3137
3139
  }
3138
3140
 
3139
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/primary-keys.js
3141
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/primary-keys.js
3140
3142
  class PrimaryKeyBuilder {
3141
3143
  static [entityKind] = "PgPrimaryKeyBuilder";
3142
3144
  columns;
@@ -3164,7 +3166,7 @@ class PrimaryKey {
3164
3166
  }
3165
3167
  }
3166
3168
 
3167
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/expressions/conditions.js
3169
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/expressions/conditions.js
3168
3170
  function bindIfParam(value, column) {
3169
3171
  if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
3170
3172
  return new Param(value, column);
@@ -3269,7 +3271,7 @@ function notIlike(column, value) {
3269
3271
  return sql`${column} not ilike ${value}`;
3270
3272
  }
3271
3273
 
3272
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/expressions/select.js
3274
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/sql/expressions/select.js
3273
3275
  function asc(column) {
3274
3276
  return sql`${column} asc`;
3275
3277
  }
@@ -3277,7 +3279,7 @@ function desc(column) {
3277
3279
  return sql`${column} desc`;
3278
3280
  }
3279
3281
 
3280
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/relations.js
3282
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/relations.js
3281
3283
  class Relation {
3282
3284
  constructor(sourceTable, referencedTable, relationName) {
3283
3285
  this.sourceTable = sourceTable;
@@ -3497,12 +3499,12 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
3497
3499
  return result;
3498
3500
  }
3499
3501
 
3500
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/view-base.js
3502
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/view-base.js
3501
3503
  class PgViewBase extends View {
3502
3504
  static [entityKind] = "PgViewBase";
3503
3505
  }
3504
3506
 
3505
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/dialect.js
3507
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/dialect.js
3506
3508
  class PgDialect {
3507
3509
  static [entityKind] = "PgDialect";
3508
3510
  casing;
@@ -4059,7 +4061,7 @@ class PgDialect {
4059
4061
  }
4060
4062
  }
4061
4063
 
4062
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/selection-proxy.js
4064
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/selection-proxy.js
4063
4065
  class SelectionProxyHandler {
4064
4066
  static [entityKind] = "SelectionProxyHandler";
4065
4067
  config;
@@ -4111,7 +4113,7 @@ class SelectionProxyHandler {
4111
4113
  }
4112
4114
  }
4113
4115
 
4114
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/query-builders/query-builder.js
4116
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/query-builders/query-builder.js
4115
4117
  class TypedQueryBuilder {
4116
4118
  static [entityKind] = "TypedQueryBuilder";
4117
4119
  getSelectedFields() {
@@ -4119,7 +4121,7 @@ class TypedQueryBuilder {
4119
4121
  }
4120
4122
  }
4121
4123
 
4122
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/select.js
4124
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/select.js
4123
4125
  class PgSelectBuilder {
4124
4126
  static [entityKind] = "PgSelectBuilder";
4125
4127
  fields;
@@ -4407,7 +4409,7 @@ var intersectAll = createSetOperator("intersect", true);
4407
4409
  var except = createSetOperator("except", false);
4408
4410
  var exceptAll = createSetOperator("except", true);
4409
4411
 
4410
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
4412
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
4411
4413
  class QueryBuilder {
4412
4414
  static [entityKind] = "PgQueryBuilder";
4413
4415
  dialect;
@@ -4486,7 +4488,7 @@ class QueryBuilder {
4486
4488
  }
4487
4489
  }
4488
4490
 
4489
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/insert.js
4491
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/insert.js
4490
4492
  class PgInsertBuilder {
4491
4493
  constructor(table, session, dialect, withList, overridingSystemValue_) {
4492
4494
  this.table = table;
@@ -4597,7 +4599,7 @@ class PgInsertBase extends QueryPromise {
4597
4599
  }
4598
4600
  }
4599
4601
 
4600
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
4602
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
4601
4603
  class PgRefreshMaterializedView extends QueryPromise {
4602
4604
  constructor(view, session, dialect) {
4603
4605
  super();
@@ -4648,7 +4650,7 @@ class PgRefreshMaterializedView extends QueryPromise {
4648
4650
  };
4649
4651
  }
4650
4652
 
4651
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/update.js
4653
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/update.js
4652
4654
  class PgUpdateBuilder {
4653
4655
  constructor(table, session, dialect, withList) {
4654
4656
  this.table = table;
@@ -4789,7 +4791,7 @@ class PgUpdateBase extends QueryPromise {
4789
4791
  }
4790
4792
  }
4791
4793
 
4792
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/count.js
4794
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/count.js
4793
4795
  class PgCountBuilder extends SQL {
4794
4796
  constructor(params) {
4795
4797
  super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
@@ -4830,7 +4832,7 @@ class PgCountBuilder extends SQL {
4830
4832
  }
4831
4833
  }
4832
4834
 
4833
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/query.js
4835
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/query.js
4834
4836
  class RelationalQueryBuilder {
4835
4837
  constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
4836
4838
  this.fullSchema = fullSchema;
@@ -4913,7 +4915,7 @@ class PgRelationalQuery extends QueryPromise {
4913
4915
  }
4914
4916
  }
4915
4917
 
4916
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/raw.js
4918
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/query-builders/raw.js
4917
4919
  class PgRaw extends QueryPromise {
4918
4920
  constructor(execute, sql2, query, mapBatchResult) {
4919
4921
  super();
@@ -4940,7 +4942,7 @@ class PgRaw extends QueryPromise {
4940
4942
  }
4941
4943
  }
4942
4944
 
4943
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/db.js
4945
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/db.js
4944
4946
  class PgDatabase {
4945
4947
  constructor(dialect, session, schema) {
4946
4948
  this.dialect = dialect;
@@ -5065,7 +5067,7 @@ class PgDatabase {
5065
5067
  }
5066
5068
  }
5067
5069
 
5068
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/session.js
5070
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/pg-core/session.js
5069
5071
  class PgPreparedQuery {
5070
5072
  constructor(query) {
5071
5073
  this.query = query;
@@ -5135,7 +5137,7 @@ class PgTransaction extends PgDatabase {
5135
5137
  }
5136
5138
  }
5137
5139
 
5138
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/session.js
5140
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/session.js
5139
5141
  class PostgresJsPreparedQuery extends PgPreparedQuery {
5140
5142
  constructor(client, queryString, params, logger, fields, _isResponseInArrayMode, customResultMapper) {
5141
5143
  super({ sql: queryString, params });
@@ -5243,7 +5245,7 @@ class PostgresJsTransaction extends PgTransaction {
5243
5245
  }
5244
5246
  }
5245
5247
 
5246
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/driver.js
5248
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/driver.js
5247
5249
  class PostgresJsDatabase extends PgDatabase {
5248
5250
  static [entityKind] = "PostgresJsDatabase";
5249
5251
  }
@@ -5297,12 +5299,17 @@ function drizzle(...params) {
5297
5299
  }
5298
5300
  ((drizzle2) => {
5299
5301
  function mock(config) {
5300
- return construct({}, config);
5302
+ return construct({
5303
+ options: {
5304
+ parsers: {},
5305
+ serializers: {}
5306
+ }
5307
+ }, config);
5301
5308
  }
5302
5309
  drizzle2.mock = mock;
5303
5310
  })(drizzle || (drizzle = {}));
5304
5311
 
5305
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/migrator.js
5312
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/migrator.js
5306
5313
  import crypto2 from "crypto";
5307
5314
  import fs2 from "fs";
5308
5315
  function readMigrationFiles(config) {
@@ -5334,13 +5341,13 @@ function readMigrationFiles(config) {
5334
5341
  return migrationQueries;
5335
5342
  }
5336
5343
 
5337
- // ../../node_modules/.pnpm/drizzle-orm@0.37.0_@types+react@19.0.1_bun-types@1.1.38_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/migrator.js
5344
+ // ../../node_modules/.pnpm/drizzle-orm@0.38.3_@types+react@19.0.2_bun-types@1.1.42_postgres@3.4.5_react@19.0.0/node_modules/drizzle-orm/postgres-js/migrator.js
5338
5345
  async function migrate(db, config) {
5339
5346
  const migrations = readMigrationFiles(config);
5340
5347
  await db.dialect.migrate(migrations, db.session, config);
5341
5348
  }
5342
5349
 
5343
- // ../../node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
5350
+ // ../../node_modules/.pnpm/zod@3.24.1/node_modules/zod/lib/index.mjs
5344
5351
  var util;
5345
5352
  (function(util2) {
5346
5353
  util2.assertEqual = (val) => val;
@@ -5495,6 +5502,9 @@ var quotelessJson = (obj) => {
5495
5502
  };
5496
5503
 
5497
5504
  class ZodError extends Error {
5505
+ get errors() {
5506
+ return this.issues;
5507
+ }
5498
5508
  constructor(issues) {
5499
5509
  super();
5500
5510
  this.issues = [];
@@ -5513,9 +5523,6 @@ class ZodError extends Error {
5513
5523
  this.name = "ZodError";
5514
5524
  this.issues = issues;
5515
5525
  }
5516
- get errors() {
5517
- return this.issues;
5518
- }
5519
5526
  format(_mapper) {
5520
5527
  const mapper = _mapper || function(issue) {
5521
5528
  return issue.message;
@@ -5885,34 +5892,6 @@ function processCreateParams(params) {
5885
5892
  }
5886
5893
 
5887
5894
  class ZodType {
5888
- constructor(def) {
5889
- this.spa = this.safeParseAsync;
5890
- this._def = def;
5891
- this.parse = this.parse.bind(this);
5892
- this.safeParse = this.safeParse.bind(this);
5893
- this.parseAsync = this.parseAsync.bind(this);
5894
- this.safeParseAsync = this.safeParseAsync.bind(this);
5895
- this.spa = this.spa.bind(this);
5896
- this.refine = this.refine.bind(this);
5897
- this.refinement = this.refinement.bind(this);
5898
- this.superRefine = this.superRefine.bind(this);
5899
- this.optional = this.optional.bind(this);
5900
- this.nullable = this.nullable.bind(this);
5901
- this.nullish = this.nullish.bind(this);
5902
- this.array = this.array.bind(this);
5903
- this.promise = this.promise.bind(this);
5904
- this.or = this.or.bind(this);
5905
- this.and = this.and.bind(this);
5906
- this.transform = this.transform.bind(this);
5907
- this.brand = this.brand.bind(this);
5908
- this.default = this.default.bind(this);
5909
- this.catch = this.catch.bind(this);
5910
- this.describe = this.describe.bind(this);
5911
- this.pipe = this.pipe.bind(this);
5912
- this.readonly = this.readonly.bind(this);
5913
- this.isNullable = this.isNullable.bind(this);
5914
- this.isOptional = this.isOptional.bind(this);
5915
- }
5916
5895
  get description() {
5917
5896
  return this._def.description;
5918
5897
  }
@@ -5976,6 +5955,43 @@ class ZodType {
5976
5955
  const result = this._parseSync({ data, path: ctx.path, parent: ctx });
5977
5956
  return handleResult(ctx, result);
5978
5957
  }
5958
+ "~validate"(data) {
5959
+ var _a, _b;
5960
+ const ctx = {
5961
+ common: {
5962
+ issues: [],
5963
+ async: !!this["~standard"].async
5964
+ },
5965
+ path: [],
5966
+ schemaErrorMap: this._def.errorMap,
5967
+ parent: null,
5968
+ data,
5969
+ parsedType: getParsedType(data)
5970
+ };
5971
+ if (!this["~standard"].async) {
5972
+ try {
5973
+ const result = this._parseSync({ data, path: [], parent: ctx });
5974
+ return isValid(result) ? {
5975
+ value: result.value
5976
+ } : {
5977
+ issues: ctx.common.issues
5978
+ };
5979
+ } catch (err) {
5980
+ if ((_b = (_a = err === null || err === undefined ? undefined : err.message) === null || _a === undefined ? undefined : _a.toLowerCase()) === null || _b === undefined ? undefined : _b.includes("encountered")) {
5981
+ this["~standard"].async = true;
5982
+ }
5983
+ ctx.common = {
5984
+ issues: [],
5985
+ async: true
5986
+ };
5987
+ }
5988
+ }
5989
+ return this._parseAsync({ data, path: [], parent: ctx }).then((result) => isValid(result) ? {
5990
+ value: result.value
5991
+ } : {
5992
+ issues: ctx.common.issues
5993
+ });
5994
+ }
5979
5995
  async parseAsync(data, params) {
5980
5996
  const result = await this.safeParseAsync(data, params);
5981
5997
  if (result.success)
@@ -6053,6 +6069,39 @@ class ZodType {
6053
6069
  superRefine(refinement) {
6054
6070
  return this._refinement(refinement);
6055
6071
  }
6072
+ constructor(def) {
6073
+ this.spa = this.safeParseAsync;
6074
+ this._def = def;
6075
+ this.parse = this.parse.bind(this);
6076
+ this.safeParse = this.safeParse.bind(this);
6077
+ this.parseAsync = this.parseAsync.bind(this);
6078
+ this.safeParseAsync = this.safeParseAsync.bind(this);
6079
+ this.spa = this.spa.bind(this);
6080
+ this.refine = this.refine.bind(this);
6081
+ this.refinement = this.refinement.bind(this);
6082
+ this.superRefine = this.superRefine.bind(this);
6083
+ this.optional = this.optional.bind(this);
6084
+ this.nullable = this.nullable.bind(this);
6085
+ this.nullish = this.nullish.bind(this);
6086
+ this.array = this.array.bind(this);
6087
+ this.promise = this.promise.bind(this);
6088
+ this.or = this.or.bind(this);
6089
+ this.and = this.and.bind(this);
6090
+ this.transform = this.transform.bind(this);
6091
+ this.brand = this.brand.bind(this);
6092
+ this.default = this.default.bind(this);
6093
+ this.catch = this.catch.bind(this);
6094
+ this.describe = this.describe.bind(this);
6095
+ this.pipe = this.pipe.bind(this);
6096
+ this.readonly = this.readonly.bind(this);
6097
+ this.isNullable = this.isNullable.bind(this);
6098
+ this.isOptional = this.isOptional.bind(this);
6099
+ this["~standard"] = {
6100
+ version: 1,
6101
+ vendor: "zod",
6102
+ validate: (data) => this["~validate"](data)
6103
+ };
6104
+ }
6056
6105
  optional() {
6057
6106
  return ZodOptional.create(this, this._def);
6058
6107
  }
@@ -6063,7 +6112,7 @@ class ZodType {
6063
6112
  return this.nullable().optional();
6064
6113
  }
6065
6114
  array() {
6066
- return ZodArray.create(this, this._def);
6115
+ return ZodArray.create(this);
6067
6116
  }
6068
6117
  promise() {
6069
6118
  return ZodPromise.create(this, this._def);
@@ -6129,16 +6178,20 @@ class ZodType {
6129
6178
  }
6130
6179
  var cuidRegex = /^c[^\s-]{8,}$/i;
6131
6180
  var cuid2Regex = /^[0-9a-z]+$/;
6132
- var ulidRegex = /^[0-9A-HJKMNP-TV-Z]{26}$/;
6181
+ var ulidRegex = /^[0-9A-HJKMNP-TV-Z]{26}$/i;
6133
6182
  var uuidRegex = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i;
6134
6183
  var nanoidRegex = /^[a-z0-9_-]{21}$/i;
6184
+ var jwtRegex = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;
6135
6185
  var durationRegex = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;
6136
6186
  var emailRegex = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;
6137
6187
  var _emojiRegex = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
6138
6188
  var emojiRegex;
6139
6189
  var ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
6140
- var ipv6Regex = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;
6190
+ var ipv4CidrRegex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/;
6191
+ var ipv6Regex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/;
6192
+ var ipv6CidrRegex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
6141
6193
  var base64Regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/;
6194
+ var base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/;
6142
6195
  var dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
6143
6196
  var dateRegex = new RegExp(`^${dateRegexSource}$`);
6144
6197
  function timeRegexSource(args) {
@@ -6171,6 +6224,33 @@ function isValidIP(ip, version2) {
6171
6224
  }
6172
6225
  return false;
6173
6226
  }
6227
+ function isValidJWT(jwt, alg) {
6228
+ if (!jwtRegex.test(jwt))
6229
+ return false;
6230
+ try {
6231
+ const [header] = jwt.split(".");
6232
+ const base64 = header.replace(/-/g, "+").replace(/_/g, "/").padEnd(header.length + (4 - header.length % 4) % 4, "=");
6233
+ const decoded = JSON.parse(atob(base64));
6234
+ if (typeof decoded !== "object" || decoded === null)
6235
+ return false;
6236
+ if (!decoded.typ || !decoded.alg)
6237
+ return false;
6238
+ if (alg && decoded.alg !== alg)
6239
+ return false;
6240
+ return true;
6241
+ } catch (_a) {
6242
+ return false;
6243
+ }
6244
+ }
6245
+ function isValidCidr(ip, version2) {
6246
+ if ((version2 === "v4" || !version2) && ipv4CidrRegex.test(ip)) {
6247
+ return true;
6248
+ }
6249
+ if ((version2 === "v6" || !version2) && ipv6CidrRegex.test(ip)) {
6250
+ return true;
6251
+ }
6252
+ return false;
6253
+ }
6174
6254
 
6175
6255
  class ZodString extends ZodType {
6176
6256
  _parse(input) {
@@ -6428,6 +6508,26 @@ class ZodString extends ZodType {
6428
6508
  });
6429
6509
  status.dirty();
6430
6510
  }
6511
+ } else if (check.kind === "jwt") {
6512
+ if (!isValidJWT(input.data, check.alg)) {
6513
+ ctx = this._getOrReturnCtx(input, ctx);
6514
+ addIssueToContext(ctx, {
6515
+ validation: "jwt",
6516
+ code: ZodIssueCode.invalid_string,
6517
+ message: check.message
6518
+ });
6519
+ status.dirty();
6520
+ }
6521
+ } else if (check.kind === "cidr") {
6522
+ if (!isValidCidr(input.data, check.version)) {
6523
+ ctx = this._getOrReturnCtx(input, ctx);
6524
+ addIssueToContext(ctx, {
6525
+ validation: "cidr",
6526
+ code: ZodIssueCode.invalid_string,
6527
+ message: check.message
6528
+ });
6529
+ status.dirty();
6530
+ }
6431
6531
  } else if (check.kind === "base64") {
6432
6532
  if (!base64Regex.test(input.data)) {
6433
6533
  ctx = this._getOrReturnCtx(input, ctx);
@@ -6438,6 +6538,16 @@ class ZodString extends ZodType {
6438
6538
  });
6439
6539
  status.dirty();
6440
6540
  }
6541
+ } else if (check.kind === "base64url") {
6542
+ if (!base64urlRegex.test(input.data)) {
6543
+ ctx = this._getOrReturnCtx(input, ctx);
6544
+ addIssueToContext(ctx, {
6545
+ validation: "base64url",
6546
+ code: ZodIssueCode.invalid_string,
6547
+ message: check.message
6548
+ });
6549
+ status.dirty();
6550
+ }
6441
6551
  } else {
6442
6552
  util.assertNever(check);
6443
6553
  }
@@ -6484,9 +6594,21 @@ class ZodString extends ZodType {
6484
6594
  base64(message) {
6485
6595
  return this._addCheck({ kind: "base64", ...errorUtil.errToObj(message) });
6486
6596
  }
6597
+ base64url(message) {
6598
+ return this._addCheck({
6599
+ kind: "base64url",
6600
+ ...errorUtil.errToObj(message)
6601
+ });
6602
+ }
6603
+ jwt(options) {
6604
+ return this._addCheck({ kind: "jwt", ...errorUtil.errToObj(options) });
6605
+ }
6487
6606
  ip(options) {
6488
6607
  return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
6489
6608
  }
6609
+ cidr(options) {
6610
+ return this._addCheck({ kind: "cidr", ...errorUtil.errToObj(options) });
6611
+ }
6490
6612
  datetime(options) {
6491
6613
  var _a, _b;
6492
6614
  if (typeof options === "string") {
@@ -6636,9 +6758,15 @@ class ZodString extends ZodType {
6636
6758
  get isIP() {
6637
6759
  return !!this._def.checks.find((ch) => ch.kind === "ip");
6638
6760
  }
6761
+ get isCIDR() {
6762
+ return !!this._def.checks.find((ch) => ch.kind === "cidr");
6763
+ }
6639
6764
  get isBase64() {
6640
6765
  return !!this._def.checks.find((ch) => ch.kind === "base64");
6641
6766
  }
6767
+ get isBase64url() {
6768
+ return !!this._def.checks.find((ch) => ch.kind === "base64url");
6769
+ }
6642
6770
  get minLength() {
6643
6771
  let min = null;
6644
6772
  for (const ch of this._def.checks) {
@@ -6918,17 +7046,15 @@ class ZodBigInt extends ZodType {
6918
7046
  }
6919
7047
  _parse(input) {
6920
7048
  if (this._def.coerce) {
6921
- input.data = BigInt(input.data);
7049
+ try {
7050
+ input.data = BigInt(input.data);
7051
+ } catch (_a) {
7052
+ return this._getInvalidInput(input);
7053
+ }
6922
7054
  }
6923
7055
  const parsedType = this._getType(input);
6924
7056
  if (parsedType !== ZodParsedType.bigint) {
6925
- const ctx2 = this._getOrReturnCtx(input);
6926
- addIssueToContext(ctx2, {
6927
- code: ZodIssueCode.invalid_type,
6928
- expected: ZodParsedType.bigint,
6929
- received: ctx2.parsedType
6930
- });
6931
- return INVALID;
7057
+ return this._getInvalidInput(input);
6932
7058
  }
6933
7059
  let ctx = undefined;
6934
7060
  const status = new ParseStatus;
@@ -6975,6 +7101,15 @@ class ZodBigInt extends ZodType {
6975
7101
  }
6976
7102
  return { status: status.value, value: input.data };
6977
7103
  }
7104
+ _getInvalidInput(input) {
7105
+ const ctx = this._getOrReturnCtx(input);
7106
+ addIssueToContext(ctx, {
7107
+ code: ZodIssueCode.invalid_type,
7108
+ expected: ZodParsedType.bigint,
7109
+ received: ctx.parsedType
7110
+ });
7111
+ return INVALID;
7112
+ }
6978
7113
  gte(value, message) {
6979
7114
  return this.setLimit("min", value, true, errorUtil.toString(message));
6980
7115
  }
@@ -9202,7 +9337,7 @@ var z = /* @__PURE__ */ Object.freeze({
9202
9337
  ZodError
9203
9338
  });
9204
9339
 
9205
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.11.1_typescript@5.7.2_zod@3.23.8/node_modules/@t3-oss/env-core/dist/index.js
9340
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.11.1_typescript@5.7.2_zod@3.24.1/node_modules/@t3-oss/env-core/dist/index.js
9206
9341
  function createEnv(opts) {
9207
9342
  const runtimeEnv = opts.runtimeEnvStrict ?? opts.runtimeEnv ?? process.env;
9208
9343
  const emptyStringAsUndefined = opts.emptyStringAsUndefined ?? false;