tempest.games 0.2.66 → 0.2.67
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 +7 -0
- package/app/assets/index-t5Kphr7m.js +109 -0
- package/app/index.html +1 -1
- package/bin/backend.bun.js +162 -162
- package/bin/backend.worker.tribunal.bun.js +120 -124
- package/bin/frontend.bun.js +31 -31
- package/bin/setup-db.bun.js +202 -184
- package/package.json +22 -22
- package/app/assets/index-ndZ39WAR.js +0 -109
package/bin/setup-db.bun.js
CHANGED
|
@@ -1952,7 +1952,7 @@ function osUsername() {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
1954
|
|
|
1955
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
1955
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/entity.js
|
|
1956
1956
|
var entityKind = Symbol.for("drizzle:entityKind");
|
|
1957
1957
|
var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
|
1958
1958
|
function is(value, type) {
|
|
@@ -1977,7 +1977,7 @@ function is(value, type) {
|
|
|
1977
1977
|
return false;
|
|
1978
1978
|
}
|
|
1979
1979
|
|
|
1980
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
1980
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/logger.js
|
|
1981
1981
|
class ConsoleLogWriter {
|
|
1982
1982
|
static [entityKind] = "ConsoleLogWriter";
|
|
1983
1983
|
write(message) {
|
|
@@ -2009,7 +2009,7 @@ class NoopLogger {
|
|
|
2009
2009
|
logQuery() {}
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
2012
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2012
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
|
|
2013
2013
|
class QueryPromise {
|
|
2014
2014
|
static [entityKind] = "QueryPromise";
|
|
2015
2015
|
[Symbol.toStringTag] = "QueryPromise";
|
|
@@ -2030,7 +2030,7 @@ class QueryPromise {
|
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2033
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/column.js
|
|
2034
2034
|
class Column {
|
|
2035
2035
|
constructor(table, config) {
|
|
2036
2036
|
this.table = table;
|
|
@@ -2080,20 +2080,20 @@ class Column {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2083
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
|
|
2084
2084
|
var TableName = Symbol.for("drizzle:Name");
|
|
2085
2085
|
|
|
2086
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2086
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
|
|
2087
2087
|
function iife(fn, ...args) {
|
|
2088
2088
|
return fn(...args);
|
|
2089
2089
|
}
|
|
2090
2090
|
|
|
2091
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2091
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
|
|
2092
2092
|
function uniqueKeyName(table, columns) {
|
|
2093
2093
|
return `${table[TableName]}_${columns.join("_")}_unique`;
|
|
2094
2094
|
}
|
|
2095
2095
|
|
|
2096
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2096
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
|
|
2097
2097
|
class PgColumn extends Column {
|
|
2098
2098
|
constructor(table, config) {
|
|
2099
2099
|
if (!config.uniqueName) {
|
|
@@ -2142,7 +2142,7 @@ class ExtraConfigColumn extends PgColumn {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
2144
|
|
|
2145
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2145
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
|
|
2146
2146
|
class PgEnumObjectColumn extends PgColumn {
|
|
2147
2147
|
static [entityKind] = "PgEnumObjectColumn";
|
|
2148
2148
|
enum;
|
|
@@ -2172,7 +2172,7 @@ class PgEnumColumn extends PgColumn {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2175
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
|
|
2176
2176
|
class Subquery {
|
|
2177
2177
|
static [entityKind] = "Subquery";
|
|
2178
2178
|
constructor(sql, fields, alias, isWith = false, usedTables = []) {
|
|
@@ -2191,10 +2191,10 @@ class WithSubquery extends Subquery {
|
|
|
2191
2191
|
static [entityKind] = "WithSubquery";
|
|
2192
2192
|
}
|
|
2193
2193
|
|
|
2194
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2195
|
-
var version = "0.44.
|
|
2194
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/version.js
|
|
2195
|
+
var version = "0.44.7";
|
|
2196
2196
|
|
|
2197
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2197
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
|
|
2198
2198
|
var otel;
|
|
2199
2199
|
var rawTracer;
|
|
2200
2200
|
var tracer = {
|
|
@@ -2221,10 +2221,10 @@ var tracer = {
|
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
2223
|
|
|
2224
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2224
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
|
|
2225
2225
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
2226
2226
|
|
|
2227
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2227
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.js
|
|
2228
2228
|
var Schema = Symbol.for("drizzle:Schema");
|
|
2229
2229
|
var Columns = Symbol.for("drizzle:Columns");
|
|
2230
2230
|
var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
|
|
@@ -2268,7 +2268,7 @@ function getTableUniqueName(table) {
|
|
|
2268
2268
|
return `${table[Schema] ?? "public"}.${table[TableName]}`;
|
|
2269
2269
|
}
|
|
2270
2270
|
|
|
2271
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2271
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
|
|
2272
2272
|
function isSQLWrapper(value) {
|
|
2273
2273
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
2274
2274
|
}
|
|
@@ -2648,7 +2648,7 @@ Subquery.prototype.getSQL = function() {
|
|
|
2648
2648
|
return new SQL([this]);
|
|
2649
2649
|
};
|
|
2650
2650
|
|
|
2651
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2651
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/alias.js
|
|
2652
2652
|
class ColumnAliasProxyHandler {
|
|
2653
2653
|
constructor(table) {
|
|
2654
2654
|
this.table = table;
|
|
@@ -2727,7 +2727,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
|
2727
2727
|
}));
|
|
2728
2728
|
}
|
|
2729
2729
|
|
|
2730
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2730
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
|
|
2731
2731
|
class SelectionProxyHandler {
|
|
2732
2732
|
static [entityKind] = "SelectionProxyHandler";
|
|
2733
2733
|
config;
|
|
@@ -2779,7 +2779,7 @@ class SelectionProxyHandler {
|
|
|
2779
2779
|
}
|
|
2780
2780
|
}
|
|
2781
2781
|
|
|
2782
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2782
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/utils.js
|
|
2783
2783
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
2784
2784
|
const nullifyMap = {};
|
|
2785
2785
|
const result = columns.reduce((result2, { path, field }, columnIndex) => {
|
|
@@ -2925,7 +2925,7 @@ function isConfig(data) {
|
|
|
2925
2925
|
}
|
|
2926
2926
|
var textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder;
|
|
2927
2927
|
|
|
2928
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2928
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
|
|
2929
2929
|
class PgDate extends PgColumn {
|
|
2930
2930
|
static [entityKind] = "PgDate";
|
|
2931
2931
|
getSQLType() {
|
|
@@ -2945,7 +2945,7 @@ class PgDateString extends PgColumn {
|
|
|
2945
2945
|
}
|
|
2946
2946
|
}
|
|
2947
2947
|
|
|
2948
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2948
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
|
|
2949
2949
|
class PgJson extends PgColumn {
|
|
2950
2950
|
static [entityKind] = "PgJson";
|
|
2951
2951
|
constructor(table, config) {
|
|
@@ -2969,7 +2969,7 @@ class PgJson extends PgColumn {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
2971
|
|
|
2972
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2972
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
|
|
2973
2973
|
class PgJsonb extends PgColumn {
|
|
2974
2974
|
static [entityKind] = "PgJsonb";
|
|
2975
2975
|
constructor(table, config) {
|
|
@@ -2993,7 +2993,7 @@ class PgJsonb extends PgColumn {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
2995
|
|
|
2996
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
2996
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
|
|
2997
2997
|
class PgNumeric extends PgColumn {
|
|
2998
2998
|
static [entityKind] = "PgNumeric";
|
|
2999
2999
|
precision;
|
|
@@ -3019,7 +3019,7 @@ class PgNumeric extends PgColumn {
|
|
|
3019
3019
|
}
|
|
3020
3020
|
}
|
|
3021
3021
|
|
|
3022
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3022
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
|
|
3023
3023
|
class PgTime extends PgColumn {
|
|
3024
3024
|
static [entityKind] = "PgTime";
|
|
3025
3025
|
withTimezone;
|
|
@@ -3035,7 +3035,7 @@ class PgTime extends PgColumn {
|
|
|
3035
3035
|
}
|
|
3036
3036
|
}
|
|
3037
3037
|
|
|
3038
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3038
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
|
|
3039
3039
|
class PgTimestamp extends PgColumn {
|
|
3040
3040
|
static [entityKind] = "PgTimestamp";
|
|
3041
3041
|
withTimezone;
|
|
@@ -3071,7 +3071,7 @@ class PgTimestampString extends PgColumn {
|
|
|
3071
3071
|
}
|
|
3072
3072
|
}
|
|
3073
3073
|
|
|
3074
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3074
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
|
|
3075
3075
|
class PgUUID extends PgColumn {
|
|
3076
3076
|
static [entityKind] = "PgUUID";
|
|
3077
3077
|
getSQLType() {
|
|
@@ -3079,7 +3079,7 @@ class PgUUID extends PgColumn {
|
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
3081
|
|
|
3082
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3082
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
|
|
3083
3083
|
var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
|
|
3084
3084
|
var EnableRLS = Symbol.for("drizzle:EnableRLS");
|
|
3085
3085
|
|
|
@@ -3095,7 +3095,7 @@ class PgTable extends Table {
|
|
|
3095
3095
|
[Table.Symbol.ExtraConfigColumns] = {};
|
|
3096
3096
|
}
|
|
3097
3097
|
|
|
3098
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3098
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
|
|
3099
3099
|
class PrimaryKeyBuilder {
|
|
3100
3100
|
static [entityKind] = "PgPrimaryKeyBuilder";
|
|
3101
3101
|
columns;
|
|
@@ -3123,7 +3123,7 @@ class PrimaryKey {
|
|
|
3123
3123
|
}
|
|
3124
3124
|
}
|
|
3125
3125
|
|
|
3126
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3126
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/casing.js
|
|
3127
3127
|
function toSnakeCase(input) {
|
|
3128
3128
|
const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
|
|
3129
3129
|
return words.map((word) => word.toLowerCase()).join("_");
|
|
@@ -3176,7 +3176,7 @@ class CasingCache {
|
|
|
3176
3176
|
}
|
|
3177
3177
|
}
|
|
3178
3178
|
|
|
3179
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3179
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/errors.js
|
|
3180
3180
|
class DrizzleError extends Error {
|
|
3181
3181
|
static [entityKind] = "DrizzleError";
|
|
3182
3182
|
constructor({ message, cause }) {
|
|
@@ -3206,7 +3206,7 @@ class TransactionRollbackError extends DrizzleError {
|
|
|
3206
3206
|
}
|
|
3207
3207
|
}
|
|
3208
3208
|
|
|
3209
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3209
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
|
|
3210
3210
|
function bindIfParam(value, column) {
|
|
3211
3211
|
if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
|
|
3212
3212
|
return new Param(value, column);
|
|
@@ -3311,7 +3311,7 @@ function notIlike(column, value) {
|
|
|
3311
3311
|
return sql`${column} not ilike ${value}`;
|
|
3312
3312
|
}
|
|
3313
3313
|
|
|
3314
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3314
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
|
|
3315
3315
|
function asc(column) {
|
|
3316
3316
|
return sql`${column} asc`;
|
|
3317
3317
|
}
|
|
@@ -3319,7 +3319,7 @@ function desc(column) {
|
|
|
3319
3319
|
return sql`${column} desc`;
|
|
3320
3320
|
}
|
|
3321
3321
|
|
|
3322
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3322
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/relations.js
|
|
3323
3323
|
class Relation {
|
|
3324
3324
|
constructor(sourceTable, referencedTable, relationName) {
|
|
3325
3325
|
this.sourceTable = sourceTable;
|
|
@@ -3539,12 +3539,12 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
|
3539
3539
|
return result;
|
|
3540
3540
|
}
|
|
3541
3541
|
|
|
3542
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3542
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
|
|
3543
3543
|
class PgViewBase extends View {
|
|
3544
3544
|
static [entityKind] = "PgViewBase";
|
|
3545
3545
|
}
|
|
3546
3546
|
|
|
3547
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
3547
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
|
|
3548
3548
|
class PgDialect {
|
|
3549
3549
|
static [entityKind] = "PgDialect";
|
|
3550
3550
|
casing;
|
|
@@ -4102,7 +4102,7 @@ class PgDialect {
|
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
4104
|
|
|
4105
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4105
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
|
|
4106
4106
|
class TypedQueryBuilder {
|
|
4107
4107
|
static [entityKind] = "TypedQueryBuilder";
|
|
4108
4108
|
getSelectedFields() {
|
|
@@ -4110,7 +4110,7 @@ class TypedQueryBuilder {
|
|
|
4110
4110
|
}
|
|
4111
4111
|
}
|
|
4112
4112
|
|
|
4113
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4113
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
|
|
4114
4114
|
class PgSelectBuilder {
|
|
4115
4115
|
static [entityKind] = "PgSelectBuilder";
|
|
4116
4116
|
fields;
|
|
@@ -4428,7 +4428,7 @@ var intersectAll = createSetOperator("intersect", true);
|
|
|
4428
4428
|
var except = createSetOperator("except", false);
|
|
4429
4429
|
var exceptAll = createSetOperator("except", true);
|
|
4430
4430
|
|
|
4431
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4431
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
|
|
4432
4432
|
class QueryBuilder {
|
|
4433
4433
|
static [entityKind] = "PgQueryBuilder";
|
|
4434
4434
|
dialect;
|
|
@@ -4506,7 +4506,7 @@ class QueryBuilder {
|
|
|
4506
4506
|
}
|
|
4507
4507
|
}
|
|
4508
4508
|
|
|
4509
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4509
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
|
|
4510
4510
|
function extractUsedTable(table) {
|
|
4511
4511
|
if (is(table, PgTable)) {
|
|
4512
4512
|
return [table[Schema] ? `${table[Schema]}.${table[Table.Symbol.BaseName]}` : table[Table.Symbol.BaseName]];
|
|
@@ -4520,7 +4520,7 @@ function extractUsedTable(table) {
|
|
|
4520
4520
|
return [];
|
|
4521
4521
|
}
|
|
4522
4522
|
|
|
4523
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4523
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
|
|
4524
4524
|
class PgDeleteBase extends QueryPromise {
|
|
4525
4525
|
constructor(table, session, dialect, withList) {
|
|
4526
4526
|
super();
|
|
@@ -4580,7 +4580,7 @@ class PgDeleteBase extends QueryPromise {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
}
|
|
4582
4582
|
|
|
4583
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4583
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
|
|
4584
4584
|
class PgInsertBuilder {
|
|
4585
4585
|
constructor(table, session, dialect, withList, overridingSystemValue_) {
|
|
4586
4586
|
this.table = table;
|
|
@@ -4703,7 +4703,7 @@ class PgInsertBase extends QueryPromise {
|
|
|
4703
4703
|
}
|
|
4704
4704
|
}
|
|
4705
4705
|
|
|
4706
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4706
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
|
|
4707
4707
|
class PgRefreshMaterializedView extends QueryPromise {
|
|
4708
4708
|
constructor(view, session, dialect) {
|
|
4709
4709
|
super();
|
|
@@ -4754,7 +4754,7 @@ class PgRefreshMaterializedView extends QueryPromise {
|
|
|
4754
4754
|
};
|
|
4755
4755
|
}
|
|
4756
4756
|
|
|
4757
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4757
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
|
|
4758
4758
|
class PgUpdateBuilder {
|
|
4759
4759
|
constructor(table, session, dialect, withList) {
|
|
4760
4760
|
this.table = table;
|
|
@@ -4908,7 +4908,7 @@ class PgUpdateBase extends QueryPromise {
|
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4911
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
|
|
4912
4912
|
class PgCountBuilder extends SQL {
|
|
4913
4913
|
constructor(params) {
|
|
4914
4914
|
super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
|
|
@@ -4949,7 +4949,7 @@ class PgCountBuilder extends SQL {
|
|
|
4949
4949
|
}
|
|
4950
4950
|
}
|
|
4951
4951
|
|
|
4952
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
4952
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
|
|
4953
4953
|
class RelationalQueryBuilder {
|
|
4954
4954
|
constructor(fullSchema, schema, tableNamesMap, table, tableConfig, dialect, session) {
|
|
4955
4955
|
this.fullSchema = fullSchema;
|
|
@@ -5032,7 +5032,7 @@ class PgRelationalQuery extends QueryPromise {
|
|
|
5032
5032
|
}
|
|
5033
5033
|
}
|
|
5034
5034
|
|
|
5035
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5035
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
|
|
5036
5036
|
class PgRaw extends QueryPromise {
|
|
5037
5037
|
constructor(execute, sql2, query, mapBatchResult) {
|
|
5038
5038
|
super();
|
|
@@ -5059,7 +5059,7 @@ class PgRaw extends QueryPromise {
|
|
|
5059
5059
|
}
|
|
5060
5060
|
}
|
|
5061
5061
|
|
|
5062
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5062
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
|
|
5063
5063
|
class PgDatabase {
|
|
5064
5064
|
constructor(dialect, session, schema) {
|
|
5065
5065
|
this.dialect = dialect;
|
|
@@ -5185,7 +5185,7 @@ class PgDatabase {
|
|
|
5185
5185
|
}
|
|
5186
5186
|
}
|
|
5187
5187
|
|
|
5188
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5188
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
|
|
5189
5189
|
class Cache {
|
|
5190
5190
|
static [entityKind] = "Cache";
|
|
5191
5191
|
}
|
|
@@ -5211,7 +5211,7 @@ async function hashQuery(sql2, params) {
|
|
|
5211
5211
|
return hashHex;
|
|
5212
5212
|
}
|
|
5213
5213
|
|
|
5214
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5214
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
|
|
5215
5215
|
class PgPreparedQuery {
|
|
5216
5216
|
constructor(query, cache, queryMetadata, cacheConfig) {
|
|
5217
5217
|
this.query = query;
|
|
@@ -5343,7 +5343,7 @@ class PgTransaction extends PgDatabase {
|
|
|
5343
5343
|
}
|
|
5344
5344
|
}
|
|
5345
5345
|
|
|
5346
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5346
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
|
|
5347
5347
|
class PostgresJsPreparedQuery extends PgPreparedQuery {
|
|
5348
5348
|
constructor(client, queryString, params, logger, cache, queryMetadata, cacheConfig, fields, _isResponseInArrayMode, customResultMapper) {
|
|
5349
5349
|
super({ sql: queryString, params }, cache, queryMetadata, cacheConfig);
|
|
@@ -5459,7 +5459,7 @@ class PostgresJsTransaction extends PgTransaction {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
}
|
|
5461
5461
|
|
|
5462
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5462
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
|
|
5463
5463
|
class PostgresJsDatabase extends PgDatabase {
|
|
5464
5464
|
static [entityKind] = "PostgresJsDatabase";
|
|
5465
5465
|
}
|
|
@@ -5527,7 +5527,7 @@ function drizzle(...params) {
|
|
|
5527
5527
|
drizzle2.mock = mock;
|
|
5528
5528
|
})(drizzle || (drizzle = {}));
|
|
5529
5529
|
|
|
5530
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5530
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/migrator.js
|
|
5531
5531
|
import crypto3 from "crypto";
|
|
5532
5532
|
import fs2 from "fs";
|
|
5533
5533
|
function readMigrationFiles(config) {
|
|
@@ -5559,13 +5559,13 @@ function readMigrationFiles(config) {
|
|
|
5559
5559
|
return migrationQueries;
|
|
5560
5560
|
}
|
|
5561
5561
|
|
|
5562
|
-
// ../../node_modules/.pnpm/drizzle-orm@0.44.
|
|
5562
|
+
// ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251014.0_bun-types@1.3.1_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/migrator.js
|
|
5563
5563
|
async function migrate(db, config) {
|
|
5564
5564
|
const migrations = readMigrationFiles(config);
|
|
5565
5565
|
await db.dialect.migrate(migrations, db.session, config);
|
|
5566
5566
|
}
|
|
5567
5567
|
|
|
5568
|
-
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.
|
|
5568
|
+
// ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.25_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
|
|
5569
5569
|
function ensureSynchronous(value, message) {
|
|
5570
5570
|
if (value instanceof Promise)
|
|
5571
5571
|
throw new Error(message);
|
|
@@ -5651,10 +5651,7 @@ function createEnv(opts) {
|
|
|
5651
5651
|
return env;
|
|
5652
5652
|
}
|
|
5653
5653
|
|
|
5654
|
-
// ../../node_modules/.pnpm/@ark+
|
|
5655
|
-
var regex = (src, flags) => new RegExp(src, flags);
|
|
5656
|
-
Object.assign(regex, { cast: regex });
|
|
5657
|
-
// ../../node_modules/.pnpm/@ark+util@0.50.0/node_modules/@ark/util/out/arrays.js
|
|
5654
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/arrays.js
|
|
5658
5655
|
var liftArray = (data) => Array.isArray(data) ? data : [data];
|
|
5659
5656
|
var spliterate = (arr, predicate) => {
|
|
5660
5657
|
const result = [[], []];
|
|
@@ -5709,7 +5706,7 @@ var groupBy = (array, discriminant) => array.reduce((result, item) => {
|
|
|
5709
5706
|
return result;
|
|
5710
5707
|
}, {});
|
|
5711
5708
|
var arrayEquals = (l, r, opts) => l.length === r.length && l.every(opts?.isEqual ? (lItem, i) => opts.isEqual(lItem, r[i]) : (lItem, i) => lItem === r[i]);
|
|
5712
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5709
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/domain.js
|
|
5713
5710
|
var hasDomain = (data, kind) => domainOf(data) === kind;
|
|
5714
5711
|
var domainOf = (data) => {
|
|
5715
5712
|
const builtinType = typeof data;
|
|
@@ -5730,7 +5727,7 @@ var jsTypeOfDescriptions = {
|
|
|
5730
5727
|
function: "a function"
|
|
5731
5728
|
};
|
|
5732
5729
|
|
|
5733
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5730
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/errors.js
|
|
5734
5731
|
class InternalArktypeError extends Error {
|
|
5735
5732
|
}
|
|
5736
5733
|
var throwInternalError = (message) => throwError(message, InternalArktypeError);
|
|
@@ -5745,7 +5742,7 @@ var throwParseError = (message) => throwError(message, ParseError);
|
|
|
5745
5742
|
var noSuggest = (s) => ` ${s}`;
|
|
5746
5743
|
var ZeroWidthSpace = "\u200B";
|
|
5747
5744
|
|
|
5748
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5745
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/flatMorph.js
|
|
5749
5746
|
var flatMorph = (o, flatMapEntry) => {
|
|
5750
5747
|
const result = {};
|
|
5751
5748
|
const inputIsArray = Array.isArray(o);
|
|
@@ -5764,7 +5761,7 @@ var flatMorph = (o, flatMapEntry) => {
|
|
|
5764
5761
|
return outputShouldBeArray ? Object.values(result) : result;
|
|
5765
5762
|
};
|
|
5766
5763
|
|
|
5767
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5764
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/records.js
|
|
5768
5765
|
var entriesOf = Object.entries;
|
|
5769
5766
|
var isKeyOf = (k, o) => (k in o);
|
|
5770
5767
|
var hasKey = (o, k) => (k in o);
|
|
@@ -5811,7 +5808,7 @@ var enumValues = (tsEnum) => Object.values(tsEnum).filter((v) => {
|
|
|
5811
5808
|
return typeof tsEnum[v] !== "number";
|
|
5812
5809
|
});
|
|
5813
5810
|
|
|
5814
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5811
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/objectKinds.js
|
|
5815
5812
|
var ecmascriptConstructors = {
|
|
5816
5813
|
Array,
|
|
5817
5814
|
Boolean,
|
|
@@ -5927,7 +5924,7 @@ var constructorExtends = (ctor, base) => {
|
|
|
5927
5924
|
return false;
|
|
5928
5925
|
};
|
|
5929
5926
|
|
|
5930
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5927
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/clone.js
|
|
5931
5928
|
var deepClone = (input) => _clone(input, new Map);
|
|
5932
5929
|
var _clone = (input, seen) => {
|
|
5933
5930
|
if (typeof input !== "object" || input === null)
|
|
@@ -5953,7 +5950,7 @@ var _clone = (input, seen) => {
|
|
|
5953
5950
|
Object.defineProperties(cloned, propertyDescriptors);
|
|
5954
5951
|
return cloned;
|
|
5955
5952
|
};
|
|
5956
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5953
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/functions.js
|
|
5957
5954
|
var cached = (thunk) => {
|
|
5958
5955
|
let result = unset;
|
|
5959
5956
|
return () => result === unset ? result = thunk() : result;
|
|
@@ -5987,16 +5984,16 @@ var envHasCsp = cached(() => {
|
|
|
5987
5984
|
return true;
|
|
5988
5985
|
}
|
|
5989
5986
|
});
|
|
5990
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5987
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/generics.js
|
|
5991
5988
|
var brand = noSuggest("brand");
|
|
5992
5989
|
var inferred = noSuggest("arkInferred");
|
|
5993
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5990
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/hkt.js
|
|
5994
5991
|
var args = noSuggest("args");
|
|
5995
5992
|
|
|
5996
5993
|
class Hkt {
|
|
5997
5994
|
constructor() {}
|
|
5998
5995
|
}
|
|
5999
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
5996
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/isomorphic.js
|
|
6000
5997
|
var fileName = () => {
|
|
6001
5998
|
try {
|
|
6002
5999
|
const error = new Error;
|
|
@@ -6013,11 +6010,11 @@ var isomorphic = {
|
|
|
6013
6010
|
fileName,
|
|
6014
6011
|
env
|
|
6015
6012
|
};
|
|
6016
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6013
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/strings.js
|
|
6017
6014
|
var capitalize = (s) => s[0].toUpperCase() + s.slice(1);
|
|
6018
|
-
var anchoredRegex = (
|
|
6019
|
-
var anchoredSource = (
|
|
6020
|
-
const source = typeof
|
|
6015
|
+
var anchoredRegex = (regex) => new RegExp(anchoredSource(regex), typeof regex === "string" ? "" : regex.flags);
|
|
6016
|
+
var anchoredSource = (regex) => {
|
|
6017
|
+
const source = typeof regex === "string" ? regex : regex.source;
|
|
6021
6018
|
return `^(?:${source})$`;
|
|
6022
6019
|
};
|
|
6023
6020
|
var RegexPatterns = {
|
|
@@ -6031,7 +6028,7 @@ var whitespaceChars = {
|
|
|
6031
6028
|
"\t": 1
|
|
6032
6029
|
};
|
|
6033
6030
|
|
|
6034
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6031
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/numbers.js
|
|
6035
6032
|
var anchoredNegativeZeroPattern = /^-0\.?0*$/.source;
|
|
6036
6033
|
var positiveIntegerPattern = /[1-9]\d*/.source;
|
|
6037
6034
|
var looseDecimalPattern = /\.\d+/.source;
|
|
@@ -6093,8 +6090,8 @@ var tryParseWellFormedBigint = (def) => {
|
|
|
6093
6090
|
return throwParseError(writeMalformedNumericLiteralMessage(def, "bigint"));
|
|
6094
6091
|
}
|
|
6095
6092
|
};
|
|
6096
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6097
|
-
var arkUtilVersion = "0.
|
|
6093
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/registry.js
|
|
6094
|
+
var arkUtilVersion = "0.53.0";
|
|
6098
6095
|
var initialRegistryContents = {
|
|
6099
6096
|
version: arkUtilVersion,
|
|
6100
6097
|
filename: isomorphic.fileName(),
|
|
@@ -6133,10 +6130,10 @@ var baseNameFor = (value) => {
|
|
|
6133
6130
|
return throwInternalError(`Unexpected attempt to register serializable value of type ${domainOf(value)}`);
|
|
6134
6131
|
};
|
|
6135
6132
|
|
|
6136
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6133
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/primitive.js
|
|
6137
6134
|
var serializePrimitive = (value) => typeof value === "string" ? JSON.stringify(value) : typeof value === "bigint" ? `${value}n` : `${value}`;
|
|
6138
6135
|
|
|
6139
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6136
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/serialize.js
|
|
6140
6137
|
var snapshot = (data, opts = {}) => _serialize(data, {
|
|
6141
6138
|
onUndefined: `$ark.undefined`,
|
|
6142
6139
|
onBigInt: (n) => `$ark.bigint-${n}`,
|
|
@@ -6269,7 +6266,7 @@ var months = [
|
|
|
6269
6266
|
var timeWithUnnecessarySeconds = /:\d\d:00$/;
|
|
6270
6267
|
var pad = (value, length) => String(value).padStart(length, "0");
|
|
6271
6268
|
|
|
6272
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6269
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/path.js
|
|
6273
6270
|
var appendStringifiedKey = (path, prop, ...[opts]) => {
|
|
6274
6271
|
const stringifySymbol = opts?.stringifySymbol ?? printable;
|
|
6275
6272
|
let propAccessChain = path;
|
|
@@ -6326,7 +6323,7 @@ class ReadonlyPath extends ReadonlyArray {
|
|
|
6326
6323
|
return this.cache.stringifyAncestors = result;
|
|
6327
6324
|
}
|
|
6328
6325
|
}
|
|
6329
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6326
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/scanner.js
|
|
6330
6327
|
class Scanner {
|
|
6331
6328
|
chars;
|
|
6332
6329
|
i;
|
|
@@ -6409,9 +6406,9 @@ class Scanner {
|
|
|
6409
6406
|
}
|
|
6410
6407
|
var writeUnmatchedGroupCloseMessage = (char, unscanned) => `Unmatched ${char}${unscanned === "" ? "" : ` before ${unscanned}`}`;
|
|
6411
6408
|
var writeUnclosedGroupMessage = (missingChar) => `Missing ${missingChar}`;
|
|
6412
|
-
// ../../node_modules/.pnpm/@ark+util@0.
|
|
6409
|
+
// ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/traits.js
|
|
6413
6410
|
var implementedTraits = noSuggest("implementedTraits");
|
|
6414
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6411
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/registry.js
|
|
6415
6412
|
var _registryName = "$ark";
|
|
6416
6413
|
var suffix = 2;
|
|
6417
6414
|
while (_registryName in globalThis)
|
|
@@ -6422,7 +6419,7 @@ var $ark = registry;
|
|
|
6422
6419
|
var reference = (name) => `${registryName}.${name}`;
|
|
6423
6420
|
var registeredReference = (value) => reference(register(value));
|
|
6424
6421
|
|
|
6425
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6422
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/compile.js
|
|
6426
6423
|
class CompiledFunction extends CastableBase {
|
|
6427
6424
|
argNames;
|
|
6428
6425
|
body = "";
|
|
@@ -6558,13 +6555,13 @@ class NodeCompiler extends CompiledFunction {
|
|
|
6558
6555
|
}
|
|
6559
6556
|
}
|
|
6560
6557
|
|
|
6561
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6558
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/utils.js
|
|
6562
6559
|
var makeRootAndArrayPropertiesMutable = (o) => flatMorph(o, (k, v) => [k, isArray(v) ? [...v] : v]);
|
|
6563
6560
|
var arkKind = noSuggest("arkKind");
|
|
6564
6561
|
var hasArkKind = (value, kind) => value?.[arkKind] === kind;
|
|
6565
6562
|
var isNode = (value) => hasArkKind(value, "root") || hasArkKind(value, "constraint");
|
|
6566
6563
|
|
|
6567
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6564
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/implement.js
|
|
6568
6565
|
var basisKinds = ["unit", "proto", "domain"];
|
|
6569
6566
|
var structuralKinds = [
|
|
6570
6567
|
"required",
|
|
@@ -6652,7 +6649,7 @@ var implementNode = (_) => {
|
|
|
6652
6649
|
return implementation;
|
|
6653
6650
|
};
|
|
6654
6651
|
|
|
6655
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6652
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
|
|
6656
6653
|
class ToJsonSchemaError extends Error {
|
|
6657
6654
|
name = "ToJsonSchemaError";
|
|
6658
6655
|
code;
|
|
@@ -6692,7 +6689,7 @@ var ToJsonSchema = {
|
|
|
6692
6689
|
defaultConfig
|
|
6693
6690
|
};
|
|
6694
6691
|
|
|
6695
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6692
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/config.js
|
|
6696
6693
|
$ark.config ??= {};
|
|
6697
6694
|
var mergeConfigs = (base, merged) => {
|
|
6698
6695
|
if (!merged)
|
|
@@ -6747,7 +6744,7 @@ var mergeFallbacks = (base, merged) => {
|
|
|
6747
6744
|
return result;
|
|
6748
6745
|
};
|
|
6749
6746
|
var normalizeFallback = (fallback) => typeof fallback === "function" ? { default: fallback } : fallback ?? {};
|
|
6750
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6747
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/errors.js
|
|
6751
6748
|
class ArkError extends CastableBase {
|
|
6752
6749
|
[arkKind] = "error";
|
|
6753
6750
|
path;
|
|
@@ -6940,7 +6937,7 @@ var indent = (error) => error.toString().split(`
|
|
|
6940
6937
|
`).join(`
|
|
6941
6938
|
`);
|
|
6942
6939
|
|
|
6943
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
6940
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/traversal.js
|
|
6944
6941
|
class Traversal {
|
|
6945
6942
|
path = [];
|
|
6946
6943
|
errors = new ArkErrors(this);
|
|
@@ -7080,7 +7077,7 @@ var traverseKey = (key, fn, ctx) => {
|
|
|
7080
7077
|
return result;
|
|
7081
7078
|
};
|
|
7082
7079
|
|
|
7083
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7080
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/node.js
|
|
7084
7081
|
class BaseNode extends Callable {
|
|
7085
7082
|
attachments;
|
|
7086
7083
|
$;
|
|
@@ -7429,7 +7426,7 @@ var appendUniqueNodes = (existing, refs) => appendUnique(existing, refs, {
|
|
|
7429
7426
|
isEqual: (l, r) => l.equals(r)
|
|
7430
7427
|
});
|
|
7431
7428
|
|
|
7432
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7429
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/disjoint.js
|
|
7433
7430
|
class Disjoint extends Array {
|
|
7434
7431
|
static init(kind, l, r, ctx) {
|
|
7435
7432
|
return new Disjoint({
|
|
@@ -7491,7 +7488,7 @@ var describeReasons = (l, r) => `${describeReason(l)} and ${describeReason(r)}`;
|
|
|
7491
7488
|
var describeReason = (value) => isNode(value) ? value.expression : isArray(value) ? value.map(describeReason).join(" | ") || "never" : String(value);
|
|
7492
7489
|
var writeUnsatisfiableExpressionError = (expression) => `${expression} results in an unsatisfiable type`;
|
|
7493
7490
|
|
|
7494
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7491
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/intersections.js
|
|
7495
7492
|
var intersectionCache = {};
|
|
7496
7493
|
var intersectNodesRoot = (l, r, $) => intersectOrPipeNodes(l, r, {
|
|
7497
7494
|
$,
|
|
@@ -7599,7 +7596,7 @@ var _pipeMorphed = (from, to, ctx) => {
|
|
|
7599
7596
|
});
|
|
7600
7597
|
};
|
|
7601
7598
|
|
|
7602
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7599
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/constraint.js
|
|
7603
7600
|
class BaseConstraint extends BaseNode {
|
|
7604
7601
|
constructor(attachments, $) {
|
|
7605
7602
|
super(attachments, $);
|
|
@@ -7713,7 +7710,7 @@ var writeInvalidOperandMessage = (kind, expected, actual) => {
|
|
|
7713
7710
|
const actualDescription = actual.hasKind("morph") ? "a morph" : actual.isUnknown() ? "unknown" : actual.exclude(expected).defaultShortDescription;
|
|
7714
7711
|
return `${capitalize(kind)} operand must be ${expected.description} (was ${actualDescription})`;
|
|
7715
7712
|
};
|
|
7716
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7713
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/generic.js
|
|
7717
7714
|
var parseGeneric = (paramDefs, bodyDef, $) => new GenericRoot(paramDefs, bodyDef, $, $, null);
|
|
7718
7715
|
|
|
7719
7716
|
class LazyGenericBody extends Callable {
|
|
@@ -7784,7 +7781,7 @@ class GenericRoot extends Callable {
|
|
|
7784
7781
|
}
|
|
7785
7782
|
}
|
|
7786
7783
|
var writeUnsatisfiedParameterConstraintMessage = (name, constraint, arg) => `${name} must be assignable to ${constraint} (was ${arg})`;
|
|
7787
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7784
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/predicate.js
|
|
7788
7785
|
var implementation = implementNode({
|
|
7789
7786
|
kind: "predicate",
|
|
7790
7787
|
hasAssociatedError: true,
|
|
@@ -7839,7 +7836,7 @@ var Predicate = {
|
|
|
7839
7836
|
Node: PredicateNode
|
|
7840
7837
|
};
|
|
7841
7838
|
|
|
7842
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7839
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/divisor.js
|
|
7843
7840
|
var implementation2 = implementNode({
|
|
7844
7841
|
kind: "divisor",
|
|
7845
7842
|
collapsibleKey: "rule",
|
|
@@ -7892,7 +7889,7 @@ var greatestCommonDivisor = (l, r) => {
|
|
|
7892
7889
|
return greatestCommonDivisor2;
|
|
7893
7890
|
};
|
|
7894
7891
|
|
|
7895
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7892
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/range.js
|
|
7896
7893
|
class BaseRange extends InternalPrimitiveConstraint {
|
|
7897
7894
|
boundOperandKind = operandKindsByBoundKind[this.kind];
|
|
7898
7895
|
compiledActual = this.boundOperandKind === "value" ? `data` : this.boundOperandKind === "length" ? `data.length` : `data.valueOf()`;
|
|
@@ -7972,7 +7969,7 @@ var compileComparator = (kind, exclusive) => `${isKeyOf(kind, boundKindPairsByLo
|
|
|
7972
7969
|
var dateLimitToString = (limit) => typeof limit === "string" ? limit : new Date(limit).toLocaleString();
|
|
7973
7970
|
var writeUnboundableMessage = (root) => `Bounded expression ${root} must be exactly one of number, string, Array, or Date`;
|
|
7974
7971
|
|
|
7975
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
7972
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/after.js
|
|
7976
7973
|
var implementation3 = implementNode({
|
|
7977
7974
|
kind: "after",
|
|
7978
7975
|
collapsibleKey: "rule",
|
|
@@ -8006,7 +8003,7 @@ var After = {
|
|
|
8006
8003
|
Node: AfterNode
|
|
8007
8004
|
};
|
|
8008
8005
|
|
|
8009
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8006
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/before.js
|
|
8010
8007
|
var implementation4 = implementNode({
|
|
8011
8008
|
kind: "before",
|
|
8012
8009
|
collapsibleKey: "rule",
|
|
@@ -8041,7 +8038,7 @@ var Before = {
|
|
|
8041
8038
|
Node: BeforeNode
|
|
8042
8039
|
};
|
|
8043
8040
|
|
|
8044
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8041
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/exactLength.js
|
|
8045
8042
|
var implementation5 = implementNode({
|
|
8046
8043
|
kind: "exactLength",
|
|
8047
8044
|
collapsibleKey: "rule",
|
|
@@ -8089,7 +8086,7 @@ var ExactLength = {
|
|
|
8089
8086
|
Node: ExactLengthNode
|
|
8090
8087
|
};
|
|
8091
8088
|
|
|
8092
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8089
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/max.js
|
|
8093
8090
|
var implementation6 = implementNode({
|
|
8094
8091
|
kind: "max",
|
|
8095
8092
|
collapsibleKey: "rule",
|
|
@@ -8129,7 +8126,7 @@ var Max = {
|
|
|
8129
8126
|
Node: MaxNode
|
|
8130
8127
|
};
|
|
8131
8128
|
|
|
8132
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8129
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/maxLength.js
|
|
8133
8130
|
var implementation7 = implementNode({
|
|
8134
8131
|
kind: "maxLength",
|
|
8135
8132
|
collapsibleKey: "rule",
|
|
@@ -8172,7 +8169,7 @@ var MaxLength = {
|
|
|
8172
8169
|
Node: MaxLengthNode
|
|
8173
8170
|
};
|
|
8174
8171
|
|
|
8175
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8172
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/min.js
|
|
8176
8173
|
var implementation8 = implementNode({
|
|
8177
8174
|
kind: "min",
|
|
8178
8175
|
collapsibleKey: "rule",
|
|
@@ -8211,7 +8208,7 @@ var Min = {
|
|
|
8211
8208
|
Node: MinNode
|
|
8212
8209
|
};
|
|
8213
8210
|
|
|
8214
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8211
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/minLength.js
|
|
8215
8212
|
var implementation9 = implementNode({
|
|
8216
8213
|
kind: "minLength",
|
|
8217
8214
|
collapsibleKey: "rule",
|
|
@@ -8253,7 +8250,7 @@ var MinLength = {
|
|
|
8253
8250
|
Node: MinLengthNode
|
|
8254
8251
|
};
|
|
8255
8252
|
|
|
8256
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8253
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/kinds.js
|
|
8257
8254
|
var boundImplementationsByKind = {
|
|
8258
8255
|
min: Min.implementation,
|
|
8259
8256
|
max: Max.implementation,
|
|
@@ -8273,7 +8270,7 @@ var boundClassesByKind = {
|
|
|
8273
8270
|
before: Before.Node
|
|
8274
8271
|
};
|
|
8275
8272
|
|
|
8276
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8273
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/pattern.js
|
|
8277
8274
|
var implementation10 = implementNode({
|
|
8278
8275
|
kind: "pattern",
|
|
8279
8276
|
collapsibleKey: "rule",
|
|
@@ -8318,7 +8315,7 @@ var Pattern = {
|
|
|
8318
8315
|
Node: PatternNode
|
|
8319
8316
|
};
|
|
8320
8317
|
|
|
8321
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8318
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/parse.js
|
|
8322
8319
|
var schemaKindOf = (schema, allowedKinds) => {
|
|
8323
8320
|
const kind = discriminateRootKind(schema);
|
|
8324
8321
|
if (allowedKinds && !allowedKinds.includes(kind)) {
|
|
@@ -8499,7 +8496,7 @@ var possiblyCollapse = (json, toKey, allowPrimitive) => {
|
|
|
8499
8496
|
return json;
|
|
8500
8497
|
};
|
|
8501
8498
|
|
|
8502
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8499
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/prop.js
|
|
8503
8500
|
var intersectProps = (l, r, ctx) => {
|
|
8504
8501
|
if (l.key !== r.key)
|
|
8505
8502
|
return null;
|
|
@@ -8566,7 +8563,7 @@ class BaseProp extends BaseConstraint {
|
|
|
8566
8563
|
}
|
|
8567
8564
|
var writeDefaultIntersectionMessage = (lValue, rValue) => `Invalid intersection of default values ${printable(lValue)} & ${printable(rValue)}`;
|
|
8568
8565
|
|
|
8569
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8566
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/optional.js
|
|
8570
8567
|
var implementation11 = implementNode({
|
|
8571
8568
|
kind: "optional",
|
|
8572
8569
|
hasAssociatedError: false,
|
|
@@ -8670,7 +8667,7 @@ var writeNonPrimitiveNonFunctionDefaultValueMessage = (key) => {
|
|
|
8670
8667
|
return `Non-primitive default ${keyDescription}must be specified as a function like () => ({my: 'object'})`;
|
|
8671
8668
|
};
|
|
8672
8669
|
|
|
8673
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
8670
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/root.js
|
|
8674
8671
|
class BaseRoot extends BaseNode {
|
|
8675
8672
|
constructor(attachments, $) {
|
|
8676
8673
|
super(attachments, $);
|
|
@@ -8856,6 +8853,8 @@ class BaseRoot extends BaseNode {
|
|
|
8856
8853
|
return !(intersection instanceof Disjoint);
|
|
8857
8854
|
}
|
|
8858
8855
|
extends(r) {
|
|
8856
|
+
if (this.isNever())
|
|
8857
|
+
return true;
|
|
8859
8858
|
const intersection = this.intersect(r);
|
|
8860
8859
|
return !(intersection instanceof Disjoint) && this.equals(intersection);
|
|
8861
8860
|
}
|
|
@@ -9042,13 +9041,13 @@ var writeLiteralUnionEntriesMessage = (expression) => `Props cannot be extracted
|
|
|
9042
9041
|
${expression}`;
|
|
9043
9042
|
var writeNonStructuralOperandMessage = (operation, operand) => `${operation} operand must be an object (was ${operand})`;
|
|
9044
9043
|
|
|
9045
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9044
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/utils.js
|
|
9046
9045
|
var defineRightwardIntersections = (kind, implementation12) => flatMorph(schemaKindsRightOf(kind), (i, kind2) => [
|
|
9047
9046
|
kind2,
|
|
9048
9047
|
implementation12
|
|
9049
9048
|
]);
|
|
9050
9049
|
|
|
9051
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9050
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/alias.js
|
|
9052
9051
|
var normalizeAliasSchema = (schema) => typeof schema === "string" ? { reference: schema } : schema;
|
|
9053
9052
|
var neverIfDisjoint = (result) => result instanceof Disjoint ? $ark.intrinsic.never.internal : result;
|
|
9054
9053
|
var implementation12 = implementNode({
|
|
@@ -9156,7 +9155,7 @@ var Alias = {
|
|
|
9156
9155
|
Node: AliasNode
|
|
9157
9156
|
};
|
|
9158
9157
|
|
|
9159
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9158
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/basis.js
|
|
9160
9159
|
class InternalBasis extends BaseRoot {
|
|
9161
9160
|
traverseApply = (data, ctx) => {
|
|
9162
9161
|
if (!this.traverseAllows(data, ctx))
|
|
@@ -9182,7 +9181,7 @@ class InternalBasis extends BaseRoot {
|
|
|
9182
9181
|
}
|
|
9183
9182
|
}
|
|
9184
9183
|
|
|
9185
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9184
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/domain.js
|
|
9186
9185
|
var implementation13 = implementNode({
|
|
9187
9186
|
kind: "domain",
|
|
9188
9187
|
hasAssociatedError: true,
|
|
@@ -9233,7 +9232,7 @@ var Domain = {
|
|
|
9233
9232
|
writeBadAllowNanMessage: (actual) => `numberAllowsNaN may only be specified with domain "number" (was ${actual})`
|
|
9234
9233
|
};
|
|
9235
9234
|
|
|
9236
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9235
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/intersection.js
|
|
9237
9236
|
var implementation14 = implementNode({
|
|
9238
9237
|
kind: "intersection",
|
|
9239
9238
|
hasAssociatedError: true,
|
|
@@ -9483,7 +9482,7 @@ var intersectIntersections = (l, r, ctx) => {
|
|
|
9483
9482
|
});
|
|
9484
9483
|
};
|
|
9485
9484
|
|
|
9486
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9485
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/morph.js
|
|
9487
9486
|
var implementation15 = implementNode({
|
|
9488
9487
|
kind: "morph",
|
|
9489
9488
|
hasAssociatedError: false,
|
|
@@ -9619,7 +9618,7 @@ var writeMorphIntersectionMessage = (lDescription, rDescription) => `The interse
|
|
|
9619
9618
|
Left: ${lDescription}
|
|
9620
9619
|
Right: ${rDescription}`;
|
|
9621
9620
|
|
|
9622
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9621
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/proto.js
|
|
9623
9622
|
var implementation16 = implementNode({
|
|
9624
9623
|
kind: "proto",
|
|
9625
9624
|
hasAssociatedError: true,
|
|
@@ -9692,7 +9691,7 @@ var Proto = {
|
|
|
9692
9691
|
writeInvalidSchemaMessage: (actual) => `instanceOf operand must be a function (was ${domainOf(actual)})`
|
|
9693
9692
|
};
|
|
9694
9693
|
|
|
9695
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
9694
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/union.js
|
|
9696
9695
|
var implementation17 = implementNode({
|
|
9697
9696
|
kind: "union",
|
|
9698
9697
|
hasAssociatedError: true,
|
|
@@ -10262,7 +10261,7 @@ var writeOrderedIntersectionMessage = (lDescription, rDescription) => `The inter
|
|
|
10262
10261
|
Left: ${lDescription}
|
|
10263
10262
|
Right: ${rDescription}`;
|
|
10264
10263
|
|
|
10265
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
10264
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/unit.js
|
|
10266
10265
|
var implementation18 = implementNode({
|
|
10267
10266
|
kind: "unit",
|
|
10268
10267
|
hasAssociatedError: true,
|
|
@@ -10324,7 +10323,7 @@ var compileEqualityCheck = (unit, serializedValue, negated) => {
|
|
|
10324
10323
|
return `data ${negated ? "!" : "="}== ${serializedValue}`;
|
|
10325
10324
|
};
|
|
10326
10325
|
|
|
10327
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
10326
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/index.js
|
|
10328
10327
|
var implementation19 = implementNode({
|
|
10329
10328
|
kind: "index",
|
|
10330
10329
|
hasAssociatedError: false,
|
|
@@ -10401,7 +10400,7 @@ var Index = {
|
|
|
10401
10400
|
var writeEnumerableIndexBranches = (keys2) => `Index keys ${keys2.join(", ")} should be specified as named props.`;
|
|
10402
10401
|
var writeInvalidPropertyKeyMessage = (indexSchema) => `Indexed key definition '${indexSchema}' must be a string or symbol`;
|
|
10403
10402
|
|
|
10404
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
10403
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/required.js
|
|
10405
10404
|
var implementation20 = implementNode({
|
|
10406
10405
|
kind: "required",
|
|
10407
10406
|
hasAssociatedError: true,
|
|
@@ -10440,7 +10439,7 @@ var Required = {
|
|
|
10440
10439
|
Node: RequiredNode
|
|
10441
10440
|
};
|
|
10442
10441
|
|
|
10443
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
10442
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/sequence.js
|
|
10444
10443
|
var implementation21 = implementNode({
|
|
10445
10444
|
kind: "sequence",
|
|
10446
10445
|
hasAssociatedError: false,
|
|
@@ -10822,7 +10821,7 @@ var _intersectSequences = (s) => {
|
|
|
10822
10821
|
};
|
|
10823
10822
|
var elementIsRequired = (el) => el.kind === "prefix" || el.kind === "postfix";
|
|
10824
10823
|
|
|
10825
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
10824
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/structure.js
|
|
10826
10825
|
var createStructuralWriter = (childStringProp) => (node) => {
|
|
10827
10826
|
if (node.props.length || node.index) {
|
|
10828
10827
|
const parts = node.index?.map((index) => index[childStringProp]) ?? [];
|
|
@@ -10993,33 +10992,48 @@ var implementation22 = implementNode({
|
|
|
10993
10992
|
}
|
|
10994
10993
|
},
|
|
10995
10994
|
reduce: (inner, $) => {
|
|
10996
|
-
if (inner.
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
if (intersection === null)
|
|
11014
|
-
continue;
|
|
11015
|
-
newOptionalProps[indx] = intersection;
|
|
11016
|
-
updated = true;
|
|
10995
|
+
if (!inner.required && !inner.optional)
|
|
10996
|
+
return;
|
|
10997
|
+
const seen = {};
|
|
10998
|
+
let updated = false;
|
|
10999
|
+
const newOptionalProps = inner.optional ? [...inner.optional] : [];
|
|
11000
|
+
if (inner.required) {
|
|
11001
|
+
for (let i = 0;i < inner.required.length; i++) {
|
|
11002
|
+
const requiredProp = inner.required[i];
|
|
11003
|
+
if (requiredProp.key in seen)
|
|
11004
|
+
throwParseError(writeDuplicateKeyMessage(requiredProp.key));
|
|
11005
|
+
seen[requiredProp.key] = true;
|
|
11006
|
+
if (inner.index) {
|
|
11007
|
+
for (const index of inner.index) {
|
|
11008
|
+
const intersection = intersectPropsAndIndex(requiredProp, index, $);
|
|
11009
|
+
if (intersection instanceof Disjoint)
|
|
11010
|
+
return intersection;
|
|
11011
|
+
}
|
|
11017
11012
|
}
|
|
11018
11013
|
}
|
|
11019
|
-
|
|
11020
|
-
|
|
11014
|
+
}
|
|
11015
|
+
if (inner.optional) {
|
|
11016
|
+
for (let i = 0;i < inner.optional.length; i++) {
|
|
11017
|
+
const optionalProp = inner.optional[i];
|
|
11018
|
+
if (optionalProp.key in seen)
|
|
11019
|
+
throwParseError(writeDuplicateKeyMessage(optionalProp.key));
|
|
11020
|
+
seen[optionalProp.key] = true;
|
|
11021
|
+
if (inner.index) {
|
|
11022
|
+
for (const index of inner.index) {
|
|
11023
|
+
const intersection = intersectPropsAndIndex(optionalProp, index, $);
|
|
11024
|
+
if (intersection instanceof Disjoint)
|
|
11025
|
+
return intersection;
|
|
11026
|
+
if (intersection !== null) {
|
|
11027
|
+
newOptionalProps[i] = intersection;
|
|
11028
|
+
updated = true;
|
|
11029
|
+
}
|
|
11030
|
+
}
|
|
11031
|
+
}
|
|
11021
11032
|
}
|
|
11022
11033
|
}
|
|
11034
|
+
if (updated) {
|
|
11035
|
+
return $.node("structure", { ...inner, optional: newOptionalProps }, { prereduced: true });
|
|
11036
|
+
}
|
|
11023
11037
|
}
|
|
11024
11038
|
});
|
|
11025
11039
|
|
|
@@ -11488,8 +11502,9 @@ var normalizeIndex = (signature, value, $) => {
|
|
|
11488
11502
|
};
|
|
11489
11503
|
var typeKeyToString = (k) => hasArkKind(k, "root") ? k.expression : printable(k);
|
|
11490
11504
|
var writeInvalidKeysMessage = (o, keys2) => `Key${keys2.length === 1 ? "" : "s"} ${keys2.map(typeKeyToString).join(", ")} ${keys2.length === 1 ? "does" : "do"} not exist on ${o}`;
|
|
11505
|
+
var writeDuplicateKeyMessage = (key) => `Duplicate key ${compileSerializedValue(key)}`;
|
|
11491
11506
|
|
|
11492
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
11507
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/kinds.js
|
|
11493
11508
|
var nodeImplementationsByKind = {
|
|
11494
11509
|
...boundImplementationsByKind,
|
|
11495
11510
|
alias: Alias.implementation,
|
|
@@ -11542,7 +11557,7 @@ var nodeClassesByKind = {
|
|
|
11542
11557
|
structure: Structure.Node
|
|
11543
11558
|
};
|
|
11544
11559
|
|
|
11545
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
11560
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/module.js
|
|
11546
11561
|
class RootModule extends DynamicBase {
|
|
11547
11562
|
get [arkKind]() {
|
|
11548
11563
|
return "module";
|
|
@@ -11553,7 +11568,7 @@ var bindModule = (module, $) => new RootModule(flatMorph(module, (alias, value)
|
|
|
11553
11568
|
hasArkKind(value, "module") ? bindModule(value, $) : $.bindReference(value)
|
|
11554
11569
|
]));
|
|
11555
11570
|
|
|
11556
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
11571
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/scope.js
|
|
11557
11572
|
var schemaBranchesOf = (schema) => isArray(schema) ? schema : ("branches" in schema) && isArray(schema.branches) ? schema.branches : undefined;
|
|
11558
11573
|
var throwMismatchedNodeRootError = (expected, actual) => throwParseError(`Node of kind ${actual} is not valid as a ${expected} definition`);
|
|
11559
11574
|
var writeDuplicateAliasError = (alias) => `#${alias} duplicates public alias ${alias}`;
|
|
@@ -11960,12 +11975,12 @@ var node = rootSchemaScope.node;
|
|
|
11960
11975
|
var defineSchema = rootSchemaScope.defineSchema;
|
|
11961
11976
|
var genericNode = rootSchemaScope.generic;
|
|
11962
11977
|
|
|
11963
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
11978
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/shared.js
|
|
11964
11979
|
var arrayIndexSource = `^(?:0|[1-9]\\d*)$`;
|
|
11965
11980
|
var arrayIndexMatcher = new RegExp(arrayIndexSource);
|
|
11966
11981
|
var arrayIndexMatcherReference = registeredReference(arrayIndexMatcher);
|
|
11967
11982
|
|
|
11968
|
-
// ../../node_modules/.pnpm/@ark+schema@0.
|
|
11983
|
+
// ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/intrinsic.js
|
|
11969
11984
|
var intrinsicBases = schemaScope({
|
|
11970
11985
|
bigint: "bigint",
|
|
11971
11986
|
boolean: [{ unit: false }, { unit: true }],
|
|
@@ -12017,7 +12032,10 @@ var intrinsic = {
|
|
|
12017
12032
|
emptyStructure: node("structure", {}, { prereduced: true })
|
|
12018
12033
|
};
|
|
12019
12034
|
$ark.intrinsic = { ...intrinsic };
|
|
12020
|
-
// ../../node_modules/.pnpm/
|
|
12035
|
+
// ../../node_modules/.pnpm/arkregex@0.0.2/node_modules/arkregex/out/regex.js
|
|
12036
|
+
var regex = (src, flags) => new RegExp(src, flags);
|
|
12037
|
+
Object.assign(regex, { as: regex });
|
|
12038
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/date.js
|
|
12021
12039
|
var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value.at(-1) === value[1];
|
|
12022
12040
|
var isValidDate = (d) => d.toString() !== "Invalid Date";
|
|
12023
12041
|
var extractDateLiteralSource = (literal) => literal.slice(2, -1);
|
|
@@ -12036,7 +12054,7 @@ var maybeParseDate = (source, errorOnFail) => {
|
|
|
12036
12054
|
return errorOnFail ? throwParseError(errorOnFail === true ? writeInvalidDateMessage(source) : errorOnFail) : undefined;
|
|
12037
12055
|
};
|
|
12038
12056
|
|
|
12039
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12057
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/enclosed.js
|
|
12040
12058
|
var parseEnclosed = (s, enclosing) => {
|
|
12041
12059
|
const enclosed = s.scanner.shiftUntilEscapable(untilLookaheadIsClosing[enclosingTokens[enclosing]]);
|
|
12042
12060
|
if (s.scanner.lookahead === "")
|
|
@@ -12090,12 +12108,12 @@ var enclosingCharDescriptions = {
|
|
|
12090
12108
|
};
|
|
12091
12109
|
var writeUnterminatedEnclosedMessage = (fragment2, enclosingStart) => `${enclosingStart}${fragment2} requires a closing ${enclosingCharDescriptions[enclosingTokens[enclosingStart]]}`;
|
|
12092
12110
|
|
|
12093
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12111
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/ast/validate.js
|
|
12094
12112
|
var writePrefixedPrivateReferenceMessage = (name) => `Private type references should not include '#'. Use '${name}' instead.`;
|
|
12095
12113
|
var shallowOptionalMessage = "Optional definitions like 'string?' are only valid as properties in an object or tuple";
|
|
12096
12114
|
var shallowDefaultableMessage = "Defaultable definitions like 'number = 0' are only valid as properties in an object or tuple";
|
|
12097
12115
|
|
|
12098
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12116
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/tokens.js
|
|
12099
12117
|
var terminatingChars = {
|
|
12100
12118
|
"<": 1,
|
|
12101
12119
|
">": 1,
|
|
@@ -12113,7 +12131,7 @@ var terminatingChars = {
|
|
|
12113
12131
|
};
|
|
12114
12132
|
var lookaheadIsFinalizing = (lookahead, unscanned) => lookahead === ">" ? unscanned[0] === "=" ? unscanned[1] === "=" : unscanned.trimStart() === "" || isKeyOf(unscanned.trimStart()[0], terminatingChars) : lookahead === "=" ? unscanned[0] !== "=" : lookahead === "," || lookahead === "?";
|
|
12115
12133
|
|
|
12116
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12134
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/genericArgs.js
|
|
12117
12135
|
var parseGenericArgs = (name, g, s) => _parseGenericArgs(name, g, s, []);
|
|
12118
12136
|
var _parseGenericArgs = (name, g, s, argNodes) => {
|
|
12119
12137
|
const argState = s.parseUntilFinalizer();
|
|
@@ -12130,7 +12148,7 @@ var _parseGenericArgs = (name, g, s, argNodes) => {
|
|
|
12130
12148
|
};
|
|
12131
12149
|
var writeInvalidGenericArgCountMessage = (name, params, argDefs) => `${name}<${params.join(", ")}> requires exactly ${params.length} args (got ${argDefs.length}${argDefs.length === 0 ? "" : `: ${argDefs.join(", ")}`})`;
|
|
12132
12150
|
|
|
12133
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12151
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/unenclosed.js
|
|
12134
12152
|
var parseUnenclosed = (s) => {
|
|
12135
12153
|
const token = s.scanner.shiftUntilLookahead(terminatingChars);
|
|
12136
12154
|
if (token === "keyof")
|
|
@@ -12178,10 +12196,10 @@ var writeMissingOperandMessage = (s) => {
|
|
|
12178
12196
|
var writeMissingRightOperandMessage = (token, unscanned = "") => `Token '${token}' requires a right operand${unscanned ? ` before '${unscanned}'` : ""}`;
|
|
12179
12197
|
var writeExpressionExpectedMessage = (unscanned) => `Expected an expression${unscanned ? ` before '${unscanned}'` : ""}`;
|
|
12180
12198
|
|
|
12181
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12199
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/operand.js
|
|
12182
12200
|
var parseOperand = (s) => s.scanner.lookahead === "" ? s.error(writeMissingOperandMessage(s)) : s.scanner.lookahead === "(" ? s.shiftedByOne().reduceGroupOpen() : s.scanner.lookaheadIsIn(enclosingChar) ? parseEnclosed(s, s.scanner.shift()) : s.scanner.lookaheadIsIn(whitespaceChars) ? parseOperand(s.shiftedByOne()) : s.scanner.lookahead === "d" ? s.scanner.nextLookahead in enclosingQuote ? parseEnclosed(s, `${s.scanner.shift()}${s.scanner.shift()}`) : parseUnenclosed(s) : parseUnenclosed(s);
|
|
12183
12201
|
|
|
12184
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12202
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/shared.js
|
|
12185
12203
|
var minComparators = {
|
|
12186
12204
|
">": true,
|
|
12187
12205
|
">=": true
|
|
@@ -12201,7 +12219,7 @@ var writeOpenRangeMessage = (min2, comparator) => `Left bounds are only valid wh
|
|
|
12201
12219
|
var writeUnpairableComparatorMessage = (comparator) => `Left-bounded expressions must specify their limits using < or <= (was ${comparator})`;
|
|
12202
12220
|
var writeMultipleLeftBoundsMessage = (openLimit, openComparator, limit, comparator) => `An expression may have at most one left bound (parsed ${openLimit}${invertedComparators[openComparator]}, ${limit}${invertedComparators[comparator]})`;
|
|
12203
12221
|
|
|
12204
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12222
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/bounds.js
|
|
12205
12223
|
var parseBound = (s, start) => {
|
|
12206
12224
|
const comparator = shiftComparator(s, start);
|
|
12207
12225
|
if (s.root.hasKind("unit")) {
|
|
@@ -12272,14 +12290,14 @@ var parseRightBound = (s, comparator) => {
|
|
|
12272
12290
|
};
|
|
12273
12291
|
var writeInvalidLimitMessage = (comparator, limit, boundKind) => `Comparator ${boundKind === "left" ? invertedComparators[comparator] : comparator} must be ${boundKind === "left" ? "preceded" : "followed"} by a corresponding literal (was ${limit})`;
|
|
12274
12292
|
|
|
12275
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12293
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/brand.js
|
|
12276
12294
|
var parseBrand = (s) => {
|
|
12277
12295
|
s.scanner.shiftUntilNonWhitespace();
|
|
12278
12296
|
const brandName = s.scanner.shiftUntilLookahead(terminatingChars);
|
|
12279
12297
|
s.root = s.root.brand(brandName);
|
|
12280
12298
|
};
|
|
12281
12299
|
|
|
12282
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12300
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/divisor.js
|
|
12283
12301
|
var parseDivisor = (s) => {
|
|
12284
12302
|
s.scanner.shiftUntilNonWhitespace();
|
|
12285
12303
|
const divisorToken = s.scanner.shiftUntilLookahead(terminatingChars);
|
|
@@ -12292,7 +12310,7 @@ var parseDivisor = (s) => {
|
|
|
12292
12310
|
};
|
|
12293
12311
|
var writeInvalidDivisorMessage = (divisor2) => `% operator must be followed by a non-zero integer literal (was ${divisor2})`;
|
|
12294
12312
|
|
|
12295
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12313
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/operator.js
|
|
12296
12314
|
var parseOperator = (s) => {
|
|
12297
12315
|
const lookahead = s.scanner.shift();
|
|
12298
12316
|
return lookahead === "" ? s.finalize("") : lookahead === "[" ? s.scanner.shift() === "]" ? s.setRoot(s.root.array()) : s.error(incompleteArrayTokenMessage) : lookahead === "|" ? s.scanner.lookahead === ">" ? s.shiftedByOne().pushRootToBranch("|>") : s.pushRootToBranch(lookahead) : lookahead === "&" ? s.pushRootToBranch(lookahead) : lookahead === ")" ? s.finalizeGroup() : lookaheadIsFinalizing(lookahead, s.scanner.unscanned) ? s.finalize(lookahead) : isKeyOf(lookahead, comparatorStartChars) ? parseBound(s, lookahead) : lookahead === "%" ? parseDivisor(s) : lookahead === "#" ? parseBrand(s) : (lookahead in whitespaceChars) ? parseOperator(s) : s.error(writeUnexpectedCharacterMessage(lookahead));
|
|
@@ -12300,7 +12318,7 @@ var parseOperator = (s) => {
|
|
|
12300
12318
|
var writeUnexpectedCharacterMessage = (char, shouldBe = "") => `'${char}' is not allowed here${shouldBe && ` (should be ${shouldBe})`}`;
|
|
12301
12319
|
var incompleteArrayTokenMessage = `Missing expected ']'`;
|
|
12302
12320
|
|
|
12303
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12321
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/default.js
|
|
12304
12322
|
var parseDefault = (s) => {
|
|
12305
12323
|
const baseNode = s.unsetRoot();
|
|
12306
12324
|
s.parseOperand();
|
|
@@ -12312,7 +12330,7 @@ var parseDefault = (s) => {
|
|
|
12312
12330
|
};
|
|
12313
12331
|
var writeNonLiteralDefaultMessage = (defaultDef) => `Default value '${defaultDef}' must be a literal value`;
|
|
12314
12332
|
|
|
12315
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12333
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/string.js
|
|
12316
12334
|
var parseString = (def, ctx) => {
|
|
12317
12335
|
const aliasResolution = ctx.$.maybeResolveRoot(def);
|
|
12318
12336
|
if (aliasResolution)
|
|
@@ -12351,7 +12369,7 @@ var parseUntilFinalizer = (s) => {
|
|
|
12351
12369
|
};
|
|
12352
12370
|
var next = (s) => s.hasRoot() ? s.parseOperator() : s.parseOperand();
|
|
12353
12371
|
|
|
12354
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12372
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/dynamic.js
|
|
12355
12373
|
class RuntimeState {
|
|
12356
12374
|
root;
|
|
12357
12375
|
branches = {
|
|
@@ -12488,7 +12506,7 @@ class RuntimeState {
|
|
|
12488
12506
|
}
|
|
12489
12507
|
}
|
|
12490
12508
|
|
|
12491
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12509
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/generic.js
|
|
12492
12510
|
var emptyGenericParameterMessage = "An empty string is not a valid generic parameter name";
|
|
12493
12511
|
var parseGenericParamName = (scanner2, result, ctx) => {
|
|
12494
12512
|
scanner2.shiftUntilNonWhitespace();
|
|
@@ -12516,7 +12534,7 @@ var _parseOptionalConstraint = (scanner2, name, result, ctx) => {
|
|
|
12516
12534
|
result.push([name, s.root]);
|
|
12517
12535
|
return parseGenericParamName(scanner2, result, ctx);
|
|
12518
12536
|
};
|
|
12519
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12537
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/fn.js
|
|
12520
12538
|
class InternalFnParser extends Callable {
|
|
12521
12539
|
constructor($) {
|
|
12522
12540
|
const attach = {
|
|
@@ -12568,7 +12586,7 @@ class InternalTypedFn extends Callable {
|
|
|
12568
12586
|
var badFnReturnTypeMessage = `":" must be followed by exactly one return type e.g:
|
|
12569
12587
|
fn("string", ":", "number")(s => s.length)`;
|
|
12570
12588
|
|
|
12571
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12589
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/match.js
|
|
12572
12590
|
class InternalMatchParser extends Callable {
|
|
12573
12591
|
$;
|
|
12574
12592
|
constructor($) {
|
|
@@ -12662,7 +12680,7 @@ var throwOnDefault = (errors3) => errors3.throw();
|
|
|
12662
12680
|
var chainedAtMessage = `A key matcher must be specified before the first case i.e. match.at('foo') or match.in<object>().at('bar')`;
|
|
12663
12681
|
var doubleAtMessage = `At most one key matcher may be specified per expression`;
|
|
12664
12682
|
|
|
12665
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12683
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/property.js
|
|
12666
12684
|
var parseProperty = (def, ctx) => {
|
|
12667
12685
|
if (isArray(def)) {
|
|
12668
12686
|
if (def[1] === "=")
|
|
@@ -12675,7 +12693,7 @@ var parseProperty = (def, ctx) => {
|
|
|
12675
12693
|
var invalidOptionalKeyKindMessage = `Only required keys may make their values optional, e.g. { [mySymbol]: ['number', '?'] }`;
|
|
12676
12694
|
var invalidDefaultableKeyKindMessage = `Only required keys may specify default values, e.g. { value: 'number = 0' }`;
|
|
12677
12695
|
|
|
12678
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12696
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/objectLiteral.js
|
|
12679
12697
|
var parseObjectLiteral = (def, ctx) => {
|
|
12680
12698
|
let spread;
|
|
12681
12699
|
const structure3 = {};
|
|
@@ -12760,7 +12778,7 @@ var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normali
|
|
|
12760
12778
|
};
|
|
12761
12779
|
var writeInvalidSpreadTypeMessage = (def) => `Spread operand must resolve to an object literal type (was ${def})`;
|
|
12762
12780
|
|
|
12763
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12781
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleExpressions.js
|
|
12764
12782
|
var maybeParseTupleExpression = (def, ctx) => isIndexZeroExpression(def) ? indexZeroParsers[def[0]](def, ctx) : isIndexOneExpression(def) ? indexOneParsers[def[1]](def, ctx) : null;
|
|
12765
12783
|
var parseKeyOfTuple = (def, ctx) => ctx.$.parseOwnDefinitionFormat(def[1], ctx).keyof();
|
|
12766
12784
|
var parseBranchTuple = (def, ctx) => {
|
|
@@ -12821,7 +12839,7 @@ var indexZeroParsers = defineIndexZeroParsers({
|
|
|
12821
12839
|
var isIndexZeroExpression = (def) => indexZeroParsers[def[0]] !== undefined;
|
|
12822
12840
|
var writeInvalidConstructorMessage = (actual) => `Expected a constructor following 'instanceof' operator (was ${actual})`;
|
|
12823
12841
|
|
|
12824
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12842
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleLiteral.js
|
|
12825
12843
|
var parseTupleLiteral = (def, ctx) => {
|
|
12826
12844
|
let sequences = [{}];
|
|
12827
12845
|
let i = 0;
|
|
@@ -12917,7 +12935,7 @@ var requiredPostOptionalMessage = "A required element may not follow an optional
|
|
|
12917
12935
|
var optionalOrDefaultableAfterVariadicMessage = "An optional element may not follow a variadic element";
|
|
12918
12936
|
var defaultablePostOptionalMessage = "A defaultable element may not follow an optional element without a default";
|
|
12919
12937
|
|
|
12920
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12938
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/definition.js
|
|
12921
12939
|
var parseCache = {};
|
|
12922
12940
|
var parseInnerDefinition = (def, ctx) => {
|
|
12923
12941
|
if (typeof def === "string") {
|
|
@@ -12956,7 +12974,7 @@ var parseObject = (def, ctx) => {
|
|
|
12956
12974
|
var parseTuple = (def, ctx) => maybeParseTupleExpression(def, ctx) ?? parseTupleLiteral(def, ctx);
|
|
12957
12975
|
var writeBadDefinitionTypeMessage = (actual) => `Type definitions must be strings or objects (was ${actual})`;
|
|
12958
12976
|
|
|
12959
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
12977
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/type.js
|
|
12960
12978
|
class InternalTypeParser extends Callable {
|
|
12961
12979
|
constructor($) {
|
|
12962
12980
|
const attach = Object.assign({
|
|
@@ -12998,7 +13016,7 @@ class InternalTypeParser extends Callable {
|
|
|
12998
13016
|
}
|
|
12999
13017
|
}
|
|
13000
13018
|
|
|
13001
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13019
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/scope.js
|
|
13002
13020
|
var $arkTypeRegistry = $ark;
|
|
13003
13021
|
|
|
13004
13022
|
class InternalScope extends BaseScope {
|
|
@@ -13092,7 +13110,7 @@ var scope2 = Object.assign(InternalScope.scope, {
|
|
|
13092
13110
|
});
|
|
13093
13111
|
var Scope = InternalScope;
|
|
13094
13112
|
|
|
13095
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13113
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/builtins.js
|
|
13096
13114
|
class MergeHkt extends Hkt {
|
|
13097
13115
|
description = 'merge an object\'s properties onto another like `Merge(User, { isAdmin: "true" })`';
|
|
13098
13116
|
}
|
|
@@ -13102,7 +13120,7 @@ var arkBuiltins = Scope.module({
|
|
|
13102
13120
|
Merge
|
|
13103
13121
|
});
|
|
13104
13122
|
|
|
13105
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13123
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/Array.js
|
|
13106
13124
|
class liftFromHkt extends Hkt {
|
|
13107
13125
|
}
|
|
13108
13126
|
var liftFrom = genericNode("element")((args2) => {
|
|
@@ -13119,7 +13137,7 @@ var arkArray = Scope.module({
|
|
|
13119
13137
|
name: "Array"
|
|
13120
13138
|
});
|
|
13121
13139
|
|
|
13122
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13140
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/FormData.js
|
|
13123
13141
|
var value = rootSchema(["string", registry.FileConstructor]);
|
|
13124
13142
|
var parsedFormDataValue = value.rawOr(value.array());
|
|
13125
13143
|
var parsed = rootSchema({
|
|
@@ -13156,7 +13174,7 @@ var arkFormData = Scope.module({
|
|
|
13156
13174
|
name: "FormData"
|
|
13157
13175
|
});
|
|
13158
13176
|
|
|
13159
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13177
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/TypedArray.js
|
|
13160
13178
|
var TypedArray = Scope.module({
|
|
13161
13179
|
Int8: ["instanceof", Int8Array],
|
|
13162
13180
|
Uint8: ["instanceof", Uint8Array],
|
|
@@ -13173,7 +13191,7 @@ var TypedArray = Scope.module({
|
|
|
13173
13191
|
name: "TypedArray"
|
|
13174
13192
|
});
|
|
13175
13193
|
|
|
13176
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13194
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/constructors.js
|
|
13177
13195
|
var omittedPrototypes = {
|
|
13178
13196
|
Boolean: 1,
|
|
13179
13197
|
Number: 1,
|
|
@@ -13186,7 +13204,7 @@ var arkPrototypes = Scope.module({
|
|
|
13186
13204
|
FormData: arkFormData
|
|
13187
13205
|
});
|
|
13188
13206
|
|
|
13189
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13207
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/number.js
|
|
13190
13208
|
var epoch = rootSchema({
|
|
13191
13209
|
domain: {
|
|
13192
13210
|
domain: "number",
|
|
@@ -13229,7 +13247,7 @@ var number = Scope.module({
|
|
|
13229
13247
|
name: "number"
|
|
13230
13248
|
});
|
|
13231
13249
|
|
|
13232
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13250
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/string.js
|
|
13233
13251
|
var regexStringNode = (regex2, description, jsonSchemaFormat) => {
|
|
13234
13252
|
const schema = {
|
|
13235
13253
|
domain: "string",
|
|
@@ -13620,7 +13638,7 @@ var string = Scope.module({
|
|
|
13620
13638
|
name: "string"
|
|
13621
13639
|
});
|
|
13622
13640
|
|
|
13623
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13641
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/ts.js
|
|
13624
13642
|
var arkTsKeywords = Scope.module({
|
|
13625
13643
|
bigint: intrinsic.bigint,
|
|
13626
13644
|
boolean: intrinsic.boolean,
|
|
@@ -13708,7 +13726,7 @@ var arkTsGenerics = Scope.module({
|
|
|
13708
13726
|
Required: Required2
|
|
13709
13727
|
});
|
|
13710
13728
|
|
|
13711
|
-
// ../../node_modules/.pnpm/arktype@2.1.
|
|
13729
|
+
// ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/keywords.js
|
|
13712
13730
|
var ark = scope2({
|
|
13713
13731
|
...arkTsKeywords,
|
|
13714
13732
|
...arkTsGenerics,
|