@kyro-cms/core 0.9.6 → 0.9.8
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/{WebhookService-BKszZlG0.d.cts → WebhookService-Dj8pJ3sp.d.cts} +1 -1
- package/dist/{WebhookService-Ccf1j-IN.d.ts → WebhookService-DpRB940h.d.ts} +1 -1
- package/dist/api-handler-graphql.cjs +11 -11
- package/dist/api-handler-graphql.js +7 -7
- package/dist/api-handler-trpc.cjs +9 -9
- package/dist/api-handler-trpc.js +7 -7
- package/dist/api-handler.cjs +10 -10
- package/dist/api-handler.js +7 -7
- package/dist/{base-CIuXkrH4.d.cts → base-BjyoF6da.d.cts} +2 -2
- package/dist/{base-fFo4lqER.d.ts → base-C2YR8lWt.d.ts} +2 -2
- package/dist/{chunk-QVJNSAQL.cjs → chunk-2CBCU5ML.cjs} +47 -41
- package/dist/chunk-2CBCU5ML.cjs.map +1 -0
- package/dist/{chunk-NZEUU7QB.js → chunk-2GXALYKV.js} +2 -2
- package/dist/chunk-2GXALYKV.js.map +1 -0
- package/dist/{chunk-3UK5XBVJ.js → chunk-2Z7YAJBS.js} +10 -9
- package/dist/chunk-2Z7YAJBS.js.map +1 -0
- package/dist/{chunk-QX3WNQ7V.js → chunk-65DSXNQL.js} +4 -4
- package/dist/{chunk-QX3WNQ7V.js.map → chunk-65DSXNQL.js.map} +1 -1
- package/dist/{chunk-PONTBXR5.js → chunk-6DURKQ6W.js} +370 -140
- package/dist/chunk-6DURKQ6W.js.map +1 -0
- package/dist/{chunk-AX2TZRQJ.js → chunk-EQTMBMDR.js} +3 -3
- package/dist/{chunk-AX2TZRQJ.js.map → chunk-EQTMBMDR.js.map} +1 -1
- package/dist/{chunk-E5UJBLQ7.js → chunk-FIAMXNTH.js} +2 -2
- package/dist/chunk-FIAMXNTH.js.map +1 -0
- package/dist/{chunk-VLK5SJRI.js → chunk-HA4MGAZJ.js} +28 -22
- package/dist/chunk-HA4MGAZJ.js.map +1 -0
- package/dist/{chunk-FKKQUMXR.cjs → chunk-KGJRJ7CU.cjs} +2 -2
- package/dist/chunk-KGJRJ7CU.cjs.map +1 -0
- package/dist/{chunk-FSKONGCX.cjs → chunk-OJ2AM75W.cjs} +2 -2
- package/dist/chunk-OJ2AM75W.cjs.map +1 -0
- package/dist/{chunk-DRVOUQMT.cjs → chunk-OVZO4KB6.cjs} +45 -79
- package/dist/chunk-OVZO4KB6.cjs.map +1 -0
- package/dist/{chunk-RRKCIAPU.cjs → chunk-PF642V5O.cjs} +372 -140
- package/dist/chunk-PF642V5O.cjs.map +1 -0
- package/dist/{chunk-OZ3CCTTA.cjs → chunk-PJ7F4TCC.cjs} +5 -5
- package/dist/{chunk-OZ3CCTTA.cjs.map → chunk-PJ7F4TCC.cjs.map} +1 -1
- package/dist/{chunk-HVCUIII2.cjs → chunk-W3GT55TY.cjs} +13 -13
- package/dist/{chunk-HVCUIII2.cjs.map → chunk-W3GT55TY.cjs.map} +1 -1
- package/dist/{chunk-QFLB4EIJ.cjs → chunk-Z7OH3MWT.cjs} +10 -9
- package/dist/chunk-Z7OH3MWT.cjs.map +1 -0
- package/dist/{chunk-CMXVTUYV.js → chunk-ZFHTJ2YX.js} +29 -63
- package/dist/chunk-ZFHTJ2YX.js.map +1 -0
- package/dist/client.cjs +3 -3
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/drizzle/index.d.cts +3 -3
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/fields/index.cjs +21 -21
- package/dist/fields/index.d.cts +1 -1
- package/dist/fields/index.d.ts +1 -1
- package/dist/fields/index.js +1 -1
- package/dist/graphql/index.cjs +13 -5
- package/dist/graphql/index.d.cts +34 -12
- package/dist/graphql/index.d.ts +34 -12
- package/dist/graphql/index.js +2 -2
- package/dist/{index-BKta3cBH.d.cts → index-DHbywDs-.d.cts} +2 -2
- package/dist/{index-ClOqnkTO.d.ts → index-jLs0zlft.d.ts} +2 -2
- package/dist/index.cjs +90 -90
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -8
- package/dist/mongodb/index.d.cts +3 -3
- package/dist/mongodb/index.d.ts +3 -3
- package/dist/rest/index.cjs +5 -5
- package/dist/rest/index.d.cts +4 -4
- package/dist/rest/index.d.ts +4 -4
- package/dist/rest/index.js +3 -3
- package/dist/templates/index.d.cts +2 -2
- package/dist/templates/index.d.ts +2 -2
- package/dist/trpc/index.cjs +12 -12
- package/dist/trpc/index.d.cts +3 -3
- package/dist/trpc/index.d.ts +3 -3
- package/dist/trpc/index.js +3 -3
- package/dist/{types-Dgzlftb7.d.ts → types-BzH3_rtP.d.ts} +7 -7
- package/dist/{types-Ds0tCA3L.d.cts → types-CY_iNunL.d.cts} +7 -7
- package/dist/{types-DeSApf9T.d.ts → types-C_rVxU2T.d.cts} +4 -4
- package/dist/{types-DeSApf9T.d.cts → types-C_rVxU2T.d.ts} +4 -4
- package/package.json +2 -1
- package/dist/chunk-3UK5XBVJ.js.map +0 -1
- package/dist/chunk-CMXVTUYV.js.map +0 -1
- package/dist/chunk-DRVOUQMT.cjs.map +0 -1
- package/dist/chunk-E5UJBLQ7.js.map +0 -1
- package/dist/chunk-FKKQUMXR.cjs.map +0 -1
- package/dist/chunk-FSKONGCX.cjs.map +0 -1
- package/dist/chunk-NZEUU7QB.js.map +0 -1
- package/dist/chunk-PONTBXR5.js.map +0 -1
- package/dist/chunk-QFLB4EIJ.cjs.map +0 -1
- package/dist/chunk-QVJNSAQL.cjs.map +0 -1
- package/dist/chunk-RRKCIAPU.cjs.map +0 -1
- package/dist/chunk-VLK5SJRI.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
var chunkSHTTJMLT_cjs = require('./chunk-SHTTJMLT.cjs');
|
|
4
4
|
var chunkPHJRNPHY_cjs = require('./chunk-PHJRNPHY.cjs');
|
|
5
5
|
var chunkU3VVLYXG_cjs = require('./chunk-U3VVLYXG.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkOVZO4KB6_cjs = require('./chunk-OVZO4KB6.cjs');
|
|
7
7
|
var chunk5PMQQFRE_cjs = require('./chunk-5PMQQFRE.cjs');
|
|
8
8
|
require('./chunk-3KTWGODI.cjs');
|
|
9
9
|
var chunkN4H37VN4_cjs = require('./chunk-N4H37VN4.cjs');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
10
|
+
var chunkOJ2AM75W_cjs = require('./chunk-OJ2AM75W.cjs');
|
|
11
|
+
var chunkW3GT55TY_cjs = require('./chunk-W3GT55TY.cjs');
|
|
12
|
+
var chunkPF642V5O_cjs = require('./chunk-PF642V5O.cjs');
|
|
13
|
+
var chunk2CBCU5ML_cjs = require('./chunk-2CBCU5ML.cjs');
|
|
14
14
|
var chunkY7AQK4R4_cjs = require('./chunk-Y7AQK4R4.cjs');
|
|
15
15
|
require('./chunk-4PWRCMTQ.cjs');
|
|
16
16
|
require('./chunk-KC2GDBLS.cjs');
|
|
17
17
|
var chunkIDVRRRAK_cjs = require('./chunk-IDVRRRAK.cjs');
|
|
18
18
|
require('./chunk-ADLJSJSN.cjs');
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var chunkZ7OH3MWT_cjs = require('./chunk-Z7OH3MWT.cjs');
|
|
20
|
+
var chunkKGJRJ7CU_cjs = require('./chunk-KGJRJ7CU.cjs');
|
|
21
21
|
var chunkEEJUFDMF_cjs = require('./chunk-EEJUFDMF.cjs');
|
|
22
22
|
require('./chunk-3YELQL7Z.cjs');
|
|
23
23
|
var chunkRFFSZSCL_cjs = require('./chunk-RFFSZSCL.cjs');
|
|
@@ -1137,7 +1137,7 @@ async function createAuthConfig(databaseType, db) {
|
|
|
1137
1137
|
max: getEnvNum("RATE_LIMIT_MAX_REQUESTS", 100)
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
1140
|
-
auditLogger = new
|
|
1140
|
+
auditLogger = new chunk2CBCU5ML_cjs.AuditLogger(
|
|
1141
1141
|
redisClient,
|
|
1142
1142
|
getEnvNum("AUDIT_LOG_RETENTION_DAYS", 30)
|
|
1143
1143
|
);
|
|
@@ -1146,7 +1146,7 @@ async function createAuthConfig(databaseType, db) {
|
|
|
1146
1146
|
maxAttempts: getEnvNum("LOCKOUT_MAX_ATTEMPTS", 5),
|
|
1147
1147
|
lockDuration: getEnvNum("LOCKOUT_DURATION_MINUTES", 15) * 60 * 1e3
|
|
1148
1148
|
});
|
|
1149
|
-
rateLimiter = new
|
|
1149
|
+
rateLimiter = new chunk2CBCU5ML_cjs.InMemoryRateLimiter({
|
|
1150
1150
|
"auth:login": {
|
|
1151
1151
|
window: getEnvNum("RATE_LIMIT_AUTH_WINDOW_MS", 9e5),
|
|
1152
1152
|
max: getEnvNum("RATE_LIMIT_AUTH_MAX_REQUESTS", 10)
|
|
@@ -1156,9 +1156,9 @@ async function createAuthConfig(databaseType, db) {
|
|
|
1156
1156
|
max: getEnvNum("RATE_LIMIT_MAX_REQUESTS", 100)
|
|
1157
1157
|
}
|
|
1158
1158
|
});
|
|
1159
|
-
auditLogger = getEnvBool("AUDIT_LOG_ENABLED", true) ? new
|
|
1159
|
+
auditLogger = getEnvBool("AUDIT_LOG_ENABLED", true) ? new chunk2CBCU5ML_cjs.InMemoryAuditLogger(getEnvNum("AUDIT_LOG_RETENTION_DAYS", 30)) : void 0;
|
|
1160
1160
|
}
|
|
1161
|
-
const routes = new
|
|
1161
|
+
const routes = new chunk2CBCU5ML_cjs.AuthRoutes({
|
|
1162
1162
|
redis: authAdapter,
|
|
1163
1163
|
email,
|
|
1164
1164
|
jwtSecret: getEnv("APP_SECRET", "change-me"),
|
|
@@ -1942,7 +1942,7 @@ async function createAuthStorage(config) {
|
|
|
1942
1942
|
}
|
|
1943
1943
|
|
|
1944
1944
|
// src/index.ts
|
|
1945
|
-
|
|
1945
|
+
chunk2CBCU5ML_cjs.init_secret();
|
|
1946
1946
|
|
|
1947
1947
|
Object.defineProperty(exports, "RedisAuthAdapter", {
|
|
1948
1948
|
enumerable: true,
|
|
@@ -1998,79 +1998,79 @@ Object.defineProperty(exports, "kyro", {
|
|
|
1998
1998
|
});
|
|
1999
1999
|
Object.defineProperty(exports, "ConfigValidationError", {
|
|
2000
2000
|
enumerable: true,
|
|
2001
|
-
get: function () { return
|
|
2001
|
+
get: function () { return chunkOVZO4KB6_cjs.ConfigValidationError; }
|
|
2002
2002
|
});
|
|
2003
2003
|
Object.defineProperty(exports, "Kyro", {
|
|
2004
2004
|
enumerable: true,
|
|
2005
|
-
get: function () { return
|
|
2005
|
+
get: function () { return chunkOVZO4KB6_cjs.Kyro; }
|
|
2006
2006
|
});
|
|
2007
2007
|
Object.defineProperty(exports, "LocalAdapter", {
|
|
2008
2008
|
enumerable: true,
|
|
2009
|
-
get: function () { return
|
|
2009
|
+
get: function () { return chunkOVZO4KB6_cjs.LocalAdapter; }
|
|
2010
2010
|
});
|
|
2011
2011
|
Object.defineProperty(exports, "Registry", {
|
|
2012
2012
|
enumerable: true,
|
|
2013
|
-
get: function () { return
|
|
2013
|
+
get: function () { return chunkOVZO4KB6_cjs.Registry; }
|
|
2014
2014
|
});
|
|
2015
2015
|
Object.defineProperty(exports, "collectionToCreateZod", {
|
|
2016
2016
|
enumerable: true,
|
|
2017
|
-
get: function () { return
|
|
2017
|
+
get: function () { return chunkOVZO4KB6_cjs.collectionToCreateZod; }
|
|
2018
2018
|
});
|
|
2019
2019
|
Object.defineProperty(exports, "collectionToUpdateZod", {
|
|
2020
2020
|
enumerable: true,
|
|
2021
|
-
get: function () { return
|
|
2021
|
+
get: function () { return chunkOVZO4KB6_cjs.collectionToUpdateZod; }
|
|
2022
2022
|
});
|
|
2023
2023
|
Object.defineProperty(exports, "collectionToWhereZod", {
|
|
2024
2024
|
enumerable: true,
|
|
2025
|
-
get: function () { return
|
|
2025
|
+
get: function () { return chunkOVZO4KB6_cjs.collectionToWhereZod; }
|
|
2026
2026
|
});
|
|
2027
2027
|
Object.defineProperty(exports, "collectionToZod", {
|
|
2028
2028
|
enumerable: true,
|
|
2029
|
-
get: function () { return
|
|
2029
|
+
get: function () { return chunkOVZO4KB6_cjs.collectionToZod; }
|
|
2030
2030
|
});
|
|
2031
2031
|
Object.defineProperty(exports, "createKyro", {
|
|
2032
2032
|
enumerable: true,
|
|
2033
|
-
get: function () { return
|
|
2033
|
+
get: function () { return chunkOVZO4KB6_cjs.createKyro; }
|
|
2034
2034
|
});
|
|
2035
2035
|
Object.defineProperty(exports, "createLocalAdapter", {
|
|
2036
2036
|
enumerable: true,
|
|
2037
|
-
get: function () { return
|
|
2037
|
+
get: function () { return chunkOVZO4KB6_cjs.createLocalAdapter; }
|
|
2038
2038
|
});
|
|
2039
2039
|
Object.defineProperty(exports, "createRegistry", {
|
|
2040
2040
|
enumerable: true,
|
|
2041
|
-
get: function () { return
|
|
2041
|
+
get: function () { return chunkOVZO4KB6_cjs.createRegistry; }
|
|
2042
2042
|
});
|
|
2043
2043
|
Object.defineProperty(exports, "fieldToZod", {
|
|
2044
2044
|
enumerable: true,
|
|
2045
|
-
get: function () { return
|
|
2045
|
+
get: function () { return chunkOVZO4KB6_cjs.fieldToZod; }
|
|
2046
2046
|
});
|
|
2047
2047
|
Object.defineProperty(exports, "getRegistry", {
|
|
2048
2048
|
enumerable: true,
|
|
2049
|
-
get: function () { return
|
|
2049
|
+
get: function () { return chunkOVZO4KB6_cjs.getRegistry; }
|
|
2050
2050
|
});
|
|
2051
2051
|
Object.defineProperty(exports, "globalToZod", {
|
|
2052
2052
|
enumerable: true,
|
|
2053
|
-
get: function () { return
|
|
2053
|
+
get: function () { return chunkOVZO4KB6_cjs.globalToZod; }
|
|
2054
2054
|
});
|
|
2055
2055
|
Object.defineProperty(exports, "resetRegistry", {
|
|
2056
2056
|
enumerable: true,
|
|
2057
|
-
get: function () { return
|
|
2057
|
+
get: function () { return chunkOVZO4KB6_cjs.resetRegistry; }
|
|
2058
2058
|
});
|
|
2059
2059
|
Object.defineProperty(exports, "validateCollection", {
|
|
2060
2060
|
enumerable: true,
|
|
2061
|
-
get: function () { return
|
|
2061
|
+
get: function () { return chunkOVZO4KB6_cjs.validateCollection; }
|
|
2062
2062
|
});
|
|
2063
2063
|
Object.defineProperty(exports, "validateConfig", {
|
|
2064
2064
|
enumerable: true,
|
|
2065
|
-
get: function () { return
|
|
2065
|
+
get: function () { return chunkOVZO4KB6_cjs.validateConfig; }
|
|
2066
2066
|
});
|
|
2067
2067
|
Object.defineProperty(exports, "validateFields", {
|
|
2068
2068
|
enumerable: true,
|
|
2069
|
-
get: function () { return
|
|
2069
|
+
get: function () { return chunkOVZO4KB6_cjs.validateFields; }
|
|
2070
2070
|
});
|
|
2071
2071
|
Object.defineProperty(exports, "validateGlobal", {
|
|
2072
2072
|
enumerable: true,
|
|
2073
|
-
get: function () { return
|
|
2073
|
+
get: function () { return chunkOVZO4KB6_cjs.validateGlobal; }
|
|
2074
2074
|
});
|
|
2075
2075
|
Object.defineProperty(exports, "autoBootstrap", {
|
|
2076
2076
|
enumerable: true,
|
|
@@ -2122,179 +2122,179 @@ Object.defineProperty(exports, "generateTailwindConfig", {
|
|
|
2122
2122
|
});
|
|
2123
2123
|
Object.defineProperty(exports, "ALL_FIELD_TYPES", {
|
|
2124
2124
|
enumerable: true,
|
|
2125
|
-
get: function () { return
|
|
2125
|
+
get: function () { return chunkOJ2AM75W_cjs.ALL_FIELD_TYPES; }
|
|
2126
2126
|
});
|
|
2127
2127
|
Object.defineProperty(exports, "COMPLEX_FIELD_TYPES", {
|
|
2128
2128
|
enumerable: true,
|
|
2129
|
-
get: function () { return
|
|
2129
|
+
get: function () { return chunkOJ2AM75W_cjs.COMPLEX_FIELD_TYPES; }
|
|
2130
2130
|
});
|
|
2131
2131
|
Object.defineProperty(exports, "LAYOUT_FIELD_TYPES", {
|
|
2132
2132
|
enumerable: true,
|
|
2133
|
-
get: function () { return
|
|
2133
|
+
get: function () { return chunkOJ2AM75W_cjs.LAYOUT_FIELD_TYPES; }
|
|
2134
2134
|
});
|
|
2135
2135
|
Object.defineProperty(exports, "PRIMITIVE_FIELD_TYPES", {
|
|
2136
2136
|
enumerable: true,
|
|
2137
|
-
get: function () { return
|
|
2137
|
+
get: function () { return chunkOJ2AM75W_cjs.PRIMITIVE_FIELD_TYPES; }
|
|
2138
2138
|
});
|
|
2139
2139
|
Object.defineProperty(exports, "RELATIONAL_FIELD_TYPES", {
|
|
2140
2140
|
enumerable: true,
|
|
2141
|
-
get: function () { return
|
|
2141
|
+
get: function () { return chunkOJ2AM75W_cjs.RELATIONAL_FIELD_TYPES; }
|
|
2142
2142
|
});
|
|
2143
2143
|
Object.defineProperty(exports, "isArrayField", {
|
|
2144
2144
|
enumerable: true,
|
|
2145
|
-
get: function () { return
|
|
2145
|
+
get: function () { return chunkOJ2AM75W_cjs.isArrayField; }
|
|
2146
2146
|
});
|
|
2147
2147
|
Object.defineProperty(exports, "isBlocksField", {
|
|
2148
2148
|
enumerable: true,
|
|
2149
|
-
get: function () { return
|
|
2149
|
+
get: function () { return chunkOJ2AM75W_cjs.isBlocksField; }
|
|
2150
2150
|
});
|
|
2151
2151
|
Object.defineProperty(exports, "isGroupField", {
|
|
2152
2152
|
enumerable: true,
|
|
2153
|
-
get: function () { return
|
|
2153
|
+
get: function () { return chunkOJ2AM75W_cjs.isGroupField; }
|
|
2154
2154
|
});
|
|
2155
2155
|
Object.defineProperty(exports, "isImageField", {
|
|
2156
2156
|
enumerable: true,
|
|
2157
|
-
get: function () { return
|
|
2157
|
+
get: function () { return chunkOJ2AM75W_cjs.isImageField; }
|
|
2158
2158
|
});
|
|
2159
2159
|
Object.defineProperty(exports, "isLayoutField", {
|
|
2160
2160
|
enumerable: true,
|
|
2161
|
-
get: function () { return
|
|
2161
|
+
get: function () { return chunkOJ2AM75W_cjs.isLayoutField; }
|
|
2162
2162
|
});
|
|
2163
2163
|
Object.defineProperty(exports, "isNumberField", {
|
|
2164
2164
|
enumerable: true,
|
|
2165
|
-
get: function () { return
|
|
2165
|
+
get: function () { return chunkOJ2AM75W_cjs.isNumberField; }
|
|
2166
2166
|
});
|
|
2167
2167
|
Object.defineProperty(exports, "isRelationshipField", {
|
|
2168
2168
|
enumerable: true,
|
|
2169
|
-
get: function () { return
|
|
2169
|
+
get: function () { return chunkOJ2AM75W_cjs.isRelationshipField; }
|
|
2170
2170
|
});
|
|
2171
2171
|
Object.defineProperty(exports, "isRichTextField", {
|
|
2172
2172
|
enumerable: true,
|
|
2173
|
-
get: function () { return
|
|
2173
|
+
get: function () { return chunkOJ2AM75W_cjs.isRichTextField; }
|
|
2174
2174
|
});
|
|
2175
2175
|
Object.defineProperty(exports, "isSelectField", {
|
|
2176
2176
|
enumerable: true,
|
|
2177
|
-
get: function () { return
|
|
2177
|
+
get: function () { return chunkOJ2AM75W_cjs.isSelectField; }
|
|
2178
2178
|
});
|
|
2179
2179
|
Object.defineProperty(exports, "isTextField", {
|
|
2180
2180
|
enumerable: true,
|
|
2181
|
-
get: function () { return
|
|
2181
|
+
get: function () { return chunkOJ2AM75W_cjs.isTextField; }
|
|
2182
2182
|
});
|
|
2183
2183
|
Object.defineProperty(exports, "isUploadField", {
|
|
2184
2184
|
enumerable: true,
|
|
2185
|
-
get: function () { return
|
|
2185
|
+
get: function () { return chunkOJ2AM75W_cjs.isUploadField; }
|
|
2186
2186
|
});
|
|
2187
2187
|
Object.defineProperty(exports, "normalizeRichTextValue", {
|
|
2188
2188
|
enumerable: true,
|
|
2189
|
-
get: function () { return
|
|
2189
|
+
get: function () { return chunkOJ2AM75W_cjs.normalizeRichTextValue; }
|
|
2190
2190
|
});
|
|
2191
2191
|
Object.defineProperty(exports, "renderRichText", {
|
|
2192
2192
|
enumerable: true,
|
|
2193
|
-
get: function () { return
|
|
2193
|
+
get: function () { return chunkOJ2AM75W_cjs.renderRichText; }
|
|
2194
2194
|
});
|
|
2195
2195
|
Object.defineProperty(exports, "richTextStyles", {
|
|
2196
2196
|
enumerable: true,
|
|
2197
|
-
get: function () { return
|
|
2197
|
+
get: function () { return chunkOJ2AM75W_cjs.richTextStyles; }
|
|
2198
2198
|
});
|
|
2199
2199
|
Object.defineProperty(exports, "createContext", {
|
|
2200
2200
|
enumerable: true,
|
|
2201
|
-
get: function () { return
|
|
2201
|
+
get: function () { return chunkW3GT55TY_cjs.createContext; }
|
|
2202
2202
|
});
|
|
2203
2203
|
Object.defineProperty(exports, "createCountProcedure", {
|
|
2204
2204
|
enumerable: true,
|
|
2205
|
-
get: function () { return
|
|
2205
|
+
get: function () { return chunkW3GT55TY_cjs.createCountProcedure; }
|
|
2206
2206
|
});
|
|
2207
2207
|
Object.defineProperty(exports, "createCreateProcedure", {
|
|
2208
2208
|
enumerable: true,
|
|
2209
|
-
get: function () { return
|
|
2209
|
+
get: function () { return chunkW3GT55TY_cjs.createCreateProcedure; }
|
|
2210
2210
|
});
|
|
2211
2211
|
Object.defineProperty(exports, "createDeleteProcedure", {
|
|
2212
2212
|
enumerable: true,
|
|
2213
|
-
get: function () { return
|
|
2213
|
+
get: function () { return chunkW3GT55TY_cjs.createDeleteProcedure; }
|
|
2214
2214
|
});
|
|
2215
2215
|
Object.defineProperty(exports, "createDynamicRouter", {
|
|
2216
2216
|
enumerable: true,
|
|
2217
|
-
get: function () { return
|
|
2217
|
+
get: function () { return chunkW3GT55TY_cjs.createDynamicRouter; }
|
|
2218
2218
|
});
|
|
2219
2219
|
Object.defineProperty(exports, "createFindByIDProcedure", {
|
|
2220
2220
|
enumerable: true,
|
|
2221
|
-
get: function () { return
|
|
2221
|
+
get: function () { return chunkW3GT55TY_cjs.createFindByIDProcedure; }
|
|
2222
2222
|
});
|
|
2223
2223
|
Object.defineProperty(exports, "createFindProcedure", {
|
|
2224
2224
|
enumerable: true,
|
|
2225
|
-
get: function () { return
|
|
2225
|
+
get: function () { return chunkW3GT55TY_cjs.createFindProcedure; }
|
|
2226
2226
|
});
|
|
2227
2227
|
Object.defineProperty(exports, "createKyroServer", {
|
|
2228
2228
|
enumerable: true,
|
|
2229
|
-
get: function () { return
|
|
2229
|
+
get: function () { return chunkW3GT55TY_cjs.createKyroServer; }
|
|
2230
2230
|
});
|
|
2231
2231
|
Object.defineProperty(exports, "createUpdateProcedure", {
|
|
2232
2232
|
enumerable: true,
|
|
2233
|
-
get: function () { return
|
|
2233
|
+
get: function () { return chunkW3GT55TY_cjs.createUpdateProcedure; }
|
|
2234
2234
|
});
|
|
2235
2235
|
Object.defineProperty(exports, "buildGraphQLSchema", {
|
|
2236
2236
|
enumerable: true,
|
|
2237
|
-
get: function () { return
|
|
2237
|
+
get: function () { return chunkPF642V5O_cjs.buildGraphQLSchema; }
|
|
2238
2238
|
});
|
|
2239
2239
|
Object.defineProperty(exports, "createGraphQLSchema", {
|
|
2240
2240
|
enumerable: true,
|
|
2241
|
-
get: function () { return
|
|
2241
|
+
get: function () { return chunkPF642V5O_cjs.createGraphQLSchema; }
|
|
2242
2242
|
});
|
|
2243
2243
|
Object.defineProperty(exports, "AuditLogger", {
|
|
2244
2244
|
enumerable: true,
|
|
2245
|
-
get: function () { return
|
|
2245
|
+
get: function () { return chunk2CBCU5ML_cjs.AuditLogger; }
|
|
2246
2246
|
});
|
|
2247
2247
|
Object.defineProperty(exports, "InMemoryAuditLogger", {
|
|
2248
2248
|
enumerable: true,
|
|
2249
|
-
get: function () { return
|
|
2249
|
+
get: function () { return chunk2CBCU5ML_cjs.InMemoryAuditLogger; }
|
|
2250
2250
|
});
|
|
2251
2251
|
Object.defineProperty(exports, "InMemoryRateLimiter", {
|
|
2252
2252
|
enumerable: true,
|
|
2253
|
-
get: function () { return
|
|
2253
|
+
get: function () { return chunk2CBCU5ML_cjs.InMemoryRateLimiter; }
|
|
2254
2254
|
});
|
|
2255
2255
|
Object.defineProperty(exports, "MediaService", {
|
|
2256
2256
|
enumerable: true,
|
|
2257
|
-
get: function () { return
|
|
2257
|
+
get: function () { return chunk2CBCU5ML_cjs.MediaService; }
|
|
2258
2258
|
});
|
|
2259
2259
|
Object.defineProperty(exports, "createAuditContext", {
|
|
2260
2260
|
enumerable: true,
|
|
2261
|
-
get: function () { return
|
|
2261
|
+
get: function () { return chunk2CBCU5ML_cjs.createAuditContext; }
|
|
2262
2262
|
});
|
|
2263
2263
|
Object.defineProperty(exports, "createHonoApp", {
|
|
2264
2264
|
enumerable: true,
|
|
2265
|
-
get: function () { return
|
|
2265
|
+
get: function () { return chunk2CBCU5ML_cjs.createHonoApp; }
|
|
2266
2266
|
});
|
|
2267
2267
|
Object.defineProperty(exports, "createLocalStorage", {
|
|
2268
2268
|
enumerable: true,
|
|
2269
|
-
get: function () { return
|
|
2269
|
+
get: function () { return chunk2CBCU5ML_cjs.createLocalStorage; }
|
|
2270
2270
|
});
|
|
2271
2271
|
Object.defineProperty(exports, "createRESTAPI", {
|
|
2272
2272
|
enumerable: true,
|
|
2273
|
-
get: function () { return
|
|
2273
|
+
get: function () { return chunk2CBCU5ML_cjs.createRESTAPI; }
|
|
2274
2274
|
});
|
|
2275
2275
|
Object.defineProperty(exports, "getAppSecret", {
|
|
2276
2276
|
enumerable: true,
|
|
2277
|
-
get: function () { return
|
|
2277
|
+
get: function () { return chunk2CBCU5ML_cjs.getAppSecret; }
|
|
2278
2278
|
});
|
|
2279
2279
|
Object.defineProperty(exports, "getEncryptionKey", {
|
|
2280
2280
|
enumerable: true,
|
|
2281
|
-
get: function () { return
|
|
2281
|
+
get: function () { return chunk2CBCU5ML_cjs.getEncryptionKey; }
|
|
2282
2282
|
});
|
|
2283
2283
|
Object.defineProperty(exports, "getSessionConfig", {
|
|
2284
2284
|
enumerable: true,
|
|
2285
|
-
get: function () { return
|
|
2285
|
+
get: function () { return chunk2CBCU5ML_cjs.getSessionConfig; }
|
|
2286
2286
|
});
|
|
2287
2287
|
Object.defineProperty(exports, "loadSecrets", {
|
|
2288
2288
|
enumerable: true,
|
|
2289
|
-
get: function () { return
|
|
2289
|
+
get: function () { return chunk2CBCU5ML_cjs.loadSecrets; }
|
|
2290
2290
|
});
|
|
2291
2291
|
Object.defineProperty(exports, "resolveProvider", {
|
|
2292
2292
|
enumerable: true,
|
|
2293
|
-
get: function () { return
|
|
2293
|
+
get: function () { return chunk2CBCU5ML_cjs.resolveProvider; }
|
|
2294
2294
|
});
|
|
2295
2295
|
Object.defineProperty(exports, "setDbAdapter", {
|
|
2296
2296
|
enumerable: true,
|
|
2297
|
-
get: function () { return
|
|
2297
|
+
get: function () { return chunk2CBCU5ML_cjs.setDbAdapter; }
|
|
2298
2298
|
});
|
|
2299
2299
|
Object.defineProperty(exports, "ConfigService", {
|
|
2300
2300
|
enumerable: true,
|
|
@@ -2314,63 +2314,63 @@ Object.defineProperty(exports, "SQLiteAuthAdapter", {
|
|
|
2314
2314
|
});
|
|
2315
2315
|
Object.defineProperty(exports, "ALL_WEBHOOK_EVENTS", {
|
|
2316
2316
|
enumerable: true,
|
|
2317
|
-
get: function () { return
|
|
2317
|
+
get: function () { return chunkZ7OH3MWT_cjs.ALL_WEBHOOK_EVENTS; }
|
|
2318
2318
|
});
|
|
2319
2319
|
Object.defineProperty(exports, "WEBHOOK_COLLECTION", {
|
|
2320
2320
|
enumerable: true,
|
|
2321
|
-
get: function () { return
|
|
2321
|
+
get: function () { return chunkZ7OH3MWT_cjs.WEBHOOK_COLLECTION; }
|
|
2322
2322
|
});
|
|
2323
2323
|
Object.defineProperty(exports, "WEBHOOK_DELIVERY_COLLECTION", {
|
|
2324
2324
|
enumerable: true,
|
|
2325
|
-
get: function () { return
|
|
2325
|
+
get: function () { return chunkZ7OH3MWT_cjs.WEBHOOK_DELIVERY_COLLECTION; }
|
|
2326
2326
|
});
|
|
2327
2327
|
Object.defineProperty(exports, "WEBHOOK_EVENTS", {
|
|
2328
2328
|
enumerable: true,
|
|
2329
|
-
get: function () { return
|
|
2329
|
+
get: function () { return chunkZ7OH3MWT_cjs.WEBHOOK_EVENTS; }
|
|
2330
2330
|
});
|
|
2331
2331
|
Object.defineProperty(exports, "WebhookService", {
|
|
2332
2332
|
enumerable: true,
|
|
2333
|
-
get: function () { return
|
|
2333
|
+
get: function () { return chunkZ7OH3MWT_cjs.WebhookService; }
|
|
2334
2334
|
});
|
|
2335
2335
|
Object.defineProperty(exports, "buildDeliveryRecord", {
|
|
2336
2336
|
enumerable: true,
|
|
2337
|
-
get: function () { return
|
|
2337
|
+
get: function () { return chunkZ7OH3MWT_cjs.buildDeliveryRecord; }
|
|
2338
2338
|
});
|
|
2339
2339
|
Object.defineProperty(exports, "createTestPayload", {
|
|
2340
2340
|
enumerable: true,
|
|
2341
|
-
get: function () { return
|
|
2341
|
+
get: function () { return chunkZ7OH3MWT_cjs.createTestPayload; }
|
|
2342
2342
|
});
|
|
2343
2343
|
Object.defineProperty(exports, "createWebhookService", {
|
|
2344
2344
|
enumerable: true,
|
|
2345
|
-
get: function () { return
|
|
2345
|
+
get: function () { return chunkZ7OH3MWT_cjs.createWebhookService; }
|
|
2346
2346
|
});
|
|
2347
2347
|
Object.defineProperty(exports, "deliverWebhook", {
|
|
2348
2348
|
enumerable: true,
|
|
2349
|
-
get: function () { return
|
|
2349
|
+
get: function () { return chunkZ7OH3MWT_cjs.deliverWebhook; }
|
|
2350
2350
|
});
|
|
2351
2351
|
Object.defineProperty(exports, "deliverWithRetry", {
|
|
2352
2352
|
enumerable: true,
|
|
2353
|
-
get: function () { return
|
|
2353
|
+
get: function () { return chunkZ7OH3MWT_cjs.deliverWithRetry; }
|
|
2354
2354
|
});
|
|
2355
2355
|
Object.defineProperty(exports, "generateWebhookSecret", {
|
|
2356
2356
|
enumerable: true,
|
|
2357
|
-
get: function () { return
|
|
2357
|
+
get: function () { return chunkZ7OH3MWT_cjs.generateWebhookSecret; }
|
|
2358
2358
|
});
|
|
2359
2359
|
Object.defineProperty(exports, "signPayload", {
|
|
2360
2360
|
enumerable: true,
|
|
2361
|
-
get: function () { return
|
|
2361
|
+
get: function () { return chunkZ7OH3MWT_cjs.signPayload; }
|
|
2362
2362
|
});
|
|
2363
2363
|
Object.defineProperty(exports, "evaluateAccess", {
|
|
2364
2364
|
enumerable: true,
|
|
2365
|
-
get: function () { return
|
|
2365
|
+
get: function () { return chunkKGJRJ7CU_cjs.evaluateAccess; }
|
|
2366
2366
|
});
|
|
2367
2367
|
Object.defineProperty(exports, "getWhereClause", {
|
|
2368
2368
|
enumerable: true,
|
|
2369
|
-
get: function () { return
|
|
2369
|
+
get: function () { return chunkKGJRJ7CU_cjs.getWhereClause; }
|
|
2370
2370
|
});
|
|
2371
2371
|
Object.defineProperty(exports, "mergeWhereClauses", {
|
|
2372
2372
|
enumerable: true,
|
|
2373
|
-
get: function () { return
|
|
2373
|
+
get: function () { return chunkKGJRJ7CU_cjs.mergeWhereClauses; }
|
|
2374
2374
|
});
|
|
2375
2375
|
Object.defineProperty(exports, "KyroPubSub", {
|
|
2376
2376
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as hono from 'hono';
|
|
2
2
|
import * as hono_types from 'hono/types';
|
|
3
|
-
import { S as StorageProvider, R as Registry } from './index-
|
|
4
|
-
export { C as ConfigService, E as EmailConfig, a as StorageConfig, c as createRegistry, g as getRegistry, r as resetRegistry, b as resolveProvider } from './index-
|
|
5
|
-
import { B as BaseAdapter, K as KyroConfig, i as User, R as Request$1, C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs, H as Hook } from './types-
|
|
6
|
-
export { j as AccessArgs, k as AccessControl, l as AdapterConfig, A as AdminConfig, a as AuthConfig, m as CollectionAccess, n as CollectionHooks, o as CreateResult, p as FieldAccess, q as FieldHooks, r as GlobalAccess, s as GlobalHooks, t as HookArgs, I as ImageSize, P as PluginConfig, U as UploadConfig, V as VersionConfig, W as WhereClause, u as evaluateAccess, v as getWhereClause, w as mergeWhereClauses, x as runFieldHooks, y as runHooks } from './types-
|
|
3
|
+
import { S as StorageProvider, R as Registry } from './index-DHbywDs-.cjs';
|
|
4
|
+
export { C as ConfigService, E as EmailConfig, a as StorageConfig, c as createRegistry, g as getRegistry, r as resetRegistry, b as resolveProvider } from './index-DHbywDs-.cjs';
|
|
5
|
+
import { B as BaseAdapter, K as KyroConfig, i as User, R as Request$1, C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs, H as Hook } from './types-CY_iNunL.cjs';
|
|
6
|
+
export { j as AccessArgs, k as AccessControl, l as AdapterConfig, A as AdminConfig, a as AuthConfig, m as CollectionAccess, n as CollectionHooks, o as CreateResult, p as FieldAccess, q as FieldHooks, r as GlobalAccess, s as GlobalHooks, t as HookArgs, I as ImageSize, P as PluginConfig, U as UploadConfig, V as VersionConfig, W as WhereClause, u as evaluateAccess, v as getWhereClause, w as mergeWhereClauses, x as runFieldHooks, y as runHooks } from './types-CY_iNunL.cjs';
|
|
7
7
|
import { KyroPubSub, KyroWSServer } from './ws/index.cjs';
|
|
8
8
|
export { PubSub, createWSServer } from './ws/index.cjs';
|
|
9
|
-
import { W as WebhookPayload, a as WebhookDelivery, b as WebhookConfig, c as WebhookService } from './WebhookService-
|
|
10
|
-
export { A as ALL_WEBHOOK_EVENTS, C as CreateWebhookData, U as UpdateWebhookData, d as WEBHOOK_COLLECTION, e as WEBHOOK_DELIVERY_COLLECTION, f as WEBHOOK_EVENTS, g as WebhookEvent, h as WebhookTriggerResult, i as createWebhookService } from './WebhookService-
|
|
11
|
-
import { F as Field } from './types-
|
|
12
|
-
export { r as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, d as BlocksField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField, V as ValidateOptions, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from './types-
|
|
9
|
+
import { W as WebhookPayload, a as WebhookDelivery, b as WebhookConfig, c as WebhookService } from './WebhookService-Dj8pJ3sp.cjs';
|
|
10
|
+
export { A as ALL_WEBHOOK_EVENTS, C as CreateWebhookData, U as UpdateWebhookData, d as WEBHOOK_COLLECTION, e as WEBHOOK_DELIVERY_COLLECTION, f as WEBHOOK_EVENTS, g as WebhookEvent, h as WebhookTriggerResult, i as createWebhookService } from './WebhookService-Dj8pJ3sp.cjs';
|
|
11
|
+
import { F as Field } from './types-C_rVxU2T.cjs';
|
|
12
|
+
export { r as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, d as BlocksField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField, V as ValidateOptions, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from './types-C_rVxU2T.cjs';
|
|
13
13
|
import { ZodTypeAny } from 'zod';
|
|
14
14
|
export { z } from 'zod';
|
|
15
15
|
export { normalizeRichTextValue, renderRichText, richTextStyles } from './fields/index.cjs';
|
|
16
|
-
import { A as AbstractBaseAdapter } from './base-
|
|
16
|
+
import { A as AbstractBaseAdapter } from './base-BjyoF6da.cjs';
|
|
17
17
|
import { Dialect } from './drizzle/index.cjs';
|
|
18
18
|
export { DrizzleAdapter, PostgresAuthAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, runMigrations, seedDefaultRoles } from './drizzle/index.cjs';
|
|
19
19
|
export { MongoDBAdapter, MongoDBAuthAdapter, createMongoDBAdapter } from './mongodb/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as hono from 'hono';
|
|
2
2
|
import * as hono_types from 'hono/types';
|
|
3
|
-
import { S as StorageProvider, R as Registry } from './index-
|
|
4
|
-
export { C as ConfigService, E as EmailConfig, a as StorageConfig, c as createRegistry, g as getRegistry, r as resetRegistry, b as resolveProvider } from './index-
|
|
5
|
-
import { B as BaseAdapter, K as KyroConfig, i as User, R as Request$1, C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs, H as Hook } from './types-
|
|
6
|
-
export { j as AccessArgs, k as AccessControl, l as AdapterConfig, A as AdminConfig, a as AuthConfig, m as CollectionAccess, n as CollectionHooks, o as CreateResult, p as FieldAccess, q as FieldHooks, r as GlobalAccess, s as GlobalHooks, t as HookArgs, I as ImageSize, P as PluginConfig, U as UploadConfig, V as VersionConfig, W as WhereClause, u as evaluateAccess, v as getWhereClause, w as mergeWhereClauses, x as runFieldHooks, y as runHooks } from './types-
|
|
3
|
+
import { S as StorageProvider, R as Registry } from './index-jLs0zlft.js';
|
|
4
|
+
export { C as ConfigService, E as EmailConfig, a as StorageConfig, c as createRegistry, g as getRegistry, r as resetRegistry, b as resolveProvider } from './index-jLs0zlft.js';
|
|
5
|
+
import { B as BaseAdapter, K as KyroConfig, i as User, R as Request$1, C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs, H as Hook } from './types-BzH3_rtP.js';
|
|
6
|
+
export { j as AccessArgs, k as AccessControl, l as AdapterConfig, A as AdminConfig, a as AuthConfig, m as CollectionAccess, n as CollectionHooks, o as CreateResult, p as FieldAccess, q as FieldHooks, r as GlobalAccess, s as GlobalHooks, t as HookArgs, I as ImageSize, P as PluginConfig, U as UploadConfig, V as VersionConfig, W as WhereClause, u as evaluateAccess, v as getWhereClause, w as mergeWhereClauses, x as runFieldHooks, y as runHooks } from './types-BzH3_rtP.js';
|
|
7
7
|
import { KyroPubSub, KyroWSServer } from './ws/index.js';
|
|
8
8
|
export { PubSub, createWSServer } from './ws/index.js';
|
|
9
|
-
import { W as WebhookPayload, a as WebhookDelivery, b as WebhookConfig, c as WebhookService } from './WebhookService-
|
|
10
|
-
export { A as ALL_WEBHOOK_EVENTS, C as CreateWebhookData, U as UpdateWebhookData, d as WEBHOOK_COLLECTION, e as WEBHOOK_DELIVERY_COLLECTION, f as WEBHOOK_EVENTS, g as WebhookEvent, h as WebhookTriggerResult, i as createWebhookService } from './WebhookService-
|
|
11
|
-
import { F as Field } from './types-
|
|
12
|
-
export { r as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, d as BlocksField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField, V as ValidateOptions, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from './types-
|
|
9
|
+
import { W as WebhookPayload, a as WebhookDelivery, b as WebhookConfig, c as WebhookService } from './WebhookService-DpRB940h.js';
|
|
10
|
+
export { A as ALL_WEBHOOK_EVENTS, C as CreateWebhookData, U as UpdateWebhookData, d as WEBHOOK_COLLECTION, e as WEBHOOK_DELIVERY_COLLECTION, f as WEBHOOK_EVENTS, g as WebhookEvent, h as WebhookTriggerResult, i as createWebhookService } from './WebhookService-DpRB940h.js';
|
|
11
|
+
import { F as Field } from './types-C_rVxU2T.js';
|
|
12
|
+
export { r as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, d as BlocksField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField, V as ValidateOptions, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from './types-C_rVxU2T.js';
|
|
13
13
|
import { ZodTypeAny } from 'zod';
|
|
14
14
|
export { z } from 'zod';
|
|
15
15
|
export { normalizeRichTextValue, renderRichText, richTextStyles } from './fields/index.js';
|
|
16
|
-
import { A as AbstractBaseAdapter } from './base-
|
|
16
|
+
import { A as AbstractBaseAdapter } from './base-C2YR8lWt.js';
|
|
17
17
|
import { Dialect } from './drizzle/index.js';
|
|
18
18
|
export { DrizzleAdapter, PostgresAuthAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, runMigrations, seedDefaultRoles } from './drizzle/index.js';
|
|
19
19
|
export { MongoDBAdapter, MongoDBAuthAdapter, createMongoDBAdapter } from './mongodb/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { RedisAuthAdapter } from './chunk-CF7OL6HR.js';
|
|
2
2
|
export { allSettingsGlobals, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, kitchenSinkCollections, mediaCollections, minimalCollections, templateCollections } from './chunk-53NYVYVX.js';
|
|
3
3
|
export { kyro } from './chunk-X4BPPD6K.js';
|
|
4
|
-
export { ConfigValidationError, Kyro, LocalAdapter, Registry, collectionToCreateZod, collectionToUpdateZod, collectionToWhereZod, collectionToZod, createKyro, createLocalAdapter, createRegistry, fieldToZod, getRegistry, globalToZod, resetRegistry, validateCollection, validateConfig, validateFields, validateGlobal } from './chunk-
|
|
4
|
+
export { ConfigValidationError, Kyro, LocalAdapter, Registry, collectionToCreateZod, collectionToUpdateZod, collectionToWhereZod, collectionToZod, createKyro, createLocalAdapter, createRegistry, fieldToZod, getRegistry, globalToZod, resetRegistry, validateCollection, validateConfig, validateFields, validateGlobal } from './chunk-ZFHTJ2YX.js';
|
|
5
5
|
export { autoBootstrap, bootstrapAdmin, bootstrapWithRetry, getBootstrapFromEnv } from './chunk-GAAHG2Z4.js';
|
|
6
6
|
import './chunk-GAOXD3XT.js';
|
|
7
7
|
export { CSSGenerator, createAdminStyling, defaultDarkTheme, defaultFieldStyling, defaultLightTheme, ecommerce2026Theme, generateCSSVariables, generateTailwindConfig } from './chunk-2HFJUUFZ.js';
|
|
8
|
-
export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextValue, renderRichText, richTextStyles } from './chunk-
|
|
9
|
-
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from './chunk-
|
|
10
|
-
export { buildGraphQLSchema, createGraphQLSchema } from './chunk-
|
|
11
|
-
import { init_secret, AuditLogger, InMemoryRateLimiter, InMemoryAuditLogger, AuthRoutes } from './chunk-
|
|
12
|
-
export { AuditLogger, InMemoryAuditLogger, InMemoryRateLimiter, MediaService, createAuditContext, createHonoApp, createLocalStorage, createRESTAPI, getAppSecret, getEncryptionKey, getSessionConfig, loadSecrets, resolveProvider, setDbAdapter } from './chunk-
|
|
8
|
+
export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextValue, renderRichText, richTextStyles } from './chunk-FIAMXNTH.js';
|
|
9
|
+
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from './chunk-65DSXNQL.js';
|
|
10
|
+
export { buildGraphQLSchema, createGraphQLSchema } from './chunk-6DURKQ6W.js';
|
|
11
|
+
import { init_secret, AuditLogger, InMemoryRateLimiter, InMemoryAuditLogger, AuthRoutes } from './chunk-HA4MGAZJ.js';
|
|
12
|
+
export { AuditLogger, InMemoryAuditLogger, InMemoryRateLimiter, MediaService, createAuditContext, createHonoApp, createLocalStorage, createRESTAPI, getAppSecret, getEncryptionKey, getSessionConfig, loadSecrets, resolveProvider, setDbAdapter } from './chunk-HA4MGAZJ.js';
|
|
13
13
|
import { EmailTransport, PasswordPolicy } from './chunk-6UNONDW7.js';
|
|
14
14
|
export { ConfigService, EmailTransport, PasswordPolicy } from './chunk-6UNONDW7.js';
|
|
15
15
|
import './chunk-YT7HXXVN.js';
|
|
@@ -17,8 +17,8 @@ import './chunk-XEB7PH2E.js';
|
|
|
17
17
|
import { SQLiteAuthAdapter } from './chunk-Q72BOAPK.js';
|
|
18
18
|
export { SQLiteAuthAdapter } from './chunk-Q72BOAPK.js';
|
|
19
19
|
import './chunk-P2YW545G.js';
|
|
20
|
-
export { ALL_WEBHOOK_EVENTS, WEBHOOK_COLLECTION, WEBHOOK_DELIVERY_COLLECTION, WEBHOOK_EVENTS, WebhookService, buildDeliveryRecord, createTestPayload, createWebhookService, deliverWebhook, deliverWithRetry, generateWebhookSecret, signPayload } from './chunk-
|
|
21
|
-
export { evaluateAccess, getWhereClause, mergeWhereClauses } from './chunk-
|
|
20
|
+
export { ALL_WEBHOOK_EVENTS, WEBHOOK_COLLECTION, WEBHOOK_DELIVERY_COLLECTION, WEBHOOK_EVENTS, WebhookService, buildDeliveryRecord, createTestPayload, createWebhookService, deliverWebhook, deliverWithRetry, generateWebhookSecret, signPayload } from './chunk-2Z7YAJBS.js';
|
|
21
|
+
export { evaluateAccess, getWhereClause, mergeWhereClauses } from './chunk-2GXALYKV.js';
|
|
22
22
|
export { KyroPubSub, KyroWSServer, PubSub, createWSServer } from './chunk-BYBMTIMT.js';
|
|
23
23
|
import './chunk-QU2RFFH4.js';
|
|
24
24
|
export { DrizzleAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, runMigrations, seedDefaultRoles } from './chunk-V7KZQIZ6.js';
|
package/dist/mongodb/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-
|
|
2
|
-
import { F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-BjyoF6da.cjs';
|
|
2
|
+
import { F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs } from '../types-CY_iNunL.cjs';
|
|
3
3
|
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.cjs';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-C_rVxU2T.cjs';
|
|
5
5
|
|
|
6
6
|
declare class MongoDBAdapter extends AbstractBaseAdapter {
|
|
7
7
|
client: any;
|
package/dist/mongodb/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-
|
|
2
|
-
import { F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-C2YR8lWt.js';
|
|
2
|
+
import { F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, f as FindVersionsArgs, g as VersionRecord, h as CreateVersionArgs } from '../types-BzH3_rtP.js';
|
|
3
3
|
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.js';
|
|
4
|
-
import '../types-
|
|
4
|
+
import '../types-C_rVxU2T.js';
|
|
5
5
|
|
|
6
6
|
declare class MongoDBAdapter extends AbstractBaseAdapter {
|
|
7
7
|
client: any;
|
package/dist/rest/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2CBCU5ML_cjs = require('../chunk-2CBCU5ML.cjs');
|
|
4
4
|
require('../chunk-Y7AQK4R4.cjs');
|
|
5
5
|
require('../chunk-4PWRCMTQ.cjs');
|
|
6
6
|
require('../chunk-KC2GDBLS.cjs');
|
|
7
7
|
require('../chunk-IDVRRRAK.cjs');
|
|
8
8
|
require('../chunk-ADLJSJSN.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-Z7OH3MWT.cjs');
|
|
10
|
+
require('../chunk-KGJRJ7CU.cjs');
|
|
11
11
|
require('../chunk-RFFSZSCL.cjs');
|
|
12
12
|
require('../chunk-7OS7TX2Q.cjs');
|
|
13
13
|
require('../chunk-DPA3KWPY.cjs');
|
|
@@ -21,11 +21,11 @@ require('../chunk-CZLDE2OZ.cjs');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "createHonoApp", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk2CBCU5ML_cjs.createHonoApp; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "createRESTAPI", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk2CBCU5ML_cjs.createRESTAPI; }
|
|
29
29
|
});
|
|
30
30
|
//# sourceMappingURL=index.cjs.map
|
|
31
31
|
//# sourceMappingURL=index.cjs.map
|