@kyro-cms/core 0.9.0 → 0.9.2
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/README.md +55 -593
- package/dist/{WebhookService-AefJfqX0.d.cts → WebhookService-BKszZlG0.d.cts} +1 -1
- package/dist/{WebhookService-118ZTFis.d.ts → WebhookService-Ccf1j-IN.d.ts} +1 -1
- package/dist/api-handler-graphql.cjs +44 -0
- package/dist/api-handler-graphql.cjs.map +1 -0
- package/dist/api-handler-graphql.d.cts +6 -0
- package/dist/api-handler-graphql.d.ts +6 -0
- package/dist/api-handler-graphql.js +41 -0
- package/dist/api-handler-graphql.js.map +1 -0
- package/dist/api-handler-trpc.cjs +38 -0
- package/dist/api-handler-trpc.cjs.map +1 -0
- package/dist/api-handler-trpc.d.cts +5 -0
- package/dist/api-handler-trpc.d.ts +5 -0
- package/dist/api-handler-trpc.js +36 -0
- package/dist/api-handler-trpc.js.map +1 -0
- package/dist/api-handler.cjs +33 -99
- package/dist/api-handler.cjs.map +1 -1
- package/dist/api-handler.d.cts +2 -1
- package/dist/api-handler.d.ts +2 -1
- package/dist/api-handler.js +21 -97
- package/dist/api-handler.js.map +1 -1
- package/dist/{tenant-B1YB0Jy8.d.ts → base-CIuXkrH4.d.cts} +7 -15
- package/dist/{tenant-Cpeveji6.d.cts → base-fFo4lqER.d.ts} +7 -15
- package/dist/bootstrap-3PV3GJ3S.js +7 -0
- package/dist/{bootstrap-JCML6NFO.js.map → bootstrap-3PV3GJ3S.js.map} +1 -1
- package/dist/bootstrap-4CELFLJO.cjs +32 -0
- package/dist/{bootstrap-AKAUP6F6.cjs.map → bootstrap-4CELFLJO.cjs.map} +1 -1
- package/dist/{chunk-VJT6P4N6.cjs → chunk-3HR772HI.cjs} +199 -32
- package/dist/chunk-3HR772HI.cjs.map +1 -0
- package/dist/chunk-3KTWGODI.cjs +178 -0
- package/dist/chunk-3KTWGODI.cjs.map +1 -0
- package/dist/{chunk-QXIQWPAP.js → chunk-3UK5XBVJ.js} +4 -134
- package/dist/chunk-3UK5XBVJ.js.map +1 -0
- package/dist/{chunk-FXYP2HA6.js → chunk-4AO3A3JM.js} +48 -4
- package/dist/chunk-4AO3A3JM.js.map +1 -0
- package/dist/{chunk-Z6ZWNWWR.js → chunk-4CV4JOE5.js} +3 -9
- package/dist/{chunk-Z6ZWNWWR.js.map → chunk-4CV4JOE5.js.map} +1 -1
- package/dist/chunk-4M7X5HAB.cjs +173 -0
- package/dist/chunk-4M7X5HAB.cjs.map +1 -0
- package/dist/chunk-53NYVYVX.js +3243 -0
- package/dist/chunk-53NYVYVX.js.map +1 -0
- package/dist/{chunk-35U3FROB.js → chunk-5H3MWQJS.js} +714 -184
- package/dist/chunk-5H3MWQJS.js.map +1 -0
- package/dist/{chunk-YVUJBEXE.cjs → chunk-5PMQQFRE.cjs} +16 -7
- package/dist/chunk-5PMQQFRE.cjs.map +1 -0
- package/dist/{chunk-57P6MJKC.js → chunk-6UNONDW7.js} +94 -10
- package/dist/chunk-6UNONDW7.js.map +1 -0
- package/dist/{chunk-Y3N7UUDO.js → chunk-7OGPN7MP.js} +5 -2
- package/dist/chunk-7OGPN7MP.js.map +1 -0
- package/dist/{chunk-2OL4O2TH.cjs → chunk-7OS7TX2Q.cjs} +68 -62
- package/dist/chunk-7OS7TX2Q.cjs.map +1 -0
- package/dist/{chunk-3TPQ2BU6.js → chunk-BYBMTIMT.js} +2 -6
- package/dist/chunk-BYBMTIMT.js.map +1 -0
- package/dist/{chunk-ES5HNFFT.js → chunk-CF7OL6HR.js} +4 -2
- package/dist/chunk-CF7OL6HR.js.map +1 -0
- package/dist/chunk-CJONKRHJ.js +162 -0
- package/dist/chunk-CJONKRHJ.js.map +1 -0
- package/dist/{chunk-OHVB4AJ7.js → chunk-CJX74IYK.js} +24 -18
- package/dist/chunk-CJX74IYK.js.map +1 -0
- package/dist/{chunk-5KVM3WEY.cjs → chunk-CNKT4PME.cjs} +1592 -868
- package/dist/chunk-CNKT4PME.cjs.map +1 -0
- package/dist/{chunk-G7VZBCD6.cjs → chunk-CZLDE2OZ.cjs} +2 -9
- package/dist/{chunk-G7VZBCD6.cjs.map → chunk-CZLDE2OZ.cjs.map} +1 -1
- package/dist/{chunk-WQBRWOQT.cjs → chunk-DPA3KWPY.cjs} +4 -3
- package/dist/chunk-DPA3KWPY.cjs.map +1 -0
- package/dist/{chunk-LINKCEG4.cjs → chunk-E2763JUP.cjs} +726 -196
- package/dist/chunk-E2763JUP.cjs.map +1 -0
- package/dist/chunk-E5UJBLQ7.js +220 -0
- package/dist/chunk-E5UJBLQ7.js.map +1 -0
- package/dist/{chunk-DVD5P72E.cjs → chunk-EEJUFDMF.cjs} +2 -6
- package/dist/chunk-EEJUFDMF.cjs.map +1 -0
- package/dist/chunk-FSKONGCX.cjs +253 -0
- package/dist/chunk-FSKONGCX.cjs.map +1 -0
- package/dist/{chunk-Y3QQN7PN.js → chunk-GAAHG2Z4.js} +13 -4
- package/dist/chunk-GAAHG2Z4.js.map +1 -0
- package/dist/chunk-GAOXD3XT.js +175 -0
- package/dist/chunk-GAOXD3XT.js.map +1 -0
- package/dist/{chunk-SA7NSSIQ.cjs → chunk-GUUB5EAG.cjs} +13 -187
- package/dist/chunk-GUUB5EAG.cjs.map +1 -0
- package/dist/{chunk-4DA7QPLA.cjs → chunk-GXFOGU7N.cjs} +5 -2
- package/dist/chunk-GXFOGU7N.cjs.map +1 -0
- package/dist/{chunk-I7HHI6QV.cjs → chunk-IDVRRRAK.cjs} +17 -9
- package/dist/chunk-IDVRRRAK.cjs.map +1 -0
- package/dist/{chunk-HXRD4B37.js → chunk-IPTZM3VE.js} +1423 -704
- package/dist/chunk-IPTZM3VE.js.map +1 -0
- package/dist/chunk-KC2GDBLS.cjs +84 -0
- package/dist/chunk-KC2GDBLS.cjs.map +1 -0
- package/dist/{chunk-QUW2RZTM.cjs → chunk-L46ROHUS.cjs} +51 -7
- package/dist/chunk-L46ROHUS.cjs.map +1 -0
- package/dist/chunk-L4EZKIEX.js +185 -0
- package/dist/chunk-L4EZKIEX.js.map +1 -0
- package/dist/{chunk-REK7AYOC.js → chunk-L5UKKZQN.js} +199 -32
- package/dist/chunk-L5UKKZQN.js.map +1 -0
- package/dist/chunk-NKPKR5BW.cjs +188 -0
- package/dist/chunk-NKPKR5BW.cjs.map +1 -0
- package/dist/chunk-NWUEVLQT.cjs +99 -0
- package/dist/chunk-NWUEVLQT.cjs.map +1 -0
- package/dist/{chunk-3AJE4SEG.js → chunk-OHC6UHFY.js} +208 -76
- package/dist/chunk-OHC6UHFY.js.map +1 -0
- package/dist/chunk-PHJRNPHY.cjs +3291 -0
- package/dist/chunk-PHJRNPHY.cjs.map +1 -0
- package/dist/{chunk-DXHRBMGB.js → chunk-PQ72Z6WC.js} +67 -112
- package/dist/chunk-PQ72Z6WC.js.map +1 -0
- package/dist/{chunk-K7JPTH3G.cjs → chunk-PV2I2KMI.cjs} +214 -82
- package/dist/chunk-PV2I2KMI.cjs.map +1 -0
- package/dist/{chunk-PDYFVNUX.cjs → chunk-Q23GAMLE.cjs} +71 -116
- package/dist/chunk-Q23GAMLE.cjs.map +1 -0
- package/dist/{chunk-H727JIG7.js → chunk-Q72BOAPK.js} +16 -8
- package/dist/chunk-Q72BOAPK.js.map +1 -0
- package/dist/{chunk-IBG6V56E.cjs → chunk-QFLB4EIJ.cjs} +2 -139
- package/dist/chunk-QFLB4EIJ.cjs.map +1 -0
- package/dist/{chunk-2KVHZE6O.cjs → chunk-RFFSZSCL.cjs} +282 -190
- package/dist/chunk-RFFSZSCL.cjs.map +1 -0
- package/dist/{chunk-V3LKPM3O.cjs → chunk-SHTTJMLT.cjs} +4 -2
- package/dist/chunk-SHTTJMLT.cjs.map +1 -0
- package/dist/{chunk-WOWUL7ZY.js → chunk-UUDTPZX6.js} +5 -4
- package/dist/chunk-UUDTPZX6.js.map +1 -0
- package/dist/{chunk-QPPDLRNR.js → chunk-V7KZQIZ6.js} +277 -185
- package/dist/chunk-V7KZQIZ6.js.map +1 -0
- package/dist/{chunk-3ZFYL34R.js → chunk-WXVB364T.js} +12 -185
- package/dist/chunk-WXVB364T.js.map +1 -0
- package/dist/chunk-XEB7PH2E.js +81 -0
- package/dist/chunk-XEB7PH2E.js.map +1 -0
- package/dist/{chunk-IA6AU5PI.cjs → chunk-Y7AQK4R4.cjs} +94 -10
- package/dist/chunk-Y7AQK4R4.cjs.map +1 -0
- package/dist/chunk-YFAVQQTU.js +92 -0
- package/dist/chunk-YFAVQQTU.js.map +1 -0
- package/dist/cli/index.cjs +6 -6
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/client.cjs +4 -4
- package/dist/client.d.cts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +2 -2
- package/dist/drizzle/index.cjs +15 -14
- package/dist/drizzle/index.d.cts +10 -14
- package/dist/drizzle/index.d.ts +10 -14
- package/dist/drizzle/index.js +6 -5
- package/dist/fields/index.cjs +22 -38
- package/dist/fields/index.d.cts +2 -22
- package/dist/fields/index.d.ts +2 -22
- package/dist/fields/index.js +2 -2
- package/dist/graphql/index.cjs +6 -5
- package/dist/graphql/index.d.cts +5 -3
- package/dist/graphql/index.d.ts +5 -3
- package/dist/graphql/index.js +4 -3
- package/dist/index-BKta3cBH.d.cts +277 -0
- package/dist/index-ClOqnkTO.d.ts +277 -0
- package/dist/index.cjs +310 -168
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +130 -211
- package/dist/index.d.ts +130 -211
- package/dist/index.js +174 -35
- package/dist/index.js.map +1 -1
- package/dist/integration.cjs +3 -3
- package/dist/integration.js +2 -2
- package/dist/media-7WDX4BDJ.js +4 -0
- package/dist/{media-GPPTZ43E.js.map → media-7WDX4BDJ.js.map} +1 -1
- package/dist/{media-XNTUFJZR.cjs → media-TUSLVRQ6.cjs} +3 -3
- package/dist/{media-XNTUFJZR.cjs.map → media-TUSLVRQ6.cjs.map} +1 -1
- package/dist/mongo-auth-adapter-GT4S7SCU.cjs +17 -0
- package/dist/{mongo-auth-adapter-NHHUJHVH.cjs.map → mongo-auth-adapter-GT4S7SCU.cjs.map} +1 -1
- package/dist/mongo-auth-adapter-M7VV4LNB.js +4 -0
- package/dist/{mongo-auth-adapter-NJQUUCTP.js.map → mongo-auth-adapter-M7VV4LNB.js.map} +1 -1
- package/dist/mongodb/index.cjs +9 -8
- package/dist/mongodb/index.d.cts +6 -13
- package/dist/mongodb/index.d.ts +6 -13
- package/dist/mongodb/index.js +5 -4
- package/dist/postgres-auth-adapter-AFAPISH7.js +5 -0
- package/dist/{postgres-auth-adapter-3T2NKTSE.js.map → postgres-auth-adapter-AFAPISH7.js.map} +1 -1
- package/dist/postgres-auth-adapter-SFDTLONT.cjs +14 -0
- package/dist/{postgres-auth-adapter-7IEENCKQ.cjs.map → postgres-auth-adapter-SFDTLONT.cjs.map} +1 -1
- package/dist/redis-adapter-UQX4EE3B.cjs +13 -0
- package/dist/{redis-adapter-D2E2S3GB.cjs.map → redis-adapter-UQX4EE3B.cjs.map} +1 -1
- package/dist/redis-adapter-XALOGWY3.js +4 -0
- package/dist/{redis-adapter-VQXD7ESY.js.map → redis-adapter-XALOGWY3.js.map} +1 -1
- package/dist/rest/index.cjs +16 -15
- package/dist/rest/index.d.cts +4 -4
- package/dist/rest/index.d.ts +4 -4
- package/dist/rest/index.js +14 -13
- package/dist/{schema-37SE2F4B.cjs → schema-6QL3USNB.cjs} +15 -15
- package/dist/{schema-37SE2F4B.cjs.map → schema-6QL3USNB.cjs.map} +1 -1
- package/dist/{schema-5PHL5IVB.js → schema-FNNWEAAW.js} +4 -4
- package/dist/{schema-5PHL5IVB.js.map → schema-FNNWEAAW.js.map} +1 -1
- package/dist/sqlite-adapter-AQB5TCGV.cjs +13 -0
- package/dist/{sqlite-adapter-LVK5PS4T.cjs.map → sqlite-adapter-AQB5TCGV.cjs.map} +1 -1
- package/dist/sqlite-adapter-N5H6IM2X.js +4 -0
- package/dist/{sqlite-adapter-TR3U3W6Q.js.map → sqlite-adapter-N5H6IM2X.js.map} +1 -1
- package/dist/templates/index.cjs +134 -32
- package/dist/templates/index.d.cts +52 -9
- package/dist/templates/index.d.ts +52 -9
- package/dist/templates/index.js +4 -2
- package/dist/trpc/index.cjs +14 -13
- package/dist/trpc/index.d.cts +55 -49
- package/dist/trpc/index.d.ts +55 -49
- package/dist/trpc/index.js +5 -4
- package/dist/{types-D6ZLRGbH.d.cts → types-CpjuXbe7.d.cts} +2 -0
- package/dist/{types-D6ZLRGbH.d.ts → types-CpjuXbe7.d.ts} +2 -0
- package/dist/{types-VtjUxIMp.d.cts → types-DeSApf9T.d.cts} +36 -14
- package/dist/{types-VtjUxIMp.d.ts → types-DeSApf9T.d.ts} +36 -14
- package/dist/{types-J3R9nVsZ.d.cts → types-Dgzlftb7.d.ts} +32 -28
- package/dist/{types-Bs1up4yP.d.ts → types-Ds0tCA3L.d.cts} +32 -28
- package/dist/ws/index.cjs +6 -6
- package/dist/ws/index.js +2 -2
- package/package.json +22 -4
- package/dist/bootstrap-AKAUP6F6.cjs +0 -32
- package/dist/bootstrap-JCML6NFO.js +0 -7
- package/dist/chunk-2KVHZE6O.cjs.map +0 -1
- package/dist/chunk-2OL4O2TH.cjs.map +0 -1
- package/dist/chunk-35U3FROB.js.map +0 -1
- package/dist/chunk-3AJE4SEG.js.map +0 -1
- package/dist/chunk-3J4MFTI3.js +0 -3872
- package/dist/chunk-3J4MFTI3.js.map +0 -1
- package/dist/chunk-3TPQ2BU6.js.map +0 -1
- package/dist/chunk-3ZFYL34R.js.map +0 -1
- package/dist/chunk-4DA7QPLA.cjs.map +0 -1
- package/dist/chunk-57P6MJKC.js.map +0 -1
- package/dist/chunk-5KVM3WEY.cjs.map +0 -1
- package/dist/chunk-6IMPH6WV.cjs +0 -3897
- package/dist/chunk-6IMPH6WV.cjs.map +0 -1
- package/dist/chunk-ATBOUGQP.cjs +0 -513
- package/dist/chunk-ATBOUGQP.cjs.map +0 -1
- package/dist/chunk-DVD5P72E.cjs.map +0 -1
- package/dist/chunk-DXHRBMGB.js.map +0 -1
- package/dist/chunk-ES5HNFFT.js.map +0 -1
- package/dist/chunk-FXYP2HA6.js.map +0 -1
- package/dist/chunk-H727JIG7.js.map +0 -1
- package/dist/chunk-HXRD4B37.js.map +0 -1
- package/dist/chunk-I7HHI6QV.cjs.map +0 -1
- package/dist/chunk-IA6AU5PI.cjs.map +0 -1
- package/dist/chunk-IBG6V56E.cjs.map +0 -1
- package/dist/chunk-K7JPTH3G.cjs.map +0 -1
- package/dist/chunk-LINKCEG4.cjs.map +0 -1
- package/dist/chunk-OHVB4AJ7.js.map +0 -1
- package/dist/chunk-PDYFVNUX.cjs.map +0 -1
- package/dist/chunk-Q23JB3KL.js +0 -488
- package/dist/chunk-Q23JB3KL.js.map +0 -1
- package/dist/chunk-QPPDLRNR.js.map +0 -1
- package/dist/chunk-QUW2RZTM.cjs.map +0 -1
- package/dist/chunk-QXIQWPAP.js.map +0 -1
- package/dist/chunk-R3XIBBAW.cjs +0 -34
- package/dist/chunk-R3XIBBAW.cjs.map +0 -1
- package/dist/chunk-REK7AYOC.js.map +0 -1
- package/dist/chunk-SA7NSSIQ.cjs.map +0 -1
- package/dist/chunk-SDMNUYVU.js +0 -30
- package/dist/chunk-SDMNUYVU.js.map +0 -1
- package/dist/chunk-V3LKPM3O.cjs.map +0 -1
- package/dist/chunk-VJT6P4N6.cjs.map +0 -1
- package/dist/chunk-WOWUL7ZY.js.map +0 -1
- package/dist/chunk-WQBRWOQT.cjs.map +0 -1
- package/dist/chunk-Y3N7UUDO.js.map +0 -1
- package/dist/chunk-Y3QQN7PN.js.map +0 -1
- package/dist/chunk-YVUJBEXE.cjs.map +0 -1
- package/dist/index-CLp-DRKA.d.ts +0 -64
- package/dist/index-DfO7G4kN.d.cts +0 -64
- package/dist/media-GPPTZ43E.js +0 -4
- package/dist/mongo-auth-adapter-NHHUJHVH.cjs +0 -17
- package/dist/mongo-auth-adapter-NJQUUCTP.js +0 -4
- package/dist/postgres-auth-adapter-3T2NKTSE.js +0 -5
- package/dist/postgres-auth-adapter-7IEENCKQ.cjs +0 -14
- package/dist/redis-adapter-D2E2S3GB.cjs +0 -13
- package/dist/redis-adapter-VQXD7ESY.js +0 -4
- package/dist/sqlite-adapter-LVK5PS4T.cjs +0 -13
- package/dist/sqlite-adapter-TR3U3W6Q.js +0 -4
package/dist/templates/index.cjs
CHANGED
|
@@ -1,105 +1,207 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkPHJRNPHY_cjs = require('../chunk-PHJRNPHY.cjs');
|
|
4
|
+
var chunk3KTWGODI_cjs = require('../chunk-3KTWGODI.cjs');
|
|
5
|
+
var chunkKC2GDBLS_cjs = require('../chunk-KC2GDBLS.cjs');
|
|
6
|
+
require('../chunk-CZLDE2OZ.cjs');
|
|
5
7
|
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
Object.defineProperty(exports, "accessSettingsGlobal", {
|
|
9
11
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkPHJRNPHY_cjs.accessSettingsGlobal; }
|
|
11
13
|
});
|
|
12
14
|
Object.defineProperty(exports, "allSettingsGlobals", {
|
|
13
15
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "authCollections", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunk6IMPH6WV_cjs.authCollections; }
|
|
16
|
+
get: function () { return chunkPHJRNPHY_cjs.allSettingsGlobals; }
|
|
19
17
|
});
|
|
20
18
|
Object.defineProperty(exports, "blogCollections", {
|
|
21
19
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkPHJRNPHY_cjs.blogCollections; }
|
|
23
21
|
});
|
|
24
22
|
Object.defineProperty(exports, "blogGlobals", {
|
|
25
23
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkPHJRNPHY_cjs.blogGlobals; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "categoriesCollection", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkPHJRNPHY_cjs.categoriesCollection; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "categoriesCollections", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkPHJRNPHY_cjs.categoriesCollections; }
|
|
27
33
|
});
|
|
28
34
|
Object.defineProperty(exports, "coreSettingsGlobals", {
|
|
29
35
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkPHJRNPHY_cjs.coreSettingsGlobals; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "couponsCollection", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkPHJRNPHY_cjs.couponsCollection; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "couponsCollections", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkPHJRNPHY_cjs.couponsCollections; }
|
|
31
45
|
});
|
|
32
46
|
Object.defineProperty(exports, "createTemplateConfig", {
|
|
33
47
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkPHJRNPHY_cjs.createTemplateConfig; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "customersCollection", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkPHJRNPHY_cjs.customersCollection; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "customersCollections", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkPHJRNPHY_cjs.customersCollections; }
|
|
35
57
|
});
|
|
36
58
|
Object.defineProperty(exports, "ecommerceCollections", {
|
|
37
59
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkPHJRNPHY_cjs.ecommerceCollections; }
|
|
39
61
|
});
|
|
40
62
|
Object.defineProperty(exports, "ecommerceGlobals", {
|
|
41
63
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkPHJRNPHY_cjs.ecommerceGlobals; }
|
|
43
65
|
});
|
|
44
66
|
Object.defineProperty(exports, "emailSettingsGlobal", {
|
|
45
67
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkPHJRNPHY_cjs.emailSettingsGlobal; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "footerSettingsGlobal", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkPHJRNPHY_cjs.footerSettingsGlobal; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "formEntriesCollection", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkPHJRNPHY_cjs.formEntriesCollection; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "formEntriesCollections", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkPHJRNPHY_cjs.formEntriesCollections; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "formsCollection", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkPHJRNPHY_cjs.formsCollection; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "formsCollections", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunkPHJRNPHY_cjs.formsCollections; }
|
|
47
89
|
});
|
|
48
90
|
Object.defineProperty(exports, "getSettingsForTemplate", {
|
|
49
91
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkPHJRNPHY_cjs.getSettingsForTemplate; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "headerSettingsGlobal", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkPHJRNPHY_cjs.headerSettingsGlobal; }
|
|
51
97
|
});
|
|
52
98
|
Object.defineProperty(exports, "kitchenSinkCollections", {
|
|
53
99
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkPHJRNPHY_cjs.kitchenSinkCollections; }
|
|
55
101
|
});
|
|
56
102
|
Object.defineProperty(exports, "mediaCollection", {
|
|
57
103
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkPHJRNPHY_cjs.mediaCollection; }
|
|
59
105
|
});
|
|
60
106
|
Object.defineProperty(exports, "mediaCollections", {
|
|
61
107
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkPHJRNPHY_cjs.mediaCollections; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "menuCollection", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkPHJRNPHY_cjs.menuCollection; }
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "menuCollections", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return chunkPHJRNPHY_cjs.menuCollections; }
|
|
63
117
|
});
|
|
64
118
|
Object.defineProperty(exports, "minimalCollections", {
|
|
65
119
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkPHJRNPHY_cjs.minimalCollections; }
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "ordersCollection", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunkPHJRNPHY_cjs.ordersCollection; }
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "ordersCollections", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkPHJRNPHY_cjs.ordersCollections; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "pageCollection", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkPHJRNPHY_cjs.pageCollection; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "pageCollections", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkPHJRNPHY_cjs.pageCollections; }
|
|
67
137
|
});
|
|
68
138
|
Object.defineProperty(exports, "paymentSettingsGlobal", {
|
|
69
139
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkPHJRNPHY_cjs.paymentSettingsGlobal; }
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "postsCollection", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunkPHJRNPHY_cjs.postsCollection; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "postsCollections", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunkPHJRNPHY_cjs.postsCollections; }
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "productCategoriesCollection", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollection; }
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "productCategoriesCollections", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollections; }
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "productsCollection", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return chunkPHJRNPHY_cjs.productsCollection; }
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "productsCollections", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return chunkPHJRNPHY_cjs.productsCollections; }
|
|
71
165
|
});
|
|
72
166
|
Object.defineProperty(exports, "seoSettingsGlobal", {
|
|
73
167
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkPHJRNPHY_cjs.seoSettingsGlobal; }
|
|
75
169
|
});
|
|
76
170
|
Object.defineProperty(exports, "settingsBySlug", {
|
|
77
171
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkPHJRNPHY_cjs.settingsBySlug; }
|
|
79
173
|
});
|
|
80
174
|
Object.defineProperty(exports, "siteSettingsGlobal", {
|
|
81
175
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkPHJRNPHY_cjs.siteSettingsGlobal; }
|
|
83
177
|
});
|
|
84
178
|
Object.defineProperty(exports, "socialSettingsGlobal", {
|
|
85
179
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkPHJRNPHY_cjs.socialSettingsGlobal; }
|
|
87
181
|
});
|
|
88
182
|
Object.defineProperty(exports, "starterCollections", {
|
|
89
183
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "storageSettingsGlobal", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () { return chunk6IMPH6WV_cjs.storageSettingsGlobal; }
|
|
184
|
+
get: function () { return chunkPHJRNPHY_cjs.starterCollections; }
|
|
95
185
|
});
|
|
96
186
|
Object.defineProperty(exports, "storeSettingsGlobal", {
|
|
97
187
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkPHJRNPHY_cjs.storeSettingsGlobal; }
|
|
99
189
|
});
|
|
100
190
|
Object.defineProperty(exports, "systemSettingsGlobal", {
|
|
101
191
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkPHJRNPHY_cjs.systemSettingsGlobal; }
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "templateCollections", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function () { return chunkPHJRNPHY_cjs.templateCollections; }
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "storageSettingsGlobal", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return chunk3KTWGODI_cjs.storageSettingsGlobal; }
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "authCollections", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function () { return chunkKC2GDBLS_cjs.authCollections; }
|
|
103
205
|
});
|
|
104
206
|
//# sourceMappingURL=index.cjs.map
|
|
105
207
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../types-
|
|
1
|
+
import { G as GlobalConfig, C as CollectionConfig } from '../types-Ds0tCA3L.cjs';
|
|
2
|
+
import '../types-DeSApf9T.cjs';
|
|
3
3
|
|
|
4
|
-
declare const minimalCollections: Record<string,
|
|
4
|
+
declare const minimalCollections: Record<string, any>;
|
|
5
5
|
|
|
6
|
-
declare const starterCollections: Record<string,
|
|
6
|
+
declare const starterCollections: Record<string, any>;
|
|
7
7
|
|
|
8
|
-
declare const blogCollections: Record<string,
|
|
8
|
+
declare const blogCollections: Record<string, any>;
|
|
9
9
|
declare const blogGlobals: GlobalConfig[];
|
|
10
10
|
|
|
11
|
-
declare const ecommerceCollections: Record<string,
|
|
11
|
+
declare const ecommerceCollections: Record<string, any>;
|
|
12
12
|
declare const ecommerceGlobals: GlobalConfig[];
|
|
13
13
|
|
|
14
14
|
declare const kitchenSinkCollections: Record<string, CollectionConfig>;
|
|
@@ -21,6 +21,38 @@ declare const authCollections: {
|
|
|
21
21
|
declare const mediaCollection: CollectionConfig;
|
|
22
22
|
declare const mediaCollections: CollectionConfig[];
|
|
23
23
|
|
|
24
|
+
declare const menuCollection: CollectionConfig;
|
|
25
|
+
declare const menuCollections: Record<string, CollectionConfig>;
|
|
26
|
+
|
|
27
|
+
declare const postsCollection: CollectionConfig;
|
|
28
|
+
declare const postsCollections: Record<string, CollectionConfig>;
|
|
29
|
+
|
|
30
|
+
declare const pageCollection: CollectionConfig;
|
|
31
|
+
declare const pageCollections: Record<string, CollectionConfig>;
|
|
32
|
+
|
|
33
|
+
declare const categoriesCollection: CollectionConfig;
|
|
34
|
+
declare const categoriesCollections: Record<string, CollectionConfig>;
|
|
35
|
+
declare const productCategoriesCollection: CollectionConfig;
|
|
36
|
+
declare const productCategoriesCollections: Record<string, CollectionConfig>;
|
|
37
|
+
|
|
38
|
+
declare const productsCollection: CollectionConfig;
|
|
39
|
+
declare const productsCollections: Record<string, CollectionConfig>;
|
|
40
|
+
|
|
41
|
+
declare const customersCollection: CollectionConfig;
|
|
42
|
+
declare const customersCollections: Record<string, CollectionConfig>;
|
|
43
|
+
|
|
44
|
+
declare const ordersCollection: CollectionConfig;
|
|
45
|
+
declare const ordersCollections: Record<string, CollectionConfig>;
|
|
46
|
+
|
|
47
|
+
declare const couponsCollection: CollectionConfig;
|
|
48
|
+
declare const couponsCollections: Record<string, CollectionConfig>;
|
|
49
|
+
|
|
50
|
+
declare const formsCollection: CollectionConfig;
|
|
51
|
+
declare const formsCollections: Record<string, CollectionConfig>;
|
|
52
|
+
|
|
53
|
+
declare const formEntriesCollection: CollectionConfig;
|
|
54
|
+
declare const formEntriesCollections: Record<string, CollectionConfig>;
|
|
55
|
+
|
|
24
56
|
declare const siteSettingsGlobal: GlobalConfig;
|
|
25
57
|
|
|
26
58
|
declare const seoSettingsGlobal: GlobalConfig;
|
|
@@ -29,8 +61,6 @@ declare const socialSettingsGlobal: GlobalConfig;
|
|
|
29
61
|
|
|
30
62
|
declare const emailSettingsGlobal: GlobalConfig;
|
|
31
63
|
|
|
32
|
-
declare const storageSettingsGlobal: GlobalConfig;
|
|
33
|
-
|
|
34
64
|
declare const accessSettingsGlobal: GlobalConfig;
|
|
35
65
|
|
|
36
66
|
declare const storeSettingsGlobal: GlobalConfig;
|
|
@@ -39,11 +69,24 @@ declare const paymentSettingsGlobal: GlobalConfig;
|
|
|
39
69
|
|
|
40
70
|
declare const systemSettingsGlobal: GlobalConfig;
|
|
41
71
|
|
|
72
|
+
declare const storageSettingsGlobal: GlobalConfig;
|
|
73
|
+
|
|
74
|
+
declare const headerSettingsGlobal: GlobalConfig;
|
|
75
|
+
|
|
76
|
+
declare const footerSettingsGlobal: GlobalConfig;
|
|
77
|
+
|
|
42
78
|
declare const allSettingsGlobals: GlobalConfig[];
|
|
43
79
|
declare const coreSettingsGlobals: GlobalConfig[];
|
|
44
80
|
declare const settingsBySlug: Record<string, GlobalConfig>;
|
|
45
81
|
declare function getSettingsForTemplate(template: "minimal" | "starter" | "blog" | "ecommerce" | "kitchen-sink"): GlobalConfig[];
|
|
46
82
|
|
|
83
|
+
declare const templateCollections: {
|
|
84
|
+
readonly minimal: CollectionConfig[];
|
|
85
|
+
readonly starter: CollectionConfig[];
|
|
86
|
+
readonly blog: CollectionConfig[];
|
|
87
|
+
readonly ecommerce: CollectionConfig[];
|
|
88
|
+
readonly "kitchen-sink": CollectionConfig[];
|
|
89
|
+
};
|
|
47
90
|
interface TemplateConfig {
|
|
48
91
|
collections?: CollectionConfig[];
|
|
49
92
|
globals?: GlobalConfig[];
|
|
@@ -59,4 +102,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
|
|
|
59
102
|
}
|
|
60
103
|
declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
|
|
61
104
|
|
|
62
|
-
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal };
|
|
105
|
+
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal, templateCollections };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '../types-
|
|
1
|
+
import { G as GlobalConfig, C as CollectionConfig } from '../types-Dgzlftb7.js';
|
|
2
|
+
import '../types-DeSApf9T.js';
|
|
3
3
|
|
|
4
|
-
declare const minimalCollections: Record<string,
|
|
4
|
+
declare const minimalCollections: Record<string, any>;
|
|
5
5
|
|
|
6
|
-
declare const starterCollections: Record<string,
|
|
6
|
+
declare const starterCollections: Record<string, any>;
|
|
7
7
|
|
|
8
|
-
declare const blogCollections: Record<string,
|
|
8
|
+
declare const blogCollections: Record<string, any>;
|
|
9
9
|
declare const blogGlobals: GlobalConfig[];
|
|
10
10
|
|
|
11
|
-
declare const ecommerceCollections: Record<string,
|
|
11
|
+
declare const ecommerceCollections: Record<string, any>;
|
|
12
12
|
declare const ecommerceGlobals: GlobalConfig[];
|
|
13
13
|
|
|
14
14
|
declare const kitchenSinkCollections: Record<string, CollectionConfig>;
|
|
@@ -21,6 +21,38 @@ declare const authCollections: {
|
|
|
21
21
|
declare const mediaCollection: CollectionConfig;
|
|
22
22
|
declare const mediaCollections: CollectionConfig[];
|
|
23
23
|
|
|
24
|
+
declare const menuCollection: CollectionConfig;
|
|
25
|
+
declare const menuCollections: Record<string, CollectionConfig>;
|
|
26
|
+
|
|
27
|
+
declare const postsCollection: CollectionConfig;
|
|
28
|
+
declare const postsCollections: Record<string, CollectionConfig>;
|
|
29
|
+
|
|
30
|
+
declare const pageCollection: CollectionConfig;
|
|
31
|
+
declare const pageCollections: Record<string, CollectionConfig>;
|
|
32
|
+
|
|
33
|
+
declare const categoriesCollection: CollectionConfig;
|
|
34
|
+
declare const categoriesCollections: Record<string, CollectionConfig>;
|
|
35
|
+
declare const productCategoriesCollection: CollectionConfig;
|
|
36
|
+
declare const productCategoriesCollections: Record<string, CollectionConfig>;
|
|
37
|
+
|
|
38
|
+
declare const productsCollection: CollectionConfig;
|
|
39
|
+
declare const productsCollections: Record<string, CollectionConfig>;
|
|
40
|
+
|
|
41
|
+
declare const customersCollection: CollectionConfig;
|
|
42
|
+
declare const customersCollections: Record<string, CollectionConfig>;
|
|
43
|
+
|
|
44
|
+
declare const ordersCollection: CollectionConfig;
|
|
45
|
+
declare const ordersCollections: Record<string, CollectionConfig>;
|
|
46
|
+
|
|
47
|
+
declare const couponsCollection: CollectionConfig;
|
|
48
|
+
declare const couponsCollections: Record<string, CollectionConfig>;
|
|
49
|
+
|
|
50
|
+
declare const formsCollection: CollectionConfig;
|
|
51
|
+
declare const formsCollections: Record<string, CollectionConfig>;
|
|
52
|
+
|
|
53
|
+
declare const formEntriesCollection: CollectionConfig;
|
|
54
|
+
declare const formEntriesCollections: Record<string, CollectionConfig>;
|
|
55
|
+
|
|
24
56
|
declare const siteSettingsGlobal: GlobalConfig;
|
|
25
57
|
|
|
26
58
|
declare const seoSettingsGlobal: GlobalConfig;
|
|
@@ -29,8 +61,6 @@ declare const socialSettingsGlobal: GlobalConfig;
|
|
|
29
61
|
|
|
30
62
|
declare const emailSettingsGlobal: GlobalConfig;
|
|
31
63
|
|
|
32
|
-
declare const storageSettingsGlobal: GlobalConfig;
|
|
33
|
-
|
|
34
64
|
declare const accessSettingsGlobal: GlobalConfig;
|
|
35
65
|
|
|
36
66
|
declare const storeSettingsGlobal: GlobalConfig;
|
|
@@ -39,11 +69,24 @@ declare const paymentSettingsGlobal: GlobalConfig;
|
|
|
39
69
|
|
|
40
70
|
declare const systemSettingsGlobal: GlobalConfig;
|
|
41
71
|
|
|
72
|
+
declare const storageSettingsGlobal: GlobalConfig;
|
|
73
|
+
|
|
74
|
+
declare const headerSettingsGlobal: GlobalConfig;
|
|
75
|
+
|
|
76
|
+
declare const footerSettingsGlobal: GlobalConfig;
|
|
77
|
+
|
|
42
78
|
declare const allSettingsGlobals: GlobalConfig[];
|
|
43
79
|
declare const coreSettingsGlobals: GlobalConfig[];
|
|
44
80
|
declare const settingsBySlug: Record<string, GlobalConfig>;
|
|
45
81
|
declare function getSettingsForTemplate(template: "minimal" | "starter" | "blog" | "ecommerce" | "kitchen-sink"): GlobalConfig[];
|
|
46
82
|
|
|
83
|
+
declare const templateCollections: {
|
|
84
|
+
readonly minimal: CollectionConfig[];
|
|
85
|
+
readonly starter: CollectionConfig[];
|
|
86
|
+
readonly blog: CollectionConfig[];
|
|
87
|
+
readonly ecommerce: CollectionConfig[];
|
|
88
|
+
readonly "kitchen-sink": CollectionConfig[];
|
|
89
|
+
};
|
|
47
90
|
interface TemplateConfig {
|
|
48
91
|
collections?: CollectionConfig[];
|
|
49
92
|
globals?: GlobalConfig[];
|
|
@@ -59,4 +102,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
|
|
|
59
102
|
}
|
|
60
103
|
declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
|
|
61
104
|
|
|
62
|
-
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal };
|
|
105
|
+
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal, templateCollections };
|
package/dist/templates/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export { accessSettingsGlobal, allSettingsGlobals,
|
|
2
|
-
|
|
1
|
+
export { accessSettingsGlobal, allSettingsGlobals, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storeSettingsGlobal, systemSettingsGlobal, templateCollections } from '../chunk-53NYVYVX.js';
|
|
2
|
+
export { storageSettingsGlobal } from '../chunk-GAOXD3XT.js';
|
|
3
|
+
export { authCollections } from '../chunk-XEB7PH2E.js';
|
|
4
|
+
import '../chunk-4CV4JOE5.js';
|
|
3
5
|
//# sourceMappingURL=index.js.map
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
package/dist/trpc/index.cjs
CHANGED
|
@@ -1,47 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkPV2I2KMI_cjs = require('../chunk-PV2I2KMI.cjs');
|
|
4
|
+
require('../chunk-QFLB4EIJ.cjs');
|
|
5
|
+
require('../chunk-4M7X5HAB.cjs');
|
|
6
|
+
require('../chunk-NKPKR5BW.cjs');
|
|
7
|
+
require('../chunk-CZLDE2OZ.cjs');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, "createContext", {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPV2I2KMI_cjs.createContext; }
|
|
13
14
|
});
|
|
14
15
|
Object.defineProperty(exports, "createCountProcedure", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPV2I2KMI_cjs.createCountProcedure; }
|
|
17
18
|
});
|
|
18
19
|
Object.defineProperty(exports, "createCreateProcedure", {
|
|
19
20
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPV2I2KMI_cjs.createCreateProcedure; }
|
|
21
22
|
});
|
|
22
23
|
Object.defineProperty(exports, "createDeleteProcedure", {
|
|
23
24
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPV2I2KMI_cjs.createDeleteProcedure; }
|
|
25
26
|
});
|
|
26
27
|
Object.defineProperty(exports, "createDynamicRouter", {
|
|
27
28
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPV2I2KMI_cjs.createDynamicRouter; }
|
|
29
30
|
});
|
|
30
31
|
Object.defineProperty(exports, "createFindByIDProcedure", {
|
|
31
32
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPV2I2KMI_cjs.createFindByIDProcedure; }
|
|
33
34
|
});
|
|
34
35
|
Object.defineProperty(exports, "createFindProcedure", {
|
|
35
36
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPV2I2KMI_cjs.createFindProcedure; }
|
|
37
38
|
});
|
|
38
39
|
Object.defineProperty(exports, "createKyroServer", {
|
|
39
40
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkPV2I2KMI_cjs.createKyroServer; }
|
|
41
42
|
});
|
|
42
43
|
Object.defineProperty(exports, "createUpdateProcedure", {
|
|
43
44
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkPV2I2KMI_cjs.createUpdateProcedure; }
|
|
45
46
|
});
|
|
46
47
|
//# sourceMappingURL=index.cjs.map
|
|
47
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/trpc/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BaseAdapter, R as Request,
|
|
2
|
-
import { i as createWebhookService } from '../WebhookService-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { B as BaseAdapter, R as Request, i as User, b as FindResult } from '../types-Ds0tCA3L.cjs';
|
|
2
|
+
import { i as createWebhookService } from '../WebhookService-BKszZlG0.cjs';
|
|
3
|
+
import '../types-DeSApf9T.cjs';
|
|
4
4
|
|
|
5
5
|
interface ApiKeyContext {
|
|
6
6
|
userId: string;
|
|
@@ -30,6 +30,55 @@ declare function createContext(options: {
|
|
|
30
30
|
settings?: Record<string, any>;
|
|
31
31
|
}): Promise<KyroContext>;
|
|
32
32
|
|
|
33
|
+
declare function createFindProcedure(ctx: KyroContext): (input: {
|
|
34
|
+
collection: string;
|
|
35
|
+
where?: Record<string, any>;
|
|
36
|
+
sort?: string;
|
|
37
|
+
limit?: number;
|
|
38
|
+
page?: number;
|
|
39
|
+
depth?: number;
|
|
40
|
+
select?: string[];
|
|
41
|
+
draft?: boolean;
|
|
42
|
+
}) => Promise<FindResult<unknown>>;
|
|
43
|
+
declare function createFindByIDProcedure(ctx: KyroContext): (input: {
|
|
44
|
+
collection: string;
|
|
45
|
+
id: string;
|
|
46
|
+
depth?: number;
|
|
47
|
+
select?: string[];
|
|
48
|
+
draft?: boolean;
|
|
49
|
+
}) => Promise<{}>;
|
|
50
|
+
declare function createCreateProcedure(ctx: KyroContext): (input: {
|
|
51
|
+
collection: string;
|
|
52
|
+
data: Record<string, any>;
|
|
53
|
+
depth?: number;
|
|
54
|
+
select?: string[];
|
|
55
|
+
}) => Promise<{
|
|
56
|
+
doc: unknown;
|
|
57
|
+
}>;
|
|
58
|
+
declare function createUpdateProcedure(ctx: KyroContext): (input: {
|
|
59
|
+
collection: string;
|
|
60
|
+
id: string;
|
|
61
|
+
data: Record<string, any>;
|
|
62
|
+
depth?: number;
|
|
63
|
+
select?: string[];
|
|
64
|
+
baseUpdatedAt?: string;
|
|
65
|
+
}) => Promise<{
|
|
66
|
+
doc: unknown;
|
|
67
|
+
}>;
|
|
68
|
+
declare function createDeleteProcedure(ctx: KyroContext): (input: {
|
|
69
|
+
collection: string;
|
|
70
|
+
id: string;
|
|
71
|
+
}) => Promise<{
|
|
72
|
+
doc: unknown;
|
|
73
|
+
message: string;
|
|
74
|
+
}>;
|
|
75
|
+
declare function createCountProcedure(ctx: KyroContext): (input: {
|
|
76
|
+
collection: string;
|
|
77
|
+
where?: Record<string, any>;
|
|
78
|
+
}) => Promise<{
|
|
79
|
+
totalDocs: number;
|
|
80
|
+
}>;
|
|
81
|
+
|
|
33
82
|
declare function createDynamicRouter(ctx: KyroContext): Record<string, any>;
|
|
34
83
|
interface KyroRouter {
|
|
35
84
|
[collectionSlug: string]: {
|
|
@@ -40,6 +89,7 @@ interface KyroRouter {
|
|
|
40
89
|
page?: number;
|
|
41
90
|
depth?: number;
|
|
42
91
|
select?: string[];
|
|
92
|
+
draft?: boolean;
|
|
43
93
|
}) => Promise<{
|
|
44
94
|
docs: any[];
|
|
45
95
|
totalDocs: number;
|
|
@@ -56,6 +106,7 @@ interface KyroRouter {
|
|
|
56
106
|
id: string;
|
|
57
107
|
depth?: number;
|
|
58
108
|
select?: string[];
|
|
109
|
+
draft?: boolean;
|
|
59
110
|
}) => Promise<any>;
|
|
60
111
|
create: (input: {
|
|
61
112
|
data: Record<string, any>;
|
|
@@ -69,6 +120,7 @@ interface KyroRouter {
|
|
|
69
120
|
data: Record<string, any>;
|
|
70
121
|
depth?: number;
|
|
71
122
|
select?: string[];
|
|
123
|
+
baseUpdatedAt?: string;
|
|
72
124
|
}) => Promise<{
|
|
73
125
|
doc: any;
|
|
74
126
|
}>;
|
|
@@ -87,50 +139,4 @@ interface KyroRouter {
|
|
|
87
139
|
}
|
|
88
140
|
declare function createKyroServer(ctx: KyroContext): KyroRouter;
|
|
89
141
|
|
|
90
|
-
declare function createFindProcedure(ctx: KyroContext): (input: {
|
|
91
|
-
collection: string;
|
|
92
|
-
where?: Record<string, any>;
|
|
93
|
-
sort?: string;
|
|
94
|
-
limit?: number;
|
|
95
|
-
page?: number;
|
|
96
|
-
depth?: number;
|
|
97
|
-
select?: string[];
|
|
98
|
-
}) => Promise<FindResult<unknown>>;
|
|
99
|
-
declare function createFindByIDProcedure(ctx: KyroContext): (input: {
|
|
100
|
-
collection: string;
|
|
101
|
-
id: string;
|
|
102
|
-
depth?: number;
|
|
103
|
-
select?: string[];
|
|
104
|
-
}) => Promise<{}>;
|
|
105
|
-
declare function createCreateProcedure(ctx: KyroContext): (input: {
|
|
106
|
-
collection: string;
|
|
107
|
-
data: Record<string, any>;
|
|
108
|
-
depth?: number;
|
|
109
|
-
select?: string[];
|
|
110
|
-
}) => Promise<{
|
|
111
|
-
doc: unknown;
|
|
112
|
-
}>;
|
|
113
|
-
declare function createUpdateProcedure(ctx: KyroContext): (input: {
|
|
114
|
-
collection: string;
|
|
115
|
-
id: string;
|
|
116
|
-
data: Record<string, any>;
|
|
117
|
-
depth?: number;
|
|
118
|
-
select?: string[];
|
|
119
|
-
}) => Promise<{
|
|
120
|
-
doc: unknown;
|
|
121
|
-
}>;
|
|
122
|
-
declare function createDeleteProcedure(ctx: KyroContext): (input: {
|
|
123
|
-
collection: string;
|
|
124
|
-
id: string;
|
|
125
|
-
}) => Promise<{
|
|
126
|
-
doc: unknown;
|
|
127
|
-
message: string;
|
|
128
|
-
}>;
|
|
129
|
-
declare function createCountProcedure(ctx: KyroContext): (input: {
|
|
130
|
-
collection: string;
|
|
131
|
-
where?: Record<string, any>;
|
|
132
|
-
}) => Promise<{
|
|
133
|
-
totalDocs: number;
|
|
134
|
-
}>;
|
|
135
|
-
|
|
136
142
|
export { type KyroContext, type KyroRouter, createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure };
|