@absolutejs/auth 0.76.0 → 0.76.1
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 +961 -798
- 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
|
|
@@ -14984,6 +14986,9 @@ var tracer = { startActiveSpan(name, fn) {
|
|
|
14984
14986
|
var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
|
14985
14987
|
|
|
14986
14988
|
// node_modules/drizzle-orm/sql/sql.js
|
|
14989
|
+
var FakePrimitiveParam = class {
|
|
14990
|
+
static [entityKind] = "FakePrimitiveParam";
|
|
14991
|
+
};
|
|
14987
14992
|
function isSQLWrapper(value) {
|
|
14988
14993
|
return value !== null && value !== undefined && typeof value.getSQL === "function";
|
|
14989
14994
|
}
|
|
@@ -18661,6 +18666,16 @@ var UniqueConstraintBuilder = class {
|
|
|
18661
18666
|
return new UniqueConstraint(table, this.columns, this.nullsNotDistinctConfig, this.name);
|
|
18662
18667
|
}
|
|
18663
18668
|
};
|
|
18669
|
+
var UniqueOnConstraintBuilder = class {
|
|
18670
|
+
static [entityKind] = "PgUniqueOnConstraintBuilder";
|
|
18671
|
+
name;
|
|
18672
|
+
constructor(name2) {
|
|
18673
|
+
this.name = name2;
|
|
18674
|
+
}
|
|
18675
|
+
on(...columns) {
|
|
18676
|
+
return new UniqueConstraintBuilder(columns, this.name);
|
|
18677
|
+
}
|
|
18678
|
+
};
|
|
18664
18679
|
var UniqueConstraint = class {
|
|
18665
18680
|
static [entityKind] = "PgUniqueConstraint";
|
|
18666
18681
|
columns;
|
|
@@ -23936,6 +23951,17 @@ var ColumnAliasProxyHandler2 = class {
|
|
|
23936
23951
|
return target[prop];
|
|
23937
23952
|
}
|
|
23938
23953
|
};
|
|
23954
|
+
var RelationTableAliasProxyHandler2 = class {
|
|
23955
|
+
static [entityKind] = "RelationTableAliasProxyHandler";
|
|
23956
|
+
constructor(alias2) {
|
|
23957
|
+
this.alias = alias2;
|
|
23958
|
+
}
|
|
23959
|
+
get(target, prop) {
|
|
23960
|
+
if (prop === "sourceTable")
|
|
23961
|
+
return aliasedTable2(target.sourceTable, this.alias);
|
|
23962
|
+
return target[prop];
|
|
23963
|
+
}
|
|
23964
|
+
};
|
|
23939
23965
|
function aliasedTable2(table, tableAlias) {
|
|
23940
23966
|
return new Proxy(table, new TableAliasProxyHandler2(tableAlias, false, false));
|
|
23941
23967
|
}
|
|
@@ -24419,6 +24445,13 @@ params: ${params}`);
|
|
|
24419
24445
|
this.cause = cause;
|
|
24420
24446
|
}
|
|
24421
24447
|
};
|
|
24448
|
+
var TransactionRollbackError2 = class extends DrizzleError2 {
|
|
24449
|
+
static [entityKind] = "TransactionRollbackError";
|
|
24450
|
+
constructor() {
|
|
24451
|
+
super({ message: "Rollback" });
|
|
24452
|
+
this.name = "TransactionRollbackError";
|
|
24453
|
+
}
|
|
24454
|
+
};
|
|
24422
24455
|
// node_modules/drizzle-orm/relations.js
|
|
24423
24456
|
var Relation2 = class {
|
|
24424
24457
|
static [entityKind] = "RelationV2";
|
|
@@ -24467,6 +24500,53 @@ var One2 = class extends Relation2 {
|
|
|
24467
24500
|
this.optional = config?.optional ?? true;
|
|
24468
24501
|
}
|
|
24469
24502
|
};
|
|
24503
|
+
var Many2 = class extends Relation2 {
|
|
24504
|
+
static [entityKind] = "ManyV2";
|
|
24505
|
+
relationType = "many";
|
|
24506
|
+
constructor(tables, targetTable, targetTableName, config) {
|
|
24507
|
+
super(targetTable, targetTableName);
|
|
24508
|
+
this.config = config;
|
|
24509
|
+
this.alias = config?.alias;
|
|
24510
|
+
this.where = config?.where;
|
|
24511
|
+
if (config?.from)
|
|
24512
|
+
this.sourceColumns = (Array.isArray(config.from) ? config.from : [config.from]).map((it2) => {
|
|
24513
|
+
this.throughTable ??= it2._.through ? tables[it2._.through._.tableName] : undefined;
|
|
24514
|
+
this.sourceColumnTableNames.push(it2._.tableName);
|
|
24515
|
+
return it2._.column;
|
|
24516
|
+
});
|
|
24517
|
+
if (config?.to)
|
|
24518
|
+
this.targetColumns = (Array.isArray(config.to) ? config.to : [config.to]).map((it2) => {
|
|
24519
|
+
this.throughTable ??= it2._.through ? tables[it2._.through._.tableName] : undefined;
|
|
24520
|
+
this.targetColumnTableNames.push(it2._.tableName);
|
|
24521
|
+
return it2._.column;
|
|
24522
|
+
});
|
|
24523
|
+
if (this.throughTable)
|
|
24524
|
+
this.through = {
|
|
24525
|
+
source: (Array.isArray(config?.from) ? config.from : (config?.from) ? [config.from] : []).map((c) => c._.through),
|
|
24526
|
+
target: (Array.isArray(config?.to) ? config.to : (config?.to) ? [config.to] : []).map((c) => c._.through)
|
|
24527
|
+
};
|
|
24528
|
+
}
|
|
24529
|
+
};
|
|
24530
|
+
var AggregatedField2 = class {
|
|
24531
|
+
static [entityKind] = "AggregatedField";
|
|
24532
|
+
table;
|
|
24533
|
+
onTable(table) {
|
|
24534
|
+
this.table = table;
|
|
24535
|
+
return this;
|
|
24536
|
+
}
|
|
24537
|
+
};
|
|
24538
|
+
var Count2 = class extends AggregatedField2 {
|
|
24539
|
+
static [entityKind] = "AggregatedFieldCount";
|
|
24540
|
+
query;
|
|
24541
|
+
getSQL() {
|
|
24542
|
+
if (!this.query) {
|
|
24543
|
+
if (!this.table)
|
|
24544
|
+
throw new Error("Table must be set before building aggregate field");
|
|
24545
|
+
this.query = sql`select count(*) as ${sql.identifier("r")} from ${getTableAsAliasSQL2(this.table)}`.mapWith(Number);
|
|
24546
|
+
}
|
|
24547
|
+
return this.query;
|
|
24548
|
+
}
|
|
24549
|
+
};
|
|
24470
24550
|
var operators2 = {
|
|
24471
24551
|
and,
|
|
24472
24552
|
between,
|
|
@@ -24787,6 +24867,66 @@ function makeJitRqbMapper2({ selection, isFirst, parseJson, parseJsonIfString, r
|
|
|
24787
24867
|
${compiled}
|
|
24788
24868
|
}` });
|
|
24789
24869
|
}
|
|
24870
|
+
var RelationsBuilderTable2 = class {
|
|
24871
|
+
static [entityKind] = "RelationsBuilderTable";
|
|
24872
|
+
_;
|
|
24873
|
+
constructor(table, name2) {
|
|
24874
|
+
this._ = {
|
|
24875
|
+
name: name2,
|
|
24876
|
+
table
|
|
24877
|
+
};
|
|
24878
|
+
}
|
|
24879
|
+
};
|
|
24880
|
+
var RelationsBuilderColumn2 = class {
|
|
24881
|
+
static [entityKind] = "RelationsBuilderColumn";
|
|
24882
|
+
_;
|
|
24883
|
+
constructor(column, tableName, key) {
|
|
24884
|
+
this._ = {
|
|
24885
|
+
tableName,
|
|
24886
|
+
column,
|
|
24887
|
+
key
|
|
24888
|
+
};
|
|
24889
|
+
}
|
|
24890
|
+
through(column) {
|
|
24891
|
+
return new RelationsBuilderJunctionColumn2(this._.column, this._.tableName, this._.key, column);
|
|
24892
|
+
}
|
|
24893
|
+
};
|
|
24894
|
+
var RelationsBuilderJunctionColumn2 = class {
|
|
24895
|
+
static [entityKind] = "RelationsBuilderColumn";
|
|
24896
|
+
_;
|
|
24897
|
+
constructor(column, tableName, key, through) {
|
|
24898
|
+
this._ = {
|
|
24899
|
+
tableName,
|
|
24900
|
+
column,
|
|
24901
|
+
through,
|
|
24902
|
+
key
|
|
24903
|
+
};
|
|
24904
|
+
}
|
|
24905
|
+
};
|
|
24906
|
+
var RelationsHelperStatic2 = class {
|
|
24907
|
+
static [entityKind] = "RelationsHelperStatic";
|
|
24908
|
+
_;
|
|
24909
|
+
constructor(tables) {
|
|
24910
|
+
this._ = { tables };
|
|
24911
|
+
const one = {};
|
|
24912
|
+
const many = {};
|
|
24913
|
+
for (const [tableName, table] of Object.entries(tables)) {
|
|
24914
|
+
one[tableName] = (config) => {
|
|
24915
|
+
return new One2(tables, table, tableName, config);
|
|
24916
|
+
};
|
|
24917
|
+
many[tableName] = (config) => {
|
|
24918
|
+
return new Many2(tables, table, tableName, config);
|
|
24919
|
+
};
|
|
24920
|
+
}
|
|
24921
|
+
this.one = one;
|
|
24922
|
+
this.many = many;
|
|
24923
|
+
}
|
|
24924
|
+
one;
|
|
24925
|
+
many;
|
|
24926
|
+
aggs = { count() {
|
|
24927
|
+
return new Count2;
|
|
24928
|
+
} };
|
|
24929
|
+
};
|
|
24790
24930
|
function fieldSelectionToSQL2(table, target) {
|
|
24791
24931
|
const field = table[TableColumns][target];
|
|
24792
24932
|
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)}`;
|
|
@@ -26245,6 +26385,29 @@ var PgAsyncSession2 = class extends PgSession2 {
|
|
|
26245
26385
|
});
|
|
26246
26386
|
}
|
|
26247
26387
|
};
|
|
26388
|
+
var PgAsyncTransaction2 = class extends PgAsyncDatabase2 {
|
|
26389
|
+
static [entityKind] = "PgAsyncTransaction";
|
|
26390
|
+
constructor(dialect, session, relations, nestedIndex = 0, parseRqbJson) {
|
|
26391
|
+
super(dialect, session, relations, parseRqbJson);
|
|
26392
|
+
this.nestedIndex = nestedIndex;
|
|
26393
|
+
}
|
|
26394
|
+
rollback() {
|
|
26395
|
+
throw new TransactionRollbackError2;
|
|
26396
|
+
}
|
|
26397
|
+
getTransactionConfigSQL(config) {
|
|
26398
|
+
const chunks = [];
|
|
26399
|
+
if (config.isolationLevel)
|
|
26400
|
+
chunks.push(`isolation level ${config.isolationLevel}`);
|
|
26401
|
+
if (config.accessMode)
|
|
26402
|
+
chunks.push(config.accessMode);
|
|
26403
|
+
if (typeof config.deferrable === "boolean")
|
|
26404
|
+
chunks.push(config.deferrable ? "deferrable" : "not deferrable");
|
|
26405
|
+
return sql.raw(chunks.join(" "));
|
|
26406
|
+
}
|
|
26407
|
+
setTransaction(config) {
|
|
26408
|
+
return this.session.execute(sql`set transaction ${this.getTransactionConfigSQL(config)}`);
|
|
26409
|
+
}
|
|
26410
|
+
};
|
|
26248
26411
|
|
|
26249
26412
|
// node_modules/drizzle-orm/neon-http/session.js
|
|
26250
26413
|
var NeonHttpSession = class extends PgAsyncSession2 {
|
|
@@ -26704,12 +26867,12 @@ var providersFromEnv = (selection, env = process.env) => {
|
|
|
26704
26867
|
// node_modules/typebox/build/system/memory/memory.mjs
|
|
26705
26868
|
var exports_memory = {};
|
|
26706
26869
|
__export(exports_memory, {
|
|
26707
|
-
|
|
26708
|
-
Metrics: () => Metrics,
|
|
26709
|
-
Discard: () => Discard,
|
|
26710
|
-
Create: () => Create,
|
|
26870
|
+
Assign: () => Assign,
|
|
26711
26871
|
Clone: () => Clone,
|
|
26712
|
-
|
|
26872
|
+
Create: () => Create,
|
|
26873
|
+
Discard: () => Discard,
|
|
26874
|
+
Metrics: () => Metrics,
|
|
26875
|
+
Update: () => Update
|
|
26713
26876
|
});
|
|
26714
26877
|
|
|
26715
26878
|
// node_modules/typebox/build/system/memory/metrics.mjs
|
|
@@ -26729,44 +26892,44 @@ function Assign(left, right) {
|
|
|
26729
26892
|
// node_modules/typebox/build/guard/guard.mjs
|
|
26730
26893
|
var exports_guard = {};
|
|
26731
26894
|
__export(exports_guard, {
|
|
26732
|
-
|
|
26733
|
-
Symbols: () => Symbols,
|
|
26734
|
-
SomeAll: () => SomeAll,
|
|
26735
|
-
Some: () => Some,
|
|
26736
|
-
ShiftLeft: () => ShiftLeft,
|
|
26737
|
-
Keys: () => Keys,
|
|
26738
|
-
IsValueLike: () => IsValueLike,
|
|
26739
|
-
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
26740
|
-
IsUndefined: () => IsUndefined,
|
|
26741
|
-
IsSymbol: () => IsSymbol,
|
|
26742
|
-
IsString: () => IsString,
|
|
26743
|
-
IsObjectNotArray: () => IsObjectNotArray,
|
|
26744
|
-
IsObject: () => IsObject,
|
|
26745
|
-
IsNumber: () => IsNumber,
|
|
26746
|
-
IsNull: () => IsNull,
|
|
26747
|
-
IsMultipleOf: () => IsMultipleOf,
|
|
26748
|
-
IsMinLength: () => IsMinLength2,
|
|
26749
|
-
IsMaxLength: () => IsMaxLength2,
|
|
26750
|
-
IsLessThan: () => IsLessThan,
|
|
26751
|
-
IsLessEqualThan: () => IsLessEqualThan,
|
|
26752
|
-
IsInteger: () => IsInteger,
|
|
26753
|
-
IsGreaterThan: () => IsGreaterThan,
|
|
26754
|
-
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
26755
|
-
IsFunction: () => IsFunction,
|
|
26756
|
-
IsEqual: () => IsEqual,
|
|
26757
|
-
IsDeepEqual: () => IsDeepEqual,
|
|
26758
|
-
IsConstructor: () => IsConstructor,
|
|
26759
|
-
IsClassInstance: () => IsClassInstance,
|
|
26760
|
-
IsBoolean: () => IsBoolean,
|
|
26761
|
-
IsBigInt: () => IsBigInt,
|
|
26762
|
-
IsArray: () => IsArray,
|
|
26763
|
-
HasPropertyKey: () => HasPropertyKey,
|
|
26764
|
-
GraphemeCount: () => GraphemeCount2,
|
|
26765
|
-
EveryAll: () => EveryAll,
|
|
26766
|
-
Every: () => Every,
|
|
26767
|
-
EntriesRegExp: () => EntriesRegExp,
|
|
26895
|
+
Counted: () => Counted,
|
|
26768
26896
|
Entries: () => Entries,
|
|
26769
|
-
|
|
26897
|
+
EntriesRegExp: () => EntriesRegExp,
|
|
26898
|
+
Every: () => Every,
|
|
26899
|
+
EveryAll: () => EveryAll,
|
|
26900
|
+
GraphemeCount: () => GraphemeCount2,
|
|
26901
|
+
HasPropertyKey: () => HasPropertyKey,
|
|
26902
|
+
IsArray: () => IsArray,
|
|
26903
|
+
IsBigInt: () => IsBigInt,
|
|
26904
|
+
IsBoolean: () => IsBoolean,
|
|
26905
|
+
IsClassInstance: () => IsClassInstance,
|
|
26906
|
+
IsConstructor: () => IsConstructor,
|
|
26907
|
+
IsDeepEqual: () => IsDeepEqual,
|
|
26908
|
+
IsEqual: () => IsEqual,
|
|
26909
|
+
IsFunction: () => IsFunction,
|
|
26910
|
+
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
26911
|
+
IsGreaterThan: () => IsGreaterThan,
|
|
26912
|
+
IsInteger: () => IsInteger,
|
|
26913
|
+
IsLessEqualThan: () => IsLessEqualThan,
|
|
26914
|
+
IsLessThan: () => IsLessThan,
|
|
26915
|
+
IsMaxLength: () => IsMaxLength2,
|
|
26916
|
+
IsMinLength: () => IsMinLength2,
|
|
26917
|
+
IsMultipleOf: () => IsMultipleOf,
|
|
26918
|
+
IsNull: () => IsNull,
|
|
26919
|
+
IsNumber: () => IsNumber,
|
|
26920
|
+
IsObject: () => IsObject,
|
|
26921
|
+
IsObjectNotArray: () => IsObjectNotArray,
|
|
26922
|
+
IsString: () => IsString,
|
|
26923
|
+
IsSymbol: () => IsSymbol,
|
|
26924
|
+
IsUndefined: () => IsUndefined,
|
|
26925
|
+
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
26926
|
+
IsValueLike: () => IsValueLike,
|
|
26927
|
+
Keys: () => Keys,
|
|
26928
|
+
ShiftLeft: () => ShiftLeft,
|
|
26929
|
+
Some: () => Some,
|
|
26930
|
+
SomeAll: () => SomeAll,
|
|
26931
|
+
Symbols: () => Symbols,
|
|
26932
|
+
Values: () => Values
|
|
26770
26933
|
});
|
|
26771
26934
|
|
|
26772
26935
|
// node_modules/typebox/build/guard/string.mjs
|
|
@@ -27045,25 +27208,25 @@ function IsDeepEqual(left, right) {
|
|
|
27045
27208
|
// node_modules/typebox/build/guard/globals.mjs
|
|
27046
27209
|
var exports_globals = {};
|
|
27047
27210
|
__export(exports_globals, {
|
|
27048
|
-
|
|
27049
|
-
IsUint8Array: () => IsUint8Array,
|
|
27050
|
-
IsUint32Array: () => IsUint32Array,
|
|
27051
|
-
IsUint16Array: () => IsUint16Array,
|
|
27052
|
-
IsTypeArray: () => IsTypeArray,
|
|
27053
|
-
IsString: () => IsString2,
|
|
27054
|
-
IsSet: () => IsSet,
|
|
27055
|
-
IsRegExp: () => IsRegExp,
|
|
27056
|
-
IsNumber: () => IsNumber2,
|
|
27057
|
-
IsMap: () => IsMap,
|
|
27058
|
-
IsInt8Array: () => IsInt8Array,
|
|
27059
|
-
IsInt32Array: () => IsInt32Array,
|
|
27060
|
-
IsInt16Array: () => IsInt16Array,
|
|
27061
|
-
IsFloat64Array: () => IsFloat64Array,
|
|
27062
|
-
IsFloat32Array: () => IsFloat32Array,
|
|
27063
|
-
IsDate: () => IsDate,
|
|
27064
|
-
IsBoolean: () => IsBoolean2,
|
|
27211
|
+
IsBigInt64Array: () => IsBigInt64Array,
|
|
27065
27212
|
IsBigUint64Array: () => IsBigUint64Array,
|
|
27066
|
-
|
|
27213
|
+
IsBoolean: () => IsBoolean2,
|
|
27214
|
+
IsDate: () => IsDate,
|
|
27215
|
+
IsFloat32Array: () => IsFloat32Array,
|
|
27216
|
+
IsFloat64Array: () => IsFloat64Array,
|
|
27217
|
+
IsInt16Array: () => IsInt16Array,
|
|
27218
|
+
IsInt32Array: () => IsInt32Array,
|
|
27219
|
+
IsInt8Array: () => IsInt8Array,
|
|
27220
|
+
IsMap: () => IsMap,
|
|
27221
|
+
IsNumber: () => IsNumber2,
|
|
27222
|
+
IsRegExp: () => IsRegExp,
|
|
27223
|
+
IsSet: () => IsSet,
|
|
27224
|
+
IsString: () => IsString2,
|
|
27225
|
+
IsTypeArray: () => IsTypeArray,
|
|
27226
|
+
IsUint16Array: () => IsUint16Array,
|
|
27227
|
+
IsUint32Array: () => IsUint32Array,
|
|
27228
|
+
IsUint8Array: () => IsUint8Array,
|
|
27229
|
+
IsUint8ClampedArray: () => IsUint8ClampedArray
|
|
27067
27230
|
});
|
|
27068
27231
|
function IsBoolean2(value) {
|
|
27069
27232
|
return value instanceof Boolean;
|
|
@@ -27187,9 +27350,9 @@ function Clone(value) {
|
|
|
27187
27350
|
// node_modules/typebox/build/system/settings/settings.mjs
|
|
27188
27351
|
var exports_settings = {};
|
|
27189
27352
|
__export(exports_settings, {
|
|
27190
|
-
|
|
27353
|
+
Get: () => Get,
|
|
27191
27354
|
Reset: () => Reset,
|
|
27192
|
-
|
|
27355
|
+
Set: () => Set2
|
|
27193
27356
|
});
|
|
27194
27357
|
var settings = {
|
|
27195
27358
|
immutableTypes: false,
|
|
@@ -27522,8 +27685,8 @@ function IntersectOptions(type) {
|
|
|
27522
27685
|
// node_modules/typebox/build/system/hashing/hash.mjs
|
|
27523
27686
|
var exports_hash = {};
|
|
27524
27687
|
__export(exports_hash, {
|
|
27525
|
-
|
|
27526
|
-
|
|
27688
|
+
Hash: () => Hash,
|
|
27689
|
+
HashCode: () => HashCode
|
|
27527
27690
|
});
|
|
27528
27691
|
|
|
27529
27692
|
// node_modules/typebox/build/system/unreachable/unreachable.mjs
|
|
@@ -28867,8 +29030,8 @@ function Optional2(value, input) {
|
|
|
28867
29030
|
function IsDiscard(discard2, input) {
|
|
28868
29031
|
return discard2.includes(input);
|
|
28869
29032
|
}
|
|
28870
|
-
function
|
|
28871
|
-
return Match2(Take(allowed, input), (Char, Rest2) => IsDiscard(discard2, Char) ?
|
|
29033
|
+
function Many3(allowed, discard2, input, result = "") {
|
|
29034
|
+
return Match2(Take(allowed, input), (Char, Rest2) => IsDiscard(discard2, Char) ? Many3(allowed, discard2, Rest2, result) : Many3(allowed, discard2, Rest2, `${result}${Char}`), () => [result, input]);
|
|
28872
29035
|
}
|
|
28873
29036
|
|
|
28874
29037
|
// node_modules/typebox/build/type/script/token/unsigned_integer.mjs
|
|
@@ -28877,7 +29040,7 @@ function TakeNonZero(input) {
|
|
|
28877
29040
|
}
|
|
28878
29041
|
var AllowedDigits = [...Digit, UnderScore];
|
|
28879
29042
|
function TakeDigits(input) {
|
|
28880
|
-
return
|
|
29043
|
+
return Many3(AllowedDigits, [UnderScore], input);
|
|
28881
29044
|
}
|
|
28882
29045
|
function TakeUnsignedInteger(input) {
|
|
28883
29046
|
return Match2(Take([Zero], input), (Zero2, ZeroRest) => [Zero2, ZeroRest], () => Match2(TakeNonZero(input), (NonZero2, NonZeroRest) => Match2(TakeDigits(NonZeroRest), (Digits, DigitsRest) => [`${NonZero2}${Digits}`, DigitsRest], () => []), () => []));
|
|
@@ -28932,7 +29095,7 @@ function IsLeadingDot(input) {
|
|
|
28932
29095
|
return IsMatch(Take([Dot], input));
|
|
28933
29096
|
}
|
|
28934
29097
|
function TakeFractional(input) {
|
|
28935
|
-
return Match2(
|
|
29098
|
+
return Match2(Many3(AllowedDigits2, [UnderScore], input), (Digits, DigitsRest) => IsEqual(Digits, "") ? [] : [Digits, DigitsRest], () => []);
|
|
28936
29099
|
}
|
|
28937
29100
|
function LeadingDot(input) {
|
|
28938
29101
|
return Match2(Take([Dot], input), (Dot2, DotRest) => Match2(TakeFractional(DotRest), (Fractional, FractionalRest) => [`0${Dot2}${Fractional}`, FractionalRest], () => []), () => []);
|
|
@@ -29230,14 +29393,14 @@ function IsTemplateLiteral(value) {
|
|
|
29230
29393
|
// node_modules/typebox/build/type/extends/result.mjs
|
|
29231
29394
|
var exports_result = {};
|
|
29232
29395
|
__export(exports_result, {
|
|
29233
|
-
|
|
29234
|
-
IsExtendsUnion: () => IsExtendsUnion,
|
|
29235
|
-
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
29236
|
-
IsExtendsTrue: () => IsExtendsTrue,
|
|
29237
|
-
IsExtendsFalse: () => IsExtendsFalse,
|
|
29238
|
-
ExtendsUnion: () => ExtendsUnion,
|
|
29396
|
+
ExtendsFalse: () => ExtendsFalse,
|
|
29239
29397
|
ExtendsTrue: () => ExtendsTrue,
|
|
29240
|
-
|
|
29398
|
+
ExtendsUnion: () => ExtendsUnion,
|
|
29399
|
+
IsExtendsFalse: () => IsExtendsFalse,
|
|
29400
|
+
IsExtendsTrue: () => IsExtendsTrue,
|
|
29401
|
+
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
29402
|
+
IsExtendsUnion: () => IsExtendsUnion,
|
|
29403
|
+
Match: () => Match3
|
|
29241
29404
|
});
|
|
29242
29405
|
function ExtendsUnion(inferred) {
|
|
29243
29406
|
return exports_memory.Create({ ["~kind"]: "ExtendsUnion" }, { inferred });
|
|
@@ -31048,123 +31211,123 @@ function Script2(...args) {
|
|
|
31048
31211
|
// node_modules/typebox/build/typebox.mjs
|
|
31049
31212
|
var exports_typebox = {};
|
|
31050
31213
|
__export(exports_typebox, {
|
|
31051
|
-
|
|
31052
|
-
Void: () => Void,
|
|
31053
|
-
Uppercase: () => Uppercase,
|
|
31054
|
-
Unsafe: () => Unsafe,
|
|
31055
|
-
Unknown: () => Unknown,
|
|
31056
|
-
Union: () => Union,
|
|
31057
|
-
Undefined: () => Undefined,
|
|
31058
|
-
Uncapitalize: () => Uncapitalize,
|
|
31059
|
-
Tuple: () => Tuple,
|
|
31060
|
-
This: () => This,
|
|
31061
|
-
TemplateLiteral: () => TemplateLiteral2,
|
|
31062
|
-
Symbol: () => Symbol2,
|
|
31063
|
-
String: () => String2,
|
|
31064
|
-
Script: () => Script2,
|
|
31065
|
-
ReturnType: () => ReturnType,
|
|
31066
|
-
Rest: () => Rest,
|
|
31067
|
-
Required: () => Required,
|
|
31068
|
-
Refine: () => Refine,
|
|
31069
|
-
Ref: () => Ref,
|
|
31070
|
-
RecordValue: () => RecordValue,
|
|
31071
|
-
RecordPattern: () => RecordPattern,
|
|
31072
|
-
RecordKey: () => RecordKey,
|
|
31073
|
-
Record: () => Record,
|
|
31074
|
-
ReadonlyType: () => ReadonlyType,
|
|
31075
|
-
ReadonlyObject: () => ReadonlyObject,
|
|
31076
|
-
Readonly: () => Readonly,
|
|
31077
|
-
Pick: () => Pick,
|
|
31078
|
-
Partial: () => Partial,
|
|
31079
|
-
Parameters: () => Parameters,
|
|
31080
|
-
Parameter: () => Parameter,
|
|
31081
|
-
Optional: () => Optional,
|
|
31082
|
-
Omit: () => Omit,
|
|
31083
|
-
Object: () => _Object_,
|
|
31084
|
-
Number: () => Number2,
|
|
31085
|
-
Null: () => Null,
|
|
31086
|
-
NonNullable: () => NonNullable,
|
|
31087
|
-
Never: () => Never,
|
|
31088
|
-
Module: () => Module2,
|
|
31089
|
-
Mapped: () => Mapped,
|
|
31090
|
-
Lowercase: () => Lowercase,
|
|
31091
|
-
Literal: () => Literal,
|
|
31092
|
-
KeyOf: () => KeyOf2,
|
|
31093
|
-
IsVoid: () => IsVoid,
|
|
31094
|
-
IsUnsafe: () => IsUnsafe,
|
|
31095
|
-
IsUnknown: () => IsUnknown,
|
|
31096
|
-
IsUnion: () => IsUnion,
|
|
31097
|
-
IsUndefined: () => IsUndefined2,
|
|
31098
|
-
IsTuple: () => IsTuple,
|
|
31099
|
-
IsThis: () => IsThis,
|
|
31100
|
-
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
31101
|
-
IsSymbol: () => IsSymbol2,
|
|
31102
|
-
IsString: () => IsString3,
|
|
31103
|
-
IsSchema: () => IsSchema,
|
|
31104
|
-
IsRest: () => IsRest,
|
|
31105
|
-
IsRefine: () => IsRefine,
|
|
31106
|
-
IsRef: () => IsRef,
|
|
31107
|
-
IsRecord: () => IsRecord,
|
|
31108
|
-
IsReadonly: () => IsReadonly,
|
|
31109
|
-
IsParameter: () => IsParameter,
|
|
31110
|
-
IsOptional: () => IsOptional,
|
|
31111
|
-
IsObject: () => IsObject2,
|
|
31112
|
-
IsNumber: () => IsNumber3,
|
|
31113
|
-
IsNull: () => IsNull2,
|
|
31114
|
-
IsNever: () => IsNever,
|
|
31115
|
-
IsLiteral: () => IsLiteral,
|
|
31116
|
-
IsKind: () => IsKind,
|
|
31117
|
-
IsIntersect: () => IsIntersect,
|
|
31118
|
-
IsInteger: () => IsInteger2,
|
|
31119
|
-
IsInfer: () => IsInfer,
|
|
31120
|
-
IsImmutable: () => IsImmutable,
|
|
31121
|
-
IsIdentifier: () => IsIdentifier,
|
|
31122
|
-
IsGeneric: () => IsGeneric,
|
|
31123
|
-
IsFunction: () => IsFunction2,
|
|
31124
|
-
IsEnumValue: () => IsEnumValue,
|
|
31125
|
-
IsEnum: () => IsEnum,
|
|
31126
|
-
IsDependent: () => IsDependent,
|
|
31127
|
-
IsCyclic: () => IsCyclic,
|
|
31128
|
-
IsConstructor: () => IsConstructor2,
|
|
31129
|
-
IsCodec: () => IsCodec,
|
|
31130
|
-
IsCall: () => IsCall,
|
|
31131
|
-
IsBoolean: () => IsBoolean3,
|
|
31132
|
-
IsBigInt: () => IsBigInt2,
|
|
31133
|
-
IsArray: () => IsArray2,
|
|
31134
|
-
IsAny: () => IsAny,
|
|
31135
|
-
Intersect: () => Intersect,
|
|
31136
|
-
Interface: () => Interface,
|
|
31137
|
-
Integer: () => Integer,
|
|
31138
|
-
Instantiate: () => Instantiate,
|
|
31139
|
-
InstanceType: () => InstanceType,
|
|
31140
|
-
Infer: () => Infer,
|
|
31141
|
-
Index: () => Index2,
|
|
31142
|
-
Immutable: () => Immutable,
|
|
31143
|
-
Identifier: () => Identifier,
|
|
31144
|
-
Generic: () => Generic,
|
|
31145
|
-
Function: () => _Function_,
|
|
31146
|
-
Extract: () => Extract,
|
|
31147
|
-
ExtendsResult: () => exports_result,
|
|
31148
|
-
Extends: () => Extends,
|
|
31149
|
-
Exclude: () => Exclude,
|
|
31150
|
-
Evaluate: () => Evaluate,
|
|
31151
|
-
Enum: () => Enum,
|
|
31152
|
-
EncodeBuilder: () => EncodeBuilder,
|
|
31153
|
-
Encode: () => Encode,
|
|
31154
|
-
Dependent: () => Dependent,
|
|
31155
|
-
DecodeBuilder: () => DecodeBuilder,
|
|
31156
|
-
Decode: () => Decode,
|
|
31157
|
-
Cyclic: () => Cyclic,
|
|
31158
|
-
ConstructorParameters: () => ConstructorParameters,
|
|
31159
|
-
Constructor: () => Constructor,
|
|
31160
|
-
Conditional: () => Conditional,
|
|
31161
|
-
Codec: () => Codec,
|
|
31162
|
-
Capitalize: () => Capitalize,
|
|
31163
|
-
Call: () => Call,
|
|
31164
|
-
Boolean: () => Boolean2,
|
|
31165
|
-
BigInt: () => BigInt2,
|
|
31214
|
+
Any: () => Any,
|
|
31166
31215
|
Array: () => _Array_,
|
|
31167
|
-
|
|
31216
|
+
BigInt: () => BigInt2,
|
|
31217
|
+
Boolean: () => Boolean2,
|
|
31218
|
+
Call: () => Call,
|
|
31219
|
+
Capitalize: () => Capitalize,
|
|
31220
|
+
Codec: () => Codec,
|
|
31221
|
+
Conditional: () => Conditional,
|
|
31222
|
+
Constructor: () => Constructor,
|
|
31223
|
+
ConstructorParameters: () => ConstructorParameters,
|
|
31224
|
+
Cyclic: () => Cyclic,
|
|
31225
|
+
Decode: () => Decode,
|
|
31226
|
+
DecodeBuilder: () => DecodeBuilder,
|
|
31227
|
+
Dependent: () => Dependent,
|
|
31228
|
+
Encode: () => Encode,
|
|
31229
|
+
EncodeBuilder: () => EncodeBuilder,
|
|
31230
|
+
Enum: () => Enum,
|
|
31231
|
+
Evaluate: () => Evaluate,
|
|
31232
|
+
Exclude: () => Exclude,
|
|
31233
|
+
Extends: () => Extends,
|
|
31234
|
+
ExtendsResult: () => exports_result,
|
|
31235
|
+
Extract: () => Extract,
|
|
31236
|
+
Function: () => _Function_,
|
|
31237
|
+
Generic: () => Generic,
|
|
31238
|
+
Identifier: () => Identifier,
|
|
31239
|
+
Immutable: () => Immutable,
|
|
31240
|
+
Index: () => Index2,
|
|
31241
|
+
Infer: () => Infer,
|
|
31242
|
+
InstanceType: () => InstanceType,
|
|
31243
|
+
Instantiate: () => Instantiate,
|
|
31244
|
+
Integer: () => Integer,
|
|
31245
|
+
Interface: () => Interface,
|
|
31246
|
+
Intersect: () => Intersect,
|
|
31247
|
+
IsAny: () => IsAny,
|
|
31248
|
+
IsArray: () => IsArray2,
|
|
31249
|
+
IsBigInt: () => IsBigInt2,
|
|
31250
|
+
IsBoolean: () => IsBoolean3,
|
|
31251
|
+
IsCall: () => IsCall,
|
|
31252
|
+
IsCodec: () => IsCodec,
|
|
31253
|
+
IsConstructor: () => IsConstructor2,
|
|
31254
|
+
IsCyclic: () => IsCyclic,
|
|
31255
|
+
IsDependent: () => IsDependent,
|
|
31256
|
+
IsEnum: () => IsEnum,
|
|
31257
|
+
IsEnumValue: () => IsEnumValue,
|
|
31258
|
+
IsFunction: () => IsFunction2,
|
|
31259
|
+
IsGeneric: () => IsGeneric,
|
|
31260
|
+
IsIdentifier: () => IsIdentifier,
|
|
31261
|
+
IsImmutable: () => IsImmutable,
|
|
31262
|
+
IsInfer: () => IsInfer,
|
|
31263
|
+
IsInteger: () => IsInteger2,
|
|
31264
|
+
IsIntersect: () => IsIntersect,
|
|
31265
|
+
IsKind: () => IsKind,
|
|
31266
|
+
IsLiteral: () => IsLiteral,
|
|
31267
|
+
IsNever: () => IsNever,
|
|
31268
|
+
IsNull: () => IsNull2,
|
|
31269
|
+
IsNumber: () => IsNumber3,
|
|
31270
|
+
IsObject: () => IsObject2,
|
|
31271
|
+
IsOptional: () => IsOptional,
|
|
31272
|
+
IsParameter: () => IsParameter,
|
|
31273
|
+
IsReadonly: () => IsReadonly,
|
|
31274
|
+
IsRecord: () => IsRecord,
|
|
31275
|
+
IsRef: () => IsRef,
|
|
31276
|
+
IsRefine: () => IsRefine,
|
|
31277
|
+
IsRest: () => IsRest,
|
|
31278
|
+
IsSchema: () => IsSchema,
|
|
31279
|
+
IsString: () => IsString3,
|
|
31280
|
+
IsSymbol: () => IsSymbol2,
|
|
31281
|
+
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
31282
|
+
IsThis: () => IsThis,
|
|
31283
|
+
IsTuple: () => IsTuple,
|
|
31284
|
+
IsUndefined: () => IsUndefined2,
|
|
31285
|
+
IsUnion: () => IsUnion,
|
|
31286
|
+
IsUnknown: () => IsUnknown,
|
|
31287
|
+
IsUnsafe: () => IsUnsafe,
|
|
31288
|
+
IsVoid: () => IsVoid,
|
|
31289
|
+
KeyOf: () => KeyOf2,
|
|
31290
|
+
Literal: () => Literal,
|
|
31291
|
+
Lowercase: () => Lowercase,
|
|
31292
|
+
Mapped: () => Mapped,
|
|
31293
|
+
Module: () => Module2,
|
|
31294
|
+
Never: () => Never,
|
|
31295
|
+
NonNullable: () => NonNullable,
|
|
31296
|
+
Null: () => Null,
|
|
31297
|
+
Number: () => Number2,
|
|
31298
|
+
Object: () => _Object_,
|
|
31299
|
+
Omit: () => Omit,
|
|
31300
|
+
Optional: () => Optional,
|
|
31301
|
+
Parameter: () => Parameter,
|
|
31302
|
+
Parameters: () => Parameters,
|
|
31303
|
+
Partial: () => Partial,
|
|
31304
|
+
Pick: () => Pick,
|
|
31305
|
+
Readonly: () => Readonly,
|
|
31306
|
+
ReadonlyObject: () => ReadonlyObject,
|
|
31307
|
+
ReadonlyType: () => ReadonlyType,
|
|
31308
|
+
Record: () => Record,
|
|
31309
|
+
RecordKey: () => RecordKey,
|
|
31310
|
+
RecordPattern: () => RecordPattern,
|
|
31311
|
+
RecordValue: () => RecordValue,
|
|
31312
|
+
Ref: () => Ref,
|
|
31313
|
+
Refine: () => Refine,
|
|
31314
|
+
Required: () => Required,
|
|
31315
|
+
Rest: () => Rest,
|
|
31316
|
+
ReturnType: () => ReturnType,
|
|
31317
|
+
Script: () => Script2,
|
|
31318
|
+
String: () => String2,
|
|
31319
|
+
Symbol: () => Symbol2,
|
|
31320
|
+
TemplateLiteral: () => TemplateLiteral2,
|
|
31321
|
+
This: () => This,
|
|
31322
|
+
Tuple: () => Tuple,
|
|
31323
|
+
Uncapitalize: () => Uncapitalize,
|
|
31324
|
+
Undefined: () => Undefined,
|
|
31325
|
+
Union: () => Union,
|
|
31326
|
+
Unknown: () => Unknown,
|
|
31327
|
+
Unsafe: () => Unsafe,
|
|
31328
|
+
Uppercase: () => Uppercase,
|
|
31329
|
+
Void: () => Void,
|
|
31330
|
+
With: () => With2
|
|
31168
31331
|
});
|
|
31169
31332
|
// node_modules/typebox/build/schema/types/_refine.mjs
|
|
31170
31333
|
function IsRefine2(value) {
|
|
@@ -31741,34 +31904,34 @@ function ErrorExclusiveMinimum(stack, context, schemaPath, instancePath, schema3
|
|
|
31741
31904
|
// node_modules/typebox/build/format/format.mjs
|
|
31742
31905
|
var exports_format = {};
|
|
31743
31906
|
__export(exports_format, {
|
|
31744
|
-
|
|
31745
|
-
Set: () => Set3,
|
|
31746
|
-
Reset: () => Reset2,
|
|
31747
|
-
IsUuid: () => IsUuid,
|
|
31748
|
-
IsUrl: () => IsUrl,
|
|
31749
|
-
IsUriTemplate: () => IsUriTemplate,
|
|
31750
|
-
IsUriReference: () => IsUriReference,
|
|
31751
|
-
IsUri: () => IsUri,
|
|
31752
|
-
IsTime: () => IsTime,
|
|
31753
|
-
IsRelativeJsonPointer: () => IsRelativeJsonPointer,
|
|
31754
|
-
IsRegex: () => IsRegex,
|
|
31755
|
-
IsJsonPointerUriFragment: () => IsJsonPointerUriFragment,
|
|
31756
|
-
IsJsonPointer: () => IsJsonPointer,
|
|
31757
|
-
IsIriReference: () => IsIriReference,
|
|
31758
|
-
IsIri: () => IsIri,
|
|
31759
|
-
IsIdnHostname: () => IsIdnHostname2,
|
|
31760
|
-
IsIdnEmail: () => IsIdnEmail,
|
|
31761
|
-
IsIPv6: () => IsIPv6,
|
|
31762
|
-
IsIPv4: () => IsIPv4,
|
|
31763
|
-
IsHostname: () => IsHostname2,
|
|
31764
|
-
IsEmail: () => IsEmail,
|
|
31765
|
-
IsDuration: () => IsDuration,
|
|
31766
|
-
IsDateTime: () => IsDateTime,
|
|
31767
|
-
IsDate: () => IsDate2,
|
|
31768
|
-
Has: () => Has,
|
|
31769
|
-
Get: () => Get3,
|
|
31907
|
+
Clear: () => Clear,
|
|
31770
31908
|
Entries: () => Entries2,
|
|
31771
|
-
|
|
31909
|
+
Get: () => Get3,
|
|
31910
|
+
Has: () => Has,
|
|
31911
|
+
IsDate: () => IsDate2,
|
|
31912
|
+
IsDateTime: () => IsDateTime,
|
|
31913
|
+
IsDuration: () => IsDuration,
|
|
31914
|
+
IsEmail: () => IsEmail,
|
|
31915
|
+
IsHostname: () => IsHostname2,
|
|
31916
|
+
IsIPv4: () => IsIPv4,
|
|
31917
|
+
IsIPv6: () => IsIPv6,
|
|
31918
|
+
IsIdnEmail: () => IsIdnEmail,
|
|
31919
|
+
IsIdnHostname: () => IsIdnHostname2,
|
|
31920
|
+
IsIri: () => IsIri,
|
|
31921
|
+
IsIriReference: () => IsIriReference,
|
|
31922
|
+
IsJsonPointer: () => IsJsonPointer,
|
|
31923
|
+
IsJsonPointerUriFragment: () => IsJsonPointerUriFragment,
|
|
31924
|
+
IsRegex: () => IsRegex,
|
|
31925
|
+
IsRelativeJsonPointer: () => IsRelativeJsonPointer,
|
|
31926
|
+
IsTime: () => IsTime,
|
|
31927
|
+
IsUri: () => IsUri,
|
|
31928
|
+
IsUriReference: () => IsUriReference,
|
|
31929
|
+
IsUriTemplate: () => IsUriTemplate,
|
|
31930
|
+
IsUrl: () => IsUrl,
|
|
31931
|
+
IsUuid: () => IsUuid,
|
|
31932
|
+
Reset: () => Reset2,
|
|
31933
|
+
Set: () => Set3,
|
|
31934
|
+
Test: () => Test
|
|
31772
31935
|
});
|
|
31773
31936
|
|
|
31774
31937
|
// node_modules/typebox/build/format/date.mjs
|
|
@@ -32861,18 +33024,18 @@ var funcs = new Map;
|
|
|
32861
33024
|
// node_modules/typebox/build/schema/resolve/resolve.mjs
|
|
32862
33025
|
var exports_resolve = {};
|
|
32863
33026
|
__export(exports_resolve, {
|
|
32864
|
-
|
|
33027
|
+
DefaultBase: () => DefaultBase,
|
|
32865
33028
|
DynamicRef: () => DynamicRef,
|
|
32866
|
-
|
|
33029
|
+
Ref: () => Ref2
|
|
32867
33030
|
});
|
|
32868
33031
|
// node_modules/typebox/build/schema/pointer/pointer.mjs
|
|
32869
33032
|
var exports_pointer = {};
|
|
32870
33033
|
__export(exports_pointer, {
|
|
32871
|
-
|
|
32872
|
-
Indices: () => Indices,
|
|
32873
|
-
Has: () => Has2,
|
|
33034
|
+
Delete: () => Delete,
|
|
32874
33035
|
Get: () => Get4,
|
|
32875
|
-
|
|
33036
|
+
Has: () => Has2,
|
|
33037
|
+
Indices: () => Indices,
|
|
33038
|
+
Set: () => Set4
|
|
32876
33039
|
});
|
|
32877
33040
|
function AssertNotRoot(indices) {
|
|
32878
33041
|
if (indices.length === 0)
|
|
@@ -33371,16 +33534,16 @@ function Clean(...args) {
|
|
|
33371
33534
|
// node_modules/typebox/build/value/convert/try/try.mjs
|
|
33372
33535
|
var exports_try = {};
|
|
33373
33536
|
__export(exports_try, {
|
|
33374
|
-
|
|
33375
|
-
TryString: () => TryString,
|
|
33376
|
-
TryNumber: () => TryNumber,
|
|
33377
|
-
TryNull: () => TryNull,
|
|
33378
|
-
TryBoolean: () => TryBoolean,
|
|
33379
|
-
TryBigInt: () => TryBigInt,
|
|
33380
|
-
TryArray: () => TryArray,
|
|
33381
|
-
Ok: () => Ok,
|
|
33537
|
+
Fail: () => Fail,
|
|
33382
33538
|
IsOk: () => IsOk,
|
|
33383
|
-
|
|
33539
|
+
Ok: () => Ok,
|
|
33540
|
+
TryArray: () => TryArray,
|
|
33541
|
+
TryBigInt: () => TryBigInt,
|
|
33542
|
+
TryBoolean: () => TryBoolean,
|
|
33543
|
+
TryNull: () => TryNull,
|
|
33544
|
+
TryNumber: () => TryNumber,
|
|
33545
|
+
TryString: () => TryString,
|
|
33546
|
+
TryUndefined: () => TryUndefined
|
|
33384
33547
|
});
|
|
33385
33548
|
|
|
33386
33549
|
// node_modules/typebox/build/value/convert/try/try_result.mjs
|
|
@@ -34655,24 +34818,24 @@ function Repair(...args) {
|
|
|
34655
34818
|
// node_modules/typebox/build/value/value.mjs
|
|
34656
34819
|
var exports_value = {};
|
|
34657
34820
|
__export(exports_value, {
|
|
34658
|
-
|
|
34659
|
-
Pointer: () => exports_pointer,
|
|
34660
|
-
Patch: () => Patch,
|
|
34661
|
-
Parse: () => Parse,
|
|
34662
|
-
Hash: () => Hash2,
|
|
34663
|
-
HasCodec: () => HasCodec,
|
|
34664
|
-
Errors: () => Errors2,
|
|
34665
|
-
Equal: () => Equal,
|
|
34666
|
-
Encode: () => Encode10,
|
|
34667
|
-
Diff: () => Diff,
|
|
34668
|
-
Default: () => Default,
|
|
34669
|
-
Decode: () => Decode10,
|
|
34670
|
-
Create: () => Create2,
|
|
34671
|
-
Convert: () => Convert,
|
|
34672
|
-
Clone: () => Clone2,
|
|
34673
|
-
Clean: () => Clean,
|
|
34821
|
+
Assert: () => Assert,
|
|
34674
34822
|
Check: () => Check4,
|
|
34675
|
-
|
|
34823
|
+
Clean: () => Clean,
|
|
34824
|
+
Clone: () => Clone2,
|
|
34825
|
+
Convert: () => Convert,
|
|
34826
|
+
Create: () => Create2,
|
|
34827
|
+
Decode: () => Decode10,
|
|
34828
|
+
Default: () => Default,
|
|
34829
|
+
Diff: () => Diff,
|
|
34830
|
+
Encode: () => Encode10,
|
|
34831
|
+
Equal: () => Equal,
|
|
34832
|
+
Errors: () => Errors2,
|
|
34833
|
+
HasCodec: () => HasCodec,
|
|
34834
|
+
Hash: () => Hash2,
|
|
34835
|
+
Parse: () => Parse,
|
|
34836
|
+
Patch: () => Patch,
|
|
34837
|
+
Pointer: () => exports_pointer,
|
|
34838
|
+
Repair: () => Repair
|
|
34676
34839
|
});
|
|
34677
34840
|
// src/session/redisStore.ts
|
|
34678
34841
|
var SESSION_SEGMENT = "sess:";
|
|
@@ -39360,7 +39523,7 @@ var createPostgresOidcRefreshTokenStore = (db) => ({
|
|
|
39360
39523
|
dpop_jkt: sql`CASE WHEN ${active} THEN ${replacement.dpopJkt ?? null} ELSE ${oauthRefreshTokensTable.dpop_jkt} END`,
|
|
39361
39524
|
expires_at_ms: sql`CASE WHEN ${active} THEN ${replacement.expiresAt} ELSE ${oauthRefreshTokensTable.expires_at_ms} END`,
|
|
39362
39525
|
revoked_at_ms: sql`CASE WHEN ${consumed} THEN ${Date.now()} ELSE ${oauthRefreshTokensTable.revoked_at_ms} END`,
|
|
39363
|
-
scopes: sql`CASE WHEN ${active} THEN ${replacement.scopes} ELSE ${oauthRefreshTokensTable.scopes} END`,
|
|
39526
|
+
scopes: sql`CASE WHEN ${active} THEN ${sql.param(replacement.scopes, oauthRefreshTokensTable.scopes)} ELSE ${oauthRefreshTokensTable.scopes} END`,
|
|
39364
39527
|
token_hash: sql`CASE WHEN ${active} THEN ${replacement.tokenHash} ELSE ${oauthRefreshTokensTable.token_hash} END`,
|
|
39365
39528
|
user_id: sql`CASE WHEN ${active} THEN ${replacement.userId} ELSE ${oauthRefreshTokensTable.user_id} END`
|
|
39366
39529
|
}).where(or(active, consumed)).returning({
|
|
@@ -41882,26 +42045,26 @@ var createNodeSamlAdapter = async (options = {}) => {
|
|
|
41882
42045
|
// src/server.ts
|
|
41883
42046
|
var auth2 = auth;
|
|
41884
42047
|
export {
|
|
41885
|
-
|
|
41886
|
-
requireAuthPlugin,
|
|
41887
|
-
readSessionCookie,
|
|
41888
|
-
providers,
|
|
41889
|
-
protectRoutePlugin,
|
|
41890
|
-
isValidProviderOption,
|
|
41891
|
-
isUserSessionId,
|
|
41892
|
-
instantiateUserSession,
|
|
41893
|
-
extractPropFromIdentity,
|
|
41894
|
-
deriveAuthSyncNamespace,
|
|
41895
|
-
createSetupSession,
|
|
41896
|
-
createPostgresSsoConnectionStore,
|
|
41897
|
-
createPostgresSetupSessionStore,
|
|
41898
|
-
createPostgresScimTokenStore,
|
|
41899
|
-
createNodeSamlAdapter,
|
|
41900
|
-
createAuthContext,
|
|
41901
|
-
createAbsoluteAuthSyncBridge,
|
|
42048
|
+
VerificationProviderError,
|
|
41902
42049
|
auth2 as auth,
|
|
41903
|
-
|
|
42050
|
+
createAbsoluteAuthSyncBridge,
|
|
42051
|
+
createAuthContext,
|
|
42052
|
+
createNodeSamlAdapter,
|
|
42053
|
+
createPostgresScimTokenStore,
|
|
42054
|
+
createPostgresSetupSessionStore,
|
|
42055
|
+
createPostgresSsoConnectionStore,
|
|
42056
|
+
createSetupSession,
|
|
42057
|
+
deriveAuthSyncNamespace,
|
|
42058
|
+
extractPropFromIdentity,
|
|
42059
|
+
instantiateUserSession,
|
|
42060
|
+
isUserSessionId,
|
|
42061
|
+
isValidProviderOption,
|
|
42062
|
+
protectRoutePlugin,
|
|
42063
|
+
providers,
|
|
42064
|
+
readSessionCookie,
|
|
42065
|
+
requireAuthPlugin,
|
|
42066
|
+
userSessionIdTypebox
|
|
41904
42067
|
};
|
|
41905
42068
|
|
|
41906
|
-
//# debugId=
|
|
42069
|
+
//# debugId=EBB1CE453260D04564756E2164756E21
|
|
41907
42070
|
//# sourceMappingURL=server.js.map
|