@kyro-cms/core 0.3.2 → 0.3.4
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-BCpW2dyL.d.ts} +1 -1
- package/dist/{WebhookService-mZZ75syh.d.cts → WebhookService-DxYSFvNg.d.cts} +1 -1
- 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-2SJATAN4.js +5514 -0
- package/dist/chunk-2SJATAN4.js.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-6LPNEC6D.js +617 -0
- package/dist/chunk-6LPNEC6D.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-KB6QF4HO.js → chunk-B76I67F3.js} +246 -141
- package/dist/chunk-B76I67F3.js.map +1 -0
- package/dist/chunk-BQ2T4WRS.js +140 -0
- package/dist/chunk-BQ2T4WRS.js.map +1 -0
- package/dist/chunk-CZ3HWX2X.cjs +622 -0
- package/dist/chunk-CZ3HWX2X.cjs.map +1 -0
- package/dist/{chunk-PNBZZ76A.cjs → chunk-DAIBBBOL.cjs} +246 -140
- package/dist/chunk-DAIBBBOL.cjs.map +1 -0
- package/dist/{chunk-U74F3YZU.js → chunk-DBUYB32X.js} +15 -3
- package/dist/chunk-DBUYB32X.js.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-MMYAIYHJ.cjs +5538 -0
- package/dist/chunk-MMYAIYHJ.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-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-VEI5KQVC.cjs +1246 -0
- package/dist/chunk-VEI5KQVC.cjs.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-X3CU27OO.cjs +78 -0
- package/dist/chunk-X3CU27OO.cjs.map +1 -0
- package/dist/chunk-XIXGJGQW.js +1228 -0
- package/dist/chunk-XIXGJGQW.js.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 +2621 -6672
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +136 -47
- package/dist/index.d.ts +136 -47
- package/dist/index.js +2333 -6546
- 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 +8 -5
- package/dist/rest/index.d.cts +6 -3
- package/dist/rest/index.d.ts +6 -3
- package/dist/rest/index.js +6 -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-kGfsGdos.d.cts → types-Bs1up4yP.d.ts} +76 -244
- package/dist/{types-1u353OHN.d.ts → types-Da83JLDk.d.cts} +6 -2
- package/dist/{types-1u353OHN.d.cts → types-Da83JLDk.d.ts} +6 -2
- 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
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkATBOUGQP_cjs = require('../chunk-ATBOUGQP.cjs');
|
|
4
|
+
require('../chunk-G7VZBCD6.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ALL_FIELD_TYPES", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkATBOUGQP_cjs.ALL_FIELD_TYPES; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "COMPLEX_FIELD_TYPES", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkATBOUGQP_cjs.COMPLEX_FIELD_TYPES; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "LAYOUT_FIELD_TYPES", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkATBOUGQP_cjs.LAYOUT_FIELD_TYPES; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "PRIMITIVE_FIELD_TYPES", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkATBOUGQP_cjs.PRIMITIVE_FIELD_TYPES; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "RELATIONAL_FIELD_TYPES", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkATBOUGQP_cjs.RELATIONAL_FIELD_TYPES; }
|
|
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; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "createRelationshipFieldConfig", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkATBOUGQP_cjs.createRelationshipFieldConfig; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "isArrayField", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkATBOUGQP_cjs.isArrayField; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "isBlocksField", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkATBOUGQP_cjs.isBlocksField; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "isGroupField", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkATBOUGQP_cjs.isGroupField; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "isImageField", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkATBOUGQP_cjs.isImageField; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "isLayoutField", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkATBOUGQP_cjs.isLayoutField; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "isNumberField", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkATBOUGQP_cjs.isNumberField; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "isRelationshipField", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkATBOUGQP_cjs.isRelationshipField; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "isRichTextField", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkATBOUGQP_cjs.isRichTextField; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "isSelectField", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkATBOUGQP_cjs.isSelectField; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "isTextField", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkATBOUGQP_cjs.isTextField; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "isUploadField", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkATBOUGQP_cjs.isUploadField; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "normalizeRichTextDocument", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkATBOUGQP_cjs.normalizeRichTextDocument; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "normalizeRichTextValue", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkATBOUGQP_cjs.normalizeRichTextValue; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "renderRichText", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkATBOUGQP_cjs.renderRichText; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "richTextStyles", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkATBOUGQP_cjs.richTextStyles; }
|
|
103
|
+
});
|
|
104
|
+
//# sourceMappingURL=index.cjs.map
|
|
105
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.cjs';
|
|
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
|
+
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
|
+
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
|
+
declare function renderRichText(value: unknown): string;
|
|
26
|
+
|
|
27
|
+
export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.js';
|
|
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
|
+
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
|
+
declare function normalizeRichTextValue<T>(value: T): T;
|
|
25
|
+
declare function renderRichText(value: unknown): string;
|
|
26
|
+
|
|
27
|
+
export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, createColumnNode, createColumnsNode, createEmptyParagraphNode, createRelationshipFieldConfig, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles } from '../chunk-Q23JB3KL.js';
|
|
2
|
+
import '../chunk-Z6ZWNWWR.js';
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
4
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVJT6P4N6_cjs = require('../chunk-VJT6P4N6.cjs');
|
|
4
|
+
require('../chunk-R3XIBBAW.cjs');
|
|
4
5
|
require('../chunk-G7VZBCD6.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "buildGraphQLSchema", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkVJT6P4N6_cjs.buildGraphQLSchema; }
|
|
11
12
|
});
|
|
12
13
|
Object.defineProperty(exports, "createGraphQLSchema", {
|
|
13
14
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkVJT6P4N6_cjs.createGraphQLSchema; }
|
|
15
16
|
});
|
|
16
17
|
//# sourceMappingURL=index.cjs.map
|
|
17
18
|
//# sourceMappingURL=index.cjs.map
|
package/dist/graphql/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import {
|
|
3
|
-
import { R as Registry } from '../index-
|
|
2
|
+
import { B as BaseAdapter, m as User, R as Request } from '../types-J3R9nVsZ.cjs';
|
|
3
|
+
import { R as Registry } from '../index-DfO7G4kN.cjs';
|
|
4
|
+
import '../types-VtjUxIMp.cjs';
|
|
4
5
|
import 'zod';
|
|
5
6
|
|
|
6
7
|
interface GraphQLSchemaOptions {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
|
-
import {
|
|
3
|
-
import { R as Registry } from '../index-
|
|
2
|
+
import { B as BaseAdapter, m as User, R as Request } from '../types-Bs1up4yP.js';
|
|
3
|
+
import { R as Registry } from '../index-CLp-DRKA.js';
|
|
4
|
+
import '../types-VtjUxIMp.js';
|
|
4
5
|
import 'zod';
|
|
5
6
|
|
|
6
7
|
interface GraphQLSchemaOptions {
|
package/dist/graphql/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-
|
|
1
|
+
export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-REK7AYOC.js';
|
|
2
|
+
import '../chunk-SDMNUYVU.js';
|
|
2
3
|
import '../chunk-Z6ZWNWWR.js';
|
|
3
4
|
//# sourceMappingURL=index.js.map
|
|
4
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, G as GlobalConfig, P as PluginConfig } from './types-Bs1up4yP.js';
|
|
2
|
+
import { F as Field } from './types-VtjUxIMp.js';
|
|
2
3
|
import { ZodTypeAny } from 'zod';
|
|
3
4
|
|
|
4
5
|
declare class Registry {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollectionConfig, G as GlobalConfig, P as PluginConfig } from './types-J3R9nVsZ.cjs';
|
|
2
|
+
import { F as Field } from './types-VtjUxIMp.cjs';
|
|
2
3
|
import { ZodTypeAny } from 'zod';
|
|
3
4
|
|
|
4
5
|
declare class Registry {
|