@kyro-cms/core 0.4.5 → 0.5.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/api-handler.cjs +5 -5
- package/dist/api-handler.js +4 -4
- package/dist/bootstrap-GPXZWJXU.cjs +31 -0
- package/dist/{bootstrap-O5UGUTYU.cjs.map → bootstrap-GPXZWJXU.cjs.map} +1 -1
- package/dist/bootstrap-LI3Q7ROO.js +6 -0
- package/dist/{bootstrap-DGJ3N7SO.js.map → bootstrap-LI3Q7ROO.js.map} +1 -1
- package/dist/{chunk-BQ2T4WRS.js → chunk-6R37DO2Z.js} +3 -3
- package/dist/{chunk-BQ2T4WRS.js.map → chunk-6R37DO2Z.js.map} +1 -1
- package/dist/{chunk-YMG55RSX.js → chunk-7DSDEVBA.js} +5 -5
- package/dist/chunk-7DSDEVBA.js.map +1 -0
- package/dist/{chunk-JYGIFBBS.cjs → chunk-ALAAPA3U.cjs} +6 -6
- package/dist/{chunk-JYGIFBBS.cjs.map → chunk-ALAAPA3U.cjs.map} +1 -1
- package/dist/{chunk-FWGHXRRI.cjs → chunk-FG4PAYML.cjs} +4 -4
- package/dist/{chunk-FWGHXRRI.cjs.map → chunk-FG4PAYML.cjs.map} +1 -1
- package/dist/{chunk-3FW6WVVP.cjs → chunk-JINGZG7I.cjs} +6 -5
- package/dist/chunk-JINGZG7I.cjs.map +1 -0
- package/dist/{chunk-SAMZQVC2.js → chunk-QSVSNOKK.js} +3 -3
- package/dist/{chunk-SAMZQVC2.js.map → chunk-QSVSNOKK.js.map} +1 -1
- package/dist/{chunk-OJBK3JYF.js → chunk-RCRCW2TQ.js} +4 -4
- package/dist/{chunk-OJBK3JYF.js.map → chunk-RCRCW2TQ.js.map} +1 -1
- package/dist/{chunk-RYDGMBIG.js → chunk-SCRAGYNM.js} +4 -4
- package/dist/chunk-SCRAGYNM.js.map +1 -0
- package/dist/{chunk-M4GFA2UQ.cjs → chunk-V3423DUL.cjs} +9 -9
- package/dist/{chunk-M4GFA2UQ.cjs.map → chunk-V3423DUL.cjs.map} +1 -1
- package/dist/{chunk-DLHUQO25.cjs → chunk-XKVPPGLX.cjs} +5 -4
- package/dist/chunk-XKVPPGLX.cjs.map +1 -0
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/drizzle/index.cjs +5 -5
- package/dist/drizzle/index.js +1 -1
- package/dist/index.cjs +69 -71
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -19
- package/dist/index.js.map +1 -1
- package/dist/rest/index.cjs +5 -5
- package/dist/rest/index.js +3 -3
- package/package.json +3 -1
- package/dist/bootstrap-DGJ3N7SO.js +0 -6
- package/dist/bootstrap-O5UGUTYU.cjs +0 -31
- package/dist/chunk-3FW6WVVP.cjs.map +0 -1
- package/dist/chunk-DLHUQO25.cjs.map +0 -1
- package/dist/chunk-RYDGMBIG.js.map +0 -1
- package/dist/chunk-YMG55RSX.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkH4XCAPA6_cjs = require('./chunk-H4XCAPA6.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkALAAPA3U_cjs = require('./chunk-ALAAPA3U.cjs');
|
|
5
5
|
var chunkZ2OVHWHB_cjs = require('./chunk-Z2OVHWHB.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkFG4PAYML_cjs = require('./chunk-FG4PAYML.cjs');
|
|
7
7
|
var chunkN4H37VN4_cjs = require('./chunk-N4H37VN4.cjs');
|
|
8
8
|
var chunkATBOUGQP_cjs = require('./chunk-ATBOUGQP.cjs');
|
|
9
9
|
var chunkK7JPTH3G_cjs = require('./chunk-K7JPTH3G.cjs');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var chunkV3423DUL_cjs = require('./chunk-V3423DUL.cjs');
|
|
11
|
+
var chunkXKVPPGLX_cjs = require('./chunk-XKVPPGLX.cjs');
|
|
12
12
|
require('./chunk-4PWRCMTQ.cjs');
|
|
13
13
|
require('./chunk-ADLJSJSN.cjs');
|
|
14
14
|
var chunkIBG6V56E_cjs = require('./chunk-IBG6V56E.cjs');
|
|
@@ -18,22 +18,25 @@ var chunkDVD5P72E_cjs = require('./chunk-DVD5P72E.cjs');
|
|
|
18
18
|
var chunk3ZZPZYCM_cjs = require('./chunk-3ZZPZYCM.cjs');
|
|
19
19
|
var chunkIX3ABYKZ_cjs = require('./chunk-IX3ABYKZ.cjs');
|
|
20
20
|
require('./chunk-WQBRWOQT.cjs');
|
|
21
|
-
var
|
|
21
|
+
var chunkJINGZG7I_cjs = require('./chunk-JINGZG7I.cjs');
|
|
22
22
|
var chunkW3KPQX7V_cjs = require('./chunk-W3KPQX7V.cjs');
|
|
23
23
|
var chunkKOCTZKPV_cjs = require('./chunk-KOCTZKPV.cjs');
|
|
24
|
-
|
|
24
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
25
|
+
var Database = require('better-sqlite3');
|
|
25
26
|
var crypto2 = require('crypto');
|
|
27
|
+
var fs = require('fs');
|
|
28
|
+
var path = require('path');
|
|
26
29
|
var zod = require('zod');
|
|
27
30
|
var unstorage = require('unstorage');
|
|
28
31
|
var indexedbDriver = require('unstorage/drivers/indexedb');
|
|
29
|
-
var path = require('path');
|
|
30
32
|
var fsDriver = require('unstorage/drivers/fs');
|
|
31
33
|
|
|
32
34
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
33
35
|
|
|
36
|
+
var Database__default = /*#__PURE__*/_interopDefault(Database);
|
|
34
37
|
var crypto2__default = /*#__PURE__*/_interopDefault(crypto2);
|
|
35
|
-
var indexedbDriver__default = /*#__PURE__*/_interopDefault(indexedbDriver);
|
|
36
38
|
var path__default = /*#__PURE__*/_interopDefault(path);
|
|
39
|
+
var indexedbDriver__default = /*#__PURE__*/_interopDefault(indexedbDriver);
|
|
37
40
|
var fsDriver__default = /*#__PURE__*/_interopDefault(fsDriver);
|
|
38
41
|
|
|
39
42
|
// src/hooks/types.ts
|
|
@@ -167,8 +170,7 @@ var LocalAdapter = class extends chunkKOCTZKPV_cjs.AbstractBaseAdapter {
|
|
|
167
170
|
}
|
|
168
171
|
async connect() {
|
|
169
172
|
if (!this.db) {
|
|
170
|
-
|
|
171
|
-
this.db = new DatabaseSync(this.path || ":memory:");
|
|
173
|
+
this.db = new Database__default.default(this.path || ":memory:");
|
|
172
174
|
}
|
|
173
175
|
this.db.exec("PRAGMA journal_mode = WAL");
|
|
174
176
|
this.db.exec("PRAGMA foreign_keys = ON");
|
|
@@ -984,13 +986,13 @@ var LocalAdapter = class extends chunkKOCTZKPV_cjs.AbstractBaseAdapter {
|
|
|
984
986
|
// Transaction Support
|
|
985
987
|
// ========================================================================
|
|
986
988
|
async transaction(fn) {
|
|
987
|
-
return new Promise((
|
|
989
|
+
return new Promise((resolve2, reject) => {
|
|
988
990
|
const tx = this.db.transaction(async () => {
|
|
989
991
|
return fn({ db: this.db });
|
|
990
992
|
});
|
|
991
993
|
try {
|
|
992
994
|
const result = tx();
|
|
993
|
-
|
|
995
|
+
resolve2(result);
|
|
994
996
|
} catch (error) {
|
|
995
997
|
reject(error);
|
|
996
998
|
}
|
|
@@ -1917,8 +1919,6 @@ var InMemoryAccountLockout = class {
|
|
|
1917
1919
|
this.config = { ...this.config, ...config };
|
|
1918
1920
|
}
|
|
1919
1921
|
};
|
|
1920
|
-
|
|
1921
|
-
// src/auth/config.ts
|
|
1922
1922
|
function getEnv(key, fallback = "") {
|
|
1923
1923
|
return process.env[key] || fallback;
|
|
1924
1924
|
}
|
|
@@ -1938,10 +1938,8 @@ function detectDatabaseType() {
|
|
|
1938
1938
|
return envDb;
|
|
1939
1939
|
}
|
|
1940
1940
|
try {
|
|
1941
|
-
const
|
|
1942
|
-
const
|
|
1943
|
-
const configPath = join(process.cwd(), "kyro.config.ts");
|
|
1944
|
-
const configContent = readFileSync(configPath, "utf8");
|
|
1941
|
+
const configPath = path.join(process.cwd(), "kyro.config.ts");
|
|
1942
|
+
const configContent = fs.readFileSync(configPath, "utf8");
|
|
1945
1943
|
if (configContent.includes("createLocalAdapter")) {
|
|
1946
1944
|
return "sqlite";
|
|
1947
1945
|
} else if (configContent.includes("createDrizzleAdapter")) {
|
|
@@ -1958,20 +1956,20 @@ function detectDatabaseType() {
|
|
|
1958
1956
|
}
|
|
1959
1957
|
async function createAuthAdapter(databaseType) {
|
|
1960
1958
|
const cwd = process.cwd();
|
|
1961
|
-
const rootDir = cwd.endsWith("admin") ?
|
|
1962
|
-
const defaultAuthDbPath =
|
|
1959
|
+
const rootDir = cwd.endsWith("admin") ? path.join(cwd, "..") : cwd;
|
|
1960
|
+
const defaultAuthDbPath = path.resolve(rootDir, "data", "auth.db");
|
|
1963
1961
|
switch (databaseType) {
|
|
1964
1962
|
case "sqlite":
|
|
1965
|
-
return new
|
|
1963
|
+
return new chunkXKVPPGLX_cjs.SQLiteAuthAdapter({
|
|
1966
1964
|
path: getEnv("KYRO_AUTH_DB_PATH", defaultAuthDbPath)
|
|
1967
1965
|
});
|
|
1968
1966
|
case "postgres": {
|
|
1969
|
-
return new
|
|
1967
|
+
return new chunkXKVPPGLX_cjs.SQLiteAuthAdapter({
|
|
1970
1968
|
path: getEnv("KYRO_AUTH_DB_PATH", defaultAuthDbPath)
|
|
1971
1969
|
});
|
|
1972
1970
|
}
|
|
1973
1971
|
case "mongodb":
|
|
1974
|
-
return new
|
|
1972
|
+
return new chunkXKVPPGLX_cjs.SQLiteAuthAdapter({
|
|
1975
1973
|
path: getEnv("KYRO_AUTH_DB_PATH", defaultAuthDbPath)
|
|
1976
1974
|
});
|
|
1977
1975
|
case "memory":
|
|
@@ -1996,8 +1994,8 @@ async function createAuthConfig(databaseType) {
|
|
|
1996
1994
|
await authAdapter.connect();
|
|
1997
1995
|
}
|
|
1998
1996
|
}
|
|
1999
|
-
const email =
|
|
2000
|
-
const passwordPolicy = new
|
|
1997
|
+
const email = chunkXKVPPGLX_cjs.EmailTransport.fromEnv() || void 0;
|
|
1998
|
+
const passwordPolicy = new chunkXKVPPGLX_cjs.PasswordPolicy({
|
|
2001
1999
|
minLength: getEnvNum("PASSWORD_MIN_LENGTH", 12),
|
|
2002
2000
|
requireUppercase: getEnvBool("PASSWORD_REQUIRE_UPPERCASE", true),
|
|
2003
2001
|
requireLowercase: getEnvBool("PASSWORD_REQUIRE_LOWERCASE", true),
|
|
@@ -2026,7 +2024,7 @@ async function createAuthConfig(databaseType) {
|
|
|
2026
2024
|
max: getEnvNum("RATE_LIMIT_MAX_REQUESTS", 100)
|
|
2027
2025
|
}
|
|
2028
2026
|
});
|
|
2029
|
-
auditLogger = new
|
|
2027
|
+
auditLogger = new chunkV3423DUL_cjs.AuditLogger(
|
|
2030
2028
|
redisClient,
|
|
2031
2029
|
getEnvNum("AUDIT_LOG_RETENTION_DAYS", 30)
|
|
2032
2030
|
);
|
|
@@ -2035,7 +2033,7 @@ async function createAuthConfig(databaseType) {
|
|
|
2035
2033
|
maxAttempts: getEnvNum("LOCKOUT_MAX_ATTEMPTS", 5),
|
|
2036
2034
|
lockDuration: getEnvNum("LOCKOUT_DURATION_MINUTES", 15) * 60 * 1e3
|
|
2037
2035
|
});
|
|
2038
|
-
rateLimiter = new
|
|
2036
|
+
rateLimiter = new chunkV3423DUL_cjs.InMemoryRateLimiter({
|
|
2039
2037
|
"auth:login": {
|
|
2040
2038
|
window: getEnvNum("RATE_LIMIT_AUTH_WINDOW_MS", 9e5),
|
|
2041
2039
|
max: getEnvNum("RATE_LIMIT_AUTH_MAX_REQUESTS", 10)
|
|
@@ -2045,9 +2043,9 @@ async function createAuthConfig(databaseType) {
|
|
|
2045
2043
|
max: getEnvNum("RATE_LIMIT_MAX_REQUESTS", 100)
|
|
2046
2044
|
}
|
|
2047
2045
|
});
|
|
2048
|
-
auditLogger = getEnvBool("AUDIT_LOG_ENABLED", true) ? new
|
|
2046
|
+
auditLogger = getEnvBool("AUDIT_LOG_ENABLED", true) ? new chunkV3423DUL_cjs.InMemoryAuditLogger(getEnvNum("AUDIT_LOG_RETENTION_DAYS", 30)) : void 0;
|
|
2049
2047
|
}
|
|
2050
|
-
const routes = new
|
|
2048
|
+
const routes = new chunkV3423DUL_cjs.AuthRoutes({
|
|
2051
2049
|
redis: authAdapter,
|
|
2052
2050
|
email,
|
|
2053
2051
|
jwtSecret: getEnv("JWT_SECRET", "change-me"),
|
|
@@ -2659,7 +2657,7 @@ async function createAuthStorage(config) {
|
|
|
2659
2657
|
}
|
|
2660
2658
|
|
|
2661
2659
|
// src/index.ts
|
|
2662
|
-
|
|
2660
|
+
chunkV3423DUL_cjs.init_secret();
|
|
2663
2661
|
|
|
2664
2662
|
Object.defineProperty(exports, "RedisAuthAdapter", {
|
|
2665
2663
|
enumerable: true,
|
|
@@ -2667,15 +2665,15 @@ Object.defineProperty(exports, "RedisAuthAdapter", {
|
|
|
2667
2665
|
});
|
|
2668
2666
|
Object.defineProperty(exports, "autoBootstrap", {
|
|
2669
2667
|
enumerable: true,
|
|
2670
|
-
get: function () { return
|
|
2668
|
+
get: function () { return chunkALAAPA3U_cjs.autoBootstrap; }
|
|
2671
2669
|
});
|
|
2672
2670
|
Object.defineProperty(exports, "bootstrapAdmin", {
|
|
2673
2671
|
enumerable: true,
|
|
2674
|
-
get: function () { return
|
|
2672
|
+
get: function () { return chunkALAAPA3U_cjs.bootstrapAdmin; }
|
|
2675
2673
|
});
|
|
2676
2674
|
Object.defineProperty(exports, "getBootstrapFromEnv", {
|
|
2677
2675
|
enumerable: true,
|
|
2678
|
-
get: function () { return
|
|
2676
|
+
get: function () { return chunkALAAPA3U_cjs.getBootstrapFromEnv; }
|
|
2679
2677
|
});
|
|
2680
2678
|
Object.defineProperty(exports, "allSettingsGlobals", {
|
|
2681
2679
|
enumerable: true,
|
|
@@ -2723,71 +2721,71 @@ Object.defineProperty(exports, "minimalCollections", {
|
|
|
2723
2721
|
});
|
|
2724
2722
|
Object.defineProperty(exports, "ConfigValidationError", {
|
|
2725
2723
|
enumerable: true,
|
|
2726
|
-
get: function () { return
|
|
2724
|
+
get: function () { return chunkFG4PAYML_cjs.ConfigValidationError; }
|
|
2727
2725
|
});
|
|
2728
2726
|
Object.defineProperty(exports, "Kyro", {
|
|
2729
2727
|
enumerable: true,
|
|
2730
|
-
get: function () { return
|
|
2728
|
+
get: function () { return chunkFG4PAYML_cjs.Kyro; }
|
|
2731
2729
|
});
|
|
2732
2730
|
Object.defineProperty(exports, "Registry", {
|
|
2733
2731
|
enumerable: true,
|
|
2734
|
-
get: function () { return
|
|
2732
|
+
get: function () { return chunkFG4PAYML_cjs.Registry; }
|
|
2735
2733
|
});
|
|
2736
2734
|
Object.defineProperty(exports, "collectionToCreateZod", {
|
|
2737
2735
|
enumerable: true,
|
|
2738
|
-
get: function () { return
|
|
2736
|
+
get: function () { return chunkFG4PAYML_cjs.collectionToCreateZod; }
|
|
2739
2737
|
});
|
|
2740
2738
|
Object.defineProperty(exports, "collectionToUpdateZod", {
|
|
2741
2739
|
enumerable: true,
|
|
2742
|
-
get: function () { return
|
|
2740
|
+
get: function () { return chunkFG4PAYML_cjs.collectionToUpdateZod; }
|
|
2743
2741
|
});
|
|
2744
2742
|
Object.defineProperty(exports, "collectionToWhereZod", {
|
|
2745
2743
|
enumerable: true,
|
|
2746
|
-
get: function () { return
|
|
2744
|
+
get: function () { return chunkFG4PAYML_cjs.collectionToWhereZod; }
|
|
2747
2745
|
});
|
|
2748
2746
|
Object.defineProperty(exports, "collectionToZod", {
|
|
2749
2747
|
enumerable: true,
|
|
2750
|
-
get: function () { return
|
|
2748
|
+
get: function () { return chunkFG4PAYML_cjs.collectionToZod; }
|
|
2751
2749
|
});
|
|
2752
2750
|
Object.defineProperty(exports, "createKyro", {
|
|
2753
2751
|
enumerable: true,
|
|
2754
|
-
get: function () { return
|
|
2752
|
+
get: function () { return chunkFG4PAYML_cjs.createKyro; }
|
|
2755
2753
|
});
|
|
2756
2754
|
Object.defineProperty(exports, "createRegistry", {
|
|
2757
2755
|
enumerable: true,
|
|
2758
|
-
get: function () { return
|
|
2756
|
+
get: function () { return chunkFG4PAYML_cjs.createRegistry; }
|
|
2759
2757
|
});
|
|
2760
2758
|
Object.defineProperty(exports, "fieldToZod", {
|
|
2761
2759
|
enumerable: true,
|
|
2762
|
-
get: function () { return
|
|
2760
|
+
get: function () { return chunkFG4PAYML_cjs.fieldToZod; }
|
|
2763
2761
|
});
|
|
2764
2762
|
Object.defineProperty(exports, "getRegistry", {
|
|
2765
2763
|
enumerable: true,
|
|
2766
|
-
get: function () { return
|
|
2764
|
+
get: function () { return chunkFG4PAYML_cjs.getRegistry; }
|
|
2767
2765
|
});
|
|
2768
2766
|
Object.defineProperty(exports, "globalToZod", {
|
|
2769
2767
|
enumerable: true,
|
|
2770
|
-
get: function () { return
|
|
2768
|
+
get: function () { return chunkFG4PAYML_cjs.globalToZod; }
|
|
2771
2769
|
});
|
|
2772
2770
|
Object.defineProperty(exports, "resetRegistry", {
|
|
2773
2771
|
enumerable: true,
|
|
2774
|
-
get: function () { return
|
|
2772
|
+
get: function () { return chunkFG4PAYML_cjs.resetRegistry; }
|
|
2775
2773
|
});
|
|
2776
2774
|
Object.defineProperty(exports, "validateCollection", {
|
|
2777
2775
|
enumerable: true,
|
|
2778
|
-
get: function () { return
|
|
2776
|
+
get: function () { return chunkFG4PAYML_cjs.validateCollection; }
|
|
2779
2777
|
});
|
|
2780
2778
|
Object.defineProperty(exports, "validateConfig", {
|
|
2781
2779
|
enumerable: true,
|
|
2782
|
-
get: function () { return
|
|
2780
|
+
get: function () { return chunkFG4PAYML_cjs.validateConfig; }
|
|
2783
2781
|
});
|
|
2784
2782
|
Object.defineProperty(exports, "validateFields", {
|
|
2785
2783
|
enumerable: true,
|
|
2786
|
-
get: function () { return
|
|
2784
|
+
get: function () { return chunkFG4PAYML_cjs.validateFields; }
|
|
2787
2785
|
});
|
|
2788
2786
|
Object.defineProperty(exports, "validateGlobal", {
|
|
2789
2787
|
enumerable: true,
|
|
2790
|
-
get: function () { return
|
|
2788
|
+
get: function () { return chunkFG4PAYML_cjs.validateGlobal; }
|
|
2791
2789
|
});
|
|
2792
2790
|
Object.defineProperty(exports, "CSSGenerator", {
|
|
2793
2791
|
enumerable: true,
|
|
@@ -2943,75 +2941,75 @@ Object.defineProperty(exports, "createUpdateProcedure", {
|
|
|
2943
2941
|
});
|
|
2944
2942
|
Object.defineProperty(exports, "AuditLogger", {
|
|
2945
2943
|
enumerable: true,
|
|
2946
|
-
get: function () { return
|
|
2944
|
+
get: function () { return chunkV3423DUL_cjs.AuditLogger; }
|
|
2947
2945
|
});
|
|
2948
2946
|
Object.defineProperty(exports, "InMemoryAuditLogger", {
|
|
2949
2947
|
enumerable: true,
|
|
2950
|
-
get: function () { return
|
|
2948
|
+
get: function () { return chunkV3423DUL_cjs.InMemoryAuditLogger; }
|
|
2951
2949
|
});
|
|
2952
2950
|
Object.defineProperty(exports, "InMemoryRateLimiter", {
|
|
2953
2951
|
enumerable: true,
|
|
2954
|
-
get: function () { return
|
|
2952
|
+
get: function () { return chunkV3423DUL_cjs.InMemoryRateLimiter; }
|
|
2955
2953
|
});
|
|
2956
2954
|
Object.defineProperty(exports, "MediaService", {
|
|
2957
2955
|
enumerable: true,
|
|
2958
|
-
get: function () { return
|
|
2956
|
+
get: function () { return chunkV3423DUL_cjs.MediaService; }
|
|
2959
2957
|
});
|
|
2960
2958
|
Object.defineProperty(exports, "createAuditContext", {
|
|
2961
2959
|
enumerable: true,
|
|
2962
|
-
get: function () { return
|
|
2960
|
+
get: function () { return chunkV3423DUL_cjs.createAuditContext; }
|
|
2963
2961
|
});
|
|
2964
2962
|
Object.defineProperty(exports, "createHonoApp", {
|
|
2965
2963
|
enumerable: true,
|
|
2966
|
-
get: function () { return
|
|
2964
|
+
get: function () { return chunkV3423DUL_cjs.createHonoApp; }
|
|
2967
2965
|
});
|
|
2968
2966
|
Object.defineProperty(exports, "createLocalStorage", {
|
|
2969
2967
|
enumerable: true,
|
|
2970
|
-
get: function () { return
|
|
2968
|
+
get: function () { return chunkV3423DUL_cjs.createLocalStorage; }
|
|
2971
2969
|
});
|
|
2972
2970
|
Object.defineProperty(exports, "createRESTAPI", {
|
|
2973
2971
|
enumerable: true,
|
|
2974
|
-
get: function () { return
|
|
2972
|
+
get: function () { return chunkV3423DUL_cjs.createRESTAPI; }
|
|
2975
2973
|
});
|
|
2976
2974
|
Object.defineProperty(exports, "getAppSecret", {
|
|
2977
2975
|
enumerable: true,
|
|
2978
|
-
get: function () { return
|
|
2976
|
+
get: function () { return chunkV3423DUL_cjs.getAppSecret; }
|
|
2979
2977
|
});
|
|
2980
2978
|
Object.defineProperty(exports, "getEncryptionKey", {
|
|
2981
2979
|
enumerable: true,
|
|
2982
|
-
get: function () { return
|
|
2980
|
+
get: function () { return chunkV3423DUL_cjs.getEncryptionKey; }
|
|
2983
2981
|
});
|
|
2984
2982
|
Object.defineProperty(exports, "getSessionConfig", {
|
|
2985
2983
|
enumerable: true,
|
|
2986
|
-
get: function () { return
|
|
2984
|
+
get: function () { return chunkV3423DUL_cjs.getSessionConfig; }
|
|
2987
2985
|
});
|
|
2988
2986
|
Object.defineProperty(exports, "loadSecrets", {
|
|
2989
2987
|
enumerable: true,
|
|
2990
|
-
get: function () { return
|
|
2988
|
+
get: function () { return chunkV3423DUL_cjs.loadSecrets; }
|
|
2991
2989
|
});
|
|
2992
2990
|
Object.defineProperty(exports, "resolveProvider", {
|
|
2993
2991
|
enumerable: true,
|
|
2994
|
-
get: function () { return
|
|
2992
|
+
get: function () { return chunkV3423DUL_cjs.resolveProvider; }
|
|
2995
2993
|
});
|
|
2996
2994
|
Object.defineProperty(exports, "setDbAdapter", {
|
|
2997
2995
|
enumerable: true,
|
|
2998
|
-
get: function () { return
|
|
2996
|
+
get: function () { return chunkV3423DUL_cjs.setDbAdapter; }
|
|
2999
2997
|
});
|
|
3000
2998
|
Object.defineProperty(exports, "ConfigService", {
|
|
3001
2999
|
enumerable: true,
|
|
3002
|
-
get: function () { return
|
|
3000
|
+
get: function () { return chunkXKVPPGLX_cjs.ConfigService; }
|
|
3003
3001
|
});
|
|
3004
3002
|
Object.defineProperty(exports, "EmailTransport", {
|
|
3005
3003
|
enumerable: true,
|
|
3006
|
-
get: function () { return
|
|
3004
|
+
get: function () { return chunkXKVPPGLX_cjs.EmailTransport; }
|
|
3007
3005
|
});
|
|
3008
3006
|
Object.defineProperty(exports, "PasswordPolicy", {
|
|
3009
3007
|
enumerable: true,
|
|
3010
|
-
get: function () { return
|
|
3008
|
+
get: function () { return chunkXKVPPGLX_cjs.PasswordPolicy; }
|
|
3011
3009
|
});
|
|
3012
3010
|
Object.defineProperty(exports, "SQLiteAuthAdapter", {
|
|
3013
3011
|
enumerable: true,
|
|
3014
|
-
get: function () { return
|
|
3012
|
+
get: function () { return chunkXKVPPGLX_cjs.SQLiteAuthAdapter; }
|
|
3015
3013
|
});
|
|
3016
3014
|
Object.defineProperty(exports, "ALL_WEBHOOK_EVENTS", {
|
|
3017
3015
|
enumerable: true,
|
|
@@ -3119,15 +3117,15 @@ Object.defineProperty(exports, "PostgresAuthAdapter", {
|
|
|
3119
3117
|
});
|
|
3120
3118
|
Object.defineProperty(exports, "createDatabase", {
|
|
3121
3119
|
enumerable: true,
|
|
3122
|
-
get: function () { return
|
|
3120
|
+
get: function () { return chunkJINGZG7I_cjs.createDatabase; }
|
|
3123
3121
|
});
|
|
3124
3122
|
Object.defineProperty(exports, "runMigrations", {
|
|
3125
3123
|
enumerable: true,
|
|
3126
|
-
get: function () { return
|
|
3124
|
+
get: function () { return chunkJINGZG7I_cjs.runMigrations; }
|
|
3127
3125
|
});
|
|
3128
3126
|
Object.defineProperty(exports, "seedDefaultRoles", {
|
|
3129
3127
|
enumerable: true,
|
|
3130
|
-
get: function () { return
|
|
3128
|
+
get: function () { return chunkJINGZG7I_cjs.seedDefaultRoles; }
|
|
3131
3129
|
});
|
|
3132
3130
|
Object.defineProperty(exports, "MongoDBAdapter", {
|
|
3133
3131
|
enumerable: true,
|