@kyro-cms/core 0.8.0 → 0.9.1
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 +57 -589
- package/dist/{WebhookService-118ZTFis.d.ts → WebhookService-CUTb9XOy.d.ts} +1 -1
- package/dist/{WebhookService-AefJfqX0.d.cts → WebhookService-Yg2UEOB4.d.cts} +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 +31 -97
- 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 +19 -95
- package/dist/api-handler.js.map +1 -1
- package/dist/{tenant-B1YB0Jy8.d.ts → base-B71y_EAF.d.cts} +6 -12
- package/dist/{tenant-Cpeveji6.d.cts → base-DaqY2GhA.d.ts} +6 -12
- package/dist/bootstrap-5NLASFOG.cjs +32 -0
- package/dist/{bootstrap-AKAUP6F6.cjs.map → bootstrap-5NLASFOG.cjs.map} +1 -1
- package/dist/bootstrap-T5BK77LD.js +7 -0
- package/dist/{bootstrap-JCML6NFO.js.map → bootstrap-T5BK77LD.js.map} +1 -1
- package/dist/{chunk-35U3FROB.js → chunk-22M4O4ZJ.js} +607 -63
- package/dist/chunk-22M4O4ZJ.js.map +1 -0
- package/dist/chunk-2HZRBATX.cjs +253 -0
- package/dist/chunk-2HZRBATX.cjs.map +1 -0
- 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-4M7X5HAB.cjs +173 -0
- package/dist/chunk-4M7X5HAB.cjs.map +1 -0
- package/dist/chunk-5EPFQUQD.js +3243 -0
- package/dist/chunk-5EPFQUQD.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-WOWUL7ZY.js → chunk-AL5KX63J.js} +4 -3
- package/dist/chunk-AL5KX63J.js.map +1 -0
- package/dist/{chunk-2OL4O2TH.cjs → chunk-C36TMDTY.cjs} +66 -61
- package/dist/chunk-C36TMDTY.cjs.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-2KVHZE6O.cjs → chunk-COIASRDK.cjs} +202 -46
- package/dist/chunk-COIASRDK.cjs.map +1 -0
- package/dist/chunk-DEVFAKCQ.cjs +3291 -0
- package/dist/chunk-DEVFAKCQ.cjs.map +1 -0
- package/dist/{chunk-3ZFYL34R.js → chunk-DYTZ6FQ7.js} +12 -185
- package/dist/chunk-DYTZ6FQ7.js.map +1 -0
- package/dist/{chunk-QPPDLRNR.js → chunk-EJN2PAOE.js} +197 -41
- package/dist/chunk-EJN2PAOE.js.map +1 -0
- package/dist/chunk-FAXU7BMP.js +220 -0
- package/dist/chunk-FAXU7BMP.js.map +1 -0
- package/dist/{chunk-OHVB4AJ7.js → chunk-FOPGUM27.js} +22 -17
- package/dist/chunk-FOPGUM27.js.map +1 -0
- package/dist/chunk-GAOXD3XT.js +175 -0
- package/dist/chunk-GAOXD3XT.js.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-WQBRWOQT.cjs → chunk-JOPVMWTM.cjs} +3 -2
- package/dist/chunk-JOPVMWTM.cjs.map +1 -0
- package/dist/chunk-KC2GDBLS.cjs +84 -0
- package/dist/chunk-KC2GDBLS.cjs.map +1 -0
- package/dist/{chunk-K7JPTH3G.cjs → chunk-KNRSROWB.cjs} +132 -74
- package/dist/chunk-KNRSROWB.cjs.map +1 -0
- package/dist/{chunk-3AJE4SEG.js → chunk-KPA4AN4R.js} +125 -67
- package/dist/chunk-KPA4AN4R.js.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-Y3QQN7PN.js → chunk-P2HKJ7P5.js} +13 -4
- package/dist/chunk-P2HKJ7P5.js.map +1 -0
- package/dist/{chunk-SA7NSSIQ.cjs → chunk-PI73NNOK.cjs} +13 -187
- package/dist/chunk-PI73NNOK.cjs.map +1 -0
- package/dist/{chunk-HXRD4B37.js → chunk-PU2Z5VWF.js} +1279 -556
- package/dist/chunk-PU2Z5VWF.js.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-YVUJBEXE.cjs → chunk-RAMGUDJN.cjs} +16 -7
- package/dist/chunk-RAMGUDJN.cjs.map +1 -0
- package/dist/{chunk-LINKCEG4.cjs → chunk-ROJHKAQ4.cjs} +617 -73
- package/dist/chunk-ROJHKAQ4.cjs.map +1 -0
- package/dist/{chunk-5KVM3WEY.cjs → chunk-RSF3UU7H.cjs} +1330 -602
- package/dist/chunk-RSF3UU7H.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-SPBTLUN6.js +92 -0
- package/dist/chunk-SPBTLUN6.js.map +1 -0
- package/dist/{chunk-57P6MJKC.js → chunk-TXSZFA4G.js} +3 -3
- package/dist/chunk-TXSZFA4G.js.map +1 -0
- package/dist/chunk-UERVXYVK.cjs +99 -0
- package/dist/chunk-UERVXYVK.cjs.map +1 -0
- package/dist/{chunk-PDYFVNUX.cjs → chunk-V2TVSCV5.cjs} +16 -23
- package/dist/chunk-V2TVSCV5.cjs.map +1 -0
- package/dist/{chunk-DXHRBMGB.js → chunk-VO35MNPH.js} +12 -19
- package/dist/chunk-VO35MNPH.js.map +1 -0
- package/dist/{chunk-IA6AU5PI.cjs → chunk-WNCYAKF3.cjs} +3 -3
- package/dist/chunk-WNCYAKF3.cjs.map +1 -0
- package/dist/chunk-XEB7PH2E.js +81 -0
- package/dist/chunk-XEB7PH2E.js.map +1 -0
- package/dist/cli/index.cjs +5 -5
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/index.js.map +1 -1
- package/dist/client.cjs +3 -3
- package/dist/client.d.cts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +1 -1
- package/dist/drizzle/index.cjs +14 -13
- package/dist/drizzle/index.d.cts +9 -7
- package/dist/drizzle/index.d.ts +9 -7
- package/dist/drizzle/index.js +5 -4
- package/dist/fields/index.cjs +21 -37
- package/dist/fields/index.d.cts +2 -22
- package/dist/fields/index.d.ts +2 -22
- package/dist/fields/index.js +1 -1
- package/dist/graphql/index.cjs +5 -4
- package/dist/graphql/index.d.cts +5 -3
- package/dist/graphql/index.d.ts +5 -3
- package/dist/graphql/index.js +3 -2
- package/dist/index-CJXPB_ot.d.ts +276 -0
- package/dist/index-CaTNnLGd.d.cts +276 -0
- package/dist/index.cjs +304 -162
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +129 -205
- package/dist/index.d.ts +129 -205
- package/dist/index.js +172 -33
- package/dist/index.js.map +1 -1
- package/dist/integration.cjs +2 -2
- package/dist/integration.js +1 -1
- package/dist/mongo-auth-adapter-ISOM7FSS.cjs +17 -0
- package/dist/{mongo-auth-adapter-NHHUJHVH.cjs.map → mongo-auth-adapter-ISOM7FSS.cjs.map} +1 -1
- package/dist/mongo-auth-adapter-MO6STCV3.js +4 -0
- package/dist/{mongo-auth-adapter-NJQUUCTP.js.map → mongo-auth-adapter-MO6STCV3.js.map} +1 -1
- package/dist/mongodb/index.cjs +8 -7
- package/dist/mongodb/index.d.cts +5 -7
- package/dist/mongodb/index.d.ts +5 -7
- package/dist/mongodb/index.js +4 -3
- package/dist/postgres-auth-adapter-DWDR7P5G.js +5 -0
- package/dist/{postgres-auth-adapter-3T2NKTSE.js.map → postgres-auth-adapter-DWDR7P5G.js.map} +1 -1
- package/dist/postgres-auth-adapter-WRWSJD4E.cjs +14 -0
- package/dist/{postgres-auth-adapter-7IEENCKQ.cjs.map → postgres-auth-adapter-WRWSJD4E.cjs.map} +1 -1
- package/dist/redis-adapter-HGTPWIGV.js +4 -0
- package/dist/{redis-adapter-VQXD7ESY.js.map → redis-adapter-HGTPWIGV.js.map} +1 -1
- package/dist/redis-adapter-KJ3YOOT6.cjs +13 -0
- package/dist/{redis-adapter-D2E2S3GB.cjs.map → redis-adapter-KJ3YOOT6.cjs.map} +1 -1
- package/dist/rest/index.cjs +15 -14
- package/dist/rest/index.d.cts +4 -4
- package/dist/rest/index.d.ts +4 -4
- package/dist/rest/index.js +13 -12
- package/dist/{schema-5PHL5IVB.js → schema-6I5OFR4Z.js} +3 -3
- package/dist/{schema-5PHL5IVB.js.map → schema-6I5OFR4Z.js.map} +1 -1
- package/dist/{schema-37SE2F4B.cjs → schema-TTFE4467.cjs} +14 -14
- package/dist/{schema-37SE2F4B.cjs.map → schema-TTFE4467.cjs.map} +1 -1
- package/dist/sqlite-adapter-6GEUSVXQ.js +4 -0
- package/dist/{sqlite-adapter-TR3U3W6Q.js.map → sqlite-adapter-6GEUSVXQ.js.map} +1 -1
- package/dist/sqlite-adapter-CSIZE5SX.cjs +13 -0
- package/dist/{sqlite-adapter-LVK5PS4T.cjs.map → sqlite-adapter-CSIZE5SX.cjs.map} +1 -1
- package/dist/templates/index.cjs +133 -31
- package/dist/templates/index.d.cts +52 -9
- package/dist/templates/index.d.ts +52 -9
- package/dist/templates/index.js +3 -1
- package/dist/trpc/index.cjs +13 -12
- package/dist/trpc/index.d.cts +55 -49
- package/dist/trpc/index.d.ts +55 -49
- package/dist/trpc/index.js +4 -3
- 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-Bs1up4yP.d.ts → types-CyCQ6SAI.d.ts} +28 -2
- package/dist/{types-J3R9nVsZ.d.cts → types-DJxD9394.d.cts} +28 -2
- package/dist/{types-VtjUxIMp.d.cts → types-Z6FBiqa2.d.cts} +35 -14
- package/dist/{types-VtjUxIMp.d.ts → types-Z6FBiqa2.d.ts} +35 -14
- 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-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-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/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/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { A as AdminConfig, a as AuthConfig, C as CollectionConfig, G as GlobalConfig, I as ImageSize, K as KyroConfig, U as UploadConfig, V as VersionConfig } from './types-
|
|
2
|
-
export { A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field,
|
|
1
|
+
export { A as AdminConfig, a as AuthConfig, C as CollectionConfig, G as GlobalConfig, I as ImageSize, K as KyroConfig, U as UploadConfig, V as VersionConfig } from './types-CyCQ6SAI.js';
|
|
2
|
+
export { A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, M as MarkdownField, N as NumberField, P as PasswordField, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField } from './types-Z6FBiqa2.js';
|
|
3
3
|
export { renderRichText, richTextStyles } from './fields/index.js';
|
|
4
|
-
export { A as AuthAdapter, a as AuthResult, S as AuthSession, b as AuthTokenConfig, c as AuthUser, J as JWTPayload, L as LoginCredentials, R as RegisterData, S as Session, U as UserRole } from './types-
|
|
4
|
+
export { A as AuthAdapter, a as AuthResult, S as AuthSession, b as AuthTokenConfig, c as AuthUser, J as JWTPayload, L as LoginCredentials, R as RegisterData, S as Session, U as UserRole } from './types-CpjuXbe7.js';
|
|
5
5
|
export { A as AdminStylingConfig, C as CSSGenerator, F as FieldStyling, S as StylingConfig, a as StylingMode, T as ThemeBorderRadius, b as ThemeColors, c as ThemeConfig, d as ThemeFonts, e as ThemeShadows, f as ThemeSpacing, g as createAdminStyling, h as defaultDarkTheme, i as defaultFieldStyling, j as defaultLightTheme, k as ecommerce2026Theme, l as generateCSSVariables, m as generateTailwindConfig } from './index-Bz9JqRGI.js';
|
|
6
6
|
|
|
7
7
|
declare function createAuditContext(req: Request): {
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { CSSGenerator, createAdminStyling, defaultDarkTheme, defaultFieldStyling, defaultLightTheme, ecommerce2026Theme, generateCSSVariables, generateTailwindConfig } from './chunk-2HFJUUFZ.js';
|
|
2
|
-
export { renderRichText, richTextStyles } from './chunk-
|
|
2
|
+
export { renderRichText, richTextStyles } from './chunk-FAXU7BMP.js';
|
|
3
3
|
export { createAuditContext } from './chunk-P2YW545G.js';
|
|
4
4
|
import './chunk-Z6ZWNWWR.js';
|
|
5
5
|
//# sourceMappingURL=client.js.map
|
package/dist/drizzle/index.cjs
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-3YELQL7Z.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
4
|
+
var chunkCOIASRDK_cjs = require('../chunk-COIASRDK.cjs');
|
|
5
|
+
var chunkC36TMDTY_cjs = require('../chunk-C36TMDTY.cjs');
|
|
6
|
+
require('../chunk-JOPVMWTM.cjs');
|
|
7
|
+
require('../chunk-PI73NNOK.cjs');
|
|
8
|
+
require('../chunk-NKPKR5BW.cjs');
|
|
8
9
|
require('../chunk-G7VZBCD6.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
Object.defineProperty(exports, "DrizzleAdapter", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkCOIASRDK_cjs.DrizzleAdapter; }
|
|
15
16
|
});
|
|
16
17
|
Object.defineProperty(exports, "collectionToDrizzleSchema", {
|
|
17
18
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkCOIASRDK_cjs.collectionToDrizzleSchema; }
|
|
19
20
|
});
|
|
20
21
|
Object.defineProperty(exports, "createDatabase", {
|
|
21
22
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkCOIASRDK_cjs.createDatabase; }
|
|
23
24
|
});
|
|
24
25
|
Object.defineProperty(exports, "createDrizzleAdapter", {
|
|
25
26
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkCOIASRDK_cjs.createDrizzleAdapter; }
|
|
27
28
|
});
|
|
28
29
|
Object.defineProperty(exports, "fieldToDrizzleType", {
|
|
29
30
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkCOIASRDK_cjs.fieldToDrizzleType; }
|
|
31
32
|
});
|
|
32
33
|
Object.defineProperty(exports, "genId", {
|
|
33
34
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkCOIASRDK_cjs.genId; }
|
|
35
36
|
});
|
|
36
37
|
Object.defineProperty(exports, "runMigrations", {
|
|
37
38
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkCOIASRDK_cjs.runMigrations; }
|
|
39
40
|
});
|
|
40
41
|
Object.defineProperty(exports, "seedDefaultRoles", {
|
|
41
42
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkCOIASRDK_cjs.seedDefaultRoles; }
|
|
43
44
|
});
|
|
44
45
|
Object.defineProperty(exports, "PostgresAuthAdapter", {
|
|
45
46
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkC36TMDTY_cjs.PostgresAuthAdapter; }
|
|
47
48
|
});
|
|
48
49
|
//# sourceMappingURL=index.cjs.map
|
|
49
50
|
//# sourceMappingURL=index.cjs.map
|
package/dist/drizzle/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter
|
|
2
|
-
import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-
|
|
3
|
-
import { F as Field } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-B71y_EAF.cjs';
|
|
2
|
+
import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-DJxD9394.cjs';
|
|
3
|
+
import { F as Field } from '../types-Z6FBiqa2.cjs';
|
|
4
4
|
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
5
|
-
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-
|
|
5
|
+
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.cjs';
|
|
6
6
|
|
|
7
7
|
declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'sqlite'): string;
|
|
8
8
|
declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'sqlite'): string;
|
|
@@ -13,9 +13,6 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
|
13
13
|
private connectionString?;
|
|
14
14
|
private draftsTableReady;
|
|
15
15
|
private versionsTableReady;
|
|
16
|
-
private tenantContext?;
|
|
17
|
-
setTenantContext(context: TenantContext | undefined): void;
|
|
18
|
-
getTenantContext(): TenantContext | undefined;
|
|
19
16
|
constructor(options: {
|
|
20
17
|
type?: 'postgres' | 'sqlite';
|
|
21
18
|
client?: any;
|
|
@@ -27,6 +24,10 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
|
27
24
|
init(collections: CollectionConfig[], globals?: GlobalConfig[]): Promise<void>;
|
|
28
25
|
private createTableFromConfig;
|
|
29
26
|
private ensureCollectionTables;
|
|
27
|
+
private getColumnSqlDefinition;
|
|
28
|
+
private columnSqlType;
|
|
29
|
+
private getExpectedColumnDefs;
|
|
30
|
+
private syncTableColumns;
|
|
30
31
|
private generateCreateColumns;
|
|
31
32
|
disconnect(): Promise<void>;
|
|
32
33
|
find<T>(args: FindArgs): Promise<FindResult<T>>;
|
|
@@ -96,6 +97,7 @@ declare class PostgresAuthAdapter implements AuthAdapter {
|
|
|
96
97
|
password: string;
|
|
97
98
|
name?: string;
|
|
98
99
|
role?: UserRole;
|
|
100
|
+
avatar?: string;
|
|
99
101
|
tenantId?: string;
|
|
100
102
|
}): Promise<AuthUser>;
|
|
101
103
|
findUserByEmail(email: string): Promise<AuthUser | null>;
|
package/dist/drizzle/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as AbstractBaseAdapter
|
|
2
|
-
import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-
|
|
3
|
-
import { F as Field } from '../types-
|
|
1
|
+
import { A as AbstractBaseAdapter } from '../base-DaqY2GhA.js';
|
|
2
|
+
import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-CyCQ6SAI.js';
|
|
3
|
+
import { F as Field } from '../types-Z6FBiqa2.js';
|
|
4
4
|
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
|
|
5
|
-
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-
|
|
5
|
+
import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.js';
|
|
6
6
|
|
|
7
7
|
declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'sqlite'): string;
|
|
8
8
|
declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'sqlite'): string;
|
|
@@ -13,9 +13,6 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
|
13
13
|
private connectionString?;
|
|
14
14
|
private draftsTableReady;
|
|
15
15
|
private versionsTableReady;
|
|
16
|
-
private tenantContext?;
|
|
17
|
-
setTenantContext(context: TenantContext | undefined): void;
|
|
18
|
-
getTenantContext(): TenantContext | undefined;
|
|
19
16
|
constructor(options: {
|
|
20
17
|
type?: 'postgres' | 'sqlite';
|
|
21
18
|
client?: any;
|
|
@@ -27,6 +24,10 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
|
|
|
27
24
|
init(collections: CollectionConfig[], globals?: GlobalConfig[]): Promise<void>;
|
|
28
25
|
private createTableFromConfig;
|
|
29
26
|
private ensureCollectionTables;
|
|
27
|
+
private getColumnSqlDefinition;
|
|
28
|
+
private columnSqlType;
|
|
29
|
+
private getExpectedColumnDefs;
|
|
30
|
+
private syncTableColumns;
|
|
30
31
|
private generateCreateColumns;
|
|
31
32
|
disconnect(): Promise<void>;
|
|
32
33
|
find<T>(args: FindArgs): Promise<FindResult<T>>;
|
|
@@ -96,6 +97,7 @@ declare class PostgresAuthAdapter implements AuthAdapter {
|
|
|
96
97
|
password: string;
|
|
97
98
|
name?: string;
|
|
98
99
|
role?: UserRole;
|
|
100
|
+
avatar?: string;
|
|
99
101
|
tenantId?: string;
|
|
100
102
|
}): Promise<AuthUser>;
|
|
101
103
|
findUserByEmail(email: string): Promise<AuthUser | null>;
|
package/dist/drizzle/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '../chunk-QU2RFFH4.js';
|
|
2
|
-
export { DrizzleAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles } from '../chunk-
|
|
3
|
-
export { PostgresAuthAdapter } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
2
|
+
export { DrizzleAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles } from '../chunk-EJN2PAOE.js';
|
|
3
|
+
export { PostgresAuthAdapter } from '../chunk-FOPGUM27.js';
|
|
4
|
+
import '../chunk-AL5KX63J.js';
|
|
5
|
+
import '../chunk-DYTZ6FQ7.js';
|
|
6
|
+
import '../chunk-L4EZKIEX.js';
|
|
6
7
|
import '../chunk-Z6ZWNWWR.js';
|
|
7
8
|
//# sourceMappingURL=index.js.map
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/dist/fields/index.cjs
CHANGED
|
@@ -1,105 +1,89 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2HZRBATX_cjs = require('../chunk-2HZRBATX.cjs');
|
|
4
4
|
require('../chunk-G7VZBCD6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ALL_FIELD_TYPES", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk2HZRBATX_cjs.ALL_FIELD_TYPES; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "COMPLEX_FIELD_TYPES", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk2HZRBATX_cjs.COMPLEX_FIELD_TYPES; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "LAYOUT_FIELD_TYPES", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2HZRBATX_cjs.LAYOUT_FIELD_TYPES; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "PRIMITIVE_FIELD_TYPES", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk2HZRBATX_cjs.PRIMITIVE_FIELD_TYPES; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "RELATIONAL_FIELD_TYPES", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "createColumnNode", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkATBOUGQP_cjs.createColumnNode; }
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "createColumnsNode", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return chunkATBOUGQP_cjs.createColumnsNode; }
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "createEmptyParagraphNode", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return chunkATBOUGQP_cjs.createEmptyParagraphNode; }
|
|
26
|
+
get: function () { return chunk2HZRBATX_cjs.RELATIONAL_FIELD_TYPES; }
|
|
39
27
|
});
|
|
40
28
|
Object.defineProperty(exports, "createRelationshipFieldConfig", {
|
|
41
29
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk2HZRBATX_cjs.createRelationshipFieldConfig; }
|
|
43
31
|
});
|
|
44
32
|
Object.defineProperty(exports, "isArrayField", {
|
|
45
33
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk2HZRBATX_cjs.isArrayField; }
|
|
47
35
|
});
|
|
48
36
|
Object.defineProperty(exports, "isBlocksField", {
|
|
49
37
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk2HZRBATX_cjs.isBlocksField; }
|
|
51
39
|
});
|
|
52
40
|
Object.defineProperty(exports, "isGroupField", {
|
|
53
41
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk2HZRBATX_cjs.isGroupField; }
|
|
55
43
|
});
|
|
56
44
|
Object.defineProperty(exports, "isImageField", {
|
|
57
45
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk2HZRBATX_cjs.isImageField; }
|
|
59
47
|
});
|
|
60
48
|
Object.defineProperty(exports, "isLayoutField", {
|
|
61
49
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk2HZRBATX_cjs.isLayoutField; }
|
|
63
51
|
});
|
|
64
52
|
Object.defineProperty(exports, "isNumberField", {
|
|
65
53
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk2HZRBATX_cjs.isNumberField; }
|
|
67
55
|
});
|
|
68
56
|
Object.defineProperty(exports, "isRelationshipField", {
|
|
69
57
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk2HZRBATX_cjs.isRelationshipField; }
|
|
71
59
|
});
|
|
72
60
|
Object.defineProperty(exports, "isRichTextField", {
|
|
73
61
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk2HZRBATX_cjs.isRichTextField; }
|
|
75
63
|
});
|
|
76
64
|
Object.defineProperty(exports, "isSelectField", {
|
|
77
65
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk2HZRBATX_cjs.isSelectField; }
|
|
79
67
|
});
|
|
80
68
|
Object.defineProperty(exports, "isTextField", {
|
|
81
69
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk2HZRBATX_cjs.isTextField; }
|
|
83
71
|
});
|
|
84
72
|
Object.defineProperty(exports, "isUploadField", {
|
|
85
73
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
87
|
-
});
|
|
88
|
-
Object.defineProperty(exports, "normalizeRichTextDocument", {
|
|
89
|
-
enumerable: true,
|
|
90
|
-
get: function () { return chunkATBOUGQP_cjs.normalizeRichTextDocument; }
|
|
74
|
+
get: function () { return chunk2HZRBATX_cjs.isUploadField; }
|
|
91
75
|
});
|
|
92
76
|
Object.defineProperty(exports, "normalizeRichTextValue", {
|
|
93
77
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk2HZRBATX_cjs.normalizeRichTextValue; }
|
|
95
79
|
});
|
|
96
80
|
Object.defineProperty(exports, "renderRichText", {
|
|
97
81
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk2HZRBATX_cjs.renderRichText; }
|
|
99
83
|
});
|
|
100
84
|
Object.defineProperty(exports, "richTextStyles", {
|
|
101
85
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk2HZRBATX_cjs.richTextStyles; }
|
|
103
87
|
});
|
|
104
88
|
//# sourceMappingURL=index.cjs.map
|
|
105
89
|
//# sourceMappingURL=index.cjs.map
|
package/dist/fields/index.d.cts
CHANGED
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { r as ALL_FIELD_TYPES, Y as ActionField, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, Z as ButtonField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, _ as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, $ as ListField, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, a0 as TextFieldVariant, q as TextareaField, U as UploadField, V as ValidateOptions, a1 as createRelationshipFieldConfig, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from '../types-Z6FBiqa2.cjs';
|
|
2
2
|
|
|
3
|
-
interface RichTextMark {
|
|
4
|
-
type: string;
|
|
5
|
-
attrs?: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RichTextNode {
|
|
8
|
-
type?: string;
|
|
9
|
-
attrs?: Record<string, unknown>;
|
|
10
|
-
content?: RichTextNode[];
|
|
11
|
-
text?: string;
|
|
12
|
-
marks?: RichTextMark[];
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
interface RichTextDocument extends RichTextNode {
|
|
16
|
-
type: "doc";
|
|
17
|
-
content: RichTextNode[];
|
|
18
|
-
}
|
|
19
3
|
declare const richTextStyles: string;
|
|
20
|
-
declare function createEmptyParagraphNode(): RichTextNode;
|
|
21
|
-
declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
|
|
22
|
-
declare function createColumnsNode(columns?: number): RichTextNode;
|
|
23
|
-
declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
|
|
24
4
|
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
5
|
declare function renderRichText(value: unknown): string;
|
|
26
6
|
|
|
27
|
-
export {
|
|
7
|
+
export { normalizeRichTextValue, renderRichText, richTextStyles };
|
package/dist/fields/index.d.ts
CHANGED
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { r as ALL_FIELD_TYPES, Y as ActionField, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, Z as ButtonField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, _ as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, $ as ListField, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, a0 as TextFieldVariant, q as TextareaField, U as UploadField, V as ValidateOptions, a1 as createRelationshipFieldConfig, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from '../types-Z6FBiqa2.js';
|
|
2
2
|
|
|
3
|
-
interface RichTextMark {
|
|
4
|
-
type: string;
|
|
5
|
-
attrs?: Record<string, unknown>;
|
|
6
|
-
}
|
|
7
|
-
interface RichTextNode {
|
|
8
|
-
type?: string;
|
|
9
|
-
attrs?: Record<string, unknown>;
|
|
10
|
-
content?: RichTextNode[];
|
|
11
|
-
text?: string;
|
|
12
|
-
marks?: RichTextMark[];
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
interface RichTextDocument extends RichTextNode {
|
|
16
|
-
type: "doc";
|
|
17
|
-
content: RichTextNode[];
|
|
18
|
-
}
|
|
19
3
|
declare const richTextStyles: string;
|
|
20
|
-
declare function createEmptyParagraphNode(): RichTextNode;
|
|
21
|
-
declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
|
|
22
|
-
declare function createColumnsNode(columns?: number): RichTextNode;
|
|
23
|
-
declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
|
|
24
4
|
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
5
|
declare function renderRichText(value: unknown): string;
|
|
26
6
|
|
|
27
|
-
export {
|
|
7
|
+
export { normalizeRichTextValue, renderRichText, richTextStyles };
|
package/dist/fields/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES,
|
|
1
|
+
export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, createRelationshipFieldConfig, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextValue, renderRichText, richTextStyles } from '../chunk-FAXU7BMP.js';
|
|
2
2
|
import '../chunk-Z6ZWNWWR.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunk3HR772HI_cjs = require('../chunk-3HR772HI.cjs');
|
|
4
|
+
require('../chunk-4M7X5HAB.cjs');
|
|
5
|
+
require('../chunk-NKPKR5BW.cjs');
|
|
5
6
|
require('../chunk-G7VZBCD6.cjs');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, "buildGraphQLSchema", {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3HR772HI_cjs.buildGraphQLSchema; }
|
|
12
13
|
});
|
|
13
14
|
Object.defineProperty(exports, "createGraphQLSchema", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3HR772HI_cjs.createGraphQLSchema; }
|
|
16
17
|
});
|
|
17
18
|
//# sourceMappingURL=index.cjs.map
|
|
18
19
|
//# sourceMappingURL=index.cjs.map
|
package/dist/graphql/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import { B as BaseAdapter, m as User, R as Request } from '../types-
|
|
3
|
-
import { R as Registry } from '../index-
|
|
4
|
-
import '../types-
|
|
2
|
+
import { B as BaseAdapter, m as User, R as Request } from '../types-DJxD9394.cjs';
|
|
3
|
+
import { R as Registry } from '../index-CaTNnLGd.cjs';
|
|
4
|
+
import '../types-Z6FBiqa2.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
interface GraphQLSchemaOptions {
|
|
@@ -10,6 +10,7 @@ interface GraphQLSchemaOptions {
|
|
|
10
10
|
user?: User;
|
|
11
11
|
req?: Request;
|
|
12
12
|
tenantID?: string;
|
|
13
|
+
apiKey?: any;
|
|
13
14
|
settings?: Record<string, any>;
|
|
14
15
|
}
|
|
15
16
|
declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
|
|
@@ -17,6 +18,7 @@ declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, option
|
|
|
17
18
|
user?: User;
|
|
18
19
|
req?: Request;
|
|
19
20
|
tenantID?: string;
|
|
21
|
+
apiKey?: any;
|
|
20
22
|
}): GraphQLSchema;
|
|
21
23
|
|
|
22
24
|
export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import { B as BaseAdapter, m as User, R as Request } from '../types-
|
|
3
|
-
import { R as Registry } from '../index-
|
|
4
|
-
import '../types-
|
|
2
|
+
import { B as BaseAdapter, m as User, R as Request } from '../types-CyCQ6SAI.js';
|
|
3
|
+
import { R as Registry } from '../index-CJXPB_ot.js';
|
|
4
|
+
import '../types-Z6FBiqa2.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
interface GraphQLSchemaOptions {
|
|
@@ -10,6 +10,7 @@ interface GraphQLSchemaOptions {
|
|
|
10
10
|
user?: User;
|
|
11
11
|
req?: Request;
|
|
12
12
|
tenantID?: string;
|
|
13
|
+
apiKey?: any;
|
|
13
14
|
settings?: Record<string, any>;
|
|
14
15
|
}
|
|
15
16
|
declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
|
|
@@ -17,6 +18,7 @@ declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, option
|
|
|
17
18
|
user?: User;
|
|
18
19
|
req?: Request;
|
|
19
20
|
tenantID?: string;
|
|
21
|
+
apiKey?: any;
|
|
20
22
|
}): GraphQLSchema;
|
|
21
23
|
|
|
22
24
|
export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
|
package/dist/graphql/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-L5UKKZQN.js';
|
|
2
|
+
import '../chunk-CJONKRHJ.js';
|
|
3
|
+
import '../chunk-L4EZKIEX.js';
|
|
3
4
|
import '../chunk-Z6ZWNWWR.js';
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
5
6
|
//# sourceMappingURL=index.js.map
|