@absolutejs/auth 0.75.6 → 0.75.7
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/dist/agents/index.js +233 -70
- package/dist/agents/index.js.map +2 -2
- package/dist/cli/migrate.js.map +2 -2
- package/dist/client/index.js +24 -22
- package/dist/client/index.js.map +2 -2
- package/dist/client/mobile.js +12 -10
- package/dist/client/mobile.js.map +2 -2
- package/dist/client/react.js +20 -18
- package/dist/client/react.js.map +2 -2
- package/dist/client/solid.js +17 -15
- package/dist/client/solid.js.map +2 -2
- package/dist/client/svelte.js +17 -15
- package/dist/client/svelte.js.map +2 -2
- package/dist/client/vue.js +17 -15
- package/dist/client/vue.js.map +2 -2
- package/dist/htmx/index.js +11 -9
- package/dist/htmx/index.js.map +2 -2
- package/dist/index.js +959 -796
- package/dist/index.js.map +3 -3
- package/dist/linkedProviders/index.js +11 -9
- package/dist/linkedProviders/index.js.map +2 -2
- package/dist/manifest.js +255 -253
- package/dist/manifest.js.map +2 -2
- package/dist/oidc/index.js +214 -51
- package/dist/oidc/index.js.map +3 -3
- package/dist/plugins/index.js +14 -12
- package/dist/plugins/index.js.map +2 -2
- package/dist/providers/index.js +24 -22
- package/dist/providers/index.js.map +2 -2
- package/dist/saml.js +10 -8
- package/dist/saml.js.map +2 -2
- package/dist/server.js +453 -290
- package/dist/server.js.map +3 -3
- package/dist/vault/index.js +190 -27
- package/dist/vault/index.js.map +2 -2
- package/dist/webauthn.js +10 -8
- package/dist/webauthn.js.map +2 -2
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -58,20 +60,20 @@ var init_constants = __esm(() => {
|
|
|
58
60
|
// src/crypto.ts
|
|
59
61
|
var exports_crypto = {};
|
|
60
62
|
__export(exports_crypto, {
|
|
61
|
-
|
|
62
|
-
verifyPassword: () => verifyPassword,
|
|
63
|
-
hashToken: () => hashToken,
|
|
64
|
-
hashPassword: () => hashPassword,
|
|
65
|
-
generateTotpSecret: () => generateTotpSecret,
|
|
66
|
-
generateTotp: () => generateTotp,
|
|
67
|
-
generateSecureToken: () => generateSecureToken,
|
|
68
|
-
generateEncryptionKey: () => generateEncryptionKey,
|
|
69
|
-
encryptSecret: () => encryptSecret,
|
|
70
|
-
decryptSecret: () => decryptSecret,
|
|
71
|
-
createTotpKeyUri: () => createTotpKeyUri,
|
|
72
|
-
constantTimeEqual: () => constantTimeEqual,
|
|
63
|
+
base32Decode: () => base32Decode,
|
|
73
64
|
base32Encode: () => base32Encode,
|
|
74
|
-
|
|
65
|
+
constantTimeEqual: () => constantTimeEqual,
|
|
66
|
+
createTotpKeyUri: () => createTotpKeyUri,
|
|
67
|
+
decryptSecret: () => decryptSecret,
|
|
68
|
+
encryptSecret: () => encryptSecret,
|
|
69
|
+
generateEncryptionKey: () => generateEncryptionKey,
|
|
70
|
+
generateSecureToken: () => generateSecureToken,
|
|
71
|
+
generateTotp: () => generateTotp,
|
|
72
|
+
generateTotpSecret: () => generateTotpSecret,
|
|
73
|
+
hashPassword: () => hashPassword,
|
|
74
|
+
hashToken: () => hashToken,
|
|
75
|
+
verifyPassword: () => verifyPassword,
|
|
76
|
+
verifyTotp: () => verifyTotp
|
|
75
77
|
});
|
|
76
78
|
var DEFAULT_TOKEN_BYTES = 32, AES_KEY_BYTES = 32, AES_IV_BYTES = 12, HOTP_COUNTER_BYTES = 8, TOTP_SECRET_BYTES = 20, TOTP_DIGITS = 6, TOTP_PERIOD_SECONDS = 30, DEFAULT_TOTP_WINDOW = 1, DECIMAL_RADIX = 10, LAST_NIBBLE_MASK = 15, SIGN_BIT_MASK = 2147483647, BASE32_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", BASE32_GROUP_BITS = 5, BASE32_MASK = 31, BYTE_BITS = 8, textEncoder, textDecoder, base64UrlEncode = (bytes) => Buffer.from(bytes).toString("base64url"), base64UrlDecode = (encoded) => new Uint8Array(Buffer.from(encoded, "base64url")), sha256 = async (input) => {
|
|
77
79
|
const digest = await crypto.subtle.digest("SHA-256", textEncoder.encode(input));
|
|
@@ -182,7 +184,7 @@ var init_crypto = __esm(() => {
|
|
|
182
184
|
});
|
|
183
185
|
|
|
184
186
|
// node_modules/reflect-metadata/Reflect.js
|
|
185
|
-
var require_Reflect = __commonJS(()
|
|
187
|
+
var require_Reflect = __commonJS(function() {
|
|
186
188
|
/*! *****************************************************************************
|
|
187
189
|
Copyright (C) Microsoft. All rights reserved.
|
|
188
190
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -14794,6 +14796,9 @@ var tracer = { startActiveSpan(name, fn) {
|
|
|
14794
14796
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
14795
14797
|
|
|
14796
14798
|
// node_modules/drizzle-orm/sql/sql.js
|
|
14799
|
+
var FakePrimitiveParam = class {
|
|
14800
|
+
static [entityKind] = "FakePrimitiveParam";
|
|
14801
|
+
};
|
|
14797
14802
|
function isSQLWrapper(value) {
|
|
14798
14803
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
14799
14804
|
}
|
|
@@ -18471,6 +18476,16 @@ var UniqueConstraintBuilder = class {
|
|
|
18471
18476
|
return new UniqueConstraint(table, this.columns, this.nullsNotDistinctConfig, this.name);
|
|
18472
18477
|
}
|
|
18473
18478
|
};
|
|
18479
|
+
var UniqueOnConstraintBuilder = class {
|
|
18480
|
+
static [entityKind] = "PgUniqueOnConstraintBuilder";
|
|
18481
|
+
name;
|
|
18482
|
+
constructor(name2) {
|
|
18483
|
+
this.name = name2;
|
|
18484
|
+
}
|
|
18485
|
+
on(...columns) {
|
|
18486
|
+
return new UniqueConstraintBuilder(columns, this.name);
|
|
18487
|
+
}
|
|
18488
|
+
};
|
|
18474
18489
|
var UniqueConstraint = class {
|
|
18475
18490
|
static [entityKind] = "PgUniqueConstraint";
|
|
18476
18491
|
columns;
|
|
@@ -23746,6 +23761,17 @@ var ColumnAliasProxyHandler2 = class {
|
|
|
23746
23761
|
return target[prop];
|
|
23747
23762
|
}
|
|
23748
23763
|
};
|
|
23764
|
+
var RelationTableAliasProxyHandler2 = class {
|
|
23765
|
+
static [entityKind] = "RelationTableAliasProxyHandler";
|
|
23766
|
+
constructor(alias2) {
|
|
23767
|
+
this.alias = alias2;
|
|
23768
|
+
}
|
|
23769
|
+
get(target, prop) {
|
|
23770
|
+
if (prop === "sourceTable")
|
|
23771
|
+
return aliasedTable2(target.sourceTable, this.alias);
|
|
23772
|
+
return target[prop];
|
|
23773
|
+
}
|
|
23774
|
+
};
|
|
23749
23775
|
function aliasedTable2(table, tableAlias) {
|
|
23750
23776
|
return new Proxy(table, new TableAliasProxyHandler2(tableAlias, false, false));
|
|
23751
23777
|
}
|
|
@@ -24229,6 +24255,13 @@ params: ${params}`);
|
|
|
24229
24255
|
this.cause = cause;
|
|
24230
24256
|
}
|
|
24231
24257
|
};
|
|
24258
|
+
var TransactionRollbackError2 = class extends DrizzleError2 {
|
|
24259
|
+
static [entityKind] = "TransactionRollbackError";
|
|
24260
|
+
constructor() {
|
|
24261
|
+
super({ message: "Rollback" });
|
|
24262
|
+
this.name = "TransactionRollbackError";
|
|
24263
|
+
}
|
|
24264
|
+
};
|
|
24232
24265
|
// node_modules/drizzle-orm/relations.js
|
|
24233
24266
|
var Relation2 = class {
|
|
24234
24267
|
static [entityKind] = "RelationV2";
|
|
@@ -24277,6 +24310,53 @@ var One2 = class extends Relation2 {
|
|
|
24277
24310
|
this.optional = config?.optional ?? true;
|
|
24278
24311
|
}
|
|
24279
24312
|
};
|
|
24313
|
+
var Many2 = class extends Relation2 {
|
|
24314
|
+
static [entityKind] = "ManyV2";
|
|
24315
|
+
relationType = "many";
|
|
24316
|
+
constructor(tables, targetTable, targetTableName, config) {
|
|
24317
|
+
super(targetTable, targetTableName);
|
|
24318
|
+
this.config = config;
|
|
24319
|
+
this.alias = config?.alias;
|
|
24320
|
+
this.where = config?.where;
|
|
24321
|
+
if (config?.from)
|
|
24322
|
+
this.sourceColumns = (Array.isArray(config.from) ? config.from : [config.from]).map((it2) => {
|
|
24323
|
+
this.throughTable ??= it2._.through ? tables[it2._.through._.tableName] : undefined;
|
|
24324
|
+
this.sourceColumnTableNames.push(it2._.tableName);
|
|
24325
|
+
return it2._.column;
|
|
24326
|
+
});
|
|
24327
|
+
if (config?.to)
|
|
24328
|
+
this.targetColumns = (Array.isArray(config.to) ? config.to : [config.to]).map((it2) => {
|
|
24329
|
+
this.throughTable ??= it2._.through ? tables[it2._.through._.tableName] : undefined;
|
|
24330
|
+
this.targetColumnTableNames.push(it2._.tableName);
|
|
24331
|
+
return it2._.column;
|
|
24332
|
+
});
|
|
24333
|
+
if (this.throughTable)
|
|
24334
|
+
this.through = {
|
|
24335
|
+
source: (Array.isArray(config?.from) ? config.from : (config?.from) ? [config.from] : []).map((c) => c._.through),
|
|
24336
|
+
target: (Array.isArray(config?.to) ? config.to : (config?.to) ? [config.to] : []).map((c) => c._.through)
|
|
24337
|
+
};
|
|
24338
|
+
}
|
|
24339
|
+
};
|
|
24340
|
+
var AggregatedField2 = class {
|
|
24341
|
+
static [entityKind] = "AggregatedField";
|
|
24342
|
+
table;
|
|
24343
|
+
onTable(table) {
|
|
24344
|
+
this.table = table;
|
|
24345
|
+
return this;
|
|
24346
|
+
}
|
|
24347
|
+
};
|
|
24348
|
+
var Count2 = class extends AggregatedField2 {
|
|
24349
|
+
static [entityKind] = "AggregatedFieldCount";
|
|
24350
|
+
query;
|
|
24351
|
+
getSQL() {
|
|
24352
|
+
if (!this.query) {
|
|
24353
|
+
if (!this.table)
|
|
24354
|
+
throw new Error("Table must be set before building aggregate field");
|
|
24355
|
+
this.query = sql`select count(*) as ${sql.identifier("r")} from ${getTableAsAliasSQL2(this.table)}`.mapWith(Number);
|
|
24356
|
+
}
|
|
24357
|
+
return this.query;
|
|
24358
|
+
}
|
|
24359
|
+
};
|
|
24280
24360
|
var operators2 = {
|
|
24281
24361
|
and,
|
|
24282
24362
|
between,
|
|
@@ -24597,6 +24677,66 @@ function makeJitRqbMapper2({ selection, isFirst, parseJson, parseJsonIfString, r
|
|
|
24597
24677
|
${compiled}
|
|
24598
24678
|
}` });
|
|
24599
24679
|
}
|
|
24680
|
+
var RelationsBuilderTable2 = class {
|
|
24681
|
+
static [entityKind] = "RelationsBuilderTable";
|
|
24682
|
+
_;
|
|
24683
|
+
constructor(table, name2) {
|
|
24684
|
+
this._ = {
|
|
24685
|
+
name: name2,
|
|
24686
|
+
table
|
|
24687
|
+
};
|
|
24688
|
+
}
|
|
24689
|
+
};
|
|
24690
|
+
var RelationsBuilderColumn2 = class {
|
|
24691
|
+
static [entityKind] = "RelationsBuilderColumn";
|
|
24692
|
+
_;
|
|
24693
|
+
constructor(column, tableName, key) {
|
|
24694
|
+
this._ = {
|
|
24695
|
+
tableName,
|
|
24696
|
+
column,
|
|
24697
|
+
key
|
|
24698
|
+
};
|
|
24699
|
+
}
|
|
24700
|
+
through(column) {
|
|
24701
|
+
return new RelationsBuilderJunctionColumn2(this._.column, this._.tableName, this._.key, column);
|
|
24702
|
+
}
|
|
24703
|
+
};
|
|
24704
|
+
var RelationsBuilderJunctionColumn2 = class {
|
|
24705
|
+
static [entityKind] = "RelationsBuilderColumn";
|
|
24706
|
+
_;
|
|
24707
|
+
constructor(column, tableName, key, through) {
|
|
24708
|
+
this._ = {
|
|
24709
|
+
tableName,
|
|
24710
|
+
column,
|
|
24711
|
+
through,
|
|
24712
|
+
key
|
|
24713
|
+
};
|
|
24714
|
+
}
|
|
24715
|
+
};
|
|
24716
|
+
var RelationsHelperStatic2 = class {
|
|
24717
|
+
static [entityKind] = "RelationsHelperStatic";
|
|
24718
|
+
_;
|
|
24719
|
+
constructor(tables) {
|
|
24720
|
+
this._ = { tables };
|
|
24721
|
+
const one = {};
|
|
24722
|
+
const many = {};
|
|
24723
|
+
for (const [tableName, table] of Object.entries(tables)) {
|
|
24724
|
+
one[tableName] = (config) => {
|
|
24725
|
+
return new One2(tables, table, tableName, config);
|
|
24726
|
+
};
|
|
24727
|
+
many[tableName] = (config) => {
|
|
24728
|
+
return new Many2(tables, table, tableName, config);
|
|
24729
|
+
};
|
|
24730
|
+
}
|
|
24731
|
+
this.one = one;
|
|
24732
|
+
this.many = many;
|
|
24733
|
+
}
|
|
24734
|
+
one;
|
|
24735
|
+
many;
|
|
24736
|
+
aggs = { count() {
|
|
24737
|
+
return new Count2;
|
|
24738
|
+
} };
|
|
24739
|
+
};
|
|
24600
24740
|
function fieldSelectionToSQL2(table, target) {
|
|
24601
24741
|
const field = table[TableColumns][target];
|
|
24602
24742
|
return field ? is(field, Column) ? field : is(field, SQL.Aliased) ? sql`${table}.${sql.identifier(field.fieldAlias)}` : sql`${table}.${sql.identifier(target)}` : sql`${table}.${sql.identifier(target)}`;
|
|
@@ -26055,6 +26195,29 @@ var PgAsyncSession2 = class extends PgSession2 {
|
|
|
26055
26195
|
});
|
|
26056
26196
|
}
|
|
26057
26197
|
};
|
|
26198
|
+
var PgAsyncTransaction2 = class extends PgAsyncDatabase2 {
|
|
26199
|
+
static [entityKind] = "PgAsyncTransaction";
|
|
26200
|
+
constructor(dialect, session, relations, nestedIndex = 0, parseRqbJson) {
|
|
26201
|
+
super(dialect, session, relations, parseRqbJson);
|
|
26202
|
+
this.nestedIndex = nestedIndex;
|
|
26203
|
+
}
|
|
26204
|
+
rollback() {
|
|
26205
|
+
throw new TransactionRollbackError2;
|
|
26206
|
+
}
|
|
26207
|
+
getTransactionConfigSQL(config) {
|
|
26208
|
+
const chunks = [];
|
|
26209
|
+
if (config.isolationLevel)
|
|
26210
|
+
chunks.push(`isolation level ${config.isolationLevel}`);
|
|
26211
|
+
if (config.accessMode)
|
|
26212
|
+
chunks.push(config.accessMode);
|
|
26213
|
+
if (typeof config.deferrable === "boolean")
|
|
26214
|
+
chunks.push(config.deferrable ? "deferrable" : "not deferrable");
|
|
26215
|
+
return sql.raw(chunks.join(" "));
|
|
26216
|
+
}
|
|
26217
|
+
setTransaction(config) {
|
|
26218
|
+
return this.session.execute(sql`set transaction ${this.getTransactionConfigSQL(config)}`);
|
|
26219
|
+
}
|
|
26220
|
+
};
|
|
26058
26221
|
|
|
26059
26222
|
// node_modules/drizzle-orm/neon-http/session.js
|
|
26060
26223
|
var NeonHttpSession = class extends PgAsyncSession2 {
|
|
@@ -26514,12 +26677,12 @@ var providersFromEnv = (selection, env = process.env) => {
|
|
|
26514
26677
|
// node_modules/typebox/build/system/memory/memory.mjs
|
|
26515
26678
|
var exports_memory = {};
|
|
26516
26679
|
__export(exports_memory, {
|
|
26517
|
-
|
|
26518
|
-
Metrics: () => Metrics,
|
|
26519
|
-
Discard: () => Discard,
|
|
26520
|
-
Create: () => Create,
|
|
26680
|
+
Assign: () => Assign,
|
|
26521
26681
|
Clone: () => Clone,
|
|
26522
|
-
|
|
26682
|
+
Create: () => Create,
|
|
26683
|
+
Discard: () => Discard,
|
|
26684
|
+
Metrics: () => Metrics,
|
|
26685
|
+
Update: () => Update
|
|
26523
26686
|
});
|
|
26524
26687
|
|
|
26525
26688
|
// node_modules/typebox/build/system/memory/metrics.mjs
|
|
@@ -26539,44 +26702,44 @@ function Assign(left, right) {
|
|
|
26539
26702
|
// node_modules/typebox/build/guard/guard.mjs
|
|
26540
26703
|
var exports_guard = {};
|
|
26541
26704
|
__export(exports_guard, {
|
|
26542
|
-
|
|
26543
|
-
Symbols: () => Symbols,
|
|
26544
|
-
SomeAll: () => SomeAll,
|
|
26545
|
-
Some: () => Some,
|
|
26546
|
-
ShiftLeft: () => ShiftLeft,
|
|
26547
|
-
Keys: () => Keys,
|
|
26548
|
-
IsValueLike: () => IsValueLike,
|
|
26549
|
-
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
26550
|
-
IsUndefined: () => IsUndefined,
|
|
26551
|
-
IsSymbol: () => IsSymbol,
|
|
26552
|
-
IsString: () => IsString,
|
|
26553
|
-
IsObjectNotArray: () => IsObjectNotArray,
|
|
26554
|
-
IsObject: () => IsObject,
|
|
26555
|
-
IsNumber: () => IsNumber,
|
|
26556
|
-
IsNull: () => IsNull,
|
|
26557
|
-
IsMultipleOf: () => IsMultipleOf,
|
|
26558
|
-
IsMinLength: () => IsMinLength2,
|
|
26559
|
-
IsMaxLength: () => IsMaxLength2,
|
|
26560
|
-
IsLessThan: () => IsLessThan,
|
|
26561
|
-
IsLessEqualThan: () => IsLessEqualThan,
|
|
26562
|
-
IsInteger: () => IsInteger,
|
|
26563
|
-
IsGreaterThan: () => IsGreaterThan,
|
|
26564
|
-
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
26565
|
-
IsFunction: () => IsFunction,
|
|
26566
|
-
IsEqual: () => IsEqual,
|
|
26567
|
-
IsDeepEqual: () => IsDeepEqual,
|
|
26568
|
-
IsConstructor: () => IsConstructor,
|
|
26569
|
-
IsClassInstance: () => IsClassInstance,
|
|
26570
|
-
IsBoolean: () => IsBoolean,
|
|
26571
|
-
IsBigInt: () => IsBigInt,
|
|
26572
|
-
IsArray: () => IsArray,
|
|
26573
|
-
HasPropertyKey: () => HasPropertyKey,
|
|
26574
|
-
GraphemeCount: () => GraphemeCount2,
|
|
26575
|
-
EveryAll: () => EveryAll,
|
|
26576
|
-
Every: () => Every,
|
|
26577
|
-
EntriesRegExp: () => EntriesRegExp,
|
|
26705
|
+
Counted: () => Counted,
|
|
26578
26706
|
Entries: () => Entries,
|
|
26579
|
-
|
|
26707
|
+
EntriesRegExp: () => EntriesRegExp,
|
|
26708
|
+
Every: () => Every,
|
|
26709
|
+
EveryAll: () => EveryAll,
|
|
26710
|
+
GraphemeCount: () => GraphemeCount2,
|
|
26711
|
+
HasPropertyKey: () => HasPropertyKey,
|
|
26712
|
+
IsArray: () => IsArray,
|
|
26713
|
+
IsBigInt: () => IsBigInt,
|
|
26714
|
+
IsBoolean: () => IsBoolean,
|
|
26715
|
+
IsClassInstance: () => IsClassInstance,
|
|
26716
|
+
IsConstructor: () => IsConstructor,
|
|
26717
|
+
IsDeepEqual: () => IsDeepEqual,
|
|
26718
|
+
IsEqual: () => IsEqual,
|
|
26719
|
+
IsFunction: () => IsFunction,
|
|
26720
|
+
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
26721
|
+
IsGreaterThan: () => IsGreaterThan,
|
|
26722
|
+
IsInteger: () => IsInteger,
|
|
26723
|
+
IsLessEqualThan: () => IsLessEqualThan,
|
|
26724
|
+
IsLessThan: () => IsLessThan,
|
|
26725
|
+
IsMaxLength: () => IsMaxLength2,
|
|
26726
|
+
IsMinLength: () => IsMinLength2,
|
|
26727
|
+
IsMultipleOf: () => IsMultipleOf,
|
|
26728
|
+
IsNull: () => IsNull,
|
|
26729
|
+
IsNumber: () => IsNumber,
|
|
26730
|
+
IsObject: () => IsObject,
|
|
26731
|
+
IsObjectNotArray: () => IsObjectNotArray,
|
|
26732
|
+
IsString: () => IsString,
|
|
26733
|
+
IsSymbol: () => IsSymbol,
|
|
26734
|
+
IsUndefined: () => IsUndefined,
|
|
26735
|
+
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
26736
|
+
IsValueLike: () => IsValueLike,
|
|
26737
|
+
Keys: () => Keys,
|
|
26738
|
+
ShiftLeft: () => ShiftLeft,
|
|
26739
|
+
Some: () => Some,
|
|
26740
|
+
SomeAll: () => SomeAll,
|
|
26741
|
+
Symbols: () => Symbols,
|
|
26742
|
+
Values: () => Values
|
|
26580
26743
|
});
|
|
26581
26744
|
|
|
26582
26745
|
// node_modules/typebox/build/guard/string.mjs
|
|
@@ -26855,25 +27018,25 @@ function IsDeepEqual(left, right) {
|
|
|
26855
27018
|
// node_modules/typebox/build/guard/globals.mjs
|
|
26856
27019
|
var exports_globals = {};
|
|
26857
27020
|
__export(exports_globals, {
|
|
26858
|
-
|
|
26859
|
-
IsUint8Array: () => IsUint8Array,
|
|
26860
|
-
IsUint32Array: () => IsUint32Array,
|
|
26861
|
-
IsUint16Array: () => IsUint16Array,
|
|
26862
|
-
IsTypeArray: () => IsTypeArray,
|
|
26863
|
-
IsString: () => IsString2,
|
|
26864
|
-
IsSet: () => IsSet,
|
|
26865
|
-
IsRegExp: () => IsRegExp,
|
|
26866
|
-
IsNumber: () => IsNumber2,
|
|
26867
|
-
IsMap: () => IsMap,
|
|
26868
|
-
IsInt8Array: () => IsInt8Array,
|
|
26869
|
-
IsInt32Array: () => IsInt32Array,
|
|
26870
|
-
IsInt16Array: () => IsInt16Array,
|
|
26871
|
-
IsFloat64Array: () => IsFloat64Array,
|
|
26872
|
-
IsFloat32Array: () => IsFloat32Array,
|
|
26873
|
-
IsDate: () => IsDate,
|
|
26874
|
-
IsBoolean: () => IsBoolean2,
|
|
27021
|
+
IsBigInt64Array: () => IsBigInt64Array,
|
|
26875
27022
|
IsBigUint64Array: () => IsBigUint64Array,
|
|
26876
|
-
|
|
27023
|
+
IsBoolean: () => IsBoolean2,
|
|
27024
|
+
IsDate: () => IsDate,
|
|
27025
|
+
IsFloat32Array: () => IsFloat32Array,
|
|
27026
|
+
IsFloat64Array: () => IsFloat64Array,
|
|
27027
|
+
IsInt16Array: () => IsInt16Array,
|
|
27028
|
+
IsInt32Array: () => IsInt32Array,
|
|
27029
|
+
IsInt8Array: () => IsInt8Array,
|
|
27030
|
+
IsMap: () => IsMap,
|
|
27031
|
+
IsNumber: () => IsNumber2,
|
|
27032
|
+
IsRegExp: () => IsRegExp,
|
|
27033
|
+
IsSet: () => IsSet,
|
|
27034
|
+
IsString: () => IsString2,
|
|
27035
|
+
IsTypeArray: () => IsTypeArray,
|
|
27036
|
+
IsUint16Array: () => IsUint16Array,
|
|
27037
|
+
IsUint32Array: () => IsUint32Array,
|
|
27038
|
+
IsUint8Array: () => IsUint8Array,
|
|
27039
|
+
IsUint8ClampedArray: () => IsUint8ClampedArray
|
|
26877
27040
|
});
|
|
26878
27041
|
function IsBoolean2(value) {
|
|
26879
27042
|
return value instanceof Boolean;
|
|
@@ -26997,9 +27160,9 @@ function Clone(value) {
|
|
|
26997
27160
|
// node_modules/typebox/build/system/settings/settings.mjs
|
|
26998
27161
|
var exports_settings = {};
|
|
26999
27162
|
__export(exports_settings, {
|
|
27000
|
-
|
|
27163
|
+
Get: () => Get,
|
|
27001
27164
|
Reset: () => Reset,
|
|
27002
|
-
|
|
27165
|
+
Set: () => Set2
|
|
27003
27166
|
});
|
|
27004
27167
|
var settings = {
|
|
27005
27168
|
immutableTypes: false,
|
|
@@ -27332,8 +27495,8 @@ function IntersectOptions(type) {
|
|
|
27332
27495
|
// node_modules/typebox/build/system/hashing/hash.mjs
|
|
27333
27496
|
var exports_hash = {};
|
|
27334
27497
|
__export(exports_hash, {
|
|
27335
|
-
|
|
27336
|
-
|
|
27498
|
+
Hash: () => Hash,
|
|
27499
|
+
HashCode: () => HashCode
|
|
27337
27500
|
});
|
|
27338
27501
|
|
|
27339
27502
|
// node_modules/typebox/build/system/unreachable/unreachable.mjs
|
|
@@ -28677,8 +28840,8 @@ function Optional2(value, input) {
|
|
|
28677
28840
|
function IsDiscard(discard2, input) {
|
|
28678
28841
|
return discard2.includes(input);
|
|
28679
28842
|
}
|
|
28680
|
-
function
|
|
28681
|
-
return Match2(Take(allowed, input), (Char, Rest2) => IsDiscard(discard2, Char) ?
|
|
28843
|
+
function Many3(allowed, discard2, input, result = "") {
|
|
28844
|
+
return Match2(Take(allowed, input), (Char, Rest2) => IsDiscard(discard2, Char) ? Many3(allowed, discard2, Rest2, result) : Many3(allowed, discard2, Rest2, `${result}${Char}`), () => [result, input]);
|
|
28682
28845
|
}
|
|
28683
28846
|
|
|
28684
28847
|
// node_modules/typebox/build/type/script/token/unsigned_integer.mjs
|
|
@@ -28687,7 +28850,7 @@ function TakeNonZero(input) {
|
|
|
28687
28850
|
}
|
|
28688
28851
|
var AllowedDigits = [...Digit, UnderScore];
|
|
28689
28852
|
function TakeDigits(input) {
|
|
28690
|
-
return
|
|
28853
|
+
return Many3(AllowedDigits, [UnderScore], input);
|
|
28691
28854
|
}
|
|
28692
28855
|
function TakeUnsignedInteger(input) {
|
|
28693
28856
|
return Match2(Take([Zero], input), (Zero2, ZeroRest) => [Zero2, ZeroRest], () => Match2(TakeNonZero(input), (NonZero2, NonZeroRest) => Match2(TakeDigits(NonZeroRest), (Digits, DigitsRest) => [`${NonZero2}${Digits}`, DigitsRest], () => []), () => []));
|
|
@@ -28742,7 +28905,7 @@ function IsLeadingDot(input) {
|
|
|
28742
28905
|
return IsMatch(Take([Dot], input));
|
|
28743
28906
|
}
|
|
28744
28907
|
function TakeFractional(input) {
|
|
28745
|
-
return Match2(
|
|
28908
|
+
return Match2(Many3(AllowedDigits2, [UnderScore], input), (Digits, DigitsRest) => IsEqual(Digits, "") ? [] : [Digits, DigitsRest], () => []);
|
|
28746
28909
|
}
|
|
28747
28910
|
function LeadingDot(input) {
|
|
28748
28911
|
return Match2(Take([Dot], input), (Dot2, DotRest) => Match2(TakeFractional(DotRest), (Fractional, FractionalRest) => [`0${Dot2}${Fractional}`, FractionalRest], () => []), () => []);
|
|
@@ -29040,14 +29203,14 @@ function IsTemplateLiteral(value) {
|
|
|
29040
29203
|
// node_modules/typebox/build/type/extends/result.mjs
|
|
29041
29204
|
var exports_result = {};
|
|
29042
29205
|
__export(exports_result, {
|
|
29043
|
-
|
|
29044
|
-
IsExtendsUnion: () => IsExtendsUnion,
|
|
29045
|
-
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
29046
|
-
IsExtendsTrue: () => IsExtendsTrue,
|
|
29047
|
-
IsExtendsFalse: () => IsExtendsFalse,
|
|
29048
|
-
ExtendsUnion: () => ExtendsUnion,
|
|
29206
|
+
ExtendsFalse: () => ExtendsFalse,
|
|
29049
29207
|
ExtendsTrue: () => ExtendsTrue,
|
|
29050
|
-
|
|
29208
|
+
ExtendsUnion: () => ExtendsUnion,
|
|
29209
|
+
IsExtendsFalse: () => IsExtendsFalse,
|
|
29210
|
+
IsExtendsTrue: () => IsExtendsTrue,
|
|
29211
|
+
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
29212
|
+
IsExtendsUnion: () => IsExtendsUnion,
|
|
29213
|
+
Match: () => Match3
|
|
29051
29214
|
});
|
|
29052
29215
|
function ExtendsUnion(inferred) {
|
|
29053
29216
|
return exports_memory.Create({ ["~kind"]: "ExtendsUnion" }, { inferred });
|
|
@@ -30858,123 +31021,123 @@ function Script2(...args) {
|
|
|
30858
31021
|
// node_modules/typebox/build/typebox.mjs
|
|
30859
31022
|
var exports_typebox = {};
|
|
30860
31023
|
__export(exports_typebox, {
|
|
30861
|
-
|
|
30862
|
-
Void: () => Void,
|
|
30863
|
-
Uppercase: () => Uppercase,
|
|
30864
|
-
Unsafe: () => Unsafe,
|
|
30865
|
-
Unknown: () => Unknown,
|
|
30866
|
-
Union: () => Union,
|
|
30867
|
-
Undefined: () => Undefined,
|
|
30868
|
-
Uncapitalize: () => Uncapitalize,
|
|
30869
|
-
Tuple: () => Tuple,
|
|
30870
|
-
This: () => This,
|
|
30871
|
-
TemplateLiteral: () => TemplateLiteral2,
|
|
30872
|
-
Symbol: () => Symbol2,
|
|
30873
|
-
String: () => String2,
|
|
30874
|
-
Script: () => Script2,
|
|
30875
|
-
ReturnType: () => ReturnType,
|
|
30876
|
-
Rest: () => Rest,
|
|
30877
|
-
Required: () => Required,
|
|
30878
|
-
Refine: () => Refine,
|
|
30879
|
-
Ref: () => Ref,
|
|
30880
|
-
RecordValue: () => RecordValue,
|
|
30881
|
-
RecordPattern: () => RecordPattern,
|
|
30882
|
-
RecordKey: () => RecordKey,
|
|
30883
|
-
Record: () => Record,
|
|
30884
|
-
ReadonlyType: () => ReadonlyType,
|
|
30885
|
-
ReadonlyObject: () => ReadonlyObject,
|
|
30886
|
-
Readonly: () => Readonly,
|
|
30887
|
-
Pick: () => Pick,
|
|
30888
|
-
Partial: () => Partial,
|
|
30889
|
-
Parameters: () => Parameters,
|
|
30890
|
-
Parameter: () => Parameter,
|
|
30891
|
-
Optional: () => Optional,
|
|
30892
|
-
Omit: () => Omit,
|
|
30893
|
-
Object: () => _Object_,
|
|
30894
|
-
Number: () => Number2,
|
|
30895
|
-
Null: () => Null,
|
|
30896
|
-
NonNullable: () => NonNullable,
|
|
30897
|
-
Never: () => Never,
|
|
30898
|
-
Module: () => Module2,
|
|
30899
|
-
Mapped: () => Mapped,
|
|
30900
|
-
Lowercase: () => Lowercase,
|
|
30901
|
-
Literal: () => Literal,
|
|
30902
|
-
KeyOf: () => KeyOf2,
|
|
30903
|
-
IsVoid: () => IsVoid,
|
|
30904
|
-
IsUnsafe: () => IsUnsafe,
|
|
30905
|
-
IsUnknown: () => IsUnknown,
|
|
30906
|
-
IsUnion: () => IsUnion,
|
|
30907
|
-
IsUndefined: () => IsUndefined2,
|
|
30908
|
-
IsTuple: () => IsTuple,
|
|
30909
|
-
IsThis: () => IsThis,
|
|
30910
|
-
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
30911
|
-
IsSymbol: () => IsSymbol2,
|
|
30912
|
-
IsString: () => IsString3,
|
|
30913
|
-
IsSchema: () => IsSchema,
|
|
30914
|
-
IsRest: () => IsRest,
|
|
30915
|
-
IsRefine: () => IsRefine,
|
|
30916
|
-
IsRef: () => IsRef,
|
|
30917
|
-
IsRecord: () => IsRecord,
|
|
30918
|
-
IsReadonly: () => IsReadonly,
|
|
30919
|
-
IsParameter: () => IsParameter,
|
|
30920
|
-
IsOptional: () => IsOptional,
|
|
30921
|
-
IsObject: () => IsObject2,
|
|
30922
|
-
IsNumber: () => IsNumber3,
|
|
30923
|
-
IsNull: () => IsNull2,
|
|
30924
|
-
IsNever: () => IsNever,
|
|
30925
|
-
IsLiteral: () => IsLiteral,
|
|
30926
|
-
IsKind: () => IsKind,
|
|
30927
|
-
IsIntersect: () => IsIntersect,
|
|
30928
|
-
IsInteger: () => IsInteger2,
|
|
30929
|
-
IsInfer: () => IsInfer,
|
|
30930
|
-
IsImmutable: () => IsImmutable,
|
|
30931
|
-
IsIdentifier: () => IsIdentifier,
|
|
30932
|
-
IsGeneric: () => IsGeneric,
|
|
30933
|
-
IsFunction: () => IsFunction2,
|
|
30934
|
-
IsEnumValue: () => IsEnumValue,
|
|
30935
|
-
IsEnum: () => IsEnum,
|
|
30936
|
-
IsDependent: () => IsDependent,
|
|
30937
|
-
IsCyclic: () => IsCyclic,
|
|
30938
|
-
IsConstructor: () => IsConstructor2,
|
|
30939
|
-
IsCodec: () => IsCodec,
|
|
30940
|
-
IsCall: () => IsCall,
|
|
30941
|
-
IsBoolean: () => IsBoolean3,
|
|
30942
|
-
IsBigInt: () => IsBigInt2,
|
|
30943
|
-
IsArray: () => IsArray2,
|
|
30944
|
-
IsAny: () => IsAny,
|
|
30945
|
-
Intersect: () => Intersect,
|
|
30946
|
-
Interface: () => Interface,
|
|
30947
|
-
Integer: () => Integer,
|
|
30948
|
-
Instantiate: () => Instantiate,
|
|
30949
|
-
InstanceType: () => InstanceType,
|
|
30950
|
-
Infer: () => Infer,
|
|
30951
|
-
Index: () => Index2,
|
|
30952
|
-
Immutable: () => Immutable,
|
|
30953
|
-
Identifier: () => Identifier,
|
|
30954
|
-
Generic: () => Generic,
|
|
30955
|
-
Function: () => _Function_,
|
|
30956
|
-
Extract: () => Extract,
|
|
30957
|
-
ExtendsResult: () => exports_result,
|
|
30958
|
-
Extends: () => Extends,
|
|
30959
|
-
Exclude: () => Exclude,
|
|
30960
|
-
Evaluate: () => Evaluate,
|
|
30961
|
-
Enum: () => Enum,
|
|
30962
|
-
EncodeBuilder: () => EncodeBuilder,
|
|
30963
|
-
Encode: () => Encode,
|
|
30964
|
-
Dependent: () => Dependent,
|
|
30965
|
-
DecodeBuilder: () => DecodeBuilder,
|
|
30966
|
-
Decode: () => Decode,
|
|
30967
|
-
Cyclic: () => Cyclic,
|
|
30968
|
-
ConstructorParameters: () => ConstructorParameters,
|
|
30969
|
-
Constructor: () => Constructor,
|
|
30970
|
-
Conditional: () => Conditional,
|
|
30971
|
-
Codec: () => Codec,
|
|
30972
|
-
Capitalize: () => Capitalize,
|
|
30973
|
-
Call: () => Call,
|
|
30974
|
-
Boolean: () => Boolean2,
|
|
30975
|
-
BigInt: () => BigInt2,
|
|
31024
|
+
Any: () => Any,
|
|
30976
31025
|
Array: () => _Array_,
|
|
30977
|
-
|
|
31026
|
+
BigInt: () => BigInt2,
|
|
31027
|
+
Boolean: () => Boolean2,
|
|
31028
|
+
Call: () => Call,
|
|
31029
|
+
Capitalize: () => Capitalize,
|
|
31030
|
+
Codec: () => Codec,
|
|
31031
|
+
Conditional: () => Conditional,
|
|
31032
|
+
Constructor: () => Constructor,
|
|
31033
|
+
ConstructorParameters: () => ConstructorParameters,
|
|
31034
|
+
Cyclic: () => Cyclic,
|
|
31035
|
+
Decode: () => Decode,
|
|
31036
|
+
DecodeBuilder: () => DecodeBuilder,
|
|
31037
|
+
Dependent: () => Dependent,
|
|
31038
|
+
Encode: () => Encode,
|
|
31039
|
+
EncodeBuilder: () => EncodeBuilder,
|
|
31040
|
+
Enum: () => Enum,
|
|
31041
|
+
Evaluate: () => Evaluate,
|
|
31042
|
+
Exclude: () => Exclude,
|
|
31043
|
+
Extends: () => Extends,
|
|
31044
|
+
ExtendsResult: () => exports_result,
|
|
31045
|
+
Extract: () => Extract,
|
|
31046
|
+
Function: () => _Function_,
|
|
31047
|
+
Generic: () => Generic,
|
|
31048
|
+
Identifier: () => Identifier,
|
|
31049
|
+
Immutable: () => Immutable,
|
|
31050
|
+
Index: () => Index2,
|
|
31051
|
+
Infer: () => Infer,
|
|
31052
|
+
InstanceType: () => InstanceType,
|
|
31053
|
+
Instantiate: () => Instantiate,
|
|
31054
|
+
Integer: () => Integer,
|
|
31055
|
+
Interface: () => Interface,
|
|
31056
|
+
Intersect: () => Intersect,
|
|
31057
|
+
IsAny: () => IsAny,
|
|
31058
|
+
IsArray: () => IsArray2,
|
|
31059
|
+
IsBigInt: () => IsBigInt2,
|
|
31060
|
+
IsBoolean: () => IsBoolean3,
|
|
31061
|
+
IsCall: () => IsCall,
|
|
31062
|
+
IsCodec: () => IsCodec,
|
|
31063
|
+
IsConstructor: () => IsConstructor2,
|
|
31064
|
+
IsCyclic: () => IsCyclic,
|
|
31065
|
+
IsDependent: () => IsDependent,
|
|
31066
|
+
IsEnum: () => IsEnum,
|
|
31067
|
+
IsEnumValue: () => IsEnumValue,
|
|
31068
|
+
IsFunction: () => IsFunction2,
|
|
31069
|
+
IsGeneric: () => IsGeneric,
|
|
31070
|
+
IsIdentifier: () => IsIdentifier,
|
|
31071
|
+
IsImmutable: () => IsImmutable,
|
|
31072
|
+
IsInfer: () => IsInfer,
|
|
31073
|
+
IsInteger: () => IsInteger2,
|
|
31074
|
+
IsIntersect: () => IsIntersect,
|
|
31075
|
+
IsKind: () => IsKind,
|
|
31076
|
+
IsLiteral: () => IsLiteral,
|
|
31077
|
+
IsNever: () => IsNever,
|
|
31078
|
+
IsNull: () => IsNull2,
|
|
31079
|
+
IsNumber: () => IsNumber3,
|
|
31080
|
+
IsObject: () => IsObject2,
|
|
31081
|
+
IsOptional: () => IsOptional,
|
|
31082
|
+
IsParameter: () => IsParameter,
|
|
31083
|
+
IsReadonly: () => IsReadonly,
|
|
31084
|
+
IsRecord: () => IsRecord,
|
|
31085
|
+
IsRef: () => IsRef,
|
|
31086
|
+
IsRefine: () => IsRefine,
|
|
31087
|
+
IsRest: () => IsRest,
|
|
31088
|
+
IsSchema: () => IsSchema,
|
|
31089
|
+
IsString: () => IsString3,
|
|
31090
|
+
IsSymbol: () => IsSymbol2,
|
|
31091
|
+
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
31092
|
+
IsThis: () => IsThis,
|
|
31093
|
+
IsTuple: () => IsTuple,
|
|
31094
|
+
IsUndefined: () => IsUndefined2,
|
|
31095
|
+
IsUnion: () => IsUnion,
|
|
31096
|
+
IsUnknown: () => IsUnknown,
|
|
31097
|
+
IsUnsafe: () => IsUnsafe,
|
|
31098
|
+
IsVoid: () => IsVoid,
|
|
31099
|
+
KeyOf: () => KeyOf2,
|
|
31100
|
+
Literal: () => Literal,
|
|
31101
|
+
Lowercase: () => Lowercase,
|
|
31102
|
+
Mapped: () => Mapped,
|
|
31103
|
+
Module: () => Module2,
|
|
31104
|
+
Never: () => Never,
|
|
31105
|
+
NonNullable: () => NonNullable,
|
|
31106
|
+
Null: () => Null,
|
|
31107
|
+
Number: () => Number2,
|
|
31108
|
+
Object: () => _Object_,
|
|
31109
|
+
Omit: () => Omit,
|
|
31110
|
+
Optional: () => Optional,
|
|
31111
|
+
Parameter: () => Parameter,
|
|
31112
|
+
Parameters: () => Parameters,
|
|
31113
|
+
Partial: () => Partial,
|
|
31114
|
+
Pick: () => Pick,
|
|
31115
|
+
Readonly: () => Readonly,
|
|
31116
|
+
ReadonlyObject: () => ReadonlyObject,
|
|
31117
|
+
ReadonlyType: () => ReadonlyType,
|
|
31118
|
+
Record: () => Record,
|
|
31119
|
+
RecordKey: () => RecordKey,
|
|
31120
|
+
RecordPattern: () => RecordPattern,
|
|
31121
|
+
RecordValue: () => RecordValue,
|
|
31122
|
+
Ref: () => Ref,
|
|
31123
|
+
Refine: () => Refine,
|
|
31124
|
+
Required: () => Required,
|
|
31125
|
+
Rest: () => Rest,
|
|
31126
|
+
ReturnType: () => ReturnType,
|
|
31127
|
+
Script: () => Script2,
|
|
31128
|
+
String: () => String2,
|
|
31129
|
+
Symbol: () => Symbol2,
|
|
31130
|
+
TemplateLiteral: () => TemplateLiteral2,
|
|
31131
|
+
This: () => This,
|
|
31132
|
+
Tuple: () => Tuple,
|
|
31133
|
+
Uncapitalize: () => Uncapitalize,
|
|
31134
|
+
Undefined: () => Undefined,
|
|
31135
|
+
Union: () => Union,
|
|
31136
|
+
Unknown: () => Unknown,
|
|
31137
|
+
Unsafe: () => Unsafe,
|
|
31138
|
+
Uppercase: () => Uppercase,
|
|
31139
|
+
Void: () => Void,
|
|
31140
|
+
With: () => With2
|
|
30978
31141
|
});
|
|
30979
31142
|
// node_modules/typebox/build/schema/types/_refine.mjs
|
|
30980
31143
|
function IsRefine2(value) {
|
|
@@ -31551,34 +31714,34 @@ function ErrorExclusiveMinimum(stack, context, schemaPath, instancePath, schema3
|
|
|
31551
31714
|
// node_modules/typebox/build/format/format.mjs
|
|
31552
31715
|
var exports_format = {};
|
|
31553
31716
|
__export(exports_format, {
|
|
31554
|
-
|
|
31555
|
-
Set: () => Set3,
|
|
31556
|
-
Reset: () => Reset2,
|
|
31557
|
-
IsUuid: () => IsUuid,
|
|
31558
|
-
IsUrl: () => IsUrl,
|
|
31559
|
-
IsUriTemplate: () => IsUriTemplate,
|
|
31560
|
-
IsUriReference: () => IsUriReference,
|
|
31561
|
-
IsUri: () => IsUri,
|
|
31562
|
-
IsTime: () => IsTime,
|
|
31563
|
-
IsRelativeJsonPointer: () => IsRelativeJsonPointer,
|
|
31564
|
-
IsRegex: () => IsRegex,
|
|
31565
|
-
IsJsonPointerUriFragment: () => IsJsonPointerUriFragment,
|
|
31566
|
-
IsJsonPointer: () => IsJsonPointer,
|
|
31567
|
-
IsIriReference: () => IsIriReference,
|
|
31568
|
-
IsIri: () => IsIri,
|
|
31569
|
-
IsIdnHostname: () => IsIdnHostname2,
|
|
31570
|
-
IsIdnEmail: () => IsIdnEmail,
|
|
31571
|
-
IsIPv6: () => IsIPv6,
|
|
31572
|
-
IsIPv4: () => IsIPv4,
|
|
31573
|
-
IsHostname: () => IsHostname2,
|
|
31574
|
-
IsEmail: () => IsEmail,
|
|
31575
|
-
IsDuration: () => IsDuration,
|
|
31576
|
-
IsDateTime: () => IsDateTime,
|
|
31577
|
-
IsDate: () => IsDate2,
|
|
31578
|
-
Has: () => Has,
|
|
31579
|
-
Get: () => Get3,
|
|
31717
|
+
Clear: () => Clear,
|
|
31580
31718
|
Entries: () => Entries2,
|
|
31581
|
-
|
|
31719
|
+
Get: () => Get3,
|
|
31720
|
+
Has: () => Has,
|
|
31721
|
+
IsDate: () => IsDate2,
|
|
31722
|
+
IsDateTime: () => IsDateTime,
|
|
31723
|
+
IsDuration: () => IsDuration,
|
|
31724
|
+
IsEmail: () => IsEmail,
|
|
31725
|
+
IsHostname: () => IsHostname2,
|
|
31726
|
+
IsIPv4: () => IsIPv4,
|
|
31727
|
+
IsIPv6: () => IsIPv6,
|
|
31728
|
+
IsIdnEmail: () => IsIdnEmail,
|
|
31729
|
+
IsIdnHostname: () => IsIdnHostname2,
|
|
31730
|
+
IsIri: () => IsIri,
|
|
31731
|
+
IsIriReference: () => IsIriReference,
|
|
31732
|
+
IsJsonPointer: () => IsJsonPointer,
|
|
31733
|
+
IsJsonPointerUriFragment: () => IsJsonPointerUriFragment,
|
|
31734
|
+
IsRegex: () => IsRegex,
|
|
31735
|
+
IsRelativeJsonPointer: () => IsRelativeJsonPointer,
|
|
31736
|
+
IsTime: () => IsTime,
|
|
31737
|
+
IsUri: () => IsUri,
|
|
31738
|
+
IsUriReference: () => IsUriReference,
|
|
31739
|
+
IsUriTemplate: () => IsUriTemplate,
|
|
31740
|
+
IsUrl: () => IsUrl,
|
|
31741
|
+
IsUuid: () => IsUuid,
|
|
31742
|
+
Reset: () => Reset2,
|
|
31743
|
+
Set: () => Set3,
|
|
31744
|
+
Test: () => Test
|
|
31582
31745
|
});
|
|
31583
31746
|
|
|
31584
31747
|
// node_modules/typebox/build/format/date.mjs
|
|
@@ -32671,18 +32834,18 @@ var funcs = new Map;
|
|
|
32671
32834
|
// node_modules/typebox/build/schema/resolve/resolve.mjs
|
|
32672
32835
|
var exports_resolve = {};
|
|
32673
32836
|
__export(exports_resolve, {
|
|
32674
|
-
|
|
32837
|
+
DefaultBase: () => DefaultBase,
|
|
32675
32838
|
DynamicRef: () => DynamicRef,
|
|
32676
|
-
|
|
32839
|
+
Ref: () => Ref2
|
|
32677
32840
|
});
|
|
32678
32841
|
// node_modules/typebox/build/schema/pointer/pointer.mjs
|
|
32679
32842
|
var exports_pointer = {};
|
|
32680
32843
|
__export(exports_pointer, {
|
|
32681
|
-
|
|
32682
|
-
Indices: () => Indices,
|
|
32683
|
-
Has: () => Has2,
|
|
32844
|
+
Delete: () => Delete,
|
|
32684
32845
|
Get: () => Get4,
|
|
32685
|
-
|
|
32846
|
+
Has: () => Has2,
|
|
32847
|
+
Indices: () => Indices,
|
|
32848
|
+
Set: () => Set4
|
|
32686
32849
|
});
|
|
32687
32850
|
function AssertNotRoot(indices) {
|
|
32688
32851
|
if (indices.length === 0)
|
|
@@ -33181,16 +33344,16 @@ function Clean(...args) {
|
|
|
33181
33344
|
// node_modules/typebox/build/value/convert/try/try.mjs
|
|
33182
33345
|
var exports_try = {};
|
|
33183
33346
|
__export(exports_try, {
|
|
33184
|
-
|
|
33185
|
-
TryString: () => TryString,
|
|
33186
|
-
TryNumber: () => TryNumber,
|
|
33187
|
-
TryNull: () => TryNull,
|
|
33188
|
-
TryBoolean: () => TryBoolean,
|
|
33189
|
-
TryBigInt: () => TryBigInt,
|
|
33190
|
-
TryArray: () => TryArray,
|
|
33191
|
-
Ok: () => Ok,
|
|
33347
|
+
Fail: () => Fail,
|
|
33192
33348
|
IsOk: () => IsOk,
|
|
33193
|
-
|
|
33349
|
+
Ok: () => Ok,
|
|
33350
|
+
TryArray: () => TryArray,
|
|
33351
|
+
TryBigInt: () => TryBigInt,
|
|
33352
|
+
TryBoolean: () => TryBoolean,
|
|
33353
|
+
TryNull: () => TryNull,
|
|
33354
|
+
TryNumber: () => TryNumber,
|
|
33355
|
+
TryString: () => TryString,
|
|
33356
|
+
TryUndefined: () => TryUndefined
|
|
33194
33357
|
});
|
|
33195
33358
|
|
|
33196
33359
|
// node_modules/typebox/build/value/convert/try/try_result.mjs
|
|
@@ -34465,24 +34628,24 @@ function Repair(...args) {
|
|
|
34465
34628
|
// node_modules/typebox/build/value/value.mjs
|
|
34466
34629
|
var exports_value = {};
|
|
34467
34630
|
__export(exports_value, {
|
|
34468
|
-
|
|
34469
|
-
Pointer: () => exports_pointer,
|
|
34470
|
-
Patch: () => Patch,
|
|
34471
|
-
Parse: () => Parse,
|
|
34472
|
-
Hash: () => Hash2,
|
|
34473
|
-
HasCodec: () => HasCodec,
|
|
34474
|
-
Errors: () => Errors2,
|
|
34475
|
-
Equal: () => Equal,
|
|
34476
|
-
Encode: () => Encode10,
|
|
34477
|
-
Diff: () => Diff,
|
|
34478
|
-
Default: () => Default,
|
|
34479
|
-
Decode: () => Decode10,
|
|
34480
|
-
Create: () => Create2,
|
|
34481
|
-
Convert: () => Convert,
|
|
34482
|
-
Clone: () => Clone2,
|
|
34483
|
-
Clean: () => Clean,
|
|
34631
|
+
Assert: () => Assert,
|
|
34484
34632
|
Check: () => Check4,
|
|
34485
|
-
|
|
34633
|
+
Clean: () => Clean,
|
|
34634
|
+
Clone: () => Clone2,
|
|
34635
|
+
Convert: () => Convert,
|
|
34636
|
+
Create: () => Create2,
|
|
34637
|
+
Decode: () => Decode10,
|
|
34638
|
+
Default: () => Default,
|
|
34639
|
+
Diff: () => Diff,
|
|
34640
|
+
Encode: () => Encode10,
|
|
34641
|
+
Equal: () => Equal,
|
|
34642
|
+
Errors: () => Errors2,
|
|
34643
|
+
HasCodec: () => HasCodec,
|
|
34644
|
+
Hash: () => Hash2,
|
|
34645
|
+
Parse: () => Parse,
|
|
34646
|
+
Patch: () => Patch,
|
|
34647
|
+
Pointer: () => exports_pointer,
|
|
34648
|
+
Repair: () => Repair
|
|
34486
34649
|
});
|
|
34487
34650
|
// src/session/redisStore.ts
|
|
34488
34651
|
var SESSION_SEGMENT = "sess:";
|
|
@@ -39145,7 +39308,7 @@ var createPostgresOidcRefreshTokenStore = (db) => ({
|
|
|
39145
39308
|
dpop_jkt: sql`CASE WHEN ${active} THEN ${replacement.dpopJkt ?? null} ELSE ${oauthRefreshTokensTable.dpop_jkt} END`,
|
|
39146
39309
|
expires_at_ms: sql`CASE WHEN ${active} THEN ${replacement.expiresAt} ELSE ${oauthRefreshTokensTable.expires_at_ms} END`,
|
|
39147
39310
|
revoked_at_ms: sql`CASE WHEN ${consumed} THEN ${Date.now()} ELSE ${oauthRefreshTokensTable.revoked_at_ms} END`,
|
|
39148
|
-
scopes: sql`CASE WHEN ${active} THEN ${replacement.scopes} ELSE ${oauthRefreshTokensTable.scopes} END`,
|
|
39311
|
+
scopes: sql`CASE WHEN ${active} THEN ${sql.param(replacement.scopes, oauthRefreshTokensTable.scopes)} ELSE ${oauthRefreshTokensTable.scopes} END`,
|
|
39149
39312
|
token_hash: sql`CASE WHEN ${active} THEN ${replacement.tokenHash} ELSE ${oauthRefreshTokensTable.token_hash} END`,
|
|
39150
39313
|
user_id: sql`CASE WHEN ${active} THEN ${replacement.userId} ELSE ${oauthRefreshTokensTable.user_id} END`
|
|
39151
39314
|
}).where(or(active, consumed)).returning({
|
|
@@ -41665,26 +41828,26 @@ var createNodeSamlAdapter = async (options = {}) => {
|
|
|
41665
41828
|
// src/server.ts
|
|
41666
41829
|
var auth2 = auth;
|
|
41667
41830
|
export {
|
|
41668
|
-
|
|
41669
|
-
requireAuthPlugin,
|
|
41670
|
-
readSessionCookie,
|
|
41671
|
-
providers,
|
|
41672
|
-
protectRoutePlugin,
|
|
41673
|
-
isValidProviderOption,
|
|
41674
|
-
isUserSessionId,
|
|
41675
|
-
instantiateUserSession,
|
|
41676
|
-
extractPropFromIdentity,
|
|
41677
|
-
deriveAuthSyncNamespace,
|
|
41678
|
-
createSetupSession,
|
|
41679
|
-
createPostgresSsoConnectionStore,
|
|
41680
|
-
createPostgresSetupSessionStore,
|
|
41681
|
-
createPostgresScimTokenStore,
|
|
41682
|
-
createNodeSamlAdapter,
|
|
41683
|
-
createAuthContext,
|
|
41684
|
-
createAbsoluteAuthSyncBridge,
|
|
41831
|
+
VerificationProviderError,
|
|
41685
41832
|
auth2 as auth,
|
|
41686
|
-
|
|
41833
|
+
createAbsoluteAuthSyncBridge,
|
|
41834
|
+
createAuthContext,
|
|
41835
|
+
createNodeSamlAdapter,
|
|
41836
|
+
createPostgresScimTokenStore,
|
|
41837
|
+
createPostgresSetupSessionStore,
|
|
41838
|
+
createPostgresSsoConnectionStore,
|
|
41839
|
+
createSetupSession,
|
|
41840
|
+
deriveAuthSyncNamespace,
|
|
41841
|
+
extractPropFromIdentity,
|
|
41842
|
+
instantiateUserSession,
|
|
41843
|
+
isUserSessionId,
|
|
41844
|
+
isValidProviderOption,
|
|
41845
|
+
protectRoutePlugin,
|
|
41846
|
+
providers,
|
|
41847
|
+
readSessionCookie,
|
|
41848
|
+
requireAuthPlugin,
|
|
41849
|
+
userSessionIdTypebox
|
|
41687
41850
|
};
|
|
41688
41851
|
|
|
41689
|
-
//# debugId=
|
|
41852
|
+
//# debugId=AF5D9E4F453A58D064756E2164756E21
|
|
41690
41853
|
//# sourceMappingURL=server.js.map
|