@kyro-cms/core 0.13.5 → 0.13.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-handler-graphql.cjs +1 -1
- package/dist/api-handler-graphql.js +2 -2
- package/dist/api-handler-trpc.cjs +1 -1
- package/dist/api-handler-trpc.js +2 -2
- package/dist/api-handler.cjs +1 -1
- package/dist/api-handler.js +1 -1
- package/dist/auth-session-4WJUKESW.js +1 -0
- package/dist/auth-session-VHUHDBCL.cjs +1 -0
- package/dist/bootstrap-JYAUQ52D.cjs +1 -0
- package/dist/bootstrap-TTMLNQM3.js +1 -0
- package/dist/chunk-23RSKVJP.cjs +1 -0
- package/dist/chunk-24W5I6SJ.cjs +2 -0
- package/dist/{chunk-CH4TZZI5.js → chunk-2I2AXTKY.cjs} +38 -39
- package/dist/chunk-34LCWI5X.cjs +1 -0
- package/dist/chunk-3A5UO6OQ.cjs +114 -0
- package/dist/chunk-3N34WXBS.js +2 -0
- package/dist/chunk-3RIGRHON.js +109 -0
- package/dist/chunk-5BUAWCU6.js +91 -0
- package/dist/{chunk-7NKNSRCB.cjs → chunk-5I3BM5TV.js} +33 -32
- package/dist/chunk-5RBGM5N5.js +3 -0
- package/dist/chunk-7EY3GXRA.js +2 -0
- package/dist/chunk-7KTPBTH5.cjs +1 -0
- package/dist/chunk-A7763NCF.cjs +19 -0
- package/dist/chunk-AQWTJGML.cjs +1 -0
- package/dist/chunk-DCFOVCJX.cjs +1 -0
- package/dist/chunk-DCKJT247.cjs +1 -0
- package/dist/chunk-EG4SRTYS.cjs +2 -0
- package/dist/chunk-FAG2645P.js +2 -0
- package/dist/chunk-FIVTKI25.cjs +3 -0
- package/dist/chunk-FU76HURF.cjs +1 -0
- package/dist/chunk-GS4CMYKS.cjs +1 -0
- package/dist/chunk-GTAKGVUY.js +2 -0
- package/dist/chunk-GWUHIIPO.cjs +132 -0
- package/dist/chunk-H2IJDTA2.cjs +1 -0
- package/dist/chunk-HCM2G674.cjs +20 -0
- package/dist/chunk-I22MSXGL.js +2 -0
- package/dist/chunk-IIPSXKNV.js +115 -0
- package/dist/{chunk-WNU76M2C.js → chunk-IIVBEZC2.js} +6 -6
- package/dist/chunk-JHFD3IAU.cjs +1 -0
- package/dist/chunk-JJY2F6NL.cjs +3 -0
- package/dist/chunk-JQ4V2MGJ.cjs +2 -0
- package/dist/chunk-JXJTFBHG.js +3 -0
- package/dist/chunk-KOSR7235.cjs +1 -0
- package/dist/chunk-KUY4QDAL.js +2 -0
- package/dist/chunk-LGUHXOEW.js +3 -0
- package/dist/chunk-LXTVMP5F.cjs +6 -0
- package/dist/chunk-MCK2QRAU.cjs +4 -0
- package/dist/chunk-N2BMGZIX.cjs +90 -0
- package/dist/chunk-N7CDHWQH.cjs +2 -0
- package/dist/chunk-NGNXOXI5.js +2 -0
- package/dist/chunk-O2SA56P2.cjs +108 -0
- package/dist/chunk-O4PPZOVI.cjs +1 -0
- package/dist/chunk-O4RKZQYQ.js +2 -0
- package/dist/chunk-O6I26T6A.js +3 -0
- package/dist/chunk-OJBL4CXK.cjs +2 -0
- package/dist/chunk-OPKZYQV7.js +3 -0
- package/dist/chunk-OXEJCIOA.cjs +1 -0
- package/dist/chunk-OXH6CANN.js +2 -0
- package/dist/chunk-PPGZHOYR.cjs +1 -0
- package/dist/{chunk-EQN3HDES.cjs → chunk-PW6Y5MQL.cjs} +5 -5
- package/dist/chunk-RLW6AQF2.js +2 -0
- package/dist/chunk-SBFVITY2.js +7 -0
- package/dist/chunk-SEJ7LMYY.js +4 -0
- package/dist/chunk-SYE3OS5T.js +5 -0
- package/dist/chunk-SZY25KAE.js +21 -0
- package/dist/chunk-TJ6N5ZPZ.js +133 -0
- package/dist/chunk-TVWHTVLI.js +2 -0
- package/dist/chunk-UE7DTBD7.cjs +1 -0
- package/dist/chunk-V2RMDMWN.js +2 -0
- package/dist/chunk-V4SR7DU5.js +3 -0
- package/dist/chunk-VLFM66BZ.js +4 -0
- package/dist/chunk-VPBGZW4P.cjs +1 -0
- package/dist/chunk-W5GDZG64.js +2 -0
- package/dist/chunk-WLSVS3NC.js +2 -0
- package/dist/chunk-XL64URKD.cjs +2 -0
- package/dist/chunk-YNBJGPIU.js +2 -0
- package/dist/chunk-YNSKDTFG.js +2 -0
- package/dist/chunk-YOJOVQIH.cjs +1 -0
- package/dist/chunk-ZE2X3FBU.js +20 -0
- package/dist/chunk-ZMH35QYG.js +2 -0
- package/dist/cli/index.cjs +53 -182
- package/dist/cli/index.js +54 -183
- package/dist/drizzle/index.cjs +1 -1
- package/dist/drizzle/index.js +1 -1
- package/dist/fields/index.cjs +1 -1
- package/dist/fields/index.js +1 -1
- package/dist/graphql/index.cjs +1 -1
- package/dist/graphql/index.js +1 -1
- package/dist/index-B_39z2jP.d.cts +217 -0
- package/dist/index-xqpVL2Zq.d.ts +217 -0
- package/dist/index.cjs +30 -30
- package/dist/index.d.cts +2 -31
- package/dist/index.d.ts +2 -31
- package/dist/index.js +31 -31
- package/dist/integration.cjs +1 -1
- package/dist/integration.js +1 -1
- package/dist/local-DKP43BWQ.cjs +1 -0
- package/dist/local-TF5ZMHWW.js +1 -0
- package/dist/media-M3EIZ4QS.cjs +1 -0
- package/dist/media-WYEILC6K.js +1 -0
- package/dist/mongo-auth-adapter-22MV3TI3.cjs +1 -0
- package/dist/mongo-auth-adapter-66PWVRZW.js +1 -0
- package/dist/mongodb/index.cjs +1 -1
- package/dist/mongodb/index.d.cts +3 -130
- package/dist/mongodb/index.d.ts +3 -130
- package/dist/mongodb/index.js +1 -1
- package/dist/nodemailer-transport-7F3VLLBW.js +1 -0
- package/dist/nodemailer-transport-WAPZD3SJ.cjs +1 -0
- package/dist/postgres-auth-adapter-7BCPXNBO.js +1 -0
- package/dist/postgres-auth-adapter-HMXFUM5W.cjs +1 -0
- package/dist/redis-adapter-2E5AWMMA.cjs +1 -0
- package/dist/redis-adapter-GFH74CF4.js +1 -0
- package/dist/rest/index.cjs +1 -1
- package/dist/rest/index.js +1 -1
- package/dist/schema-FNIDQKIJ.cjs +1 -0
- package/dist/schema-KD736QFN.js +1 -0
- package/dist/sqlite-adapter-HL53RLSN.cjs +1 -0
- package/dist/sqlite-adapter-TT6ZASDG.js +1 -0
- package/dist/templates/index.cjs +1 -1
- package/dist/templates/index.js +1 -1
- package/dist/trpc/index.cjs +1 -1
- package/dist/trpc/index.js +1 -1
- package/dist/ws/index.cjs +1 -1
- package/dist/ws/index.js +1 -1
- package/package.json +2 -10
- package/dist/WebhookService-CGxHtw7E.d.cts +0 -143
- package/dist/WebhookService-CNC1lYz7.d.ts +0 -143
- package/dist/auth-session-DHVGXHOH.cjs +0 -1
- package/dist/auth-session-O7IIH7EP.js +0 -1
- package/dist/base-A9AJPCG5.d.ts +0 -219
- package/dist/base-C6wyX2nC.d.cts +0 -219
- package/dist/bcryptjs-WIQSWJGK.cjs +0 -1
- package/dist/bcryptjs-ZEEHSMAG.js +0 -2
- package/dist/better-sqlite3-5IISPX34.cjs +0 -1
- package/dist/better-sqlite3-B34RIU4C.js +0 -2
- package/dist/bootstrap-PG2LGDLB.js +0 -1
- package/dist/bootstrap-YD3GLTWX.cjs +0 -1
- package/dist/bowser-SB3ZUPO4.js +0 -11
- package/dist/bowser-VX6B6ZSE.cjs +0 -10
- package/dist/chokidar-5RVQZVHP.cjs +0 -5
- package/dist/chokidar-BOYGRT4Q.js +0 -6
- package/dist/chunk-262YP5XA.cjs +0 -1
- package/dist/chunk-2HA6EKXX.js +0 -24
- package/dist/chunk-2SPWRQ5O.js +0 -122
- package/dist/chunk-2TYITUOC.js +0 -122
- package/dist/chunk-35PGCW3S.cjs +0 -1
- package/dist/chunk-3CIMGC2F.cjs +0 -56
- package/dist/chunk-3KZXF4US.js +0 -2
- package/dist/chunk-3NSZZCOJ.js +0 -2
- package/dist/chunk-3TAUNYEM.js +0 -8
- package/dist/chunk-3VXEK5ZW.cjs +0 -1
- package/dist/chunk-47CXBWMA.js +0 -2
- package/dist/chunk-4BMWWGJN.js +0 -384
- package/dist/chunk-4NTIK6DF.cjs +0 -2
- package/dist/chunk-6E44MQQ5.js +0 -115
- package/dist/chunk-6LWF5MPL.js +0 -20
- package/dist/chunk-6NBZDW53.js +0 -133
- package/dist/chunk-6TPICJ2L.js +0 -7
- package/dist/chunk-6YS6XLOD.cjs +0 -121
- package/dist/chunk-73D2PNHD.cjs +0 -7
- package/dist/chunk-7ACHOBWY.cjs +0 -13
- package/dist/chunk-7GGZA5YU.cjs +0 -2
- package/dist/chunk-7JWQ2PZP.cjs +0 -1
- package/dist/chunk-7KLEANTO.cjs +0 -1
- package/dist/chunk-7MNDQU6K.js +0 -8
- package/dist/chunk-7NH7H3WA.js +0 -10
- package/dist/chunk-7WMMKGEO.cjs +0 -1
- package/dist/chunk-ALTU3FDG.js +0 -2
- package/dist/chunk-BAVN7VDR.cjs +0 -1
- package/dist/chunk-BCEE4NBZ.cjs +0 -2
- package/dist/chunk-BUNLC3II.cjs +0 -1
- package/dist/chunk-C7QCZX7X.js +0 -2
- package/dist/chunk-D6SDGHY6.js +0 -2
- package/dist/chunk-DVWYO3KK.cjs +0 -1
- package/dist/chunk-EHWUALGH.cjs +0 -1
- package/dist/chunk-EML5FDUU.js +0 -2
- package/dist/chunk-EN65ZEK2.cjs +0 -2
- package/dist/chunk-EW424IBO.cjs +0 -1
- package/dist/chunk-EZIDQBXI.cjs +0 -1
- package/dist/chunk-F2O4QO5N.cjs +0 -383
- package/dist/chunk-F4ITQ6XQ.cjs +0 -3
- package/dist/chunk-FK2BG4HU.js +0 -3
- package/dist/chunk-FLMUMPDE.js +0 -2
- package/dist/chunk-GIS6X43A.cjs +0 -3
- package/dist/chunk-GNEVCEJU.cjs +0 -3
- package/dist/chunk-GNOSG3PK.cjs +0 -1
- package/dist/chunk-GQGFNTDZ.js +0 -2
- package/dist/chunk-GTR7JAKP.cjs +0 -3
- package/dist/chunk-HPIJI7TM.js +0 -3
- package/dist/chunk-HPYH7GTS.cjs +0 -1
- package/dist/chunk-HRAY65XH.js +0 -3
- package/dist/chunk-HTYVI2HK.cjs +0 -9
- package/dist/chunk-IKGVPXMK.js +0 -3
- package/dist/chunk-J6V573PE.cjs +0 -1
- package/dist/chunk-JA44K75G.js +0 -2
- package/dist/chunk-JRUQ5ABB.js +0 -4
- package/dist/chunk-JV4HJBXW.js +0 -14
- package/dist/chunk-KEITOXIP.js +0 -2
- package/dist/chunk-KMFLHGD5.cjs +0 -1
- package/dist/chunk-KZHXYXSH.cjs +0 -10
- package/dist/chunk-L3Q64RUX.js +0 -3
- package/dist/chunk-LEBM6ZSZ.cjs +0 -10
- package/dist/chunk-LKRI5X2V.cjs +0 -1
- package/dist/chunk-LQ3YZTPU.cjs +0 -15
- package/dist/chunk-LVBHOZZF.js +0 -4
- package/dist/chunk-LWM4WABU.js +0 -3
- package/dist/chunk-LY7N3UHH.cjs +0 -23
- package/dist/chunk-MCIZG4A3.cjs +0 -1
- package/dist/chunk-MDLJTZLV.cjs +0 -1
- package/dist/chunk-N4FXLQE3.cjs +0 -132
- package/dist/chunk-N5POANYV.js +0 -2
- package/dist/chunk-NGNJSUGL.cjs +0 -1
- package/dist/chunk-NRE6VKL6.cjs +0 -121
- package/dist/chunk-O4YE57OS.cjs +0 -6
- package/dist/chunk-OBYAIJVU.js +0 -11
- package/dist/chunk-OLRCZ6E3.js +0 -2
- package/dist/chunk-OOVNTOZC.cjs +0 -56
- package/dist/chunk-P6JITOFF.js +0 -4
- package/dist/chunk-PITMDQYN.cjs +0 -18
- package/dist/chunk-PYUWSKKP.js +0 -57
- package/dist/chunk-Q5TFO66G.cjs +0 -1
- package/dist/chunk-QO5ZWQA3.cjs +0 -74
- package/dist/chunk-QYN6C3FZ.cjs +0 -114
- package/dist/chunk-REQ622YC.js +0 -3
- package/dist/chunk-RPRGGGIW.js +0 -11
- package/dist/chunk-RVBSJ4UQ.cjs +0 -7
- package/dist/chunk-RYHOWZLK.js +0 -2
- package/dist/chunk-RYXLEFS5.js +0 -2
- package/dist/chunk-SBNMXQNO.cjs +0 -2
- package/dist/chunk-SLMIYECU.js +0 -2
- package/dist/chunk-SRIXRJHL.js +0 -4
- package/dist/chunk-TBHNE4VV.js +0 -2
- package/dist/chunk-TCFL3UWT.cjs +0 -2
- package/dist/chunk-TYQYKKWJ.js +0 -16
- package/dist/chunk-U6KFONKM.js +0 -2
- package/dist/chunk-UNYXWPLZ.cjs +0 -2
- package/dist/chunk-UWHWSWDE.js +0 -2
- package/dist/chunk-V4FAL7AG.js +0 -2
- package/dist/chunk-VQ53TFYA.cjs +0 -1
- package/dist/chunk-VRZC4TTF.cjs +0 -1
- package/dist/chunk-W45TLOOT.js +0 -2
- package/dist/chunk-WAVGRSE6.js +0 -2
- package/dist/chunk-WPM6LFCY.js +0 -2
- package/dist/chunk-WXT2XW7T.js +0 -13
- package/dist/chunk-X473JI7Z.js +0 -75
- package/dist/chunk-X6HUA6EF.cjs +0 -20
- package/dist/chunk-XDPLVJRO.js +0 -21
- package/dist/chunk-XDQVYCIR.cjs +0 -1
- package/dist/chunk-XFYSADHV.cjs +0 -2
- package/dist/chunk-XOR64WUQ.cjs +0 -19
- package/dist/chunk-Y2YAKDEQ.js +0 -2
- package/dist/chunk-YENNL5HG.js +0 -2
- package/dist/chunk-YGI5W4RS.js +0 -2
- package/dist/chunk-YIFKTA5N.js +0 -57
- package/dist/chunk-YUUXFD73.js +0 -19
- package/dist/chunk-ZAKYTBEN.js +0 -3
- package/dist/chunk-ZHA446FA.cjs +0 -1
- package/dist/chunk-ZTLGK6R4.cjs +0 -12
- package/dist/chunk-ZUBJ6RLQ.cjs +0 -1
- package/dist/client.d.cts +0 -1291
- package/dist/client.d.ts +0 -1291
- package/dist/d1-5ZQJOFDX.cjs +0 -1
- package/dist/d1-HPB6B253.js +0 -2
- package/dist/dist-es-3SSNUZST.cjs +0 -1
- package/dist/dist-es-64F22JL2.js +0 -2
- package/dist/dist-es-A5OF2STN.cjs +0 -2
- package/dist/dist-es-BOW5V247.cjs +0 -6
- package/dist/dist-es-CRIMATLL.cjs +0 -2
- package/dist/dist-es-DL3VLVP6.cjs +0 -1
- package/dist/dist-es-F2ZR55UK.js +0 -4
- package/dist/dist-es-IPSSZNFP.js +0 -1
- package/dist/dist-es-M2F7M27Y.js +0 -2
- package/dist/dist-es-M66JKZF5.js +0 -7
- package/dist/dist-es-OKLLRYI3.js +0 -2
- package/dist/dist-es-P25IKLBI.cjs +0 -1
- package/dist/dist-es-SRPWSAF4.cjs +0 -1
- package/dist/dist-es-SVHZDVUF.js +0 -3
- package/dist/dist-es-T2H2W5BX.cjs +0 -3
- package/dist/dist-es-WFI55HKT.js +0 -3
- package/dist/drizzle-orm-47ELDEM6.cjs +0 -1
- package/dist/drizzle-orm-XRTSOQJS.js +0 -1
- package/dist/event-streams-7NAWZW2I.js +0 -1
- package/dist/event-streams-JBMWCI2O.cjs +0 -1
- package/dist/fs-KWBRQ6T6.js +0 -1
- package/dist/fs-ZQYOJOIO.cjs +0 -1
- package/dist/index-NGnJpSgf.d.ts +0 -105
- package/dist/index-Zrg3sZ6R.d.cts +0 -105
- package/dist/jsonwebtoken-DFB6ZBZA.cjs +0 -8
- package/dist/jsonwebtoken-OD67R5JS.js +0 -9
- package/dist/lib-A2D63VXD.cjs +0 -1
- package/dist/lib-JQD2JAOO.js +0 -2
- package/dist/loadSso-JY4WDQPS.cjs +0 -2
- package/dist/loadSso-UQR6545M.js +0 -3
- package/dist/local-6UUGBZ4M.js +0 -1
- package/dist/local-ZYHV3J2K.cjs +0 -1
- package/dist/media-3Z6YW5J4.cjs +0 -1
- package/dist/media-E762GEHL.js +0 -1
- package/dist/mongo-auth-adapter-2H2AXDRH.cjs +0 -1
- package/dist/mongo-auth-adapter-YWMEOC42.js +0 -1
- package/dist/nodemailer-IDML4L6W.cjs +0 -53
- package/dist/nodemailer-NITB45SS.js +0 -54
- package/dist/nodemailer-transport-3VWVUBM5.cjs +0 -1
- package/dist/nodemailer-transport-7RHATUKL.js +0 -1
- package/dist/postgres-auth-adapter-QKBNXVPT.js +0 -1
- package/dist/postgres-auth-adapter-WMLM4UUC.cjs +0 -1
- package/dist/postgres-js-7YBZKGXG.cjs +0 -1
- package/dist/postgres-js-JLFIWOBH.js +0 -1
- package/dist/redis-adapter-EVK2SMKH.cjs +0 -1
- package/dist/redis-adapter-LY2NBSAG.js +0 -1
- package/dist/schema-RT6WSUYC.cjs +0 -1
- package/dist/schema-YFMSJK2P.js +0 -2
- package/dist/signin-N3T2KF5Q.js +0 -3
- package/dist/signin-VFBLX7EL.cjs +0 -2
- package/dist/sqlite-adapter-KPSISY6E.cjs +0 -1
- package/dist/sqlite-adapter-PI6SIY7O.js +0 -1
- package/dist/src-6LAUXXDM.cjs +0 -1
- package/dist/src-QBADSZV4.js +0 -1
- package/dist/sso-oidc-54BIRYR6.cjs +0 -2
- package/dist/sso-oidc-UB7G4END.js +0 -3
- package/dist/sts-WAA6I22C.js +0 -3
- package/dist/sts-YLXXIB3X.cjs +0 -2
- package/dist/types-BCOhfwHC.d.ts +0 -839
- package/dist/types-DxaK39ix.d.cts +0 -330
- package/dist/types-DxaK39ix.d.ts +0 -330
- package/dist/types-QglJ7PwT.d.cts +0 -839
package/dist/mongodb/index.d.ts
CHANGED
|
@@ -1,131 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
export { M as MongoDBAdapter, c as MongoDBAdapterOptions, d as MongoDBAuthAdapter, e as createMongoDBAdapter, g as getMongoClient, f as getMongoDb } from '../index-xqpVL2Zq.js';
|
|
2
|
+
import '../base-C2DOe8wD.js';
|
|
3
|
+
import '../types-CKWnrUAh.js';
|
|
3
4
|
import '../types-C3QFX0l6.js';
|
|
4
|
-
|
|
5
|
-
declare class MongoDBAdapter extends AbstractBaseAdapter {
|
|
6
|
-
dialect: "mongodb";
|
|
7
|
-
client: any;
|
|
8
|
-
db: any;
|
|
9
|
-
private database;
|
|
10
|
-
private connectionString?;
|
|
11
|
-
constructor(options: {
|
|
12
|
-
client?: any;
|
|
13
|
-
database?: string;
|
|
14
|
-
connectionString?: string;
|
|
15
|
-
});
|
|
16
|
-
connect(): Promise<void>;
|
|
17
|
-
disconnect(): Promise<void>;
|
|
18
|
-
private getMongoCollection;
|
|
19
|
-
find<T>(args: FindArgs): Promise<FindResult<T>>;
|
|
20
|
-
private buildIdFilter;
|
|
21
|
-
findByID<T>(args: FindByIDArgs): Promise<T | null>;
|
|
22
|
-
create<T>(args: CreateArgs): Promise<T>;
|
|
23
|
-
update<T>(args: UpdateArgs): Promise<T>;
|
|
24
|
-
delete<T>(args: DeleteArgs): Promise<T>;
|
|
25
|
-
count(args: {
|
|
26
|
-
collection: string;
|
|
27
|
-
where?: Record<string, any>;
|
|
28
|
-
tenantId?: string;
|
|
29
|
-
}): Promise<number>;
|
|
30
|
-
findOne(args: FindOneArgs): Promise<any>;
|
|
31
|
-
findVersions(args: FindVersionsArgs): Promise<FindResult<VersionRecord>>;
|
|
32
|
-
findVersionByID(args: {
|
|
33
|
-
collection: string;
|
|
34
|
-
versionId: string;
|
|
35
|
-
tenantId?: string;
|
|
36
|
-
}): Promise<VersionRecord | null>;
|
|
37
|
-
createVersion<T = Record<string, any>>(args: CreateVersionArgs<T>): Promise<VersionRecord<T>>;
|
|
38
|
-
updateLatestVersion<T = Record<string, any>>(args: CreateVersionArgs<T>): Promise<VersionRecord<T>>;
|
|
39
|
-
deleteVersions(args: {
|
|
40
|
-
collection: string;
|
|
41
|
-
documentId: string;
|
|
42
|
-
keepLatest?: number;
|
|
43
|
-
tenantId?: string;
|
|
44
|
-
}): Promise<void>;
|
|
45
|
-
migrate?(): Promise<void>;
|
|
46
|
-
private getCollectionConfig;
|
|
47
|
-
private buildFilter;
|
|
48
|
-
private buildProjection;
|
|
49
|
-
private processResult;
|
|
50
|
-
private generateId;
|
|
51
|
-
}
|
|
52
|
-
declare function createMongoDBAdapter(options: {
|
|
53
|
-
client?: any;
|
|
54
|
-
database?: string;
|
|
55
|
-
connectionString?: string;
|
|
56
|
-
}): MongoDBAdapter;
|
|
57
|
-
|
|
58
|
-
interface MongoDBAuthAdapterOptions {
|
|
59
|
-
db?: any | (() => any);
|
|
60
|
-
adapter?: any;
|
|
61
|
-
collectionPrefix?: string;
|
|
62
|
-
sessionTTL?: number;
|
|
63
|
-
refreshTokenTTL?: number;
|
|
64
|
-
}
|
|
65
|
-
declare class MongoDBAuthAdapter implements AuthAdapter {
|
|
66
|
-
private db;
|
|
67
|
-
private adapter;
|
|
68
|
-
private prefix;
|
|
69
|
-
private sessionTTL;
|
|
70
|
-
private refreshTokenTTL;
|
|
71
|
-
private indexesEnsured;
|
|
72
|
-
constructor(options: MongoDBAuthAdapterOptions);
|
|
73
|
-
private getDatabase;
|
|
74
|
-
private col;
|
|
75
|
-
connect(): Promise<void>;
|
|
76
|
-
disconnect(): Promise<void>;
|
|
77
|
-
private ensureIndexes;
|
|
78
|
-
createUser(data: {
|
|
79
|
-
email: string;
|
|
80
|
-
password: string;
|
|
81
|
-
name?: string;
|
|
82
|
-
role?: UserRole;
|
|
83
|
-
avatar?: string;
|
|
84
|
-
tenantId?: string;
|
|
85
|
-
}): Promise<AuthUser>;
|
|
86
|
-
findUserByEmail(email: string): Promise<AuthUser | null>;
|
|
87
|
-
findUserById(id: string): Promise<AuthUser | null>;
|
|
88
|
-
updateUser(id: string, data: Partial<AuthUser>): Promise<AuthUser | null>;
|
|
89
|
-
deleteUser(id: string): Promise<boolean>;
|
|
90
|
-
verifyPassword(email: string, password: string): Promise<AuthUser | null>;
|
|
91
|
-
hashPassword(password: string): Promise<string>;
|
|
92
|
-
createSession(userId: string, data?: {
|
|
93
|
-
ipAddress?: string;
|
|
94
|
-
userAgent?: string;
|
|
95
|
-
}): Promise<Session>;
|
|
96
|
-
findSessionByToken(token: string): Promise<Session | null>;
|
|
97
|
-
findSessionByRefreshToken(refreshToken: string): Promise<Session | null>;
|
|
98
|
-
deleteSession(sessionId: string): Promise<boolean>;
|
|
99
|
-
deleteUserSessions(userId: string): Promise<number>;
|
|
100
|
-
hasAnyUsers(): Promise<boolean>;
|
|
101
|
-
addPasswordToHistory(userId: string, passwordHash: string): Promise<void>;
|
|
102
|
-
getPasswordHistory(userId: string, count?: number): Promise<string[]>;
|
|
103
|
-
isPasswordInHistory(password: string, userId: string, historyCount?: number): Promise<boolean>;
|
|
104
|
-
findAuditLogs(filter: AuditLogFilter): Promise<{
|
|
105
|
-
logs: AuditLog[];
|
|
106
|
-
total: number;
|
|
107
|
-
}>;
|
|
108
|
-
createAuditLog(data: Omit<AuditLog, "id" | "timestamp">): Promise<AuditLog>;
|
|
109
|
-
private docToAuthUser;
|
|
110
|
-
private docToSession;
|
|
111
|
-
createEmailVerificationToken(userId: string): Promise<{
|
|
112
|
-
token: string;
|
|
113
|
-
expiresAt: Date;
|
|
114
|
-
}>;
|
|
115
|
-
verifyEmailToken(token: string): Promise<{
|
|
116
|
-
success: boolean;
|
|
117
|
-
userId?: string;
|
|
118
|
-
error?: string;
|
|
119
|
-
}>;
|
|
120
|
-
createPasswordResetToken(email: string): Promise<{
|
|
121
|
-
token: string;
|
|
122
|
-
expiresAt: Date;
|
|
123
|
-
error?: string;
|
|
124
|
-
}>;
|
|
125
|
-
resetPasswordWithToken(token: string, newPassword: string): Promise<{
|
|
126
|
-
success: boolean;
|
|
127
|
-
error?: string;
|
|
128
|
-
}>;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export { MongoDBAdapter, MongoDBAuthAdapter, createMongoDBAdapter };
|
package/dist/mongodb/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as MongoDBAdapter,b as createMongoDBAdapter}from'../chunk-
|
|
1
|
+
export{a as MongoDBAdapter,b as createMongoDBAdapter,d as getMongoClient,c as getMongoDb}from'../chunk-O6I26T6A.js';export{a as MongoDBAuthAdapter}from'../chunk-YNBJGPIU.js';import'../chunk-YNSKDTFG.js';import'../chunk-VLFM66BZ.js';import'../chunk-NGNXOXI5.js';import'../chunk-O4RKZQYQ.js';import'../chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{q as EmailTransport}from'./chunk-5I3BM5TV.js';import'./chunk-W5GDZG64.js';import'./chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunk2I2AXTKY_cjs=require('./chunk-2I2AXTKY.cjs');require('./chunk-GS4CMYKS.cjs'),require('./chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"EmailTransport",{enumerable:true,get:function(){return chunk2I2AXTKY_cjs.q}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as PostgresAuthAdapter}from'./chunk-IIPSXKNV.js';import'./chunk-7EY3GXRA.js';import'./chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunk3A5UO6OQ_cjs=require('./chunk-3A5UO6OQ.cjs');require('./chunk-23RSKVJP.cjs'),require('./chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"PostgresAuthAdapter",{enumerable:true,get:function(){return chunk3A5UO6OQ_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkJQ4V2MGJ_cjs=require('./chunk-JQ4V2MGJ.cjs');require('./chunk-JJY2F6NL.cjs'),require('./chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"RedisAuthAdapter",{enumerable:true,get:function(){return chunkJQ4V2MGJ_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as RedisAuthAdapter}from'./chunk-V4SR7DU5.js';import'./chunk-VLFM66BZ.js';import'./chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
package/dist/rest/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkO2SA56P2_cjs=require('../chunk-O2SA56P2.cjs');require('../chunk-H2IJDTA2.cjs'),require('../chunk-PW6Y5MQL.cjs'),require('../chunk-34LCWI5X.cjs'),require('../chunk-LXTVMP5F.cjs'),require('../chunk-2I2AXTKY.cjs'),require('../chunk-GS4CMYKS.cjs'),require('../chunk-OJBL4CXK.cjs'),require('../chunk-DCFOVCJX.cjs'),require('../chunk-EG4SRTYS.cjs'),require('../chunk-3A5UO6OQ.cjs'),require('../chunk-23RSKVJP.cjs'),require('../chunk-YOJOVQIH.cjs'),require('../chunk-UE7DTBD7.cjs'),require('../chunk-OXEJCIOA.cjs'),require('../chunk-KOSR7235.cjs'),require('../chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"createKyroApp",{enumerable:true,get:function(){return chunkO2SA56P2_cjs.n}});Object.defineProperty(exports,"createRESTAPI",{enumerable:true,get:function(){return chunkO2SA56P2_cjs.o}});
|
package/dist/rest/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{n as createKyroApp,o as createRESTAPI}from'../chunk-3RIGRHON.js';import'../chunk-FAG2645P.js';import'../chunk-IIVBEZC2.js';import'../chunk-I22MSXGL.js';import'../chunk-SBFVITY2.js';import'../chunk-5I3BM5TV.js';import'../chunk-W5GDZG64.js';import'../chunk-OPKZYQV7.js';import'../chunk-3N34WXBS.js';import'../chunk-JXJTFBHG.js';import'../chunk-IIPSXKNV.js';import'../chunk-7EY3GXRA.js';import'../chunk-WLSVS3NC.js';import'../chunk-YNBJGPIU.js';import'../chunk-NGNXOXI5.js';import'../chunk-O4RKZQYQ.js';import'../chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkAQWTJGML_cjs=require('./chunk-AQWTJGML.cjs'),chunkGS4CMYKS_cjs=require('./chunk-GS4CMYKS.cjs'),chunk23RSKVJP_cjs=require('./chunk-23RSKVJP.cjs');require('./chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"media",{enumerable:true,get:function(){return chunkAQWTJGML_cjs.a}});Object.defineProperty(exports,"mediaFolders",{enumerable:true,get:function(){return chunkAQWTJGML_cjs.b}});Object.defineProperty(exports,"settings",{enumerable:true,get:function(){return chunkGS4CMYKS_cjs.a}});Object.defineProperty(exports,"apiKeys",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.g}});Object.defineProperty(exports,"auditLogs",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.e}});Object.defineProperty(exports,"emailVerifications",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.h}});Object.defineProperty(exports,"lockouts",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.k}});Object.defineProperty(exports,"passwordHistory",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.j}});Object.defineProperty(exports,"passwordResets",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.i}});Object.defineProperty(exports,"permissions",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.c}});Object.defineProperty(exports,"roles",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.b}});Object.defineProperty(exports,"sessions",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.d}});Object.defineProperty(exports,"tenants",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.f}});Object.defineProperty(exports,"users",{enumerable:true,get:function(){return chunk23RSKVJP_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as media,b as mediaFolders}from'./chunk-V2RMDMWN.js';export{a as settings}from'./chunk-W5GDZG64.js';export{g as apiKeys,e as auditLogs,h as emailVerifications,k as lockouts,j as passwordHistory,i as passwordResets,c as permissions,b as roles,d as sessions,f as tenants,a as users}from'./chunk-7EY3GXRA.js';import'./chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var chunkPW6Y5MQL_cjs=require('./chunk-PW6Y5MQL.cjs');require('./chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"SQLiteAuthAdapter",{enumerable:true,get:function(){return chunkPW6Y5MQL_cjs.a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{a as SQLiteAuthAdapter}from'./chunk-IIVBEZC2.js';import'./chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
package/dist/templates/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkFIVTKI25_cjs=require('../chunk-FIVTKI25.cjs'),chunkN7CDHWQH_cjs=require('../chunk-N7CDHWQH.cjs'),chunk34LCWI5X_cjs=require('../chunk-34LCWI5X.cjs');require('../chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"accessSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.g}});Object.defineProperty(exports,"allGlobalSettings",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.k}});Object.defineProperty(exports,"blogCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.q}});Object.defineProperty(exports,"brandSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.e}});Object.defineProperty(exports,"brandsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.S}});Object.defineProperty(exports,"brandsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.T}});Object.defineProperty(exports,"categoriesCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.A}});Object.defineProperty(exports,"categoriesCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.B}});Object.defineProperty(exports,"coreGlobalSettings",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.l}});Object.defineProperty(exports,"couponsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.K}});Object.defineProperty(exports,"couponsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.L}});Object.defineProperty(exports,"createTemplateConfig",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.V}});Object.defineProperty(exports,"customersCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.G}});Object.defineProperty(exports,"customersCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.H}});Object.defineProperty(exports,"ecommerceCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.r}});Object.defineProperty(exports,"ecommerceGlobals",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.s}});Object.defineProperty(exports,"emailSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.f}});Object.defineProperty(exports,"formEntriesCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.O}});Object.defineProperty(exports,"formEntriesCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.P}});Object.defineProperty(exports,"formsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.M}});Object.defineProperty(exports,"formsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.N}});Object.defineProperty(exports,"getSettingsForTemplate",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.n}});Object.defineProperty(exports,"kitchenSinkCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.t}});Object.defineProperty(exports,"mediaCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.u}});Object.defineProperty(exports,"mediaCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.v}});Object.defineProperty(exports,"menuCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.w}});Object.defineProperty(exports,"menuCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.x}});Object.defineProperty(exports,"minimalCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.a}});Object.defineProperty(exports,"ordersCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.I}});Object.defineProperty(exports,"ordersCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.J}});Object.defineProperty(exports,"pageCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.y}});Object.defineProperty(exports,"pageCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.z}});Object.defineProperty(exports,"postsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.o}});Object.defineProperty(exports,"postsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.p}});Object.defineProperty(exports,"productCategoriesCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.C}});Object.defineProperty(exports,"productCategoriesCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.D}});Object.defineProperty(exports,"productsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.E}});Object.defineProperty(exports,"productsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.F}});Object.defineProperty(exports,"reviewsCollection",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.Q}});Object.defineProperty(exports,"reviewsCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.R}});Object.defineProperty(exports,"seoSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.d}});Object.defineProperty(exports,"settingsBySlug",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.m}});Object.defineProperty(exports,"shippingSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.i}});Object.defineProperty(exports,"siteSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.c}});Object.defineProperty(exports,"starterCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.b}});Object.defineProperty(exports,"storeSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.h}});Object.defineProperty(exports,"systemSettingsGlobal",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.j}});Object.defineProperty(exports,"templateCollections",{enumerable:true,get:function(){return chunkFIVTKI25_cjs.U}});Object.defineProperty(exports,"storageSettingsGlobal",{enumerable:true,get:function(){return chunkN7CDHWQH_cjs.a}});Object.defineProperty(exports,"authCollections",{enumerable:true,get:function(){return chunk34LCWI5X_cjs.b}});
|
package/dist/templates/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as accessSettingsGlobal,k as allGlobalSettings,q as blogCollections,e as brandSettingsGlobal,S as brandsCollection,T as brandsCollections,A as categoriesCollection,B as categoriesCollections,l as coreGlobalSettings,K as couponsCollection,L as couponsCollections,V as createTemplateConfig,G as customersCollection,H as customersCollections,r as ecommerceCollections,s as ecommerceGlobals,f as emailSettingsGlobal,O as formEntriesCollection,P as formEntriesCollections,M as formsCollection,N as formsCollections,n as getSettingsForTemplate,t as kitchenSinkCollections,u as mediaCollection,v as mediaCollections,w as menuCollection,x as menuCollections,a as minimalCollections,I as ordersCollection,J as ordersCollections,y as pageCollection,z as pageCollections,o as postsCollection,p as postsCollections,C as productCategoriesCollection,D as productCategoriesCollections,E as productsCollection,F as productsCollections,Q as reviewsCollection,R as reviewsCollections,d as seoSettingsGlobal,m as settingsBySlug,i as shippingSettingsGlobal,c as siteSettingsGlobal,b as starterCollections,h as storeSettingsGlobal,j as systemSettingsGlobal,U as templateCollections}from'../chunk-
|
|
1
|
+
export{g as accessSettingsGlobal,k as allGlobalSettings,q as blogCollections,e as brandSettingsGlobal,S as brandsCollection,T as brandsCollections,A as categoriesCollection,B as categoriesCollections,l as coreGlobalSettings,K as couponsCollection,L as couponsCollections,V as createTemplateConfig,G as customersCollection,H as customersCollections,r as ecommerceCollections,s as ecommerceGlobals,f as emailSettingsGlobal,O as formEntriesCollection,P as formEntriesCollections,M as formsCollection,N as formsCollections,n as getSettingsForTemplate,t as kitchenSinkCollections,u as mediaCollection,v as mediaCollections,w as menuCollection,x as menuCollections,a as minimalCollections,I as ordersCollection,J as ordersCollections,y as pageCollection,z as pageCollections,o as postsCollection,p as postsCollections,C as productCategoriesCollection,D as productCategoriesCollections,E as productsCollection,F as productsCollections,Q as reviewsCollection,R as reviewsCollections,d as seoSettingsGlobal,m as settingsBySlug,i as shippingSettingsGlobal,c as siteSettingsGlobal,b as starterCollections,h as storeSettingsGlobal,j as systemSettingsGlobal,U as templateCollections}from'../chunk-SEJ7LMYY.js';export{a as storageSettingsGlobal}from'../chunk-LGUHXOEW.js';export{b as authCollections}from'../chunk-I22MSXGL.js';import'../chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
package/dist/trpc/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk7KTPBTH5_cjs=require('../chunk-7KTPBTH5.cjs');require('../chunk-OJBL4CXK.cjs'),require('../chunk-DCFOVCJX.cjs'),require('../chunk-OXEJCIOA.cjs'),require('../chunk-KOSR7235.cjs'),require('../chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"createContext",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.a}});Object.defineProperty(exports,"createCountProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.g}});Object.defineProperty(exports,"createCreateProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.d}});Object.defineProperty(exports,"createDeleteProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.f}});Object.defineProperty(exports,"createDynamicRouter",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.h}});Object.defineProperty(exports,"createFindByIDProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.c}});Object.defineProperty(exports,"createFindProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.b}});Object.defineProperty(exports,"createKyroServer",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.i}});Object.defineProperty(exports,"createUpdateProcedure",{enumerable:true,get:function(){return chunk7KTPBTH5_cjs.e}});
|
package/dist/trpc/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as createContext,g as createCountProcedure,d as createCreateProcedure,f as createDeleteProcedure,h as createDynamicRouter,c as createFindByIDProcedure,b as createFindProcedure,i as createKyroServer,e as createUpdateProcedure}from'../chunk-
|
|
1
|
+
export{a as createContext,g as createCountProcedure,d as createCreateProcedure,f as createDeleteProcedure,h as createDynamicRouter,c as createFindByIDProcedure,b as createFindProcedure,i as createKyroServer,e as createUpdateProcedure}from'../chunk-GTAKGVUY.js';import'../chunk-OPKZYQV7.js';import'../chunk-3N34WXBS.js';import'../chunk-NGNXOXI5.js';import'../chunk-O4RKZQYQ.js';import'../chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
package/dist/ws/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkFU76HURF_cjs=require('../chunk-FU76HURF.cjs');require('../chunk-JHFD3IAU.cjs');Object.defineProperty(exports,"KyroPubSub",{enumerable:true,get:function(){return chunkFU76HURF_cjs.b}});Object.defineProperty(exports,"KyroWSServer",{enumerable:true,get:function(){return chunkFU76HURF_cjs.d}});Object.defineProperty(exports,"PresenceManager",{enumerable:true,get:function(){return chunkFU76HURF_cjs.c}});Object.defineProperty(exports,"PubSub",{enumerable:true,get:function(){return chunkFU76HURF_cjs.a}});Object.defineProperty(exports,"createWSServer",{enumerable:true,get:function(){return chunkFU76HURF_cjs.e}});
|
package/dist/ws/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as KyroPubSub,d as KyroWSServer,c as PresenceManager,a as PubSub,e as createWSServer}from'../chunk-
|
|
1
|
+
export{b as KyroPubSub,d as KyroWSServer,c as PresenceManager,a as PubSub,e as createWSServer}from'../chunk-OXH6CANN.js';import'../chunk-RLW6AQF2.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyro-cms/core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
4
4
|
"description": "Astro-native headless CMS with multi-database adapters, multi-protocol APIs, and multi-vendor support",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -148,10 +148,7 @@
|
|
|
148
148
|
},
|
|
149
149
|
"homepage": "https://github.com/danielDozie/kyro-cms#readme",
|
|
150
150
|
"dependencies": {
|
|
151
|
-
"@ai-sdk/groq": "^4.0.12",
|
|
152
|
-
"@ai-sdk/openai": "^0.0.14",
|
|
153
151
|
"@aws-sdk/client-s3": "^3.751.0",
|
|
154
|
-
"@aws-sdk/s3-request-presigner": "^3.751.0",
|
|
155
152
|
"@smithy/node-http-handler": "^4.7.0",
|
|
156
153
|
"@tiptap/core": "^3.23.6",
|
|
157
154
|
"@tiptap/extension-color": "^3.23.6",
|
|
@@ -165,22 +162,16 @@
|
|
|
165
162
|
"@tiptap/extension-underline": "^3.23.6",
|
|
166
163
|
"@tiptap/html": "^3.23.6",
|
|
167
164
|
"@tiptap/starter-kit": "^3.23.6",
|
|
168
|
-
"@trpc/client": "^11.0.0",
|
|
169
|
-
"@trpc/react-query": "^11.0.0",
|
|
170
|
-
"@trpc/server": "^11.0.0",
|
|
171
165
|
"basic-ftp": "^5.3.0",
|
|
172
166
|
"bcryptjs": "^2.4.3",
|
|
173
167
|
"chalk": "^5.4.1",
|
|
174
168
|
"commander": "^13.1.0",
|
|
175
169
|
"cpu-features": "^0.0.10",
|
|
176
170
|
"drizzle-orm": "^0.44.7",
|
|
177
|
-
"esbuild": "^0.25.0",
|
|
178
171
|
"glob": "^11.0.1",
|
|
179
172
|
"graphql": "^16.10.0",
|
|
180
173
|
"graphql-yoga": "^5.21.2",
|
|
181
174
|
"hono": "^4.7.0",
|
|
182
|
-
"idb-keyval": "^6.2.2",
|
|
183
|
-
"jsondiffpatch": "^0.7.3",
|
|
184
175
|
"jsonwebtoken": "^9.0.2",
|
|
185
176
|
"nodemailer": "^8.0.4",
|
|
186
177
|
"ora": "^8.2.0",
|
|
@@ -212,6 +203,7 @@
|
|
|
212
203
|
"tsup": "^8.5.1",
|
|
213
204
|
"typescript": "^5.7.3",
|
|
214
205
|
"typescript-eslint": "^8.59.1",
|
|
206
|
+
"@vitest/coverage-v8": "^3.0.0",
|
|
215
207
|
"vitest": "^3.0.0"
|
|
216
208
|
},
|
|
217
209
|
"optionalDependencies": {
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { B as BaseAdapter } from './types-QglJ7PwT.cjs';
|
|
2
|
-
|
|
3
|
-
declare const WEBHOOK_EVENTS: {
|
|
4
|
-
readonly COLLECTION_CREATE: "collection.create";
|
|
5
|
-
readonly COLLECTION_UPDATE: "collection.update";
|
|
6
|
-
readonly COLLECTION_DELETE: "collection.delete";
|
|
7
|
-
readonly MEDIA_UPLOAD: "media.upload";
|
|
8
|
-
readonly MEDIA_DELETE: "media.delete";
|
|
9
|
-
readonly AUTH_LOGIN: "auth.login";
|
|
10
|
-
readonly AUTH_REGISTER: "auth.register";
|
|
11
|
-
readonly AUTH_LOGOUT: "auth.logout";
|
|
12
|
-
readonly ORDER_CREATED: "order.created";
|
|
13
|
-
readonly ORDER_PAID: "order.paid";
|
|
14
|
-
readonly ORDER_SHIPPED: "order.shipped";
|
|
15
|
-
readonly ORDER_DELIVERED: "order.delivered";
|
|
16
|
-
};
|
|
17
|
-
type WebhookEvent = (typeof WEBHOOK_EVENTS)[keyof typeof WEBHOOK_EVENTS];
|
|
18
|
-
declare const ALL_WEBHOOK_EVENTS: WebhookEvent[];
|
|
19
|
-
type WebhookActionType = "generic" | "github-push";
|
|
20
|
-
interface WebhookActionConfig {
|
|
21
|
-
githubOwner?: string;
|
|
22
|
-
githubRepo?: string;
|
|
23
|
-
githubBranch?: string;
|
|
24
|
-
}
|
|
25
|
-
interface WebhookConfig {
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
|
-
url: string;
|
|
29
|
-
events: WebhookEvent[];
|
|
30
|
-
collections?: string[];
|
|
31
|
-
status: "active" | "inactive" | "error";
|
|
32
|
-
secret?: string;
|
|
33
|
-
headers?: Record<string, string>;
|
|
34
|
-
action?: WebhookActionType;
|
|
35
|
-
config?: WebhookActionConfig;
|
|
36
|
-
lastTriggered?: string;
|
|
37
|
-
lastError?: string;
|
|
38
|
-
createdAt: string;
|
|
39
|
-
updatedAt: string;
|
|
40
|
-
}
|
|
41
|
-
interface CreateWebhookData {
|
|
42
|
-
name: string;
|
|
43
|
-
url: string;
|
|
44
|
-
events: (WebhookEvent | "create" | "update" | "delete")[];
|
|
45
|
-
collections?: string[];
|
|
46
|
-
status?: "active" | "inactive";
|
|
47
|
-
secret?: string;
|
|
48
|
-
headers?: Record<string, string>;
|
|
49
|
-
action?: WebhookActionType;
|
|
50
|
-
config?: WebhookActionConfig;
|
|
51
|
-
}
|
|
52
|
-
interface UpdateWebhookData {
|
|
53
|
-
name?: string;
|
|
54
|
-
url?: string;
|
|
55
|
-
events?: (WebhookEvent | "create" | "update" | "delete")[];
|
|
56
|
-
collections?: string[];
|
|
57
|
-
status?: "active" | "inactive" | "error";
|
|
58
|
-
secret?: string;
|
|
59
|
-
headers?: Record<string, string>;
|
|
60
|
-
action?: WebhookActionType;
|
|
61
|
-
config?: WebhookActionConfig;
|
|
62
|
-
lastTriggered?: string | null;
|
|
63
|
-
lastError?: string | null;
|
|
64
|
-
}
|
|
65
|
-
interface WebhookPayload {
|
|
66
|
-
id: string;
|
|
67
|
-
event: WebhookEvent;
|
|
68
|
-
timestamp: string;
|
|
69
|
-
collection?: string;
|
|
70
|
-
operation?: "create" | "update" | "delete";
|
|
71
|
-
data?: unknown;
|
|
72
|
-
previousData?: unknown;
|
|
73
|
-
user?: {
|
|
74
|
-
id: string;
|
|
75
|
-
email?: string;
|
|
76
|
-
role?: string;
|
|
77
|
-
};
|
|
78
|
-
tenantId?: string;
|
|
79
|
-
metadata?: Record<string, unknown>;
|
|
80
|
-
}
|
|
81
|
-
interface WebhookDelivery {
|
|
82
|
-
id: string;
|
|
83
|
-
webhookId: string;
|
|
84
|
-
event: WebhookEvent;
|
|
85
|
-
payload: WebhookPayload;
|
|
86
|
-
attempt: number;
|
|
87
|
-
status: "pending" | "success" | "failed" | "retrying";
|
|
88
|
-
responseStatus?: number;
|
|
89
|
-
responseBody?: string;
|
|
90
|
-
error?: string;
|
|
91
|
-
duration?: number;
|
|
92
|
-
createdAt: string;
|
|
93
|
-
deliveredAt?: string;
|
|
94
|
-
nextRetryAt?: string;
|
|
95
|
-
}
|
|
96
|
-
interface WebhookTriggerResult {
|
|
97
|
-
deliveryId: string;
|
|
98
|
-
webhookId: string;
|
|
99
|
-
event: WebhookEvent;
|
|
100
|
-
status: "queued" | "success" | "failed";
|
|
101
|
-
responseStatus?: number;
|
|
102
|
-
duration?: number;
|
|
103
|
-
error?: string;
|
|
104
|
-
}
|
|
105
|
-
declare const WEBHOOK_COLLECTION = "_webhooks";
|
|
106
|
-
declare const WEBHOOK_DELIVERY_COLLECTION = "_webhook_deliveries";
|
|
107
|
-
interface DeliveryResult {
|
|
108
|
-
success: boolean;
|
|
109
|
-
status: number;
|
|
110
|
-
statusText?: string;
|
|
111
|
-
body?: string;
|
|
112
|
-
duration: number;
|
|
113
|
-
error?: string;
|
|
114
|
-
}
|
|
115
|
-
interface DeliveryOptions {
|
|
116
|
-
timeout?: number;
|
|
117
|
-
maxRetries?: number;
|
|
118
|
-
retryDelay?: number;
|
|
119
|
-
onRetry?: (attempt: number, error: string) => void;
|
|
120
|
-
onSuccess?: (result: DeliveryResult) => void;
|
|
121
|
-
onFailure?: (error: string) => void;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
declare class WebhookService {
|
|
125
|
-
private db;
|
|
126
|
-
constructor(db: BaseAdapter);
|
|
127
|
-
getWebhooks(filters?: {
|
|
128
|
-
status?: string;
|
|
129
|
-
event?: WebhookEvent;
|
|
130
|
-
}): Promise<WebhookConfig[]>;
|
|
131
|
-
getWebhookById(id: string): Promise<WebhookConfig | null>;
|
|
132
|
-
createWebhook(data: CreateWebhookData): Promise<WebhookConfig>;
|
|
133
|
-
updateWebhook(id: string, data: UpdateWebhookData): Promise<WebhookConfig | null>;
|
|
134
|
-
deleteWebhook(id: string): Promise<void>;
|
|
135
|
-
trigger(event: WebhookEvent, payloadData: Omit<WebhookPayload, "id" | "event" | "timestamp">): Promise<WebhookTriggerResult[]>;
|
|
136
|
-
triggerWebhook(webhook: WebhookConfig, payload: WebhookPayload): Promise<WebhookTriggerResult>;
|
|
137
|
-
testWebhook(webhookId: string): Promise<WebhookTriggerResult | null>;
|
|
138
|
-
getDeliveryHistory(webhookId: string, limit?: number): Promise<WebhookDelivery[]>;
|
|
139
|
-
retryDelivery(deliveryId: string): Promise<WebhookTriggerResult | null>;
|
|
140
|
-
}
|
|
141
|
-
declare function createWebhookService(db: BaseAdapter): WebhookService;
|
|
142
|
-
|
|
143
|
-
export { ALL_WEBHOOK_EVENTS as A, type CreateWebhookData as C, type DeliveryResult as D, type UpdateWebhookData as U, type WebhookPayload as W, type WebhookDelivery as a, type WebhookConfig as b, type DeliveryOptions as c, WebhookService as d, WEBHOOK_COLLECTION as e, WEBHOOK_DELIVERY_COLLECTION as f, WEBHOOK_EVENTS as g, type WebhookEvent as h, type WebhookTriggerResult as i, createWebhookService as j };
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { B as BaseAdapter } from './types-BCOhfwHC.js';
|
|
2
|
-
|
|
3
|
-
declare const WEBHOOK_EVENTS: {
|
|
4
|
-
readonly COLLECTION_CREATE: "collection.create";
|
|
5
|
-
readonly COLLECTION_UPDATE: "collection.update";
|
|
6
|
-
readonly COLLECTION_DELETE: "collection.delete";
|
|
7
|
-
readonly MEDIA_UPLOAD: "media.upload";
|
|
8
|
-
readonly MEDIA_DELETE: "media.delete";
|
|
9
|
-
readonly AUTH_LOGIN: "auth.login";
|
|
10
|
-
readonly AUTH_REGISTER: "auth.register";
|
|
11
|
-
readonly AUTH_LOGOUT: "auth.logout";
|
|
12
|
-
readonly ORDER_CREATED: "order.created";
|
|
13
|
-
readonly ORDER_PAID: "order.paid";
|
|
14
|
-
readonly ORDER_SHIPPED: "order.shipped";
|
|
15
|
-
readonly ORDER_DELIVERED: "order.delivered";
|
|
16
|
-
};
|
|
17
|
-
type WebhookEvent = (typeof WEBHOOK_EVENTS)[keyof typeof WEBHOOK_EVENTS];
|
|
18
|
-
declare const ALL_WEBHOOK_EVENTS: WebhookEvent[];
|
|
19
|
-
type WebhookActionType = "generic" | "github-push";
|
|
20
|
-
interface WebhookActionConfig {
|
|
21
|
-
githubOwner?: string;
|
|
22
|
-
githubRepo?: string;
|
|
23
|
-
githubBranch?: string;
|
|
24
|
-
}
|
|
25
|
-
interface WebhookConfig {
|
|
26
|
-
id: string;
|
|
27
|
-
name: string;
|
|
28
|
-
url: string;
|
|
29
|
-
events: WebhookEvent[];
|
|
30
|
-
collections?: string[];
|
|
31
|
-
status: "active" | "inactive" | "error";
|
|
32
|
-
secret?: string;
|
|
33
|
-
headers?: Record<string, string>;
|
|
34
|
-
action?: WebhookActionType;
|
|
35
|
-
config?: WebhookActionConfig;
|
|
36
|
-
lastTriggered?: string;
|
|
37
|
-
lastError?: string;
|
|
38
|
-
createdAt: string;
|
|
39
|
-
updatedAt: string;
|
|
40
|
-
}
|
|
41
|
-
interface CreateWebhookData {
|
|
42
|
-
name: string;
|
|
43
|
-
url: string;
|
|
44
|
-
events: (WebhookEvent | "create" | "update" | "delete")[];
|
|
45
|
-
collections?: string[];
|
|
46
|
-
status?: "active" | "inactive";
|
|
47
|
-
secret?: string;
|
|
48
|
-
headers?: Record<string, string>;
|
|
49
|
-
action?: WebhookActionType;
|
|
50
|
-
config?: WebhookActionConfig;
|
|
51
|
-
}
|
|
52
|
-
interface UpdateWebhookData {
|
|
53
|
-
name?: string;
|
|
54
|
-
url?: string;
|
|
55
|
-
events?: (WebhookEvent | "create" | "update" | "delete")[];
|
|
56
|
-
collections?: string[];
|
|
57
|
-
status?: "active" | "inactive" | "error";
|
|
58
|
-
secret?: string;
|
|
59
|
-
headers?: Record<string, string>;
|
|
60
|
-
action?: WebhookActionType;
|
|
61
|
-
config?: WebhookActionConfig;
|
|
62
|
-
lastTriggered?: string | null;
|
|
63
|
-
lastError?: string | null;
|
|
64
|
-
}
|
|
65
|
-
interface WebhookPayload {
|
|
66
|
-
id: string;
|
|
67
|
-
event: WebhookEvent;
|
|
68
|
-
timestamp: string;
|
|
69
|
-
collection?: string;
|
|
70
|
-
operation?: "create" | "update" | "delete";
|
|
71
|
-
data?: unknown;
|
|
72
|
-
previousData?: unknown;
|
|
73
|
-
user?: {
|
|
74
|
-
id: string;
|
|
75
|
-
email?: string;
|
|
76
|
-
role?: string;
|
|
77
|
-
};
|
|
78
|
-
tenantId?: string;
|
|
79
|
-
metadata?: Record<string, unknown>;
|
|
80
|
-
}
|
|
81
|
-
interface WebhookDelivery {
|
|
82
|
-
id: string;
|
|
83
|
-
webhookId: string;
|
|
84
|
-
event: WebhookEvent;
|
|
85
|
-
payload: WebhookPayload;
|
|
86
|
-
attempt: number;
|
|
87
|
-
status: "pending" | "success" | "failed" | "retrying";
|
|
88
|
-
responseStatus?: number;
|
|
89
|
-
responseBody?: string;
|
|
90
|
-
error?: string;
|
|
91
|
-
duration?: number;
|
|
92
|
-
createdAt: string;
|
|
93
|
-
deliveredAt?: string;
|
|
94
|
-
nextRetryAt?: string;
|
|
95
|
-
}
|
|
96
|
-
interface WebhookTriggerResult {
|
|
97
|
-
deliveryId: string;
|
|
98
|
-
webhookId: string;
|
|
99
|
-
event: WebhookEvent;
|
|
100
|
-
status: "queued" | "success" | "failed";
|
|
101
|
-
responseStatus?: number;
|
|
102
|
-
duration?: number;
|
|
103
|
-
error?: string;
|
|
104
|
-
}
|
|
105
|
-
declare const WEBHOOK_COLLECTION = "_webhooks";
|
|
106
|
-
declare const WEBHOOK_DELIVERY_COLLECTION = "_webhook_deliveries";
|
|
107
|
-
interface DeliveryResult {
|
|
108
|
-
success: boolean;
|
|
109
|
-
status: number;
|
|
110
|
-
statusText?: string;
|
|
111
|
-
body?: string;
|
|
112
|
-
duration: number;
|
|
113
|
-
error?: string;
|
|
114
|
-
}
|
|
115
|
-
interface DeliveryOptions {
|
|
116
|
-
timeout?: number;
|
|
117
|
-
maxRetries?: number;
|
|
118
|
-
retryDelay?: number;
|
|
119
|
-
onRetry?: (attempt: number, error: string) => void;
|
|
120
|
-
onSuccess?: (result: DeliveryResult) => void;
|
|
121
|
-
onFailure?: (error: string) => void;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
declare class WebhookService {
|
|
125
|
-
private db;
|
|
126
|
-
constructor(db: BaseAdapter);
|
|
127
|
-
getWebhooks(filters?: {
|
|
128
|
-
status?: string;
|
|
129
|
-
event?: WebhookEvent;
|
|
130
|
-
}): Promise<WebhookConfig[]>;
|
|
131
|
-
getWebhookById(id: string): Promise<WebhookConfig | null>;
|
|
132
|
-
createWebhook(data: CreateWebhookData): Promise<WebhookConfig>;
|
|
133
|
-
updateWebhook(id: string, data: UpdateWebhookData): Promise<WebhookConfig | null>;
|
|
134
|
-
deleteWebhook(id: string): Promise<void>;
|
|
135
|
-
trigger(event: WebhookEvent, payloadData: Omit<WebhookPayload, "id" | "event" | "timestamp">): Promise<WebhookTriggerResult[]>;
|
|
136
|
-
triggerWebhook(webhook: WebhookConfig, payload: WebhookPayload): Promise<WebhookTriggerResult>;
|
|
137
|
-
testWebhook(webhookId: string): Promise<WebhookTriggerResult | null>;
|
|
138
|
-
getDeliveryHistory(webhookId: string, limit?: number): Promise<WebhookDelivery[]>;
|
|
139
|
-
retryDelivery(deliveryId: string): Promise<WebhookTriggerResult | null>;
|
|
140
|
-
}
|
|
141
|
-
declare function createWebhookService(db: BaseAdapter): WebhookService;
|
|
142
|
-
|
|
143
|
-
export { ALL_WEBHOOK_EVENTS as A, type CreateWebhookData as C, type DeliveryResult as D, type UpdateWebhookData as U, type WebhookPayload as W, type WebhookDelivery as a, type WebhookConfig as b, type DeliveryOptions as c, WebhookService as d, WEBHOOK_COLLECTION as e, WEBHOOK_DELIVERY_COLLECTION as f, WEBHOOK_EVENTS as g, type WebhookEvent as h, type WebhookTriggerResult as i, createWebhookService as j };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkO4YE57OS_cjs=require('./chunk-O4YE57OS.cjs');require('./chunk-MCIZG4A3.cjs'),require('./chunk-BUNLC3II.cjs');Object.defineProperty(exports,"SESSION_CONFIG",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.g}});Object.defineProperty(exports,"clearSessionCookie",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.k}});Object.defineProperty(exports,"createSession",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.l}});Object.defineProperty(exports,"deleteSession",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.p}});Object.defineProperty(exports,"getClientIp",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.i}});Object.defineProperty(exports,"getCurrentUser",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.t}});Object.defineProperty(exports,"getSession",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.m}});Object.defineProperty(exports,"getSessionIdFromRequest",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.h}});Object.defineProperty(exports,"getUserSessions",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.r}});Object.defineProperty(exports,"invalidateAllUserSessions",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.q}});Object.defineProperty(exports,"refreshSession",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.o}});Object.defineProperty(exports,"setSessionCookie",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.j}});Object.defineProperty(exports,"updateSessionName",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.s}});Object.defineProperty(exports,"validateSession",{enumerable:true,get:function(){return chunkO4YE57OS_cjs.n}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{g as SESSION_CONFIG,k as clearSessionCookie,l as createSession,p as deleteSession,i as getClientIp,t as getCurrentUser,m as getSession,h as getSessionIdFromRequest,r as getUserSessions,q as invalidateAllUserSessions,o as refreshSession,j as setSessionCookie,s as updateSessionName,n as validateSession}from'./chunk-6TPICJ2L.js';import'./chunk-YENNL5HG.js';import'./chunk-Y2YAKDEQ.js';if (typeof window === "undefined") { const { createRequire } = await import(/* @vite-ignore */ 'module'); createRequire(import.meta.url); }
|