@kyro-cms/core 0.3.2 → 0.3.5
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-BznDc2AT.d.ts → WebhookService-118ZTFis.d.ts} +2 -2
- package/dist/{WebhookService-mZZ75syh.d.cts → WebhookService-AefJfqX0.d.cts} +2 -2
- package/dist/api-handler.cjs +52 -0
- package/dist/api-handler.cjs.map +1 -0
- package/dist/api-handler.d.cts +9 -0
- package/dist/api-handler.d.ts +9 -0
- package/dist/api-handler.js +46 -0
- package/dist/api-handler.js.map +1 -0
- package/dist/{base-Hu6ij8sZ.d.ts → base-DvvNqnM-.d.cts} +16 -5
- package/dist/{base-Db9LkB1N.d.cts → base-eVegJ_Pr.d.ts} +16 -5
- package/dist/bootstrap-DGJ3N7SO.js +6 -0
- package/dist/{bootstrap-LL6O7PWO.js.map → bootstrap-DGJ3N7SO.js.map} +1 -1
- package/dist/bootstrap-O5UGUTYU.cjs +31 -0
- package/dist/{bootstrap-BMWVB2T6.cjs.map → bootstrap-O5UGUTYU.cjs.map} +1 -1
- package/dist/{chunk-QKOFKITP.js → chunk-2HFJUUFZ.js} +3 -11
- package/dist/chunk-2HFJUUFZ.js.map +1 -0
- package/dist/chunk-2UOI5MUC.cjs +1276 -0
- package/dist/chunk-2UOI5MUC.cjs.map +1 -0
- package/dist/{chunk-DIC236EW.js → chunk-342BJNBI.js} +167 -24
- package/dist/chunk-342BJNBI.js.map +1 -0
- package/dist/{chunk-OUGKLCYF.js → chunk-3AJE4SEG.js} +4 -3
- package/dist/chunk-3AJE4SEG.js.map +1 -0
- package/dist/chunk-4UD44U4Z.js +5818 -0
- package/dist/chunk-4UD44U4Z.js.map +1 -0
- package/dist/chunk-5FTY2DLG.js +1258 -0
- package/dist/chunk-5FTY2DLG.js.map +1 -0
- package/dist/{chunk-BXMWDUED.js → chunk-A4USRVTQ.js} +2 -2
- package/dist/chunk-A4USRVTQ.js.map +1 -0
- package/dist/chunk-ADLJSJSN.cjs +13 -0
- package/dist/chunk-ADLJSJSN.cjs.map +1 -0
- package/dist/chunk-ATBOUGQP.cjs +513 -0
- package/dist/chunk-ATBOUGQP.cjs.map +1 -0
- package/dist/chunk-BQ2T4WRS.js +140 -0
- package/dist/chunk-BQ2T4WRS.js.map +1 -0
- package/dist/{chunk-U74F3YZU.js → chunk-DBUYB32X.js} +15 -3
- package/dist/chunk-DBUYB32X.js.map +1 -0
- package/dist/chunk-DE7OQOMD.cjs +5842 -0
- package/dist/chunk-DE7OQOMD.cjs.map +1 -0
- package/dist/chunk-DLHUQO25.cjs +1746 -0
- package/dist/chunk-DLHUQO25.cjs.map +1 -0
- package/dist/{chunk-GE5DMB44.js → chunk-E3BZLMX6.js} +55 -49
- package/dist/chunk-E3BZLMX6.js.map +1 -0
- package/dist/{chunk-44BF6ALS.cjs → chunk-H4XCAPA6.cjs} +55 -49
- package/dist/chunk-H4XCAPA6.cjs.map +1 -0
- package/dist/{chunk-VIONYQ2K.cjs → chunk-IBG6V56E.cjs} +16 -32
- package/dist/chunk-IBG6V56E.cjs.map +1 -0
- package/dist/{chunk-LIJVWQKU.cjs → chunk-IX3ABYKZ.cjs} +43 -31
- package/dist/chunk-IX3ABYKZ.cjs.map +1 -0
- package/dist/chunk-JYGIFBBS.cjs +146 -0
- package/dist/chunk-JYGIFBBS.cjs.map +1 -0
- package/dist/{chunk-42JPONZU.cjs → chunk-K7JPTH3G.cjs} +17 -16
- package/dist/chunk-K7JPTH3G.cjs.map +1 -0
- package/dist/{chunk-RLTG4YZM.cjs → chunk-KOCTZKPV.cjs} +2 -2
- package/dist/chunk-KOCTZKPV.cjs.map +1 -0
- package/dist/{chunk-EWP5AT6A.cjs → chunk-N4H37VN4.cjs} +2 -11
- package/dist/chunk-N4H37VN4.cjs.map +1 -0
- package/dist/chunk-P2YW545G.js +11 -0
- package/dist/chunk-P2YW545G.js.map +1 -0
- package/dist/chunk-Q23JB3KL.js +488 -0
- package/dist/chunk-Q23JB3KL.js.map +1 -0
- package/dist/{chunk-E5X75WNB.js → chunk-QXIQWPAP.js} +14 -30
- package/dist/chunk-QXIQWPAP.js.map +1 -0
- package/dist/chunk-R3XIBBAW.cjs +34 -0
- package/dist/chunk-R3XIBBAW.cjs.map +1 -0
- package/dist/chunk-R4C4O4SE.cjs +622 -0
- package/dist/chunk-R4C4O4SE.cjs.map +1 -0
- package/dist/{chunk-KWGNR4HM.js → chunk-REK7AYOC.js} +82 -9
- package/dist/chunk-REK7AYOC.js.map +1 -0
- package/dist/chunk-RGIQKTZ7.js +68 -0
- package/dist/chunk-RGIQKTZ7.js.map +1 -0
- package/dist/chunk-RYDGMBIG.js +1737 -0
- package/dist/chunk-RYDGMBIG.js.map +1 -0
- package/dist/chunk-SDMNUYVU.js +30 -0
- package/dist/chunk-SDMNUYVU.js.map +1 -0
- package/dist/{chunk-FTSSDDZQ.cjs → chunk-VJT6P4N6.cjs} +82 -9
- package/dist/chunk-VJT6P4N6.cjs.map +1 -0
- package/dist/{chunk-HT6VE4NW.cjs → chunk-W3KPQX7V.cjs} +168 -25
- package/dist/chunk-W3KPQX7V.cjs.map +1 -0
- package/dist/{chunk-LTRCYJAG.js → chunk-WOWUL7ZY.js} +3 -2
- package/dist/chunk-WOWUL7ZY.js.map +1 -0
- package/dist/{chunk-7YITG2US.cjs → chunk-WQBRWOQT.cjs} +3 -2
- package/dist/chunk-WQBRWOQT.cjs.map +1 -0
- package/dist/{chunk-KB6QF4HO.js → chunk-WSCJQI2B.js} +305 -152
- package/dist/chunk-WSCJQI2B.js.map +1 -0
- package/dist/chunk-X3CU27OO.cjs +78 -0
- package/dist/chunk-X3CU27OO.cjs.map +1 -0
- package/dist/chunk-Y3TM7WH7.js +617 -0
- package/dist/chunk-Y3TM7WH7.js.map +1 -0
- package/dist/{chunk-PNBZZ76A.cjs → chunk-Z2OVHWHB.cjs} +305 -151
- package/dist/chunk-Z2OVHWHB.cjs.map +1 -0
- package/dist/cli/index.cjs +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/client.cjs +23 -13
- package/dist/client.d.cts +4 -2
- package/dist/client.d.ts +4 -2
- package/dist/client.js +3 -1
- package/dist/drizzle/index.cjs +20 -19
- package/dist/drizzle/index.d.cts +28 -7
- package/dist/drizzle/index.d.ts +28 -7
- package/dist/drizzle/index.js +5 -4
- package/dist/fields/index.cjs +105 -0
- package/dist/fields/index.cjs.map +1 -0
- package/dist/fields/index.d.cts +27 -0
- package/dist/fields/index.d.ts +27 -0
- package/dist/fields/index.js +4 -0
- package/dist/fields/index.js.map +1 -0
- package/dist/graphql/index.cjs +4 -3
- package/dist/graphql/index.d.cts +3 -2
- package/dist/graphql/index.d.ts +3 -2
- package/dist/graphql/index.js +2 -1
- package/dist/{index-Ci6r4xnN.d.ts → index-CLp-DRKA.d.ts} +2 -1
- package/dist/{index-11MDNKce.d.cts → index-DfO7G4kN.d.cts} +2 -1
- package/dist/index.cjs +2659 -6670
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +138 -47
- package/dist/index.d.ts +138 -47
- package/dist/index.js +2356 -6529
- package/dist/index.js.map +1 -1
- package/dist/integration.cjs +68 -0
- package/dist/integration.cjs.map +1 -0
- package/dist/integration.d.cts +27 -0
- package/dist/integration.d.ts +27 -0
- package/dist/integration.js +61 -0
- package/dist/integration.js.map +1 -0
- package/dist/mongodb/index.cjs +4 -4
- package/dist/mongodb/index.d.cts +20 -6
- package/dist/mongodb/index.d.ts +20 -6
- package/dist/mongodb/index.js +2 -2
- package/dist/postgres-auth-adapter-7F3ECO7I.js +5 -0
- package/dist/{postgres-auth-adapter-OTRWSTT5.js.map → postgres-auth-adapter-7F3ECO7I.js.map} +1 -1
- package/dist/postgres-auth-adapter-Z463NYJZ.cjs +14 -0
- package/dist/{postgres-auth-adapter-EVRPO7BQ.cjs.map → postgres-auth-adapter-Z463NYJZ.cjs.map} +1 -1
- package/dist/redis-adapter-LPUWLE4Y.cjs +13 -0
- package/dist/{redis-adapter-E7PMN5HW.cjs.map → redis-adapter-LPUWLE4Y.cjs.map} +1 -1
- package/dist/redis-adapter-THYDCGQR.js +4 -0
- package/dist/{redis-adapter-HOO67RBQ.js.map → redis-adapter-THYDCGQR.js.map} +1 -1
- package/dist/rest/index.cjs +9 -5
- package/dist/rest/index.d.cts +6 -3
- package/dist/rest/index.d.ts +6 -3
- package/dist/rest/index.js +7 -3
- package/dist/{schema-CNB2DDTX.js → schema-6Q4W6AE6.js} +3 -3
- package/dist/{schema-CNB2DDTX.js.map → schema-6Q4W6AE6.js.map} +1 -1
- package/dist/{schema-Y777CQQS.cjs → schema-TIYTCIKX.cjs} +14 -14
- package/dist/{schema-Y777CQQS.cjs.map → schema-TIYTCIKX.cjs.map} +1 -1
- package/dist/templates/index.cjs +27 -23
- package/dist/templates/index.d.cts +8 -2
- package/dist/templates/index.d.ts +8 -2
- package/dist/templates/index.js +1 -1
- package/dist/trpc/index.cjs +12 -11
- package/dist/trpc/index.d.cts +3 -2
- package/dist/trpc/index.d.ts +3 -2
- package/dist/trpc/index.js +3 -2
- package/dist/{types-1u353OHN.d.ts → types-BnTm7oJG.d.cts} +7 -3
- package/dist/{types-1u353OHN.d.cts → types-BnTm7oJG.d.ts} +7 -3
- package/dist/{types-kGfsGdos.d.cts → types-Bs1up4yP.d.ts} +76 -244
- package/dist/{types-kGfsGdos.d.ts → types-J3R9nVsZ.d.cts} +76 -244
- package/dist/types-VtjUxIMp.d.cts +246 -0
- package/dist/types-VtjUxIMp.d.ts +246 -0
- package/package.json +16 -9
- package/dist/bootstrap-BMWVB2T6.cjs +0 -31
- package/dist/bootstrap-LL6O7PWO.js +0 -6
- package/dist/chunk-42JPONZU.cjs.map +0 -1
- package/dist/chunk-44BF6ALS.cjs.map +0 -1
- package/dist/chunk-4M5PHMUE.cjs +0 -947
- package/dist/chunk-4M5PHMUE.cjs.map +0 -1
- package/dist/chunk-6MSSF46R.js +0 -941
- package/dist/chunk-6MSSF46R.js.map +0 -1
- package/dist/chunk-7YITG2US.cjs.map +0 -1
- package/dist/chunk-BTOE3VUK.js +0 -330
- package/dist/chunk-BTOE3VUK.js.map +0 -1
- package/dist/chunk-BXMWDUED.js.map +0 -1
- package/dist/chunk-DIC236EW.js.map +0 -1
- package/dist/chunk-E5X75WNB.js.map +0 -1
- package/dist/chunk-E63IF3MD.cjs +0 -951
- package/dist/chunk-E63IF3MD.cjs.map +0 -1
- package/dist/chunk-EWP5AT6A.cjs.map +0 -1
- package/dist/chunk-FTSSDDZQ.cjs.map +0 -1
- package/dist/chunk-GE5DMB44.js.map +0 -1
- package/dist/chunk-GVFB5C6O.cjs +0 -345
- package/dist/chunk-GVFB5C6O.cjs.map +0 -1
- package/dist/chunk-HT6VE4NW.cjs.map +0 -1
- package/dist/chunk-HVSQDZZJ.cjs +0 -765
- package/dist/chunk-HVSQDZZJ.cjs.map +0 -1
- package/dist/chunk-HYC4GNHX.js +0 -758
- package/dist/chunk-HYC4GNHX.js.map +0 -1
- package/dist/chunk-KB6QF4HO.js.map +0 -1
- package/dist/chunk-KWGNR4HM.js.map +0 -1
- package/dist/chunk-LIJVWQKU.cjs.map +0 -1
- package/dist/chunk-LTRCYJAG.js.map +0 -1
- package/dist/chunk-OUGKLCYF.js.map +0 -1
- package/dist/chunk-PNBZZ76A.cjs.map +0 -1
- package/dist/chunk-QKOFKITP.js.map +0 -1
- package/dist/chunk-RLTG4YZM.cjs.map +0 -1
- package/dist/chunk-RRYXQMZG.js +0 -935
- package/dist/chunk-RRYXQMZG.js.map +0 -1
- package/dist/chunk-U74F3YZU.js.map +0 -1
- package/dist/chunk-VIONYQ2K.cjs.map +0 -1
- package/dist/postgres-auth-adapter-EVRPO7BQ.cjs +0 -14
- package/dist/postgres-auth-adapter-OTRWSTT5.js +0 -5
- package/dist/redis-adapter-E7PMN5HW.cjs +0 -13
- package/dist/redis-adapter-HOO67RBQ.js +0 -4
package/dist/templates/index.cjs
CHANGED
|
@@ -1,97 +1,101 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ2OVHWHB_cjs = require('../chunk-Z2OVHWHB.cjs');
|
|
4
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 chunkZ2OVHWHB_cjs.accessSettingsGlobal; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "allSettingsGlobals", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkZ2OVHWHB_cjs.allSettingsGlobals; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "authCollections", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkZ2OVHWHB_cjs.authCollections; }
|
|
15
19
|
});
|
|
16
20
|
Object.defineProperty(exports, "blogCollections", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkZ2OVHWHB_cjs.blogCollections; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, "blogGlobals", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkZ2OVHWHB_cjs.blogGlobals; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "coreSettingsGlobals", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkZ2OVHWHB_cjs.coreSettingsGlobals; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "createTemplateConfig", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkZ2OVHWHB_cjs.createTemplateConfig; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "ecommerceCollections", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkZ2OVHWHB_cjs.ecommerceCollections; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "ecommerceGlobals", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkZ2OVHWHB_cjs.ecommerceGlobals; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "ecommerceSettingsGlobals", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkZ2OVHWHB_cjs.ecommerceSettingsGlobals; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "emailSettingsGlobal", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkZ2OVHWHB_cjs.emailSettingsGlobal; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "getSettingsForTemplate", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkZ2OVHWHB_cjs.getSettingsForTemplate; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "kitchenSinkCollections", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkZ2OVHWHB_cjs.kitchenSinkCollections; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "mediaCollection", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkZ2OVHWHB_cjs.mediaCollection; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "mediaCollections", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkZ2OVHWHB_cjs.mediaCollections; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "minimalCollections", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkZ2OVHWHB_cjs.minimalCollections; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "paymentSettingsGlobal", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkZ2OVHWHB_cjs.paymentSettingsGlobal; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "seoSettingsGlobal", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkZ2OVHWHB_cjs.seoSettingsGlobal; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "settingsBySlug", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkZ2OVHWHB_cjs.settingsBySlug; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "siteSettingsGlobal", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkZ2OVHWHB_cjs.siteSettingsGlobal; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "socialSettingsGlobal", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkZ2OVHWHB_cjs.socialSettingsGlobal; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "storageSettingsGlobal", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkZ2OVHWHB_cjs.storageSettingsGlobal; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "storeSettingsGlobal", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkZ2OVHWHB_cjs.storeSettingsGlobal; }
|
|
95
99
|
});
|
|
96
100
|
//# sourceMappingURL=index.cjs.map
|
|
97
101
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, G as GlobalConfig } from '../types-J3R9nVsZ.cjs';
|
|
2
|
+
import '../types-VtjUxIMp.cjs';
|
|
2
3
|
|
|
3
4
|
declare const minimalCollections: Record<string, CollectionConfig>;
|
|
4
5
|
|
|
@@ -10,6 +11,11 @@ declare const ecommerceGlobals: GlobalConfig[];
|
|
|
10
11
|
|
|
11
12
|
declare const kitchenSinkCollections: Record<string, CollectionConfig>;
|
|
12
13
|
|
|
14
|
+
declare const authCollections: {
|
|
15
|
+
users: CollectionConfig;
|
|
16
|
+
audit_logs: CollectionConfig;
|
|
17
|
+
};
|
|
18
|
+
|
|
13
19
|
declare const mediaCollection: CollectionConfig;
|
|
14
20
|
declare const mediaCollections: CollectionConfig[];
|
|
15
21
|
|
|
@@ -50,4 +56,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
|
|
|
50
56
|
}
|
|
51
57
|
declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
|
|
52
58
|
|
|
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 };
|
|
59
|
+
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, G as GlobalConfig } from '../types-Bs1up4yP.js';
|
|
2
|
+
import '../types-VtjUxIMp.js';
|
|
2
3
|
|
|
3
4
|
declare const minimalCollections: Record<string, CollectionConfig>;
|
|
4
5
|
|
|
@@ -10,6 +11,11 @@ declare const ecommerceGlobals: GlobalConfig[];
|
|
|
10
11
|
|
|
11
12
|
declare const kitchenSinkCollections: Record<string, CollectionConfig>;
|
|
12
13
|
|
|
14
|
+
declare const authCollections: {
|
|
15
|
+
users: CollectionConfig;
|
|
16
|
+
audit_logs: CollectionConfig;
|
|
17
|
+
};
|
|
18
|
+
|
|
13
19
|
declare const mediaCollection: CollectionConfig;
|
|
14
20
|
declare const mediaCollections: CollectionConfig[];
|
|
15
21
|
|
|
@@ -50,4 +56,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
|
|
|
50
56
|
}
|
|
51
57
|
declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
|
|
52
58
|
|
|
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 };
|
|
59
|
+
export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal };
|
package/dist/templates/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { accessSettingsGlobal, allSettingsGlobals, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal } from '../chunk-
|
|
1
|
+
export { accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, ecommerceSettingsGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, storageSettingsGlobal, storeSettingsGlobal } from '../chunk-WSCJQI2B.js';
|
|
2
2
|
import '../chunk-Z6ZWNWWR.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/trpc/index.cjs
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkK7JPTH3G_cjs = require('../chunk-K7JPTH3G.cjs');
|
|
4
|
+
require('../chunk-IBG6V56E.cjs');
|
|
5
|
+
require('../chunk-R3XIBBAW.cjs');
|
|
5
6
|
require('../chunk-G7VZBCD6.cjs');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, "createContext", {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkK7JPTH3G_cjs.createContext; }
|
|
12
13
|
});
|
|
13
14
|
Object.defineProperty(exports, "createCountProcedure", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkK7JPTH3G_cjs.createCountProcedure; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, "createCreateProcedure", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkK7JPTH3G_cjs.createCreateProcedure; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "createDeleteProcedure", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkK7JPTH3G_cjs.createDeleteProcedure; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "createDynamicRouter", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkK7JPTH3G_cjs.createDynamicRouter; }
|
|
28
29
|
});
|
|
29
30
|
Object.defineProperty(exports, "createFindByIDProcedure", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkK7JPTH3G_cjs.createFindByIDProcedure; }
|
|
32
33
|
});
|
|
33
34
|
Object.defineProperty(exports, "createFindProcedure", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkK7JPTH3G_cjs.createFindProcedure; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "createKyroServer", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkK7JPTH3G_cjs.createKyroServer; }
|
|
40
41
|
});
|
|
41
42
|
Object.defineProperty(exports, "createUpdateProcedure", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkK7JPTH3G_cjs.createUpdateProcedure; }
|
|
44
45
|
});
|
|
45
46
|
//# sourceMappingURL=index.cjs.map
|
|
46
47
|
//# sourceMappingURL=index.cjs.map
|
package/dist/trpc/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as createWebhookService } from '../WebhookService-
|
|
1
|
+
import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-J3R9nVsZ.cjs';
|
|
2
|
+
import { i as createWebhookService } from '../WebhookService-AefJfqX0.cjs';
|
|
3
|
+
import '../types-VtjUxIMp.cjs';
|
|
3
4
|
|
|
4
5
|
interface ApiKeyContext {
|
|
5
6
|
userId: string;
|
package/dist/trpc/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as createWebhookService } from '../WebhookService-
|
|
1
|
+
import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-Bs1up4yP.js';
|
|
2
|
+
import { i as createWebhookService } from '../WebhookService-118ZTFis.js';
|
|
3
|
+
import '../types-VtjUxIMp.js';
|
|
3
4
|
|
|
4
5
|
interface ApiKeyContext {
|
|
5
6
|
userId: string;
|
package/dist/trpc/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-3AJE4SEG.js';
|
|
2
|
+
import '../chunk-QXIQWPAP.js';
|
|
3
|
+
import '../chunk-SDMNUYVU.js';
|
|
3
4
|
import '../chunk-Z6ZWNWWR.js';
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_delete" | "tenant_create" | "tenant_delete";
|
|
1
|
+
type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_update" | "api_key_rotate" | "api_key_delete" | "tenant_create" | "tenant_delete";
|
|
2
2
|
interface AuditLog {
|
|
3
3
|
id: string;
|
|
4
4
|
timestamp: Date;
|
|
@@ -33,6 +33,7 @@ interface AuditLogFilter {
|
|
|
33
33
|
|
|
34
34
|
interface AuthUser {
|
|
35
35
|
id: string;
|
|
36
|
+
name?: string;
|
|
36
37
|
email: string;
|
|
37
38
|
passwordHash?: string;
|
|
38
39
|
role: UserRole;
|
|
@@ -60,8 +61,9 @@ interface JWTPayload {
|
|
|
60
61
|
email: string;
|
|
61
62
|
role: UserRole;
|
|
62
63
|
tenantId?: string;
|
|
63
|
-
iat
|
|
64
|
-
exp
|
|
64
|
+
iat?: number;
|
|
65
|
+
exp?: number;
|
|
66
|
+
sid?: string;
|
|
65
67
|
}
|
|
66
68
|
interface AuthTokenConfig {
|
|
67
69
|
secret: string;
|
|
@@ -92,6 +94,7 @@ interface AuthAdapter {
|
|
|
92
94
|
createUser(data: {
|
|
93
95
|
email: string;
|
|
94
96
|
password: string;
|
|
97
|
+
name?: string;
|
|
95
98
|
role?: UserRole;
|
|
96
99
|
tenantId?: string;
|
|
97
100
|
}): Promise<AuthUser>;
|
|
@@ -108,6 +111,7 @@ interface AuthAdapter {
|
|
|
108
111
|
userAgent?: string;
|
|
109
112
|
}): Promise<Session>;
|
|
110
113
|
findSessionByToken(token: string): Promise<Session | null>;
|
|
114
|
+
findSessionByRefreshToken(refreshToken: string): Promise<Session | null>;
|
|
111
115
|
deleteSession(sessionId: string): Promise<boolean>;
|
|
112
116
|
deleteUserSessions(userId: string): Promise<number>;
|
|
113
117
|
hasAnyUsers?(): Promise<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_delete" | "tenant_create" | "tenant_delete";
|
|
1
|
+
type AuditAction = "login" | "logout" | "login_failed" | "register" | "verify_email" | "password_change" | "password_reset" | "password_reset_request" | "role_change" | "permission_change" | "document_create" | "document_update" | "document_delete" | "settings_change" | "user_lockout" | "user_unlock" | "user_create" | "user_update" | "user_delete" | "api_request" | "api_key_create" | "api_key_update" | "api_key_rotate" | "api_key_delete" | "tenant_create" | "tenant_delete";
|
|
2
2
|
interface AuditLog {
|
|
3
3
|
id: string;
|
|
4
4
|
timestamp: Date;
|
|
@@ -33,6 +33,7 @@ interface AuditLogFilter {
|
|
|
33
33
|
|
|
34
34
|
interface AuthUser {
|
|
35
35
|
id: string;
|
|
36
|
+
name?: string;
|
|
36
37
|
email: string;
|
|
37
38
|
passwordHash?: string;
|
|
38
39
|
role: UserRole;
|
|
@@ -60,8 +61,9 @@ interface JWTPayload {
|
|
|
60
61
|
email: string;
|
|
61
62
|
role: UserRole;
|
|
62
63
|
tenantId?: string;
|
|
63
|
-
iat
|
|
64
|
-
exp
|
|
64
|
+
iat?: number;
|
|
65
|
+
exp?: number;
|
|
66
|
+
sid?: string;
|
|
65
67
|
}
|
|
66
68
|
interface AuthTokenConfig {
|
|
67
69
|
secret: string;
|
|
@@ -92,6 +94,7 @@ interface AuthAdapter {
|
|
|
92
94
|
createUser(data: {
|
|
93
95
|
email: string;
|
|
94
96
|
password: string;
|
|
97
|
+
name?: string;
|
|
95
98
|
role?: UserRole;
|
|
96
99
|
tenantId?: string;
|
|
97
100
|
}): Promise<AuthUser>;
|
|
@@ -108,6 +111,7 @@ interface AuthAdapter {
|
|
|
108
111
|
userAgent?: string;
|
|
109
112
|
}): Promise<Session>;
|
|
110
113
|
findSessionByToken(token: string): Promise<Session | null>;
|
|
114
|
+
findSessionByRefreshToken(refreshToken: string): Promise<Session | null>;
|
|
111
115
|
deleteSession(sessionId: string): Promise<boolean>;
|
|
112
116
|
deleteUserSessions(userId: string): Promise<number>;
|
|
113
117
|
hasAnyUsers?(): Promise<boolean>;
|