@reverso/core 0.1.0
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 +45 -0
- package/dist/config/defaults.d.ts +35 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +104 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/define-config.d.ts +40 -0
- package/dist/config/define-config.d.ts.map +1 -0
- package/dist/config/define-config.js +44 -0
- package/dist/config/define-config.js.map +1 -0
- package/dist/config/index.d.ts +8 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +8 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/loader.d.ts +41 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +99 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/validation.d.ts +325 -0
- package/dist/config/validation.d.ts.map +1 -0
- package/dist/config/validation.js +185 -0
- package/dist/config/validation.js.map +1 -0
- package/dist/constants.d.ts +84 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +120 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/types/config.d.ts +285 -0
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/config.js +5 -0
- package/dist/types/config.js.map +1 -0
- package/dist/types/content.d.ts +288 -0
- package/dist/types/content.d.ts.map +1 -0
- package/dist/types/content.js +6 -0
- package/dist/types/content.js.map +1 -0
- package/dist/types/fields.d.ts +187 -0
- package/dist/types/fields.d.ts.map +1 -0
- package/dist/types/fields.js +6 -0
- package/dist/types/fields.js.map +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +5 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/schema.d.ts +193 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types/schema.js +6 -0
- package/dist/types/schema.js.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +10 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/naming.d.ts +122 -0
- package/dist/utils/naming.d.ts.map +1 -0
- package/dist/utils/naming.js +302 -0
- package/dist/utils/naming.js.map +1 -0
- package/dist/utils/path.d.ts +79 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/path.js +219 -0
- package/dist/utils/path.js.map +1 -0
- package/dist/utils/validation.d.ts +256 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +245 -0
- package/dist/utils/validation.js.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Content value type definitions for Reverso CMS.
|
|
3
|
+
* These types represent the actual stored values for each field type.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Text field value (text, textarea, email, url, phone).
|
|
7
|
+
*/
|
|
8
|
+
export type TextValue = string;
|
|
9
|
+
/**
|
|
10
|
+
* Number field value (number, range).
|
|
11
|
+
*/
|
|
12
|
+
export type NumberValue = number;
|
|
13
|
+
/**
|
|
14
|
+
* Boolean field value (boolean, checkbox).
|
|
15
|
+
*/
|
|
16
|
+
export type BooleanValue = boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Date/time field values.
|
|
19
|
+
*/
|
|
20
|
+
export type DateValue = string;
|
|
21
|
+
export type DateTimeValue = string;
|
|
22
|
+
export type TimeValue = string;
|
|
23
|
+
/**
|
|
24
|
+
* Select field value.
|
|
25
|
+
*/
|
|
26
|
+
export type SelectValue = string;
|
|
27
|
+
/**
|
|
28
|
+
* Multi-select field value.
|
|
29
|
+
*/
|
|
30
|
+
export type MultiSelectValue = string[];
|
|
31
|
+
/**
|
|
32
|
+
* Checkbox group field value.
|
|
33
|
+
*/
|
|
34
|
+
export type CheckboxGroupValue = string[];
|
|
35
|
+
/**
|
|
36
|
+
* Image field value.
|
|
37
|
+
*/
|
|
38
|
+
export interface ImageValue {
|
|
39
|
+
/** Image URL or path */
|
|
40
|
+
url: string;
|
|
41
|
+
/** Alt text */
|
|
42
|
+
alt?: string;
|
|
43
|
+
/** Image width in pixels */
|
|
44
|
+
width?: number;
|
|
45
|
+
/** Image height in pixels */
|
|
46
|
+
height?: number;
|
|
47
|
+
/** Focal point for cropping */
|
|
48
|
+
focalPoint?: {
|
|
49
|
+
x: number;
|
|
50
|
+
y: number;
|
|
51
|
+
};
|
|
52
|
+
/** Original filename */
|
|
53
|
+
filename?: string;
|
|
54
|
+
/** File size in bytes */
|
|
55
|
+
size?: number;
|
|
56
|
+
/** MIME type */
|
|
57
|
+
mimeType?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* File field value.
|
|
61
|
+
*/
|
|
62
|
+
export interface FileValue {
|
|
63
|
+
/** File URL or path */
|
|
64
|
+
url: string;
|
|
65
|
+
/** Original filename */
|
|
66
|
+
filename: string;
|
|
67
|
+
/** File size in bytes */
|
|
68
|
+
size: number;
|
|
69
|
+
/** MIME type */
|
|
70
|
+
mimeType: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Gallery field value.
|
|
74
|
+
*/
|
|
75
|
+
export type GalleryValue = ImageValue[];
|
|
76
|
+
/**
|
|
77
|
+
* Video field value.
|
|
78
|
+
*/
|
|
79
|
+
export interface VideoValue {
|
|
80
|
+
/** Video URL or path */
|
|
81
|
+
url: string;
|
|
82
|
+
/** Poster/thumbnail image */
|
|
83
|
+
poster?: string;
|
|
84
|
+
/** Video width */
|
|
85
|
+
width?: number;
|
|
86
|
+
/** Video height */
|
|
87
|
+
height?: number;
|
|
88
|
+
/** Duration in seconds */
|
|
89
|
+
duration?: number;
|
|
90
|
+
/** Original filename */
|
|
91
|
+
filename?: string;
|
|
92
|
+
/** File size in bytes */
|
|
93
|
+
size?: number;
|
|
94
|
+
/** MIME type */
|
|
95
|
+
mimeType?: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Audio field value.
|
|
99
|
+
*/
|
|
100
|
+
export interface AudioValue {
|
|
101
|
+
/** Audio URL or path */
|
|
102
|
+
url: string;
|
|
103
|
+
/** Duration in seconds */
|
|
104
|
+
duration?: number;
|
|
105
|
+
/** Original filename */
|
|
106
|
+
filename?: string;
|
|
107
|
+
/** File size in bytes */
|
|
108
|
+
size?: number;
|
|
109
|
+
/** MIME type */
|
|
110
|
+
mimeType?: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* oEmbed field value.
|
|
114
|
+
*/
|
|
115
|
+
export interface OEmbedValue {
|
|
116
|
+
/** Original URL */
|
|
117
|
+
url: string;
|
|
118
|
+
/** Provider name (YouTube, Vimeo, etc.) */
|
|
119
|
+
provider?: string;
|
|
120
|
+
/** oEmbed HTML */
|
|
121
|
+
html?: string;
|
|
122
|
+
/** Thumbnail URL */
|
|
123
|
+
thumbnail?: string;
|
|
124
|
+
/** Title */
|
|
125
|
+
title?: string;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Link field value.
|
|
129
|
+
*/
|
|
130
|
+
export interface LinkValue {
|
|
131
|
+
/** Link URL */
|
|
132
|
+
url: string;
|
|
133
|
+
/** Link text */
|
|
134
|
+
text?: string;
|
|
135
|
+
/** Open in new tab */
|
|
136
|
+
newTab?: boolean;
|
|
137
|
+
/** Rel attribute */
|
|
138
|
+
rel?: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Page link field value.
|
|
142
|
+
*/
|
|
143
|
+
export interface PageLinkValue {
|
|
144
|
+
/** Page ID or slug */
|
|
145
|
+
page: string;
|
|
146
|
+
/** Link text */
|
|
147
|
+
text?: string;
|
|
148
|
+
/** Anchor/hash */
|
|
149
|
+
anchor?: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Color field value.
|
|
153
|
+
*/
|
|
154
|
+
export type ColorValue = string;
|
|
155
|
+
/**
|
|
156
|
+
* Map/location field value.
|
|
157
|
+
*/
|
|
158
|
+
export interface MapValue {
|
|
159
|
+
/** Latitude */
|
|
160
|
+
lat: number;
|
|
161
|
+
/** Longitude */
|
|
162
|
+
lng: number;
|
|
163
|
+
/** Zoom level */
|
|
164
|
+
zoom?: number;
|
|
165
|
+
/** Address string */
|
|
166
|
+
address?: string;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Relation field value (single).
|
|
170
|
+
*/
|
|
171
|
+
export interface RelationValue {
|
|
172
|
+
/** Related content ID */
|
|
173
|
+
id: string;
|
|
174
|
+
/** Related content type */
|
|
175
|
+
type: string;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Relation field value (multiple).
|
|
179
|
+
*/
|
|
180
|
+
export type RelationMultiValue = RelationValue[];
|
|
181
|
+
/**
|
|
182
|
+
* Taxonomy field value.
|
|
183
|
+
*/
|
|
184
|
+
export interface TaxonomyValue {
|
|
185
|
+
/** Term ID */
|
|
186
|
+
id: string;
|
|
187
|
+
/** Term slug */
|
|
188
|
+
slug: string;
|
|
189
|
+
/** Term name */
|
|
190
|
+
name: string;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Taxonomy field value (multiple).
|
|
194
|
+
*/
|
|
195
|
+
export type TaxonomyMultiValue = TaxonomyValue[];
|
|
196
|
+
/**
|
|
197
|
+
* User field value.
|
|
198
|
+
*/
|
|
199
|
+
export interface UserValue {
|
|
200
|
+
/** User ID */
|
|
201
|
+
id: string;
|
|
202
|
+
/** User email */
|
|
203
|
+
email?: string;
|
|
204
|
+
/** User name */
|
|
205
|
+
name?: string;
|
|
206
|
+
/** User avatar */
|
|
207
|
+
avatar?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Blocks (Tiptap) field value.
|
|
211
|
+
*/
|
|
212
|
+
export interface BlocksValue {
|
|
213
|
+
/** Tiptap JSON content */
|
|
214
|
+
content: Record<string, unknown>;
|
|
215
|
+
/** Plain text version */
|
|
216
|
+
text?: string;
|
|
217
|
+
/** HTML version */
|
|
218
|
+
html?: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* WYSIWYG field value.
|
|
222
|
+
*/
|
|
223
|
+
export type WysiwygValue = string;
|
|
224
|
+
/**
|
|
225
|
+
* Markdown field value.
|
|
226
|
+
*/
|
|
227
|
+
export type MarkdownValue = string;
|
|
228
|
+
/**
|
|
229
|
+
* Code field value.
|
|
230
|
+
*/
|
|
231
|
+
export interface CodeValue {
|
|
232
|
+
/** Code content */
|
|
233
|
+
code: string;
|
|
234
|
+
/** Language */
|
|
235
|
+
language?: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Repeater field value.
|
|
239
|
+
*/
|
|
240
|
+
export type RepeaterValue<T = Record<string, ContentValue>> = T[];
|
|
241
|
+
/**
|
|
242
|
+
* Flexible content field value.
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* Base content value types (non-recursive).
|
|
246
|
+
*/
|
|
247
|
+
export type PrimitiveContentValue = TextValue | NumberValue | BooleanValue | DateValue | DateTimeValue | TimeValue | SelectValue | MultiSelectValue | CheckboxGroupValue | ImageValue | FileValue | GalleryValue | VideoValue | AudioValue | OEmbedValue | LinkValue | PageLinkValue | ColorValue | MapValue | RelationValue | RelationMultiValue | TaxonomyValue | TaxonomyMultiValue | UserValue | BlocksValue | WysiwygValue | MarkdownValue | CodeValue | null | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* Flexible content item.
|
|
250
|
+
*/
|
|
251
|
+
export interface FlexibleItem {
|
|
252
|
+
/** Layout/block type name */
|
|
253
|
+
layout: string;
|
|
254
|
+
/** Layout data */
|
|
255
|
+
data: Record<string, PrimitiveContentValue | PrimitiveContentValue[]>;
|
|
256
|
+
}
|
|
257
|
+
export type FlexibleValue = FlexibleItem[];
|
|
258
|
+
/**
|
|
259
|
+
* Group field value.
|
|
260
|
+
*/
|
|
261
|
+
export type GroupValue = Record<string, PrimitiveContentValue | PrimitiveContentValue[]>;
|
|
262
|
+
/**
|
|
263
|
+
* Union of all possible content values.
|
|
264
|
+
*/
|
|
265
|
+
export type ContentValue = PrimitiveContentValue | RepeaterValue<Record<string, PrimitiveContentValue>> | FlexibleValue | GroupValue;
|
|
266
|
+
/**
|
|
267
|
+
* Content for a page (all sections and fields).
|
|
268
|
+
*/
|
|
269
|
+
export interface PageContent {
|
|
270
|
+
/** Page slug */
|
|
271
|
+
slug: string;
|
|
272
|
+
/** Content data organized by section.field */
|
|
273
|
+
data: Record<string, Record<string, ContentValue>>;
|
|
274
|
+
/** Last updated timestamp */
|
|
275
|
+
updatedAt: string;
|
|
276
|
+
/** User who last updated */
|
|
277
|
+
updatedBy?: string;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Content for a section (all fields).
|
|
281
|
+
*/
|
|
282
|
+
export interface SectionContent {
|
|
283
|
+
/** Section slug */
|
|
284
|
+
slug: string;
|
|
285
|
+
/** Field values */
|
|
286
|
+
fields: Record<string, ContentValue>;
|
|
287
|
+
}
|
|
288
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/types/content.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC;AACnC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,gBAA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AAM,CAAC;IAClB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/types/content.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Field type definitions for Reverso CMS.
|
|
3
|
+
* 35+ field types covering all common content management needs.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* All supported field types in Reverso CMS.
|
|
7
|
+
*
|
|
8
|
+
* Categories:
|
|
9
|
+
* - Text: text, textarea, number, range, email, url, phone
|
|
10
|
+
* - Rich Content: wysiwyg, markdown, code, blocks
|
|
11
|
+
* - Selection: select, multiselect, checkbox, checkboxgroup, radio, boolean
|
|
12
|
+
* - Media: image, file, gallery, video, audio, oembed
|
|
13
|
+
* - Date/Time: date, datetime, time
|
|
14
|
+
* - Relationships: relation, taxonomy, link, pagelink, user
|
|
15
|
+
* - Advanced: color, map, repeater, group, flexible
|
|
16
|
+
* - UI: message, tab, accordion, buttongroup
|
|
17
|
+
*/
|
|
18
|
+
export type FieldType = 'text' | 'textarea' | 'number' | 'range' | 'email' | 'url' | 'phone' | 'wysiwyg' | 'markdown' | 'code' | 'blocks' | 'select' | 'multiselect' | 'checkbox' | 'checkboxgroup' | 'radio' | 'boolean' | 'image' | 'file' | 'gallery' | 'video' | 'audio' | 'oembed' | 'date' | 'datetime' | 'time' | 'relation' | 'taxonomy' | 'link' | 'pagelink' | 'user' | 'color' | 'map' | 'repeater' | 'group' | 'flexible' | 'message' | 'tab' | 'accordion' | 'buttongroup';
|
|
19
|
+
/**
|
|
20
|
+
* Common field attributes extracted from data-reverso-* markers.
|
|
21
|
+
*/
|
|
22
|
+
export interface FieldAttributes {
|
|
23
|
+
/** Field type (defaults to 'text') */
|
|
24
|
+
type?: FieldType;
|
|
25
|
+
/** Human-readable label */
|
|
26
|
+
label?: string;
|
|
27
|
+
/** Placeholder text for inputs */
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
/** Whether the field is required */
|
|
30
|
+
required?: boolean;
|
|
31
|
+
/** Zod validation schema as string */
|
|
32
|
+
validation?: string;
|
|
33
|
+
/** Options for select/radio/checkbox fields (JSON string or comma-separated) */
|
|
34
|
+
options?: string;
|
|
35
|
+
/** Conditional display logic */
|
|
36
|
+
condition?: string;
|
|
37
|
+
/** Default value */
|
|
38
|
+
default?: string;
|
|
39
|
+
/** Help text shown below field */
|
|
40
|
+
help?: string;
|
|
41
|
+
/** Minimum value (for number/range) or min length (for text) */
|
|
42
|
+
min?: number;
|
|
43
|
+
/** Maximum value (for number/range) or max length (for text) */
|
|
44
|
+
max?: number;
|
|
45
|
+
/** Step value for number/range inputs */
|
|
46
|
+
step?: number;
|
|
47
|
+
/** Accepted file types (for file/image fields) */
|
|
48
|
+
accept?: string;
|
|
49
|
+
/** Allow multiple values */
|
|
50
|
+
multiple?: boolean;
|
|
51
|
+
/** Number of rows (for textarea) */
|
|
52
|
+
rows?: number;
|
|
53
|
+
/** Width in grid columns (1-12) */
|
|
54
|
+
width?: number;
|
|
55
|
+
/** Make field read-only */
|
|
56
|
+
readonly?: boolean;
|
|
57
|
+
/** Hide field in admin panel */
|
|
58
|
+
hidden?: boolean;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Full schema for a detected field, including source location.
|
|
62
|
+
*/
|
|
63
|
+
export interface FieldSchema extends FieldAttributes {
|
|
64
|
+
/** Full path: page.section.field or page.section.$.field for repeaters */
|
|
65
|
+
path: string;
|
|
66
|
+
/** Resolved field type (defaults to 'text' if not specified) */
|
|
67
|
+
type: FieldType;
|
|
68
|
+
/** Source file path */
|
|
69
|
+
file: string;
|
|
70
|
+
/** Line number in source file */
|
|
71
|
+
line: number;
|
|
72
|
+
/** Column number in source file */
|
|
73
|
+
column: number;
|
|
74
|
+
/** Raw JSX element tag name */
|
|
75
|
+
element?: string;
|
|
76
|
+
/** Original default content from JSX children */
|
|
77
|
+
defaultContent?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Type-specific configurations for different field types.
|
|
81
|
+
*/
|
|
82
|
+
/** Configuration for select/multiselect/radio/checkbox fields */
|
|
83
|
+
export interface SelectFieldConfig {
|
|
84
|
+
type: 'select' | 'multiselect' | 'radio' | 'checkboxgroup';
|
|
85
|
+
options: Array<{
|
|
86
|
+
label: string;
|
|
87
|
+
value: string;
|
|
88
|
+
disabled?: boolean;
|
|
89
|
+
}>;
|
|
90
|
+
allowCustom?: boolean;
|
|
91
|
+
}
|
|
92
|
+
/** Configuration for image fields */
|
|
93
|
+
export interface ImageFieldConfig {
|
|
94
|
+
type: 'image';
|
|
95
|
+
accept?: string;
|
|
96
|
+
maxSize?: number;
|
|
97
|
+
aspectRatio?: string;
|
|
98
|
+
minWidth?: number;
|
|
99
|
+
maxWidth?: number;
|
|
100
|
+
minHeight?: number;
|
|
101
|
+
maxHeight?: number;
|
|
102
|
+
}
|
|
103
|
+
/** Configuration for file fields */
|
|
104
|
+
export interface FileFieldConfig {
|
|
105
|
+
type: 'file';
|
|
106
|
+
accept?: string;
|
|
107
|
+
maxSize?: number;
|
|
108
|
+
multiple?: boolean;
|
|
109
|
+
}
|
|
110
|
+
/** Configuration for relation fields */
|
|
111
|
+
export interface RelationFieldConfig {
|
|
112
|
+
type: 'relation';
|
|
113
|
+
/** Related content type */
|
|
114
|
+
to: string;
|
|
115
|
+
/** Allow multiple selections */
|
|
116
|
+
multiple?: boolean;
|
|
117
|
+
/** Fields to display in picker */
|
|
118
|
+
displayFields?: string[];
|
|
119
|
+
}
|
|
120
|
+
/** Configuration for taxonomy fields */
|
|
121
|
+
export interface TaxonomyFieldConfig {
|
|
122
|
+
type: 'taxonomy';
|
|
123
|
+
/** Taxonomy slug */
|
|
124
|
+
taxonomy: string;
|
|
125
|
+
/** Allow creating new terms */
|
|
126
|
+
allowCreate?: boolean;
|
|
127
|
+
/** Allow multiple selections */
|
|
128
|
+
multiple?: boolean;
|
|
129
|
+
}
|
|
130
|
+
/** Configuration for repeater fields */
|
|
131
|
+
export interface RepeaterFieldConfig {
|
|
132
|
+
type: 'repeater';
|
|
133
|
+
/** Minimum number of items */
|
|
134
|
+
min?: number;
|
|
135
|
+
/** Maximum number of items */
|
|
136
|
+
max?: number;
|
|
137
|
+
/** Fields within each item */
|
|
138
|
+
fields: FieldSchema[];
|
|
139
|
+
/** Layout: 'block' | 'table' | 'accordion' */
|
|
140
|
+
layout?: 'block' | 'table' | 'accordion';
|
|
141
|
+
}
|
|
142
|
+
/** Configuration for flexible content fields */
|
|
143
|
+
export interface FlexibleFieldConfig {
|
|
144
|
+
type: 'flexible';
|
|
145
|
+
/** Available layouts/blocks */
|
|
146
|
+
layouts: Array<{
|
|
147
|
+
name: string;
|
|
148
|
+
label: string;
|
|
149
|
+
fields: FieldSchema[];
|
|
150
|
+
}>;
|
|
151
|
+
min?: number;
|
|
152
|
+
max?: number;
|
|
153
|
+
}
|
|
154
|
+
/** Configuration for blocks (Tiptap-based) fields */
|
|
155
|
+
export interface BlocksFieldConfig {
|
|
156
|
+
type: 'blocks';
|
|
157
|
+
/** Allowed block types */
|
|
158
|
+
blocks?: string[];
|
|
159
|
+
/** Toolbar configuration */
|
|
160
|
+
toolbar?: string[];
|
|
161
|
+
}
|
|
162
|
+
/** Configuration for code fields */
|
|
163
|
+
export interface CodeFieldConfig {
|
|
164
|
+
type: 'code';
|
|
165
|
+
/** Language for syntax highlighting */
|
|
166
|
+
language?: string;
|
|
167
|
+
/** Show line numbers */
|
|
168
|
+
lineNumbers?: boolean;
|
|
169
|
+
}
|
|
170
|
+
/** Configuration for map fields */
|
|
171
|
+
export interface MapFieldConfig {
|
|
172
|
+
type: 'map';
|
|
173
|
+
/** Default center coordinates */
|
|
174
|
+
center?: {
|
|
175
|
+
lat: number;
|
|
176
|
+
lng: number;
|
|
177
|
+
};
|
|
178
|
+
/** Default zoom level */
|
|
179
|
+
zoom?: number;
|
|
180
|
+
/** Map provider */
|
|
181
|
+
provider?: 'google' | 'mapbox' | 'leaflet';
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Union of all field-specific configurations.
|
|
185
|
+
*/
|
|
186
|
+
export type FieldConfig = SelectFieldConfig | ImageFieldConfig | FileFieldConfig | RelationFieldConfig | TaxonomyFieldConfig | RepeaterFieldConfig | FlexibleFieldConfig | BlocksFieldConfig | CodeFieldConfig | MapFieldConfig;
|
|
187
|
+
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../src/types/fields.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,SAAS,GAEjB,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,OAAO,GACP,KAAK,GACL,OAAO,GAEP,SAAS,GACT,UAAU,GACV,MAAM,GACN,QAAQ,GAER,QAAQ,GACR,aAAa,GACb,UAAU,GACV,eAAe,GACf,OAAO,GACP,SAAS,GAET,OAAO,GACP,MAAM,GACN,SAAS,GACT,OAAO,GACP,OAAO,GACP,QAAQ,GAER,MAAM,GACN,UAAU,GACV,MAAM,GAEN,UAAU,GACV,UAAU,GACV,MAAM,GACN,UAAU,GACV,MAAM,GAEN,OAAO,GACP,KAAK,GACL,UAAU,GACV,OAAO,GACP,UAAU,GAEV,SAAS,GACT,KAAK,GACL,WAAW,GACX,aAAa,CAAC;AAElB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2BAA2B;IAC3B,KAAK,C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mB;IACnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,gBAAgB,GAChB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../src/types/fields.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type exports for @reverso/core
|
|
3
|
+
*/
|
|
4
|
+
export type { FieldType, FieldAttributes, FieldSchema, FieldConfig, SelectFieldConfig, ImageFieldConfig, FileFieldConfig, RelationFieldConfig, TaxonomyFieldConfig, RepeaterFieldConfig, FlexibleFieldConfig, BlocksFieldConfig, CodeFieldConfig, MapFieldConfig, } from './fields.js';
|
|
5
|
+
export type { ParsedPath, SectionSchema, PageSchema, ProjectSchema, SchemaDiff, SchemaGeneratorOptions, DetectedField, FileScanResult, ScanError, ScanOptions, ScanResult, } from './schema.js';
|
|
6
|
+
export type { DatabaseConfig, SqliteDatabaseConfig, PostgresDatabaseConfig, AuthConfig, OAuthProviderConfig, UploadsConfig, S3Config, CloudinaryConfig, UploadThingConfig, AdminConfig, ApiConfig, CorsConfig, RateLimitConfig, ScannerConfig, PluginConfig, HooksConfig, ReversoConfig, ResolvedConfig, } from './config.js';
|
|
7
|
+
export type { TextValue, NumberValue, BooleanValue, DateValue, DateTimeValue, TimeValue, SelectValue, MultiSelectValue, CheckboxGroupValue, ImageValue, FileValue, GalleryValue, VideoValue, AudioValue, OEmbedValue, LinkValue, PageLinkValue, ColorValue, MapValue, RelationValue, RelationMultiValue, TaxonomyValue, TaxonomyMultiValue, UserValue, BlocksValue, WysiwygValue, MarkdownValue, CodeValue, RepeaterValue, PrimitiveContentValue, FlexibleItem, FlexibleValue, GroupValue, ContentValue, PageContent, SectionContent, } from './content.js';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,cAAc,GACf,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,aAAa,EACb,UAAU,EACV,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,SAAS,EACT,WAAW,EACX,UAAU,GACX,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,GACf,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,SAAS,EACT,aAAa,EACb,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,UAAU,EACV,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,aAAa,EACb,SAAS,EACT,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,WAAW,EACX,cAAc,GACf,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|