@kyro-cms/core 0.1.5 → 0.1.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/WebhookService-BCgL1bLF.d.cts +112 -0
- package/dist/WebhookService-BPVJUgTl.d.ts +112 -0
- package/dist/{base-DlhVlwnN.d.cts → base-B0Y6isUJ.d.cts} +1 -1
- package/dist/{base-CQkFzqQl.d.ts → base-DaP-5PPG.d.ts} +1 -1
- package/dist/bootstrap-BMWVB2T6.cjs +31 -0
- package/dist/{bootstrap-X6TP3NKX.cjs.map → bootstrap-BMWVB2T6.cjs.map} +1 -1
- package/dist/bootstrap-LL6O7PWO.js +6 -0
- package/dist/{bootstrap-BDTTUGY2.js.map → bootstrap-LL6O7PWO.js.map} +1 -1
- package/dist/{chunk-3VZCX4DF.cjs → chunk-42JPONZU.cjs} +77 -14
- package/dist/chunk-42JPONZU.cjs.map +1 -0
- package/dist/{chunk-MHS6CPO5.cjs → chunk-4M5PHMUE.cjs} +66 -346
- package/dist/chunk-4M5PHMUE.cjs.map +1 -0
- package/dist/chunk-4PWRCMTQ.cjs +15 -0
- package/dist/chunk-4PWRCMTQ.cjs.map +1 -0
- package/dist/chunk-6COM32WF.js +47 -0
- package/dist/chunk-6COM32WF.js.map +1 -0
- package/dist/chunk-6MSSF46R.js +941 -0
- package/dist/chunk-6MSSF46R.js.map +1 -0
- package/dist/{chunk-TZFJMPCH.cjs → chunk-7YITG2US.cjs} +9 -18
- package/dist/chunk-7YITG2US.cjs.map +1 -0
- package/dist/{chunk-A3RQWHKD.cjs → chunk-BLMFBDBG.cjs} +56 -6
- package/dist/chunk-BLMFBDBG.cjs.map +1 -0
- package/dist/{chunk-EINVJPFM.js → chunk-BTOE3VUK.js} +65 -3
- package/dist/chunk-BTOE3VUK.js.map +1 -0
- package/dist/chunk-E5X75WNB.js +497 -0
- package/dist/chunk-E5X75WNB.js.map +1 -0
- package/dist/chunk-E63IF3MD.cjs +951 -0
- package/dist/chunk-E63IF3MD.cjs.map +1 -0
- package/dist/{chunk-K7QF2QCM.cjs → chunk-FTSSDDZQ.cjs} +7 -3
- package/dist/chunk-FTSSDDZQ.cjs.map +1 -0
- package/dist/chunk-G7VZBCD6.cjs +35 -0
- package/dist/{chunk-5BLDMQED.cjs.map → chunk-G7VZBCD6.cjs.map} +1 -1
- package/dist/{chunk-VMSRTAH7.js → chunk-GLCPGZPM.js} +56 -6
- package/dist/chunk-GLCPGZPM.js.map +1 -0
- package/dist/{chunk-V3B25QOK.cjs → chunk-GVFB5C6O.cjs} +74 -2
- package/dist/chunk-GVFB5C6O.cjs.map +1 -0
- package/dist/chunk-HVSQDZZJ.cjs +765 -0
- package/dist/chunk-HVSQDZZJ.cjs.map +1 -0
- package/dist/chunk-HYC4GNHX.js +758 -0
- package/dist/chunk-HYC4GNHX.js.map +1 -0
- package/dist/chunk-KDVDIZ4Y.cjs +3479 -0
- package/dist/chunk-KDVDIZ4Y.cjs.map +1 -0
- package/dist/{chunk-OG3KX56O.js → chunk-KWGNR4HM.js} +7 -3
- package/dist/chunk-KWGNR4HM.js.map +1 -0
- package/dist/chunk-LIJVWQKU.cjs +256 -0
- package/dist/chunk-LIJVWQKU.cjs.map +1 -0
- package/dist/{chunk-XTZSUDSI.js → chunk-LTRCYJAG.js} +3 -18
- package/dist/chunk-LTRCYJAG.js.map +1 -0
- package/dist/{chunk-UEYC46RL.js → chunk-OUGKLCYF.js} +71 -8
- package/dist/chunk-OUGKLCYF.js.map +1 -0
- package/dist/chunk-RONAX6UU.js +3456 -0
- package/dist/chunk-RONAX6UU.js.map +1 -0
- package/dist/{chunk-C74MQIRL.js → chunk-RRYXQMZG.js} +66 -344
- package/dist/chunk-RRYXQMZG.js.map +1 -0
- package/dist/{chunk-QUJ4OLSC.js → chunk-U74F3YZU.js} +87 -7
- package/dist/chunk-U74F3YZU.js.map +1 -0
- package/dist/chunk-VIONYQ2K.cjs +517 -0
- package/dist/chunk-VIONYQ2K.cjs.map +1 -0
- package/dist/chunk-VSTRLXMQ.cjs +50 -0
- package/dist/chunk-VSTRLXMQ.cjs.map +1 -0
- package/dist/chunk-YT7HXXVN.js +13 -0
- package/dist/chunk-YT7HXXVN.js.map +1 -0
- package/dist/chunk-Z6ZWNWWR.js +30 -0
- package/dist/{chunk-NSBPE2FW.js.map → chunk-Z6ZWNWWR.js.map} +1 -1
- package/dist/cli/index.cjs +11 -7
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +11 -7
- package/dist/cli/index.js.map +1 -1
- package/dist/drizzle/index.cjs +20 -17
- package/dist/drizzle/index.d.cts +4 -4
- package/dist/drizzle/index.d.ts +4 -4
- package/dist/drizzle/index.js +4 -5
- package/dist/graphql/index.cjs +4 -4
- package/dist/graphql/index.d.cts +3 -2
- package/dist/graphql/index.d.ts +3 -2
- package/dist/graphql/index.js +2 -2
- package/dist/{index-DI0DRPNv.d.cts → index-BwE4NueJ.d.cts} +1 -1
- package/dist/{index-CMUNCIWQ.d.ts → index-DUKmDSeC.d.cts} +96 -24
- package/dist/{index-BMySjW6o.d.cts → index-DtBi3zP0.d.ts} +96 -24
- package/dist/{index-4fJKLFK2.d.ts → index-DupWTmW6.d.ts} +1 -1
- package/dist/index.cjs +3317 -352
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +379 -105
- package/dist/index.d.ts +379 -105
- package/dist/index.js +3211 -310
- package/dist/index.js.map +1 -1
- package/dist/media-HOT3O7RW.js +4 -0
- package/dist/media-HOT3O7RW.js.map +1 -0
- package/dist/media-WKP5AOX2.cjs +17 -0
- package/dist/media-WKP5AOX2.cjs.map +1 -0
- package/dist/mongodb/index.cjs +1 -1
- package/dist/mongodb/index.d.cts +2 -2
- package/dist/mongodb/index.d.ts +2 -2
- package/dist/mongodb/index.js +1 -1
- package/dist/mysql-media-AI6YK767.cjs +48 -0
- package/dist/mysql-media-AI6YK767.cjs.map +1 -0
- package/dist/mysql-media-CDZUS7YX.js +45 -0
- package/dist/mysql-media-CDZUS7YX.js.map +1 -0
- package/dist/postgres-auth-adapter-EVRPO7BQ.cjs +14 -0
- package/dist/{postgres-auth-adapter-VK6GY7LX.cjs.map → postgres-auth-adapter-EVRPO7BQ.cjs.map} +1 -1
- package/dist/postgres-auth-adapter-OTRWSTT5.js +5 -0
- package/dist/{postgres-auth-adapter-REJFUMP7.js.map → postgres-auth-adapter-OTRWSTT5.js.map} +1 -1
- package/dist/redis-adapter-2N6VA7BI.cjs +13 -0
- package/dist/{redis-adapter-LBLNKGNS.cjs.map → redis-adapter-2N6VA7BI.cjs.map} +1 -1
- package/dist/redis-adapter-RA24FNCX.js +4 -0
- package/dist/{redis-adapter-4YDY4LWE.js.map → redis-adapter-RA24FNCX.js.map} +1 -1
- package/dist/rest/index.cjs +7 -5
- package/dist/rest/index.d.cts +29 -3
- package/dist/rest/index.d.ts +29 -3
- package/dist/rest/index.js +5 -3
- package/dist/schema-CNB2DDTX.js +6 -0
- package/dist/schema-CNB2DDTX.js.map +1 -0
- package/dist/schema-Y777CQQS.cjs +67 -0
- package/dist/schema-Y777CQQS.cjs.map +1 -0
- package/dist/templates/index.cjs +24 -28
- package/dist/templates/index.d.cts +2 -4
- package/dist/templates/index.d.ts +2 -4
- package/dist/templates/index.js +2 -2
- package/dist/trpc/index.cjs +12 -12
- package/dist/trpc/index.d.cts +19 -14
- package/dist/trpc/index.d.ts +19 -14
- package/dist/trpc/index.js +3 -3
- package/dist/{types-BGM5MV_K.d.cts → types-BM0s_YOy.d.cts} +67 -35
- package/dist/{types-BGM5MV_K.d.ts → types-BM0s_YOy.d.ts} +67 -35
- package/dist/ws/index.cjs +1 -1
- package/dist/ws/index.js +1 -1
- package/package.json +11 -1
- package/dist/bootstrap-BDTTUGY2.js +0 -4
- package/dist/bootstrap-X6TP3NKX.cjs +0 -29
- package/dist/chunk-3QX6KG2S.js +0 -2125
- package/dist/chunk-3QX6KG2S.js.map +0 -1
- package/dist/chunk-3VZCX4DF.cjs.map +0 -1
- package/dist/chunk-5BLDMQED.cjs +0 -18
- package/dist/chunk-7G6EVYCU.cjs +0 -94
- package/dist/chunk-7G6EVYCU.cjs.map +0 -1
- package/dist/chunk-A3RQWHKD.cjs.map +0 -1
- package/dist/chunk-C74MQIRL.js.map +0 -1
- package/dist/chunk-EINVJPFM.js.map +0 -1
- package/dist/chunk-F5B64H5S.cjs +0 -2149
- package/dist/chunk-F5B64H5S.cjs.map +0 -1
- package/dist/chunk-K7QF2QCM.cjs.map +0 -1
- package/dist/chunk-LRTZJJPD.js +0 -86
- package/dist/chunk-LRTZJJPD.js.map +0 -1
- package/dist/chunk-MHS6CPO5.cjs.map +0 -1
- package/dist/chunk-NSBPE2FW.js +0 -15
- package/dist/chunk-OG3KX56O.js.map +0 -1
- package/dist/chunk-QUJ4OLSC.js.map +0 -1
- package/dist/chunk-R3XIBBAW.cjs +0 -34
- package/dist/chunk-R3XIBBAW.cjs.map +0 -1
- package/dist/chunk-SDMNUYVU.js +0 -30
- package/dist/chunk-SDMNUYVU.js.map +0 -1
- package/dist/chunk-TZFJMPCH.cjs.map +0 -1
- package/dist/chunk-UEG7KMKC.cjs +0 -228
- package/dist/chunk-UEG7KMKC.cjs.map +0 -1
- package/dist/chunk-UEYC46RL.js.map +0 -1
- package/dist/chunk-V3B25QOK.cjs.map +0 -1
- package/dist/chunk-VMSRTAH7.js.map +0 -1
- package/dist/chunk-XTZSUDSI.js.map +0 -1
- package/dist/chunk-YD7Y25W7.cjs +0 -176
- package/dist/chunk-YD7Y25W7.cjs.map +0 -1
- package/dist/chunk-YPAFJ7EV.js +0 -225
- package/dist/chunk-YPAFJ7EV.js.map +0 -1
- package/dist/database-7CJOXEZR.js +0 -5
- package/dist/database-7CJOXEZR.js.map +0 -1
- package/dist/database-QOIV44GT.cjs +0 -22
- package/dist/database-QOIV44GT.cjs.map +0 -1
- package/dist/postgres-auth-adapter-REJFUMP7.js +0 -5
- package/dist/postgres-auth-adapter-VK6GY7LX.cjs +0 -14
- package/dist/redis-adapter-4YDY4LWE.js +0 -4
- package/dist/redis-adapter-LBLNKGNS.cjs +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"media-HOT3O7RW.js"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVSTRLXMQ_cjs = require('./chunk-VSTRLXMQ.cjs');
|
|
4
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "media", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkVSTRLXMQ_cjs.media; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "mediaFolders", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkVSTRLXMQ_cjs.mediaFolders; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=media-WKP5AOX2.cjs.map
|
|
17
|
+
//# sourceMappingURL=media-WKP5AOX2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"media-WKP5AOX2.cjs"}
|
package/dist/mongodb/index.cjs
CHANGED
package/dist/mongodb/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-
|
|
2
|
-
import { a as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, U as UpdateArgs, D as DeleteArgs } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-B0Y6isUJ.cjs';
|
|
2
|
+
import { a as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, U as UpdateArgs, D as DeleteArgs } from '../types-BM0s_YOy.cjs';
|
|
3
3
|
|
|
4
4
|
declare class MongoDBAdapter extends AbstractBaseAdapter {
|
|
5
5
|
private client;
|
package/dist/mongodb/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter } from '../base-
|
|
2
|
-
import { a as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, U as UpdateArgs, D as DeleteArgs } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-DaP-5PPG.js';
|
|
2
|
+
import { a as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, U as UpdateArgs, D as DeleteArgs } from '../types-BM0s_YOy.js';
|
|
3
3
|
|
|
4
4
|
declare class MongoDBAdapter extends AbstractBaseAdapter {
|
|
5
5
|
private client;
|
package/dist/mongodb/index.js
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
4
|
+
var mysqlCore = require('drizzle-orm/mysql-core');
|
|
5
|
+
var drizzleOrm = require('drizzle-orm');
|
|
6
|
+
|
|
7
|
+
var media = mysqlCore.mysqlTable(
|
|
8
|
+
"media",
|
|
9
|
+
{
|
|
10
|
+
id: mysqlCore.varchar("id", { length: 64 }).primaryKey(),
|
|
11
|
+
filename: mysqlCore.varchar("filename", { length: 255 }).notNull().unique(),
|
|
12
|
+
title: mysqlCore.varchar("title", { length: 255 }),
|
|
13
|
+
originalName: mysqlCore.varchar("original_name", { length: 255 }).notNull(),
|
|
14
|
+
mimeType: mysqlCore.varchar("mime_type", { length: 100 }).notNull(),
|
|
15
|
+
fileSize: mysqlCore.int("file_size").notNull(),
|
|
16
|
+
width: mysqlCore.int("width"),
|
|
17
|
+
height: mysqlCore.int("height"),
|
|
18
|
+
url: mysqlCore.text("url").notNull().unique(),
|
|
19
|
+
thumbnailUrl: mysqlCore.text("thumbnail_url"),
|
|
20
|
+
folder: mysqlCore.varchar("folder", { length: 255 }),
|
|
21
|
+
provider: mysqlCore.varchar("provider", { length: 50 }).notNull(),
|
|
22
|
+
alt: mysqlCore.text("alt"),
|
|
23
|
+
caption: mysqlCore.text("caption"),
|
|
24
|
+
metadata: mysqlCore.text("metadata"),
|
|
25
|
+
createdAt: mysqlCore.datetime("created_at").notNull().default(drizzleOrm.sql`(CURRENT_TIMESTAMP)`),
|
|
26
|
+
updatedAt: mysqlCore.datetime("updated_at").notNull().default(drizzleOrm.sql`(CURRENT_TIMESTAMP)`)
|
|
27
|
+
},
|
|
28
|
+
(table) => [
|
|
29
|
+
mysqlCore.index("media_folder_idx").on(table.folder),
|
|
30
|
+
mysqlCore.index("media_provider_idx").on(table.provider),
|
|
31
|
+
mysqlCore.index("media_filename_idx").on(table.filename)
|
|
32
|
+
]
|
|
33
|
+
);
|
|
34
|
+
var mediaFolders = mysqlCore.mysqlTable(
|
|
35
|
+
"media_folders",
|
|
36
|
+
{
|
|
37
|
+
path: mysqlCore.varchar("path", { length: 500 }).primaryKey(),
|
|
38
|
+
name: mysqlCore.varchar("name", { length: 255 }).notNull(),
|
|
39
|
+
parentPath: mysqlCore.varchar("parent_path", { length: 500 }),
|
|
40
|
+
createdAt: mysqlCore.datetime("created_at").notNull().default(drizzleOrm.sql`(CURRENT_TIMESTAMP)`)
|
|
41
|
+
},
|
|
42
|
+
(table) => [mysqlCore.index("media_folders_parent_idx").on(table.parentPath)]
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
exports.media = media;
|
|
46
|
+
exports.mediaFolders = mediaFolders;
|
|
47
|
+
//# sourceMappingURL=mysql-media-AI6YK767.cjs.map
|
|
48
|
+
//# sourceMappingURL=mysql-media-AI6YK767.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/database/drizzle/schema/mysql-media.ts"],"names":["mysqlTable","varchar","int","text","datetime","sql","index"],"mappings":";;;;;;AAUO,IAAM,KAAA,GAAQA,oBAAA;AAAA,EACnB,OAAA;AAAA,EACA;AAAA,IACE,EAAA,EAAIC,kBAAQ,IAAA,EAAM,EAAE,QAAQ,EAAA,EAAI,EAAE,UAAA,EAAW;AAAA,IAC7C,QAAA,EAAUA,iBAAA,CAAQ,UAAA,EAAY,EAAE,MAAA,EAAQ,KAAK,CAAA,CAAE,OAAA,EAAQ,CAAE,MAAA,EAAO;AAAA,IAChE,OAAOA,iBAAA,CAAQ,OAAA,EAAS,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IACvC,YAAA,EAAcA,kBAAQ,eAAA,EAAiB,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IAChE,QAAA,EAAUA,kBAAQ,WAAA,EAAa,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IACxD,QAAA,EAAUC,aAAA,CAAI,WAAW,CAAA,CAAE,OAAA,EAAQ;AAAA,IACnC,KAAA,EAAOA,cAAI,OAAO,CAAA;AAAA,IAClB,MAAA,EAAQA,cAAI,QAAQ,CAAA;AAAA,IACpB,KAAKC,cAAA,CAAK,KAAK,CAAA,CAAE,OAAA,GAAU,MAAA,EAAO;AAAA,IAClC,YAAA,EAAcA,eAAK,eAAe,CAAA;AAAA,IAClC,QAAQF,iBAAA,CAAQ,QAAA,EAAU,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IACzC,QAAA,EAAUA,kBAAQ,UAAA,EAAY,EAAE,QAAQ,EAAA,EAAI,EAAE,OAAA,EAAQ;AAAA,IACtD,GAAA,EAAKE,eAAK,KAAK,CAAA;AAAA,IACf,OAAA,EAASA,eAAK,SAAS,CAAA;AAAA,IACvB,QAAA,EAAUA,eAAK,UAAU,CAAA;AAAA,IACzB,WAAWC,kBAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQC,cAAA,CAAA,mBAAA,CAAwB,CAAA;AAAA,IACnC,WAAWD,kBAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQC,cAAA,CAAA,mBAAA,CAAwB;AAAA,GACrC;AAAA,EACA,CAAC,KAAA,KAAU;AAAA,IACTC,eAAA,CAAM,kBAAkB,CAAA,CAAE,EAAA,CAAG,MAAM,MAAM,CAAA;AAAA,IACzCA,eAAA,CAAM,oBAAoB,CAAA,CAAE,EAAA,CAAG,MAAM,QAAQ,CAAA;AAAA,IAC7CA,eAAA,CAAM,oBAAoB,CAAA,CAAE,EAAA,CAAG,MAAM,QAAQ;AAAA;AAEjD;AAEO,IAAM,YAAA,GAAeN,oBAAA;AAAA,EAC1B,eAAA;AAAA,EACA;AAAA,IACE,IAAA,EAAMC,kBAAQ,MAAA,EAAQ,EAAE,QAAQ,GAAA,EAAK,EAAE,UAAA,EAAW;AAAA,IAClD,IAAA,EAAMA,kBAAQ,MAAA,EAAQ,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IAC/C,YAAYA,iBAAA,CAAQ,aAAA,EAAe,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IAClD,WAAWG,kBAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQC,cAAA,CAAA,mBAAA,CAAwB;AAAA,GACrC;AAAA,EACA,CAAC,UAAU,CAACC,eAAA,CAAM,0BAA0B,CAAA,CAAE,EAAA,CAAG,KAAA,CAAM,UAAU,CAAC;AACpE","file":"mysql-media-AI6YK767.cjs","sourcesContent":["import {\n mysqlTable,\n varchar,\n text,\n int,\n datetime,\n index,\n} from \"drizzle-orm/mysql-core\";\nimport { sql } from \"drizzle-orm\";\n\nexport const media = mysqlTable(\n \"media\",\n {\n id: varchar(\"id\", { length: 64 }).primaryKey(),\n filename: varchar(\"filename\", { length: 255 }).notNull().unique(),\n title: varchar(\"title\", { length: 255 }),\n originalName: varchar(\"original_name\", { length: 255 }).notNull(),\n mimeType: varchar(\"mime_type\", { length: 100 }).notNull(),\n fileSize: int(\"file_size\").notNull(),\n width: int(\"width\"),\n height: int(\"height\"),\n url: text(\"url\").notNull().unique(),\n thumbnailUrl: text(\"thumbnail_url\"),\n folder: varchar(\"folder\", { length: 255 }),\n provider: varchar(\"provider\", { length: 50 }).notNull(),\n alt: text(\"alt\"),\n caption: text(\"caption\"),\n metadata: text(\"metadata\"),\n createdAt: datetime(\"created_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n updatedAt: datetime(\"updated_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n },\n (table) => [\n index(\"media_folder_idx\").on(table.folder),\n index(\"media_provider_idx\").on(table.provider),\n index(\"media_filename_idx\").on(table.filename),\n ],\n);\n\nexport const mediaFolders = mysqlTable(\n \"media_folders\",\n {\n path: varchar(\"path\", { length: 500 }).primaryKey(),\n name: varchar(\"name\", { length: 255 }).notNull(),\n parentPath: varchar(\"parent_path\", { length: 500 }),\n createdAt: datetime(\"created_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n },\n (table) => [index(\"media_folders_parent_idx\").on(table.parentPath)],\n);\n\nexport type Media = typeof media.$inferSelect;\nexport type NewMedia = typeof media.$inferInsert;\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import './chunk-Z6ZWNWWR.js';
|
|
2
|
+
import { mysqlTable, datetime, text, varchar, int, index } from 'drizzle-orm/mysql-core';
|
|
3
|
+
import { sql } from 'drizzle-orm';
|
|
4
|
+
|
|
5
|
+
var media = mysqlTable(
|
|
6
|
+
"media",
|
|
7
|
+
{
|
|
8
|
+
id: varchar("id", { length: 64 }).primaryKey(),
|
|
9
|
+
filename: varchar("filename", { length: 255 }).notNull().unique(),
|
|
10
|
+
title: varchar("title", { length: 255 }),
|
|
11
|
+
originalName: varchar("original_name", { length: 255 }).notNull(),
|
|
12
|
+
mimeType: varchar("mime_type", { length: 100 }).notNull(),
|
|
13
|
+
fileSize: int("file_size").notNull(),
|
|
14
|
+
width: int("width"),
|
|
15
|
+
height: int("height"),
|
|
16
|
+
url: text("url").notNull().unique(),
|
|
17
|
+
thumbnailUrl: text("thumbnail_url"),
|
|
18
|
+
folder: varchar("folder", { length: 255 }),
|
|
19
|
+
provider: varchar("provider", { length: 50 }).notNull(),
|
|
20
|
+
alt: text("alt"),
|
|
21
|
+
caption: text("caption"),
|
|
22
|
+
metadata: text("metadata"),
|
|
23
|
+
createdAt: datetime("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`),
|
|
24
|
+
updatedAt: datetime("updated_at").notNull().default(sql`(CURRENT_TIMESTAMP)`)
|
|
25
|
+
},
|
|
26
|
+
(table) => [
|
|
27
|
+
index("media_folder_idx").on(table.folder),
|
|
28
|
+
index("media_provider_idx").on(table.provider),
|
|
29
|
+
index("media_filename_idx").on(table.filename)
|
|
30
|
+
]
|
|
31
|
+
);
|
|
32
|
+
var mediaFolders = mysqlTable(
|
|
33
|
+
"media_folders",
|
|
34
|
+
{
|
|
35
|
+
path: varchar("path", { length: 500 }).primaryKey(),
|
|
36
|
+
name: varchar("name", { length: 255 }).notNull(),
|
|
37
|
+
parentPath: varchar("parent_path", { length: 500 }),
|
|
38
|
+
createdAt: datetime("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`)
|
|
39
|
+
},
|
|
40
|
+
(table) => [index("media_folders_parent_idx").on(table.parentPath)]
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
export { media, mediaFolders };
|
|
44
|
+
//# sourceMappingURL=mysql-media-CDZUS7YX.js.map
|
|
45
|
+
//# sourceMappingURL=mysql-media-CDZUS7YX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/database/drizzle/schema/mysql-media.ts"],"names":[],"mappings":";;;;AAUO,IAAM,KAAA,GAAQ,UAAA;AAAA,EACnB,OAAA;AAAA,EACA;AAAA,IACE,EAAA,EAAI,QAAQ,IAAA,EAAM,EAAE,QAAQ,EAAA,EAAI,EAAE,UAAA,EAAW;AAAA,IAC7C,QAAA,EAAU,OAAA,CAAQ,UAAA,EAAY,EAAE,MAAA,EAAQ,KAAK,CAAA,CAAE,OAAA,EAAQ,CAAE,MAAA,EAAO;AAAA,IAChE,OAAO,OAAA,CAAQ,OAAA,EAAS,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IACvC,YAAA,EAAc,QAAQ,eAAA,EAAiB,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IAChE,QAAA,EAAU,QAAQ,WAAA,EAAa,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IACxD,QAAA,EAAU,GAAA,CAAI,WAAW,CAAA,CAAE,OAAA,EAAQ;AAAA,IACnC,KAAA,EAAO,IAAI,OAAO,CAAA;AAAA,IAClB,MAAA,EAAQ,IAAI,QAAQ,CAAA;AAAA,IACpB,KAAK,IAAA,CAAK,KAAK,CAAA,CAAE,OAAA,GAAU,MAAA,EAAO;AAAA,IAClC,YAAA,EAAc,KAAK,eAAe,CAAA;AAAA,IAClC,QAAQ,OAAA,CAAQ,QAAA,EAAU,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IACzC,QAAA,EAAU,QAAQ,UAAA,EAAY,EAAE,QAAQ,EAAA,EAAI,EAAE,OAAA,EAAQ;AAAA,IACtD,GAAA,EAAK,KAAK,KAAK,CAAA;AAAA,IACf,OAAA,EAAS,KAAK,SAAS,CAAA;AAAA,IACvB,QAAA,EAAU,KAAK,UAAU,CAAA;AAAA,IACzB,WAAW,QAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQ,GAAA,CAAA,mBAAA,CAAwB,CAAA;AAAA,IACnC,WAAW,QAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQ,GAAA,CAAA,mBAAA,CAAwB;AAAA,GACrC;AAAA,EACA,CAAC,KAAA,KAAU;AAAA,IACT,KAAA,CAAM,kBAAkB,CAAA,CAAE,EAAA,CAAG,MAAM,MAAM,CAAA;AAAA,IACzC,KAAA,CAAM,oBAAoB,CAAA,CAAE,EAAA,CAAG,MAAM,QAAQ,CAAA;AAAA,IAC7C,KAAA,CAAM,oBAAoB,CAAA,CAAE,EAAA,CAAG,MAAM,QAAQ;AAAA;AAEjD;AAEO,IAAM,YAAA,GAAe,UAAA;AAAA,EAC1B,eAAA;AAAA,EACA;AAAA,IACE,IAAA,EAAM,QAAQ,MAAA,EAAQ,EAAE,QAAQ,GAAA,EAAK,EAAE,UAAA,EAAW;AAAA,IAClD,IAAA,EAAM,QAAQ,MAAA,EAAQ,EAAE,QAAQ,GAAA,EAAK,EAAE,OAAA,EAAQ;AAAA,IAC/C,YAAY,OAAA,CAAQ,aAAA,EAAe,EAAE,MAAA,EAAQ,KAAK,CAAA;AAAA,IAClD,WAAW,QAAA,CAAS,YAAY,EAC7B,OAAA,EAAQ,CACR,QAAQ,GAAA,CAAA,mBAAA,CAAwB;AAAA,GACrC;AAAA,EACA,CAAC,UAAU,CAAC,KAAA,CAAM,0BAA0B,CAAA,CAAE,EAAA,CAAG,KAAA,CAAM,UAAU,CAAC;AACpE","file":"mysql-media-CDZUS7YX.js","sourcesContent":["import {\n mysqlTable,\n varchar,\n text,\n int,\n datetime,\n index,\n} from \"drizzle-orm/mysql-core\";\nimport { sql } from \"drizzle-orm\";\n\nexport const media = mysqlTable(\n \"media\",\n {\n id: varchar(\"id\", { length: 64 }).primaryKey(),\n filename: varchar(\"filename\", { length: 255 }).notNull().unique(),\n title: varchar(\"title\", { length: 255 }),\n originalName: varchar(\"original_name\", { length: 255 }).notNull(),\n mimeType: varchar(\"mime_type\", { length: 100 }).notNull(),\n fileSize: int(\"file_size\").notNull(),\n width: int(\"width\"),\n height: int(\"height\"),\n url: text(\"url\").notNull().unique(),\n thumbnailUrl: text(\"thumbnail_url\"),\n folder: varchar(\"folder\", { length: 255 }),\n provider: varchar(\"provider\", { length: 50 }).notNull(),\n alt: text(\"alt\"),\n caption: text(\"caption\"),\n metadata: text(\"metadata\"),\n createdAt: datetime(\"created_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n updatedAt: datetime(\"updated_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n },\n (table) => [\n index(\"media_folder_idx\").on(table.folder),\n index(\"media_provider_idx\").on(table.provider),\n index(\"media_filename_idx\").on(table.filename),\n ],\n);\n\nexport const mediaFolders = mysqlTable(\n \"media_folders\",\n {\n path: varchar(\"path\", { length: 500 }).primaryKey(),\n name: varchar(\"name\", { length: 255 }).notNull(),\n parentPath: varchar(\"parent_path\", { length: 500 }),\n createdAt: datetime(\"created_at\")\n .notNull()\n .default(sql`(CURRENT_TIMESTAMP)`),\n },\n (table) => [index(\"media_folders_parent_idx\").on(table.parentPath)],\n);\n\nexport type Media = typeof media.$inferSelect;\nexport type NewMedia = typeof media.$inferInsert;\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLIJVWQKU_cjs = require('./chunk-LIJVWQKU.cjs');
|
|
4
|
+
require('./chunk-7YITG2US.cjs');
|
|
5
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "PostgresAuthAdapter", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkLIJVWQKU_cjs.PostgresAuthAdapter; }
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=postgres-auth-adapter-EVRPO7BQ.cjs.map
|
|
14
|
+
//# sourceMappingURL=postgres-auth-adapter-EVRPO7BQ.cjs.map
|
package/dist/{postgres-auth-adapter-VK6GY7LX.cjs.map → postgres-auth-adapter-EVRPO7BQ.cjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"postgres-auth-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"postgres-auth-adapter-EVRPO7BQ.cjs"}
|
package/dist/{postgres-auth-adapter-REJFUMP7.js.map → postgres-auth-adapter-OTRWSTT5.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"postgres-auth-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"postgres-auth-adapter-OTRWSTT5.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkBLMFBDBG_cjs = require('./chunk-BLMFBDBG.cjs');
|
|
4
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "RedisAuthAdapter", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkBLMFBDBG_cjs.RedisAuthAdapter; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=redis-adapter-2N6VA7BI.cjs.map
|
|
13
|
+
//# sourceMappingURL=redis-adapter-2N6VA7BI.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"redis-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"redis-adapter-2N6VA7BI.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"redis-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"redis-adapter-RA24FNCX.js"}
|
package/dist/rest/index.cjs
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkE63IF3MD_cjs = require('../chunk-E63IF3MD.cjs');
|
|
4
|
+
require('../chunk-HVSQDZZJ.cjs');
|
|
5
|
+
require('../chunk-4PWRCMTQ.cjs');
|
|
6
|
+
require('../chunk-VIONYQ2K.cjs');
|
|
7
|
+
require('../chunk-G7VZBCD6.cjs');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
Object.defineProperty(exports, "createHonoApp", {
|
|
10
12
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkE63IF3MD_cjs.createHonoApp; }
|
|
12
14
|
});
|
|
13
15
|
Object.defineProperty(exports, "createRESTAPI", {
|
|
14
16
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkE63IF3MD_cjs.createRESTAPI; }
|
|
16
18
|
});
|
|
17
19
|
//# sourceMappingURL=index.cjs.map
|
|
18
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/rest/index.d.cts
CHANGED
|
@@ -1,21 +1,46 @@
|
|
|
1
1
|
import { Hono } from 'hono';
|
|
2
|
-
import { B as BaseAdapter, f as User
|
|
3
|
-
import { R as Registry } from '../index-
|
|
2
|
+
import { B as BaseAdapter, f as User } from '../types-BM0s_YOy.cjs';
|
|
3
|
+
import { R as Registry } from '../index-BwE4NueJ.cjs';
|
|
4
|
+
import { i as createWebhookService } from '../WebhookService-BCgL1bLF.cjs';
|
|
4
5
|
import 'zod';
|
|
5
6
|
|
|
6
7
|
interface HonoAppOptions {
|
|
7
8
|
registry: Registry;
|
|
8
9
|
db: BaseAdapter;
|
|
10
|
+
authSecret?: string;
|
|
9
11
|
user?: User;
|
|
10
|
-
req?:
|
|
12
|
+
req?: any;
|
|
11
13
|
tenantID?: string;
|
|
12
14
|
cors?: {
|
|
13
15
|
origins?: string[];
|
|
14
16
|
credentials?: boolean;
|
|
15
17
|
};
|
|
18
|
+
webhookService?: ReturnType<typeof createWebhookService>;
|
|
19
|
+
settings?: {
|
|
20
|
+
access?: {
|
|
21
|
+
enablePublicAccess?: boolean;
|
|
22
|
+
defaultCollectionAccess?: string;
|
|
23
|
+
apiAccess?: {
|
|
24
|
+
restEnabled?: boolean;
|
|
25
|
+
graphqlEnabled?: boolean;
|
|
26
|
+
trpcEnabled?: boolean;
|
|
27
|
+
websocketEnabled?: boolean;
|
|
28
|
+
requireAuth?: boolean;
|
|
29
|
+
cors?: {
|
|
30
|
+
allowedOrigins?: string[] | string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
rateLimiting?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
maxRequests?: number;
|
|
36
|
+
windowMs?: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
16
40
|
}
|
|
17
41
|
declare function createHonoApp(options: HonoAppOptions): Hono;
|
|
18
42
|
declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
|
|
43
|
+
authSecret?: string;
|
|
19
44
|
user?: User;
|
|
20
45
|
req?: Request;
|
|
21
46
|
tenantID?: string;
|
|
@@ -23,6 +48,7 @@ declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
|
|
|
23
48
|
origins?: string[];
|
|
24
49
|
credentials?: boolean;
|
|
25
50
|
};
|
|
51
|
+
webhookService?: ReturnType<typeof createWebhookService>;
|
|
26
52
|
}): Hono;
|
|
27
53
|
|
|
28
54
|
export { type HonoAppOptions, createHonoApp, createRESTAPI };
|
package/dist/rest/index.d.ts
CHANGED
|
@@ -1,21 +1,46 @@
|
|
|
1
1
|
import { Hono } from 'hono';
|
|
2
|
-
import { B as BaseAdapter, f as User
|
|
3
|
-
import { R as Registry } from '../index-
|
|
2
|
+
import { B as BaseAdapter, f as User } from '../types-BM0s_YOy.js';
|
|
3
|
+
import { R as Registry } from '../index-DupWTmW6.js';
|
|
4
|
+
import { i as createWebhookService } from '../WebhookService-BPVJUgTl.js';
|
|
4
5
|
import 'zod';
|
|
5
6
|
|
|
6
7
|
interface HonoAppOptions {
|
|
7
8
|
registry: Registry;
|
|
8
9
|
db: BaseAdapter;
|
|
10
|
+
authSecret?: string;
|
|
9
11
|
user?: User;
|
|
10
|
-
req?:
|
|
12
|
+
req?: any;
|
|
11
13
|
tenantID?: string;
|
|
12
14
|
cors?: {
|
|
13
15
|
origins?: string[];
|
|
14
16
|
credentials?: boolean;
|
|
15
17
|
};
|
|
18
|
+
webhookService?: ReturnType<typeof createWebhookService>;
|
|
19
|
+
settings?: {
|
|
20
|
+
access?: {
|
|
21
|
+
enablePublicAccess?: boolean;
|
|
22
|
+
defaultCollectionAccess?: string;
|
|
23
|
+
apiAccess?: {
|
|
24
|
+
restEnabled?: boolean;
|
|
25
|
+
graphqlEnabled?: boolean;
|
|
26
|
+
trpcEnabled?: boolean;
|
|
27
|
+
websocketEnabled?: boolean;
|
|
28
|
+
requireAuth?: boolean;
|
|
29
|
+
cors?: {
|
|
30
|
+
allowedOrigins?: string[] | string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
rateLimiting?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
maxRequests?: number;
|
|
36
|
+
windowMs?: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
16
40
|
}
|
|
17
41
|
declare function createHonoApp(options: HonoAppOptions): Hono;
|
|
18
42
|
declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
|
|
43
|
+
authSecret?: string;
|
|
19
44
|
user?: User;
|
|
20
45
|
req?: Request;
|
|
21
46
|
tenantID?: string;
|
|
@@ -23,6 +48,7 @@ declare function createRESTAPI(registry: Registry, db: BaseAdapter, options?: {
|
|
|
23
48
|
origins?: string[];
|
|
24
49
|
credentials?: boolean;
|
|
25
50
|
};
|
|
51
|
+
webhookService?: ReturnType<typeof createWebhookService>;
|
|
26
52
|
}): Hono;
|
|
27
53
|
|
|
28
54
|
export { type HonoAppOptions, createHonoApp, createRESTAPI };
|
package/dist/rest/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { createHonoApp, createRESTAPI } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createHonoApp, createRESTAPI } from '../chunk-6MSSF46R.js';
|
|
2
|
+
import '../chunk-HYC4GNHX.js';
|
|
3
|
+
import '../chunk-YT7HXXVN.js';
|
|
4
|
+
import '../chunk-E5X75WNB.js';
|
|
5
|
+
import '../chunk-Z6ZWNWWR.js';
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { media, mediaFolders } from './chunk-6COM32WF.js';
|
|
2
|
+
export { settings } from './chunk-YT7HXXVN.js';
|
|
3
|
+
export { apiKeys, auditLogs, emailVerifications, lockouts, passwordHistory, passwordResets, permissions, roles, sessions, tenants, users } from './chunk-LTRCYJAG.js';
|
|
4
|
+
import './chunk-Z6ZWNWWR.js';
|
|
5
|
+
//# sourceMappingURL=schema-CNB2DDTX.js.map
|
|
6
|
+
//# sourceMappingURL=schema-CNB2DDTX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-CNB2DDTX.js"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVSTRLXMQ_cjs = require('./chunk-VSTRLXMQ.cjs');
|
|
4
|
+
var chunk4PWRCMTQ_cjs = require('./chunk-4PWRCMTQ.cjs');
|
|
5
|
+
var chunk7YITG2US_cjs = require('./chunk-7YITG2US.cjs');
|
|
6
|
+
require('./chunk-G7VZBCD6.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "media", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkVSTRLXMQ_cjs.media; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "mediaFolders", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkVSTRLXMQ_cjs.mediaFolders; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "settings", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunk4PWRCMTQ_cjs.settings; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "apiKeys", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunk7YITG2US_cjs.apiKeys; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "auditLogs", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunk7YITG2US_cjs.auditLogs; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "emailVerifications", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunk7YITG2US_cjs.emailVerifications; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "lockouts", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunk7YITG2US_cjs.lockouts; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "passwordHistory", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunk7YITG2US_cjs.passwordHistory; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "passwordResets", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunk7YITG2US_cjs.passwordResets; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "permissions", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunk7YITG2US_cjs.permissions; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "roles", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunk7YITG2US_cjs.roles; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "sessions", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunk7YITG2US_cjs.sessions; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "tenants", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunk7YITG2US_cjs.tenants; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "users", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunk7YITG2US_cjs.users; }
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=schema-Y777CQQS.cjs.map
|
|
67
|
+
//# sourceMappingURL=schema-Y777CQQS.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-Y777CQQS.cjs"}
|
package/dist/templates/index.cjs
CHANGED
|
@@ -1,101 +1,97 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkKDVDIZ4Y_cjs = require('../chunk-KDVDIZ4Y.cjs');
|
|
4
|
+
require('../chunk-G7VZBCD6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "accessSettingsGlobal", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkKDVDIZ4Y_cjs.accessSettingsGlobal; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "allSettingsGlobals", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkKDVDIZ4Y_cjs.allSettingsGlobals; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "blogCollections", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkKDVDIZ4Y_cjs.blogCollections; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "blogGlobals", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkKDVDIZ4Y_cjs.blogGlobals; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "coreSettingsGlobals", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkKDVDIZ4Y_cjs.coreSettingsGlobals; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "createTemplateConfig", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkKDVDIZ4Y_cjs.createTemplateConfig; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ecommerceCollections", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkKDVDIZ4Y_cjs.ecommerceCollections; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "ecommerceGlobals", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkKDVDIZ4Y_cjs.ecommerceGlobals; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "ecommerceSettingsGlobals", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkKDVDIZ4Y_cjs.ecommerceSettingsGlobals; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "emailSettingsGlobal", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkKDVDIZ4Y_cjs.emailSettingsGlobal; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "getSettingsForTemplate", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkKDVDIZ4Y_cjs.getSettingsForTemplate; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "kitchenSinkCollections", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkKDVDIZ4Y_cjs.kitchenSinkCollections; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "mediaCollection", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkKDVDIZ4Y_cjs.mediaCollection; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "mediaCollections", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(exports, "mediaFoldersCollection", {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () { return chunkF5B64H5S_cjs.mediaFoldersCollection; }
|
|
62
|
+
get: function () { return chunkKDVDIZ4Y_cjs.mediaCollections; }
|
|
67
63
|
});
|
|
68
64
|
Object.defineProperty(exports, "minimalCollections", {
|
|
69
65
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkKDVDIZ4Y_cjs.minimalCollections; }
|
|
71
67
|
});
|
|
72
68
|
Object.defineProperty(exports, "paymentSettingsGlobal", {
|
|
73
69
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkKDVDIZ4Y_cjs.paymentSettingsGlobal; }
|
|
75
71
|
});
|
|
76
72
|
Object.defineProperty(exports, "seoSettingsGlobal", {
|
|
77
73
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkKDVDIZ4Y_cjs.seoSettingsGlobal; }
|
|
79
75
|
});
|
|
80
76
|
Object.defineProperty(exports, "settingsBySlug", {
|
|
81
77
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkKDVDIZ4Y_cjs.settingsBySlug; }
|
|
83
79
|
});
|
|
84
80
|
Object.defineProperty(exports, "siteSettingsGlobal", {
|
|
85
81
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkKDVDIZ4Y_cjs.siteSettingsGlobal; }
|
|
87
83
|
});
|
|
88
84
|
Object.defineProperty(exports, "socialSettingsGlobal", {
|
|
89
85
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkKDVDIZ4Y_cjs.socialSettingsGlobal; }
|
|
91
87
|
});
|
|
92
88
|
Object.defineProperty(exports, "storageSettingsGlobal", {
|
|
93
89
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkKDVDIZ4Y_cjs.storageSettingsGlobal; }
|
|
95
91
|
});
|
|
96
92
|
Object.defineProperty(exports, "storeSettingsGlobal", {
|
|
97
93
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkKDVDIZ4Y_cjs.storeSettingsGlobal; }
|
|
99
95
|
});
|
|
100
96
|
//# sourceMappingURL=index.cjs.map
|
|
101
97
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { C as CollectionConfig, G as GlobalConfig } from '../types-
|
|
1
|
+
import { C as CollectionConfig, G as GlobalConfig } from '../types-BM0s_YOy.cjs';
|
|
2
2
|
|
|
3
3
|
declare const minimalCollections: Record<string, CollectionConfig>;
|
|
4
4
|
|
|
5
5
|
declare const blogCollections: Record<string, CollectionConfig>;
|
|
6
|
-
|
|
7
6
|
declare const blogGlobals: GlobalConfig[];
|
|
8
7
|
|
|
9
8
|
declare const ecommerceCollections: Record<string, CollectionConfig>;
|
|
@@ -12,7 +11,6 @@ declare const ecommerceGlobals: GlobalConfig[];
|
|
|
12
11
|
declare const kitchenSinkCollections: Record<string, CollectionConfig>;
|
|
13
12
|
|
|
14
13
|
declare const mediaCollection: CollectionConfig;
|
|
15
|
-
declare const mediaFoldersCollection: CollectionConfig;
|
|
16
14
|
declare const mediaCollections: CollectionConfig[];
|
|
17
15
|
|
|
18
16
|
declare const siteSettingsGlobal: GlobalConfig;
|
|
@@ -52,4 +50,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
|
|
|
52
50
|
}
|
|
53
51
|
declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
|
|
54
52
|
|
|
55
|
-
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections,
|
|
53
|
+
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal };
|