@kyro-cms/core 0.9.1 → 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 +0 -6
- package/dist/{WebhookService-Yg2UEOB4.d.cts → WebhookService-BKszZlG0.d.cts} +1 -1
- package/dist/{WebhookService-CUTb9XOy.d.ts → WebhookService-Ccf1j-IN.d.ts} +1 -1
- package/dist/api-handler-graphql.cjs +17 -17
- package/dist/api-handler-graphql.js +13 -13
- package/dist/api-handler-trpc.cjs +15 -15
- package/dist/api-handler-trpc.js +13 -13
- package/dist/api-handler.cjs +16 -16
- package/dist/api-handler.js +13 -13
- package/dist/{base-DaqY2GhA.d.ts → base-CIuXkrH4.d.cts} +3 -5
- package/dist/{base-B71y_EAF.d.cts → base-fFo4lqER.d.ts} +3 -5
- package/dist/bootstrap-3PV3GJ3S.js +7 -0
- package/dist/{bootstrap-T5BK77LD.js.map → bootstrap-3PV3GJ3S.js.map} +1 -1
- package/dist/bootstrap-4CELFLJO.cjs +32 -0
- package/dist/{bootstrap-5NLASFOG.cjs.map → bootstrap-4CELFLJO.cjs.map} +1 -1
- 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-5EPFQUQD.js → chunk-53NYVYVX.js} +6 -6
- package/dist/chunk-53NYVYVX.js.map +1 -0
- package/dist/{chunk-22M4O4ZJ.js → chunk-5H3MWQJS.js} +129 -143
- package/dist/chunk-5H3MWQJS.js.map +1 -0
- package/dist/{chunk-RAMGUDJN.cjs → chunk-5PMQQFRE.cjs} +5 -5
- package/dist/{chunk-RAMGUDJN.cjs.map → chunk-5PMQQFRE.cjs.map} +1 -1
- package/dist/{chunk-TXSZFA4G.js → chunk-6UNONDW7.js} +93 -9
- package/dist/chunk-6UNONDW7.js.map +1 -0
- package/dist/{chunk-C36TMDTY.cjs → chunk-7OS7TX2Q.cjs} +49 -48
- 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-FOPGUM27.js → chunk-CJX74IYK.js} +5 -4
- package/dist/chunk-CJX74IYK.js.map +1 -0
- package/dist/{chunk-RSF3UU7H.cjs → chunk-CNKT4PME.cjs} +196 -200
- 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-JOPVMWTM.cjs → chunk-DPA3KWPY.cjs} +3 -3
- package/dist/chunk-DPA3KWPY.cjs.map +1 -0
- package/dist/{chunk-ROJHKAQ4.cjs → chunk-E2763JUP.cjs} +143 -157
- package/dist/chunk-E2763JUP.cjs.map +1 -0
- package/dist/{chunk-FAXU7BMP.js → chunk-E5UJBLQ7.js} +2 -2
- 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-2HZRBATX.cjs → chunk-FSKONGCX.cjs} +2 -2
- package/dist/chunk-FSKONGCX.cjs.map +1 -0
- package/dist/{chunk-P2HKJ7P5.js → chunk-GAAHG2Z4.js} +3 -3
- package/dist/{chunk-P2HKJ7P5.js.map → chunk-GAAHG2Z4.js.map} +1 -1
- package/dist/{chunk-PI73NNOK.cjs → chunk-GUUB5EAG.cjs} +2 -2
- package/dist/chunk-GUUB5EAG.cjs.map +1 -0
- package/dist/{chunk-PU2Z5VWF.js → chunk-IPTZM3VE.js} +183 -187
- package/dist/chunk-IPTZM3VE.js.map +1 -0
- package/dist/{chunk-UERVXYVK.cjs → chunk-NWUEVLQT.cjs} +13 -13
- package/dist/{chunk-UERVXYVK.cjs.map → chunk-NWUEVLQT.cjs.map} +1 -1
- package/dist/{chunk-KPA4AN4R.js → chunk-OHC6UHFY.js} +86 -12
- package/dist/chunk-OHC6UHFY.js.map +1 -0
- package/dist/{chunk-DEVFAKCQ.cjs → chunk-PHJRNPHY.cjs} +6 -6
- package/dist/chunk-PHJRNPHY.cjs.map +1 -0
- package/dist/{chunk-VO35MNPH.js → chunk-PQ72Z6WC.js} +67 -105
- package/dist/chunk-PQ72Z6WC.js.map +1 -0
- package/dist/{chunk-KNRSROWB.cjs → chunk-PV2I2KMI.cjs} +86 -12
- package/dist/chunk-PV2I2KMI.cjs.map +1 -0
- package/dist/{chunk-V2TVSCV5.cjs → chunk-Q23GAMLE.cjs} +71 -109
- package/dist/chunk-Q23GAMLE.cjs.map +1 -0
- package/dist/{chunk-COIASRDK.cjs → chunk-RFFSZSCL.cjs} +107 -171
- package/dist/chunk-RFFSZSCL.cjs.map +1 -0
- package/dist/{chunk-AL5KX63J.js → chunk-UUDTPZX6.js} +3 -3
- package/dist/chunk-UUDTPZX6.js.map +1 -0
- package/dist/{chunk-EJN2PAOE.js → chunk-V7KZQIZ6.js} +102 -166
- package/dist/chunk-V7KZQIZ6.js.map +1 -0
- package/dist/{chunk-DYTZ6FQ7.js → chunk-WXVB364T.js} +2 -2
- package/dist/chunk-WXVB364T.js.map +1 -0
- package/dist/{chunk-WNCYAKF3.cjs → chunk-Y7AQK4R4.cjs} +93 -9
- package/dist/chunk-Y7AQK4R4.cjs.map +1 -0
- package/dist/{chunk-SPBTLUN6.js → chunk-YFAVQQTU.js} +7 -7
- package/dist/{chunk-SPBTLUN6.js.map → chunk-YFAVQQTU.js.map} +1 -1
- package/dist/cli/index.cjs +5 -5
- package/dist/cli/index.js +5 -5
- package/dist/client.cjs +4 -4
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/drizzle/index.cjs +14 -14
- package/dist/drizzle/index.d.cts +4 -10
- package/dist/drizzle/index.d.ts +4 -10
- package/dist/drizzle/index.js +5 -5
- package/dist/fields/index.cjs +22 -22
- package/dist/fields/index.d.cts +1 -1
- package/dist/fields/index.d.ts +1 -1
- package/dist/fields/index.js +2 -2
- package/dist/graphql/index.cjs +1 -1
- package/dist/graphql/index.d.cts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.js +1 -1
- package/dist/{index-CaTNnLGd.d.cts → index-BKta3cBH.d.cts} +3 -2
- package/dist/{index-CJXPB_ot.d.ts → index-ClOqnkTO.d.ts} +3 -2
- package/dist/index.cjs +117 -117
- package/dist/index.d.cts +10 -15
- package/dist/index.d.ts +10 -15
- package/dist/index.js +18 -18
- package/dist/integration.cjs +1 -1
- package/dist/integration.js +1 -1
- 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-ISOM7FSS.cjs → mongo-auth-adapter-GT4S7SCU.cjs} +3 -3
- package/dist/{mongo-auth-adapter-ISOM7FSS.cjs.map → mongo-auth-adapter-GT4S7SCU.cjs.map} +1 -1
- package/dist/mongo-auth-adapter-M7VV4LNB.js +4 -0
- package/dist/{mongo-auth-adapter-MO6STCV3.js.map → mongo-auth-adapter-M7VV4LNB.js.map} +1 -1
- package/dist/mongodb/index.cjs +5 -5
- package/dist/mongodb/index.d.cts +4 -9
- package/dist/mongodb/index.d.ts +4 -9
- package/dist/mongodb/index.js +3 -3
- package/dist/postgres-auth-adapter-AFAPISH7.js +5 -0
- package/dist/{postgres-auth-adapter-DWDR7P5G.js.map → postgres-auth-adapter-AFAPISH7.js.map} +1 -1
- package/dist/postgres-auth-adapter-SFDTLONT.cjs +14 -0
- package/dist/{postgres-auth-adapter-WRWSJD4E.cjs.map → postgres-auth-adapter-SFDTLONT.cjs.map} +1 -1
- package/dist/{redis-adapter-KJ3YOOT6.cjs → redis-adapter-UQX4EE3B.cjs} +3 -3
- package/dist/{redis-adapter-KJ3YOOT6.cjs.map → redis-adapter-UQX4EE3B.cjs.map} +1 -1
- package/dist/redis-adapter-XALOGWY3.js +4 -0
- package/dist/{redis-adapter-HGTPWIGV.js.map → redis-adapter-XALOGWY3.js.map} +1 -1
- package/dist/rest/index.cjs +10 -10
- package/dist/rest/index.d.cts +4 -4
- package/dist/rest/index.d.ts +4 -4
- package/dist/rest/index.js +8 -8
- package/dist/{schema-TTFE4467.cjs → schema-6QL3USNB.cjs} +15 -15
- package/dist/{schema-TTFE4467.cjs.map → schema-6QL3USNB.cjs.map} +1 -1
- package/dist/{schema-6I5OFR4Z.js → schema-FNNWEAAW.js} +4 -4
- package/dist/{schema-6I5OFR4Z.js.map → schema-FNNWEAAW.js.map} +1 -1
- package/dist/{sqlite-adapter-CSIZE5SX.cjs → sqlite-adapter-AQB5TCGV.cjs} +3 -3
- package/dist/{sqlite-adapter-CSIZE5SX.cjs.map → sqlite-adapter-AQB5TCGV.cjs.map} +1 -1
- package/dist/sqlite-adapter-N5H6IM2X.js +4 -0
- package/dist/{sqlite-adapter-6GEUSVXQ.js.map → sqlite-adapter-N5H6IM2X.js.map} +1 -1
- package/dist/templates/index.cjs +49 -49
- package/dist/templates/index.d.cts +2 -2
- package/dist/templates/index.d.ts +2 -2
- package/dist/templates/index.js +2 -2
- package/dist/trpc/index.cjs +11 -11
- package/dist/trpc/index.d.cts +3 -3
- package/dist/trpc/index.d.ts +3 -3
- package/dist/trpc/index.js +2 -2
- package/dist/{types-Z6FBiqa2.d.cts → types-DeSApf9T.d.cts} +1 -0
- package/dist/{types-Z6FBiqa2.d.ts → types-DeSApf9T.d.ts} +1 -0
- package/dist/{types-CyCQ6SAI.d.ts → types-Dgzlftb7.d.ts} +6 -28
- package/dist/{types-DJxD9394.d.cts → types-Ds0tCA3L.d.cts} +6 -28
- package/dist/ws/index.cjs +6 -6
- package/dist/ws/index.js +2 -2
- package/package.json +1 -1
- package/dist/bootstrap-5NLASFOG.cjs +0 -32
- package/dist/bootstrap-T5BK77LD.js +0 -7
- package/dist/chunk-22M4O4ZJ.js.map +0 -1
- package/dist/chunk-2HZRBATX.cjs.map +0 -1
- package/dist/chunk-3TPQ2BU6.js.map +0 -1
- package/dist/chunk-5EPFQUQD.js.map +0 -1
- package/dist/chunk-AL5KX63J.js.map +0 -1
- package/dist/chunk-C36TMDTY.cjs.map +0 -1
- package/dist/chunk-COIASRDK.cjs.map +0 -1
- package/dist/chunk-DEVFAKCQ.cjs.map +0 -1
- package/dist/chunk-DVD5P72E.cjs.map +0 -1
- package/dist/chunk-DYTZ6FQ7.js.map +0 -1
- package/dist/chunk-EJN2PAOE.js.map +0 -1
- package/dist/chunk-FAXU7BMP.js.map +0 -1
- package/dist/chunk-FOPGUM27.js.map +0 -1
- package/dist/chunk-JOPVMWTM.cjs.map +0 -1
- package/dist/chunk-KNRSROWB.cjs.map +0 -1
- package/dist/chunk-KPA4AN4R.js.map +0 -1
- package/dist/chunk-PI73NNOK.cjs.map +0 -1
- package/dist/chunk-PU2Z5VWF.js.map +0 -1
- package/dist/chunk-ROJHKAQ4.cjs.map +0 -1
- package/dist/chunk-RSF3UU7H.cjs.map +0 -1
- package/dist/chunk-TXSZFA4G.js.map +0 -1
- package/dist/chunk-V2TVSCV5.cjs.map +0 -1
- package/dist/chunk-VO35MNPH.js.map +0 -1
- package/dist/chunk-WNCYAKF3.cjs.map +0 -1
- package/dist/media-GPPTZ43E.js +0 -4
- package/dist/mongo-auth-adapter-MO6STCV3.js +0 -4
- package/dist/postgres-auth-adapter-DWDR7P5G.js +0 -5
- package/dist/postgres-auth-adapter-WRWSJD4E.cjs +0 -14
- package/dist/redis-adapter-HGTPWIGV.js +0 -4
- package/dist/sqlite-adapter-6GEUSVXQ.js +0 -4
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkCKVOU6MX_cjs = require('./chunk-CKVOU6MX.cjs');
|
|
4
4
|
var chunk4PWRCMTQ_cjs = require('./chunk-4PWRCMTQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var chunkDPA3KWPY_cjs = require('./chunk-DPA3KWPY.cjs');
|
|
6
|
+
require('./chunk-CZLDE2OZ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -21,47 +21,47 @@ Object.defineProperty(exports, "settings", {
|
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "apiKeys", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkDPA3KWPY_cjs.apiKeys; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "auditLogs", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkDPA3KWPY_cjs.auditLogs; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "emailVerifications", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkDPA3KWPY_cjs.emailVerifications; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "lockouts", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkDPA3KWPY_cjs.lockouts; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "passwordHistory", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkDPA3KWPY_cjs.passwordHistory; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "passwordResets", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkDPA3KWPY_cjs.passwordResets; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "permissions", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkDPA3KWPY_cjs.permissions; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "roles", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkDPA3KWPY_cjs.roles; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "sessions", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkDPA3KWPY_cjs.sessions; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "tenants", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkDPA3KWPY_cjs.tenants; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "users", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkDPA3KWPY_cjs.users; }
|
|
65
65
|
});
|
|
66
|
-
//# sourceMappingURL=schema-
|
|
67
|
-
//# sourceMappingURL=schema-
|
|
66
|
+
//# sourceMappingURL=schema-6QL3USNB.cjs.map
|
|
67
|
+
//# sourceMappingURL=schema-6QL3USNB.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-6QL3USNB.cjs"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { media, mediaFolders } from './chunk-RP7VZUEL.js';
|
|
2
2
|
export { settings } from './chunk-YT7HXXVN.js';
|
|
3
|
-
export { apiKeys, auditLogs, emailVerifications, lockouts, passwordHistory, passwordResets, permissions, roles, sessions, tenants, users } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
//# sourceMappingURL=schema-
|
|
6
|
-
//# sourceMappingURL=schema-
|
|
3
|
+
export { apiKeys, auditLogs, emailVerifications, lockouts, passwordHistory, passwordResets, permissions, roles, sessions, tenants, users } from './chunk-UUDTPZX6.js';
|
|
4
|
+
import './chunk-4CV4JOE5.js';
|
|
5
|
+
//# sourceMappingURL=schema-FNNWEAAW.js.map
|
|
6
|
+
//# sourceMappingURL=schema-FNNWEAAW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"schema-FNNWEAAW.js"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkIDVRRRAK_cjs = require('./chunk-IDVRRRAK.cjs');
|
|
4
|
-
require('./chunk-
|
|
4
|
+
require('./chunk-CZLDE2OZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -9,5 +9,5 @@ Object.defineProperty(exports, "SQLiteAuthAdapter", {
|
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () { return chunkIDVRRRAK_cjs.SQLiteAuthAdapter; }
|
|
11
11
|
});
|
|
12
|
-
//# sourceMappingURL=sqlite-adapter-
|
|
13
|
-
//# sourceMappingURL=sqlite-adapter-
|
|
12
|
+
//# sourceMappingURL=sqlite-adapter-AQB5TCGV.cjs.map
|
|
13
|
+
//# sourceMappingURL=sqlite-adapter-AQB5TCGV.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-AQB5TCGV.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-N5H6IM2X.js"}
|
package/dist/templates/index.cjs
CHANGED
|
@@ -1,199 +1,199 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPHJRNPHY_cjs = require('../chunk-PHJRNPHY.cjs');
|
|
4
4
|
var chunk3KTWGODI_cjs = require('../chunk-3KTWGODI.cjs');
|
|
5
5
|
var chunkKC2GDBLS_cjs = require('../chunk-KC2GDBLS.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-CZLDE2OZ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "accessSettingsGlobal", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkPHJRNPHY_cjs.accessSettingsGlobal; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "allSettingsGlobals", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkPHJRNPHY_cjs.allSettingsGlobals; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "blogCollections", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkPHJRNPHY_cjs.blogCollections; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "blogGlobals", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkPHJRNPHY_cjs.blogGlobals; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "categoriesCollection", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkPHJRNPHY_cjs.categoriesCollection; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "categoriesCollections", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkPHJRNPHY_cjs.categoriesCollections; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "coreSettingsGlobals", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkPHJRNPHY_cjs.coreSettingsGlobals; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "couponsCollection", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkPHJRNPHY_cjs.couponsCollection; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "couponsCollections", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkPHJRNPHY_cjs.couponsCollections; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "createTemplateConfig", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkPHJRNPHY_cjs.createTemplateConfig; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "customersCollection", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkPHJRNPHY_cjs.customersCollection; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "customersCollections", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkPHJRNPHY_cjs.customersCollections; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "ecommerceCollections", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkPHJRNPHY_cjs.ecommerceCollections; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "ecommerceGlobals", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkPHJRNPHY_cjs.ecommerceGlobals; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "emailSettingsGlobal", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkPHJRNPHY_cjs.emailSettingsGlobal; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "footerSettingsGlobal", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkPHJRNPHY_cjs.footerSettingsGlobal; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "formEntriesCollection", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkPHJRNPHY_cjs.formEntriesCollection; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "formEntriesCollections", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkPHJRNPHY_cjs.formEntriesCollections; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "formsCollection", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkPHJRNPHY_cjs.formsCollection; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "formsCollections", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkPHJRNPHY_cjs.formsCollections; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "getSettingsForTemplate", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkPHJRNPHY_cjs.getSettingsForTemplate; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "headerSettingsGlobal", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkPHJRNPHY_cjs.headerSettingsGlobal; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "kitchenSinkCollections", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkPHJRNPHY_cjs.kitchenSinkCollections; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "mediaCollection", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkPHJRNPHY_cjs.mediaCollection; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "mediaCollections", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkPHJRNPHY_cjs.mediaCollections; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "menuCollection", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkPHJRNPHY_cjs.menuCollection; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "menuCollections", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkPHJRNPHY_cjs.menuCollections; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "minimalCollections", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkPHJRNPHY_cjs.minimalCollections; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "ordersCollection", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkPHJRNPHY_cjs.ordersCollection; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "ordersCollections", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkPHJRNPHY_cjs.ordersCollections; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "pageCollection", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkPHJRNPHY_cjs.pageCollection; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "pageCollections", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkPHJRNPHY_cjs.pageCollections; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "paymentSettingsGlobal", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkPHJRNPHY_cjs.paymentSettingsGlobal; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "postsCollection", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkPHJRNPHY_cjs.postsCollection; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "postsCollections", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkPHJRNPHY_cjs.postsCollections; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "productCategoriesCollection", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollection; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "productCategoriesCollections", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollections; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "productsCollection", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkPHJRNPHY_cjs.productsCollection; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "productsCollections", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkPHJRNPHY_cjs.productsCollections; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "seoSettingsGlobal", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkPHJRNPHY_cjs.seoSettingsGlobal; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "settingsBySlug", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkPHJRNPHY_cjs.settingsBySlug; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "siteSettingsGlobal", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkPHJRNPHY_cjs.siteSettingsGlobal; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "socialSettingsGlobal", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkPHJRNPHY_cjs.socialSettingsGlobal; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "starterCollections", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkPHJRNPHY_cjs.starterCollections; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "storeSettingsGlobal", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkPHJRNPHY_cjs.storeSettingsGlobal; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "systemSettingsGlobal", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkPHJRNPHY_cjs.systemSettingsGlobal; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "templateCollections", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkPHJRNPHY_cjs.templateCollections; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "storageSettingsGlobal", {
|
|
199
199
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GlobalConfig, C as CollectionConfig } from '../types-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { G as GlobalConfig, C as CollectionConfig } from '../types-Ds0tCA3L.cjs';
|
|
2
|
+
import '../types-DeSApf9T.cjs';
|
|
3
3
|
|
|
4
4
|
declare const minimalCollections: Record<string, any>;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as GlobalConfig, C as CollectionConfig } from '../types-
|
|
2
|
-
import '../types-
|
|
1
|
+
import { G as GlobalConfig, C as CollectionConfig } from '../types-Dgzlftb7.js';
|
|
2
|
+
import '../types-DeSApf9T.js';
|
|
3
3
|
|
|
4
4
|
declare const minimalCollections: Record<string, any>;
|
|
5
5
|
|
package/dist/templates/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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
2
|
export { storageSettingsGlobal } from '../chunk-GAOXD3XT.js';
|
|
3
3
|
export { authCollections } from '../chunk-XEB7PH2E.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-4CV4JOE5.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/trpc/index.cjs
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkPV2I2KMI_cjs = require('../chunk-PV2I2KMI.cjs');
|
|
4
4
|
require('../chunk-QFLB4EIJ.cjs');
|
|
5
5
|
require('../chunk-4M7X5HAB.cjs');
|
|
6
6
|
require('../chunk-NKPKR5BW.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-CZLDE2OZ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "createContext", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkPV2I2KMI_cjs.createContext; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createCountProcedure", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPV2I2KMI_cjs.createCountProcedure; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "createCreateProcedure", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPV2I2KMI_cjs.createCreateProcedure; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "createDeleteProcedure", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPV2I2KMI_cjs.createDeleteProcedure; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "createDynamicRouter", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkPV2I2KMI_cjs.createDynamicRouter; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createFindByIDProcedure", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkPV2I2KMI_cjs.createFindByIDProcedure; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createFindProcedure", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkPV2I2KMI_cjs.createFindProcedure; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createKyroServer", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkPV2I2KMI_cjs.createKyroServer; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createUpdateProcedure", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkPV2I2KMI_cjs.createUpdateProcedure; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=index.cjs.map
|
|
48
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;
|
package/dist/trpc/index.d.ts
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-Dgzlftb7.js';
|
|
2
|
+
import { i as createWebhookService } from '../WebhookService-Ccf1j-IN.js';
|
|
3
|
+
import '../types-DeSApf9T.js';
|
|
4
4
|
|
|
5
5
|
interface ApiKeyContext {
|
|
6
6
|
userId: string;
|
package/dist/trpc/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-
|
|
1
|
+
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-OHC6UHFY.js';
|
|
2
2
|
import '../chunk-3UK5XBVJ.js';
|
|
3
3
|
import '../chunk-CJONKRHJ.js';
|
|
4
4
|
import '../chunk-L4EZKIEX.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-4CV4JOE5.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -24,6 +24,7 @@ interface FieldAdmin {
|
|
|
24
24
|
action?: string;
|
|
25
25
|
method?: string;
|
|
26
26
|
inline?: boolean;
|
|
27
|
+
pickerMode?: "drawer" | "dropdown";
|
|
27
28
|
condition?: ((data: Record<string, any>, siblingData: Record<string, any>) => boolean) | DeclarativeCondition;
|
|
28
29
|
}
|
|
29
30
|
interface BaseField {
|
|
@@ -24,6 +24,7 @@ interface FieldAdmin {
|
|
|
24
24
|
action?: string;
|
|
25
25
|
method?: string;
|
|
26
26
|
inline?: boolean;
|
|
27
|
+
pickerMode?: "drawer" | "dropdown";
|
|
27
28
|
condition?: ((data: Record<string, any>, siblingData: Record<string, any>) => boolean) | DeclarativeCondition;
|
|
28
29
|
}
|
|
29
30
|
interface BaseField {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as Field } from './types-
|
|
1
|
+
import { F as Field } from './types-DeSApf9T.js';
|
|
2
2
|
|
|
3
3
|
interface Request {
|
|
4
4
|
body?: any;
|
|
@@ -307,29 +307,6 @@ interface FindResult<T = any> {
|
|
|
307
307
|
prevPage: number | null;
|
|
308
308
|
nextPage: number | null;
|
|
309
309
|
}
|
|
310
|
-
interface DraftSnapshot<T = Record<string, any>> {
|
|
311
|
-
id: string;
|
|
312
|
-
collection: string;
|
|
313
|
-
documentId: string;
|
|
314
|
-
tenantID?: string;
|
|
315
|
-
data: T;
|
|
316
|
-
baseUpdatedAt?: string | null;
|
|
317
|
-
draftUpdatedAt: string;
|
|
318
|
-
createdAt: string;
|
|
319
|
-
updatedAt: string;
|
|
320
|
-
}
|
|
321
|
-
interface DraftFindArgs {
|
|
322
|
-
collection: string;
|
|
323
|
-
documentId: string;
|
|
324
|
-
tenantID?: string;
|
|
325
|
-
}
|
|
326
|
-
interface DraftUpsertArgs<T = Record<string, any>> extends DraftFindArgs {
|
|
327
|
-
data: T;
|
|
328
|
-
baseUpdatedAt?: string | null;
|
|
329
|
-
draftUpdatedAt?: string;
|
|
330
|
-
}
|
|
331
|
-
interface DraftDeleteArgs extends DraftFindArgs {
|
|
332
|
-
}
|
|
333
310
|
interface CreateResult<T = any> {
|
|
334
311
|
doc: T;
|
|
335
312
|
errors?: Array<{
|
|
@@ -349,6 +326,7 @@ interface VersionRecord<T = Record<string, any>> {
|
|
|
349
326
|
updatedAt: string;
|
|
350
327
|
publishedAt?: string | null;
|
|
351
328
|
changeDescription?: string;
|
|
329
|
+
autosave?: boolean;
|
|
352
330
|
}
|
|
353
331
|
interface CreateVersionArgs<T = Record<string, any>> {
|
|
354
332
|
collection: string;
|
|
@@ -358,6 +336,8 @@ interface CreateVersionArgs<T = Record<string, any>> {
|
|
|
358
336
|
createdBy?: string;
|
|
359
337
|
changeDescription?: string;
|
|
360
338
|
tenantID?: string;
|
|
339
|
+
/** When true, reuses a single version slot (find existing + update) */
|
|
340
|
+
autosave?: boolean;
|
|
361
341
|
}
|
|
362
342
|
interface FindVersionsArgs {
|
|
363
343
|
collection: string;
|
|
@@ -398,9 +378,7 @@ interface BaseAdapter {
|
|
|
398
378
|
keepLatest?: number;
|
|
399
379
|
tenantID?: string;
|
|
400
380
|
}): Promise<void>;
|
|
401
|
-
|
|
402
|
-
upsertDraft<T = Record<string, any>>(args: DraftUpsertArgs<T>): Promise<DraftSnapshot<T>>;
|
|
403
|
-
deleteDraft(args: DraftDeleteArgs): Promise<void>;
|
|
381
|
+
updateLatestVersion<T = Record<string, any>>(args: CreateVersionArgs<T>): Promise<VersionRecord<T>>;
|
|
404
382
|
migrate?(): Promise<void>;
|
|
405
383
|
rollback?(): Promise<void>;
|
|
406
384
|
connect(): Promise<void>;
|
|
@@ -484,4 +462,4 @@ interface KyroConfig {
|
|
|
484
462
|
debug?: boolean;
|
|
485
463
|
}
|
|
486
464
|
|
|
487
|
-
export { type AdminConfig as A, type BaseAdapter as B, type CollectionConfig as C, type DeleteArgs as D,
|
|
465
|
+
export { type AdminConfig as A, type BaseAdapter as B, type CollectionConfig as C, type DeleteArgs as D, type FindArgs as F, type GlobalConfig as G, type Hook as H, type ImageSize as I, type KyroConfig as K, type PluginConfig as P, type Request as R, type TenantContext as T, type UploadConfig as U, type VersionConfig as V, type WhereClause as W, type AuthConfig as a, type FindResult as b, type FindByIDArgs as c, type CreateArgs as d, type UpdateArgs as e, type FindVersionsArgs as f, type VersionRecord as g, type CreateVersionArgs as h, type User as i, type AccessArgs as j, type AccessControl as k, type AdapterConfig as l, type CollectionAccess as m, type CollectionHooks as n, type CreateResult as o, type FieldAccess as p, type FieldHooks as q, type GlobalAccess as r, type GlobalHooks as s, type HookArgs as t, evaluateAccess as u, getWhereClause as v, mergeWhereClauses as w, runFieldHooks as x, runHooks as y };
|