@spartan-ng/cli 0.0.1-alpha.720 → 1.0.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.
Files changed (69) hide show
  1. package/README.md +3 -3
  2. package/package.json +3 -2
  3. package/src/generators/base/generator.js +1 -2
  4. package/src/generators/base/generator.js.map +1 -1
  5. package/src/generators/base/lib/initialize-angular-library.d.ts +1 -1
  6. package/src/generators/base/lib/initialize-angular-library.js.map +1 -1
  7. package/src/generators/base/lib/styles/transform-style-map.d.ts +2 -0
  8. package/src/generators/base/lib/styles/transform-style-map.js +5 -4
  9. package/src/generators/base/lib/styles/transform-style-map.js.map +1 -1
  10. package/src/generators/base/schema.d.ts +2 -0
  11. package/src/generators/migrate-helm-libraries/generator.js +2 -2
  12. package/src/generators/migrate-helm-libraries/generator.js.map +1 -1
  13. package/src/generators/migrate-helm-libraries/schema.d.ts +2 -0
  14. package/src/generators/migrate-hlm/generator.js +1 -1
  15. package/src/generators/migrate-hlm/generator.js.map +1 -1
  16. package/src/generators/ui/generator.d.ts +2 -0
  17. package/src/generators/ui/generator.js +7 -4
  18. package/src/generators/ui/generator.js.map +1 -1
  19. package/src/generators/ui/libs/autocomplete/files/lib/hlm-autocomplete-input.ts.template +37 -33
  20. package/src/generators/ui/libs/breadcrumb/files/lib/hlm-breadcrumb-ellipsis.ts.template +11 -17
  21. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-multi.ts.template +1 -1
  22. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar-range.ts.template +1 -1
  23. package/src/generators/ui/libs/calendar/files/lib/hlm-calendar.ts.template +1 -1
  24. package/src/generators/ui/libs/combobox/files/lib/hlm-combobox-input.ts.template +47 -42
  25. package/src/generators/ui/libs/context-menu/files/lib/hlm-context-menu-trigger.ts.template +8 -14
  26. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-anchor.ts.template +4 -2
  27. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-input.ts.template +49 -37
  28. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-multi.ts.template +6 -6
  29. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker-trigger.ts.template +1 -1
  30. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-picker.ts.template +6 -6
  31. package/src/generators/ui/libs/date-picker/files/lib/hlm-date-range-picker.ts.template +9 -6
  32. package/src/generators/ui/libs/dropdown-menu/files/index.ts.template +1 -0
  33. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-checkbox.ts.template +2 -0
  34. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-focus-on-hover.ts.template +35 -0
  35. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-item.ts.template +2 -0
  36. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-radio.ts.template +2 -0
  37. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub-trigger.ts.template +8 -11
  38. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-sub.ts.template +11 -25
  39. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu-trigger.ts.template +7 -14
  40. package/src/generators/ui/libs/dropdown-menu/files/lib/hlm-dropdown-menu.ts.template +11 -25
  41. package/src/generators/ui/libs/input-otp/files/lib/hlm-input-otp-fake-caret.ts.template +7 -4
  42. package/src/generators/ui/libs/menubar/files/lib/hlm-menubar-trigger.ts.template +8 -14
  43. package/src/generators/ui/libs/pagination/files/lib/hlm-numbered-pagination-query-params.ts.template +65 -62
  44. package/src/generators/ui/libs/popover/files/lib/hlm-popover-content.ts.template +1 -4
  45. package/src/generators/ui/libs/sheet/files/lib/hlm-sheet-overlay.ts.template +1 -6
  46. package/src/generators/ui/libs/sidebar/files/lib/hlm-sidebar.service.ts.template +1 -1
  47. package/src/generators/ui/libs/tooltip/files/lib/hlm-tooltip.ts.template +1 -1
  48. package/src/generators/ui/style-luma.css +9 -9
  49. package/src/generators/ui/style-lyra.css +7 -7
  50. package/src/generators/ui/style-maia.css +9 -9
  51. package/src/generators/ui/style-mira.css +9 -9
  52. package/src/generators/ui/style-nova.css +40 -10
  53. package/src/generators/ui/style-vega.css +457 -311
  54. package/src/generators/ui/supported-ui-libraries.json +44 -46
  55. package/src/index.d.ts +2 -2
  56. package/src/index.js +4 -3
  57. package/src/index.js.map +1 -1
  58. package/src/utils/config.d.ts +9 -2
  59. package/src/utils/config.js +28 -4
  60. package/src/utils/config.js.map +1 -1
  61. package/src/utils/supported-styles.d.ts +2 -0
  62. package/src/utils/supported-styles.js +7 -0
  63. package/src/utils/supported-styles.js.map +1 -0
  64. package/src/registry/index.d.ts +0 -1
  65. package/src/registry/index.js +0 -5
  66. package/src/registry/index.js.map +0 -1
  67. package/src/registry/schema.d.ts +0 -2180
  68. package/src/registry/schema.js +0 -175
  69. package/src/registry/schema.js.map +0 -1
@@ -1,2180 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const registryConfigItemSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
3
- url: z.ZodEffects<z.ZodString, string, string>;
4
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6
- }, "strip", z.ZodTypeAny, {
7
- params?: Record<string, string>;
8
- url?: string;
9
- headers?: Record<string, string>;
10
- }, {
11
- params?: Record<string, string>;
12
- url?: string;
13
- headers?: Record<string, string>;
14
- }>]>;
15
- export declare const registryConfigSchema: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
16
- url: z.ZodEffects<z.ZodString, string, string>;
17
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
- }, "strip", z.ZodTypeAny, {
20
- params?: Record<string, string>;
21
- url?: string;
22
- headers?: Record<string, string>;
23
- }, {
24
- params?: Record<string, string>;
25
- url?: string;
26
- headers?: Record<string, string>;
27
- }>]>>;
28
- export declare const rawConfigSchema: z.ZodObject<{
29
- $schema: z.ZodOptional<z.ZodString>;
30
- style: z.ZodString;
31
- tailwind: z.ZodObject<{
32
- css: z.ZodString;
33
- baseColor: z.ZodString;
34
- prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
35
- }, "strip", z.ZodTypeAny, {
36
- css?: string;
37
- baseColor?: string;
38
- prefix?: string;
39
- }, {
40
- css?: string;
41
- baseColor?: string;
42
- prefix?: string;
43
- }>;
44
- aliases: z.ZodObject<{
45
- ui: z.ZodOptional<z.ZodString>;
46
- }, "strip", z.ZodTypeAny, {
47
- ui?: string;
48
- }, {
49
- ui?: string;
50
- }>;
51
- registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
52
- url: z.ZodEffects<z.ZodString, string, string>;
53
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
54
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
55
- }, "strip", z.ZodTypeAny, {
56
- params?: Record<string, string>;
57
- url?: string;
58
- headers?: Record<string, string>;
59
- }, {
60
- params?: Record<string, string>;
61
- url?: string;
62
- headers?: Record<string, string>;
63
- }>]>>>;
64
- }, "strict", z.ZodTypeAny, {
65
- $schema?: string;
66
- style?: string;
67
- tailwind?: {
68
- css?: string;
69
- baseColor?: string;
70
- prefix?: string;
71
- };
72
- aliases?: {
73
- ui?: string;
74
- };
75
- registries?: Record<string, string | {
76
- params?: Record<string, string>;
77
- url?: string;
78
- headers?: Record<string, string>;
79
- }>;
80
- }, {
81
- $schema?: string;
82
- style?: string;
83
- tailwind?: {
84
- css?: string;
85
- baseColor?: string;
86
- prefix?: string;
87
- };
88
- aliases?: {
89
- ui?: string;
90
- };
91
- registries?: Record<string, string | {
92
- params?: Record<string, string>;
93
- url?: string;
94
- headers?: Record<string, string>;
95
- }>;
96
- }>;
97
- export declare const configSchema: z.ZodObject<{
98
- $schema: z.ZodOptional<z.ZodString>;
99
- style: z.ZodString;
100
- tailwind: z.ZodObject<{
101
- css: z.ZodString;
102
- baseColor: z.ZodString;
103
- prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
104
- }, "strip", z.ZodTypeAny, {
105
- css?: string;
106
- baseColor?: string;
107
- prefix?: string;
108
- }, {
109
- css?: string;
110
- baseColor?: string;
111
- prefix?: string;
112
- }>;
113
- aliases: z.ZodObject<{
114
- ui: z.ZodOptional<z.ZodString>;
115
- }, "strip", z.ZodTypeAny, {
116
- ui?: string;
117
- }, {
118
- ui?: string;
119
- }>;
120
- registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
121
- url: z.ZodEffects<z.ZodString, string, string>;
122
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
124
- }, "strip", z.ZodTypeAny, {
125
- params?: Record<string, string>;
126
- url?: string;
127
- headers?: Record<string, string>;
128
- }, {
129
- params?: Record<string, string>;
130
- url?: string;
131
- headers?: Record<string, string>;
132
- }>]>>>;
133
- } & {
134
- resolvedPaths: z.ZodObject<{
135
- cwd: z.ZodString;
136
- tailwindConfig: z.ZodString;
137
- tailwindCss: z.ZodString;
138
- utils: z.ZodString;
139
- components: z.ZodString;
140
- lib: z.ZodString;
141
- hooks: z.ZodString;
142
- ui: z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
144
- ui?: string;
145
- cwd?: string;
146
- tailwindConfig?: string;
147
- tailwindCss?: string;
148
- utils?: string;
149
- components?: string;
150
- lib?: string;
151
- hooks?: string;
152
- }, {
153
- ui?: string;
154
- cwd?: string;
155
- tailwindConfig?: string;
156
- tailwindCss?: string;
157
- utils?: string;
158
- components?: string;
159
- lib?: string;
160
- hooks?: string;
161
- }>;
162
- }, "strict", z.ZodTypeAny, {
163
- $schema?: string;
164
- style?: string;
165
- tailwind?: {
166
- css?: string;
167
- baseColor?: string;
168
- prefix?: string;
169
- };
170
- aliases?: {
171
- ui?: string;
172
- };
173
- registries?: Record<string, string | {
174
- params?: Record<string, string>;
175
- url?: string;
176
- headers?: Record<string, string>;
177
- }>;
178
- resolvedPaths?: {
179
- ui?: string;
180
- cwd?: string;
181
- tailwindConfig?: string;
182
- tailwindCss?: string;
183
- utils?: string;
184
- components?: string;
185
- lib?: string;
186
- hooks?: string;
187
- };
188
- }, {
189
- $schema?: string;
190
- style?: string;
191
- tailwind?: {
192
- css?: string;
193
- baseColor?: string;
194
- prefix?: string;
195
- };
196
- aliases?: {
197
- ui?: string;
198
- };
199
- registries?: Record<string, string | {
200
- params?: Record<string, string>;
201
- url?: string;
202
- headers?: Record<string, string>;
203
- }>;
204
- resolvedPaths?: {
205
- ui?: string;
206
- cwd?: string;
207
- tailwindConfig?: string;
208
- tailwindCss?: string;
209
- utils?: string;
210
- components?: string;
211
- lib?: string;
212
- hooks?: string;
213
- };
214
- }>;
215
- export declare const workspaceConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
216
- $schema: z.ZodOptional<z.ZodString>;
217
- style: z.ZodString;
218
- tailwind: z.ZodObject<{
219
- css: z.ZodString;
220
- baseColor: z.ZodString;
221
- prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
222
- }, "strip", z.ZodTypeAny, {
223
- css?: string;
224
- baseColor?: string;
225
- prefix?: string;
226
- }, {
227
- css?: string;
228
- baseColor?: string;
229
- prefix?: string;
230
- }>;
231
- aliases: z.ZodObject<{
232
- ui: z.ZodOptional<z.ZodString>;
233
- }, "strip", z.ZodTypeAny, {
234
- ui?: string;
235
- }, {
236
- ui?: string;
237
- }>;
238
- registries: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
239
- url: z.ZodEffects<z.ZodString, string, string>;
240
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
241
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
242
- }, "strip", z.ZodTypeAny, {
243
- params?: Record<string, string>;
244
- url?: string;
245
- headers?: Record<string, string>;
246
- }, {
247
- params?: Record<string, string>;
248
- url?: string;
249
- headers?: Record<string, string>;
250
- }>]>>>;
251
- } & {
252
- resolvedPaths: z.ZodObject<{
253
- cwd: z.ZodString;
254
- tailwindConfig: z.ZodString;
255
- tailwindCss: z.ZodString;
256
- utils: z.ZodString;
257
- components: z.ZodString;
258
- lib: z.ZodString;
259
- hooks: z.ZodString;
260
- ui: z.ZodString;
261
- }, "strip", z.ZodTypeAny, {
262
- ui?: string;
263
- cwd?: string;
264
- tailwindConfig?: string;
265
- tailwindCss?: string;
266
- utils?: string;
267
- components?: string;
268
- lib?: string;
269
- hooks?: string;
270
- }, {
271
- ui?: string;
272
- cwd?: string;
273
- tailwindConfig?: string;
274
- tailwindCss?: string;
275
- utils?: string;
276
- components?: string;
277
- lib?: string;
278
- hooks?: string;
279
- }>;
280
- }, "strict", z.ZodTypeAny, {
281
- $schema?: string;
282
- style?: string;
283
- tailwind?: {
284
- css?: string;
285
- baseColor?: string;
286
- prefix?: string;
287
- };
288
- aliases?: {
289
- ui?: string;
290
- };
291
- registries?: Record<string, string | {
292
- params?: Record<string, string>;
293
- url?: string;
294
- headers?: Record<string, string>;
295
- }>;
296
- resolvedPaths?: {
297
- ui?: string;
298
- cwd?: string;
299
- tailwindConfig?: string;
300
- tailwindCss?: string;
301
- utils?: string;
302
- components?: string;
303
- lib?: string;
304
- hooks?: string;
305
- };
306
- }, {
307
- $schema?: string;
308
- style?: string;
309
- tailwind?: {
310
- css?: string;
311
- baseColor?: string;
312
- prefix?: string;
313
- };
314
- aliases?: {
315
- ui?: string;
316
- };
317
- registries?: Record<string, string | {
318
- params?: Record<string, string>;
319
- url?: string;
320
- headers?: Record<string, string>;
321
- }>;
322
- resolvedPaths?: {
323
- ui?: string;
324
- cwd?: string;
325
- tailwindConfig?: string;
326
- tailwindCss?: string;
327
- utils?: string;
328
- components?: string;
329
- lib?: string;
330
- hooks?: string;
331
- };
332
- }>>;
333
- export declare const registryItemTypeSchema: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:page", "registry:file", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
334
- export declare const registryItemFileSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
335
- path: z.ZodString;
336
- content: z.ZodOptional<z.ZodString>;
337
- type: z.ZodEnum<["registry:file", "registry:page"]>;
338
- target: z.ZodString;
339
- }, "strip", z.ZodTypeAny, {
340
- path?: string;
341
- type?: "registry:page" | "registry:file";
342
- content?: string;
343
- target?: string;
344
- }, {
345
- path?: string;
346
- type?: "registry:page" | "registry:file";
347
- content?: string;
348
- target?: string;
349
- }>, z.ZodObject<{
350
- path: z.ZodString;
351
- content: z.ZodOptional<z.ZodString>;
352
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
353
- target: z.ZodOptional<z.ZodString>;
354
- }, "strip", z.ZodTypeAny, {
355
- path?: string;
356
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
357
- content?: string;
358
- target?: string;
359
- }, {
360
- path?: string;
361
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
362
- content?: string;
363
- target?: string;
364
- }>]>;
365
- export declare const registryItemCssVarsSchema: z.ZodObject<{
366
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
367
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
368
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
369
- }, "strip", z.ZodTypeAny, {
370
- theme?: Record<string, string>;
371
- light?: Record<string, string>;
372
- dark?: Record<string, string>;
373
- }, {
374
- theme?: Record<string, string>;
375
- light?: Record<string, string>;
376
- dark?: Record<string, string>;
377
- }>;
378
- export declare const registryItemCssSchema: z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>;
379
- export declare const registryItemEnvVarsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
380
- export declare const registryItemFontSchema: z.ZodObject<{
381
- family: z.ZodString;
382
- provider: z.ZodLiteral<"google">;
383
- import: z.ZodString;
384
- variable: z.ZodString;
385
- weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
386
- subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
387
- }, "strip", z.ZodTypeAny, {
388
- family?: string;
389
- provider?: "google";
390
- import?: string;
391
- variable?: string;
392
- weight?: string[];
393
- subsets?: string[];
394
- }, {
395
- family?: string;
396
- provider?: "google";
397
- import?: string;
398
- variable?: string;
399
- weight?: string[];
400
- subsets?: string[];
401
- }>;
402
- export declare const registryItemCommonSchema: z.ZodObject<{
403
- name: z.ZodString;
404
- title: z.ZodOptional<z.ZodString>;
405
- description: z.ZodOptional<z.ZodString>;
406
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
408
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
409
- path: z.ZodString;
410
- content: z.ZodOptional<z.ZodString>;
411
- type: z.ZodEnum<["registry:file", "registry:page"]>;
412
- target: z.ZodString;
413
- }, "strip", z.ZodTypeAny, {
414
- path?: string;
415
- type?: "registry:page" | "registry:file";
416
- content?: string;
417
- target?: string;
418
- }, {
419
- path?: string;
420
- type?: "registry:page" | "registry:file";
421
- content?: string;
422
- target?: string;
423
- }>, z.ZodObject<{
424
- path: z.ZodString;
425
- content: z.ZodOptional<z.ZodString>;
426
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
427
- target: z.ZodOptional<z.ZodString>;
428
- }, "strip", z.ZodTypeAny, {
429
- path?: string;
430
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
431
- content?: string;
432
- target?: string;
433
- }, {
434
- path?: string;
435
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
436
- content?: string;
437
- target?: string;
438
- }>]>, "many">>;
439
- cssVars: z.ZodOptional<z.ZodObject<{
440
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
441
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
442
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
443
- }, "strip", z.ZodTypeAny, {
444
- theme?: Record<string, string>;
445
- light?: Record<string, string>;
446
- dark?: Record<string, string>;
447
- }, {
448
- theme?: Record<string, string>;
449
- light?: Record<string, string>;
450
- dark?: Record<string, string>;
451
- }>>;
452
- }, "strip", z.ZodTypeAny, {
453
- name?: string;
454
- title?: string;
455
- description?: string;
456
- dependencies?: string[];
457
- devDependencies?: string[];
458
- files?: ({
459
- path?: string;
460
- type?: "registry:page" | "registry:file";
461
- content?: string;
462
- target?: string;
463
- } | {
464
- path?: string;
465
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
466
- content?: string;
467
- target?: string;
468
- })[];
469
- cssVars?: {
470
- theme?: Record<string, string>;
471
- light?: Record<string, string>;
472
- dark?: Record<string, string>;
473
- };
474
- }, {
475
- name?: string;
476
- title?: string;
477
- description?: string;
478
- dependencies?: string[];
479
- devDependencies?: string[];
480
- files?: ({
481
- path?: string;
482
- type?: "registry:page" | "registry:file";
483
- content?: string;
484
- target?: string;
485
- } | {
486
- path?: string;
487
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
488
- content?: string;
489
- target?: string;
490
- })[];
491
- cssVars?: {
492
- theme?: Record<string, string>;
493
- light?: Record<string, string>;
494
- dark?: Record<string, string>;
495
- };
496
- }>;
497
- export declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
498
- name: z.ZodString;
499
- title: z.ZodOptional<z.ZodString>;
500
- description: z.ZodOptional<z.ZodString>;
501
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
503
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
504
- path: z.ZodString;
505
- content: z.ZodOptional<z.ZodString>;
506
- type: z.ZodEnum<["registry:file", "registry:page"]>;
507
- target: z.ZodString;
508
- }, "strip", z.ZodTypeAny, {
509
- path?: string;
510
- type?: "registry:page" | "registry:file";
511
- content?: string;
512
- target?: string;
513
- }, {
514
- path?: string;
515
- type?: "registry:page" | "registry:file";
516
- content?: string;
517
- target?: string;
518
- }>, z.ZodObject<{
519
- path: z.ZodString;
520
- content: z.ZodOptional<z.ZodString>;
521
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
522
- target: z.ZodOptional<z.ZodString>;
523
- }, "strip", z.ZodTypeAny, {
524
- path?: string;
525
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
526
- content?: string;
527
- target?: string;
528
- }, {
529
- path?: string;
530
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
531
- content?: string;
532
- target?: string;
533
- }>]>, "many">>;
534
- cssVars: z.ZodOptional<z.ZodObject<{
535
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
536
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
537
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
538
- }, "strip", z.ZodTypeAny, {
539
- theme?: Record<string, string>;
540
- light?: Record<string, string>;
541
- dark?: Record<string, string>;
542
- }, {
543
- theme?: Record<string, string>;
544
- light?: Record<string, string>;
545
- dark?: Record<string, string>;
546
- }>>;
547
- } & {
548
- type: z.ZodLiteral<"registry:base">;
549
- config: z.ZodOptional<z.ZodObject<{
550
- $schema: z.ZodOptional<z.ZodOptional<z.ZodString>>;
551
- style: z.ZodOptional<z.ZodString>;
552
- tailwind: z.ZodOptional<z.ZodObject<{
553
- css: z.ZodOptional<z.ZodString>;
554
- baseColor: z.ZodOptional<z.ZodString>;
555
- prefix: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
556
- }, "strip", z.ZodTypeAny, {
557
- css?: string;
558
- baseColor?: string;
559
- prefix?: string;
560
- }, {
561
- css?: string;
562
- baseColor?: string;
563
- prefix?: string;
564
- }>>;
565
- aliases: z.ZodOptional<z.ZodObject<{
566
- ui: z.ZodOptional<z.ZodOptional<z.ZodString>>;
567
- }, "strip", z.ZodTypeAny, {
568
- ui?: string;
569
- }, {
570
- ui?: string;
571
- }>>;
572
- registries: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
573
- url: z.ZodEffects<z.ZodString, string, string>;
574
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
575
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
576
- }, "strip", z.ZodTypeAny, {
577
- params?: Record<string, string>;
578
- url?: string;
579
- headers?: Record<string, string>;
580
- }, {
581
- params?: Record<string, string>;
582
- url?: string;
583
- headers?: Record<string, string>;
584
- }>]>>>>;
585
- }, "strict", z.ZodTypeAny, {
586
- $schema?: string;
587
- style?: string;
588
- tailwind?: {
589
- css?: string;
590
- baseColor?: string;
591
- prefix?: string;
592
- };
593
- aliases?: {
594
- ui?: string;
595
- };
596
- registries?: Record<string, string | {
597
- params?: Record<string, string>;
598
- url?: string;
599
- headers?: Record<string, string>;
600
- }>;
601
- }, {
602
- $schema?: string;
603
- style?: string;
604
- tailwind?: {
605
- css?: string;
606
- baseColor?: string;
607
- prefix?: string;
608
- };
609
- aliases?: {
610
- ui?: string;
611
- };
612
- registries?: Record<string, string | {
613
- params?: Record<string, string>;
614
- url?: string;
615
- headers?: Record<string, string>;
616
- }>;
617
- }>>;
618
- }, "strip", z.ZodTypeAny, {
619
- type?: "registry:base";
620
- name?: string;
621
- title?: string;
622
- description?: string;
623
- dependencies?: string[];
624
- devDependencies?: string[];
625
- files?: ({
626
- path?: string;
627
- type?: "registry:page" | "registry:file";
628
- content?: string;
629
- target?: string;
630
- } | {
631
- path?: string;
632
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
633
- content?: string;
634
- target?: string;
635
- })[];
636
- cssVars?: {
637
- theme?: Record<string, string>;
638
- light?: Record<string, string>;
639
- dark?: Record<string, string>;
640
- };
641
- config?: {
642
- $schema?: string;
643
- style?: string;
644
- tailwind?: {
645
- css?: string;
646
- baseColor?: string;
647
- prefix?: string;
648
- };
649
- aliases?: {
650
- ui?: string;
651
- };
652
- registries?: Record<string, string | {
653
- params?: Record<string, string>;
654
- url?: string;
655
- headers?: Record<string, string>;
656
- }>;
657
- };
658
- }, {
659
- type?: "registry:base";
660
- name?: string;
661
- title?: string;
662
- description?: string;
663
- dependencies?: string[];
664
- devDependencies?: string[];
665
- files?: ({
666
- path?: string;
667
- type?: "registry:page" | "registry:file";
668
- content?: string;
669
- target?: string;
670
- } | {
671
- path?: string;
672
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
673
- content?: string;
674
- target?: string;
675
- })[];
676
- cssVars?: {
677
- theme?: Record<string, string>;
678
- light?: Record<string, string>;
679
- dark?: Record<string, string>;
680
- };
681
- config?: {
682
- $schema?: string;
683
- style?: string;
684
- tailwind?: {
685
- css?: string;
686
- baseColor?: string;
687
- prefix?: string;
688
- };
689
- aliases?: {
690
- ui?: string;
691
- };
692
- registries?: Record<string, string | {
693
- params?: Record<string, string>;
694
- url?: string;
695
- headers?: Record<string, string>;
696
- }>;
697
- };
698
- }>, z.ZodObject<{
699
- name: z.ZodString;
700
- title: z.ZodOptional<z.ZodString>;
701
- description: z.ZodOptional<z.ZodString>;
702
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
703
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
704
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
705
- path: z.ZodString;
706
- content: z.ZodOptional<z.ZodString>;
707
- type: z.ZodEnum<["registry:file", "registry:page"]>;
708
- target: z.ZodString;
709
- }, "strip", z.ZodTypeAny, {
710
- path?: string;
711
- type?: "registry:page" | "registry:file";
712
- content?: string;
713
- target?: string;
714
- }, {
715
- path?: string;
716
- type?: "registry:page" | "registry:file";
717
- content?: string;
718
- target?: string;
719
- }>, z.ZodObject<{
720
- path: z.ZodString;
721
- content: z.ZodOptional<z.ZodString>;
722
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
723
- target: z.ZodOptional<z.ZodString>;
724
- }, "strip", z.ZodTypeAny, {
725
- path?: string;
726
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
727
- content?: string;
728
- target?: string;
729
- }, {
730
- path?: string;
731
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
732
- content?: string;
733
- target?: string;
734
- }>]>, "many">>;
735
- cssVars: z.ZodOptional<z.ZodObject<{
736
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
737
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
738
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
739
- }, "strip", z.ZodTypeAny, {
740
- theme?: Record<string, string>;
741
- light?: Record<string, string>;
742
- dark?: Record<string, string>;
743
- }, {
744
- theme?: Record<string, string>;
745
- light?: Record<string, string>;
746
- dark?: Record<string, string>;
747
- }>>;
748
- } & {
749
- type: z.ZodLiteral<"registry:font">;
750
- font: z.ZodObject<{
751
- family: z.ZodString;
752
- provider: z.ZodLiteral<"google">;
753
- import: z.ZodString;
754
- variable: z.ZodString;
755
- weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
756
- subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
757
- }, "strip", z.ZodTypeAny, {
758
- family?: string;
759
- provider?: "google";
760
- import?: string;
761
- variable?: string;
762
- weight?: string[];
763
- subsets?: string[];
764
- }, {
765
- family?: string;
766
- provider?: "google";
767
- import?: string;
768
- variable?: string;
769
- weight?: string[];
770
- subsets?: string[];
771
- }>;
772
- }, "strip", z.ZodTypeAny, {
773
- type?: "registry:font";
774
- name?: string;
775
- title?: string;
776
- description?: string;
777
- dependencies?: string[];
778
- devDependencies?: string[];
779
- files?: ({
780
- path?: string;
781
- type?: "registry:page" | "registry:file";
782
- content?: string;
783
- target?: string;
784
- } | {
785
- path?: string;
786
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
787
- content?: string;
788
- target?: string;
789
- })[];
790
- cssVars?: {
791
- theme?: Record<string, string>;
792
- light?: Record<string, string>;
793
- dark?: Record<string, string>;
794
- };
795
- font?: {
796
- family?: string;
797
- provider?: "google";
798
- import?: string;
799
- variable?: string;
800
- weight?: string[];
801
- subsets?: string[];
802
- };
803
- }, {
804
- type?: "registry:font";
805
- name?: string;
806
- title?: string;
807
- description?: string;
808
- dependencies?: string[];
809
- devDependencies?: string[];
810
- files?: ({
811
- path?: string;
812
- type?: "registry:page" | "registry:file";
813
- content?: string;
814
- target?: string;
815
- } | {
816
- path?: string;
817
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
818
- content?: string;
819
- target?: string;
820
- })[];
821
- cssVars?: {
822
- theme?: Record<string, string>;
823
- light?: Record<string, string>;
824
- dark?: Record<string, string>;
825
- };
826
- font?: {
827
- family?: string;
828
- provider?: "google";
829
- import?: string;
830
- variable?: string;
831
- weight?: string[];
832
- subsets?: string[];
833
- };
834
- }>, z.ZodObject<{
835
- name: z.ZodString;
836
- title: z.ZodOptional<z.ZodString>;
837
- description: z.ZodOptional<z.ZodString>;
838
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
839
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
840
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
841
- path: z.ZodString;
842
- content: z.ZodOptional<z.ZodString>;
843
- type: z.ZodEnum<["registry:file", "registry:page"]>;
844
- target: z.ZodString;
845
- }, "strip", z.ZodTypeAny, {
846
- path?: string;
847
- type?: "registry:page" | "registry:file";
848
- content?: string;
849
- target?: string;
850
- }, {
851
- path?: string;
852
- type?: "registry:page" | "registry:file";
853
- content?: string;
854
- target?: string;
855
- }>, z.ZodObject<{
856
- path: z.ZodString;
857
- content: z.ZodOptional<z.ZodString>;
858
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
859
- target: z.ZodOptional<z.ZodString>;
860
- }, "strip", z.ZodTypeAny, {
861
- path?: string;
862
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
863
- content?: string;
864
- target?: string;
865
- }, {
866
- path?: string;
867
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
868
- content?: string;
869
- target?: string;
870
- }>]>, "many">>;
871
- cssVars: z.ZodOptional<z.ZodObject<{
872
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
873
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
874
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
875
- }, "strip", z.ZodTypeAny, {
876
- theme?: Record<string, string>;
877
- light?: Record<string, string>;
878
- dark?: Record<string, string>;
879
- }, {
880
- theme?: Record<string, string>;
881
- light?: Record<string, string>;
882
- dark?: Record<string, string>;
883
- }>>;
884
- } & {
885
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:page", "registry:file", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
886
- }, "strip", z.ZodTypeAny, {
887
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
888
- name?: string;
889
- title?: string;
890
- description?: string;
891
- dependencies?: string[];
892
- devDependencies?: string[];
893
- files?: ({
894
- path?: string;
895
- type?: "registry:page" | "registry:file";
896
- content?: string;
897
- target?: string;
898
- } | {
899
- path?: string;
900
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
901
- content?: string;
902
- target?: string;
903
- })[];
904
- cssVars?: {
905
- theme?: Record<string, string>;
906
- light?: Record<string, string>;
907
- dark?: Record<string, string>;
908
- };
909
- }, {
910
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
911
- name?: string;
912
- title?: string;
913
- description?: string;
914
- dependencies?: string[];
915
- devDependencies?: string[];
916
- files?: ({
917
- path?: string;
918
- type?: "registry:page" | "registry:file";
919
- content?: string;
920
- target?: string;
921
- } | {
922
- path?: string;
923
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
924
- content?: string;
925
- target?: string;
926
- })[];
927
- cssVars?: {
928
- theme?: Record<string, string>;
929
- light?: Record<string, string>;
930
- dark?: Record<string, string>;
931
- };
932
- }>]>;
933
- export type RegistryItem = z.infer<typeof registryItemSchema>;
934
- export type RegistryBaseItem = Extract<RegistryItem, {
935
- type: 'registry:base';
936
- }>;
937
- export type RegistryFontItem = Extract<RegistryItem, {
938
- type: 'registry:font';
939
- }>;
940
- export declare const registrySchema: z.ZodObject<{
941
- name: z.ZodString;
942
- homepage: z.ZodString;
943
- items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
944
- name: z.ZodString;
945
- title: z.ZodOptional<z.ZodString>;
946
- description: z.ZodOptional<z.ZodString>;
947
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
948
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
949
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
950
- path: z.ZodString;
951
- content: z.ZodOptional<z.ZodString>;
952
- type: z.ZodEnum<["registry:file", "registry:page"]>;
953
- target: z.ZodString;
954
- }, "strip", z.ZodTypeAny, {
955
- path?: string;
956
- type?: "registry:page" | "registry:file";
957
- content?: string;
958
- target?: string;
959
- }, {
960
- path?: string;
961
- type?: "registry:page" | "registry:file";
962
- content?: string;
963
- target?: string;
964
- }>, z.ZodObject<{
965
- path: z.ZodString;
966
- content: z.ZodOptional<z.ZodString>;
967
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
968
- target: z.ZodOptional<z.ZodString>;
969
- }, "strip", z.ZodTypeAny, {
970
- path?: string;
971
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
972
- content?: string;
973
- target?: string;
974
- }, {
975
- path?: string;
976
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
977
- content?: string;
978
- target?: string;
979
- }>]>, "many">>;
980
- cssVars: z.ZodOptional<z.ZodObject<{
981
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
982
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
983
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
984
- }, "strip", z.ZodTypeAny, {
985
- theme?: Record<string, string>;
986
- light?: Record<string, string>;
987
- dark?: Record<string, string>;
988
- }, {
989
- theme?: Record<string, string>;
990
- light?: Record<string, string>;
991
- dark?: Record<string, string>;
992
- }>>;
993
- } & {
994
- type: z.ZodLiteral<"registry:base">;
995
- config: z.ZodOptional<z.ZodObject<{
996
- $schema: z.ZodOptional<z.ZodOptional<z.ZodString>>;
997
- style: z.ZodOptional<z.ZodString>;
998
- tailwind: z.ZodOptional<z.ZodObject<{
999
- css: z.ZodOptional<z.ZodString>;
1000
- baseColor: z.ZodOptional<z.ZodString>;
1001
- prefix: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
1002
- }, "strip", z.ZodTypeAny, {
1003
- css?: string;
1004
- baseColor?: string;
1005
- prefix?: string;
1006
- }, {
1007
- css?: string;
1008
- baseColor?: string;
1009
- prefix?: string;
1010
- }>>;
1011
- aliases: z.ZodOptional<z.ZodObject<{
1012
- ui: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1013
- }, "strip", z.ZodTypeAny, {
1014
- ui?: string;
1015
- }, {
1016
- ui?: string;
1017
- }>>;
1018
- registries: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1019
- url: z.ZodEffects<z.ZodString, string, string>;
1020
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1021
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1022
- }, "strip", z.ZodTypeAny, {
1023
- params?: Record<string, string>;
1024
- url?: string;
1025
- headers?: Record<string, string>;
1026
- }, {
1027
- params?: Record<string, string>;
1028
- url?: string;
1029
- headers?: Record<string, string>;
1030
- }>]>>>>;
1031
- }, "strict", z.ZodTypeAny, {
1032
- $schema?: string;
1033
- style?: string;
1034
- tailwind?: {
1035
- css?: string;
1036
- baseColor?: string;
1037
- prefix?: string;
1038
- };
1039
- aliases?: {
1040
- ui?: string;
1041
- };
1042
- registries?: Record<string, string | {
1043
- params?: Record<string, string>;
1044
- url?: string;
1045
- headers?: Record<string, string>;
1046
- }>;
1047
- }, {
1048
- $schema?: string;
1049
- style?: string;
1050
- tailwind?: {
1051
- css?: string;
1052
- baseColor?: string;
1053
- prefix?: string;
1054
- };
1055
- aliases?: {
1056
- ui?: string;
1057
- };
1058
- registries?: Record<string, string | {
1059
- params?: Record<string, string>;
1060
- url?: string;
1061
- headers?: Record<string, string>;
1062
- }>;
1063
- }>>;
1064
- }, "strip", z.ZodTypeAny, {
1065
- type?: "registry:base";
1066
- name?: string;
1067
- title?: string;
1068
- description?: string;
1069
- dependencies?: string[];
1070
- devDependencies?: string[];
1071
- files?: ({
1072
- path?: string;
1073
- type?: "registry:page" | "registry:file";
1074
- content?: string;
1075
- target?: string;
1076
- } | {
1077
- path?: string;
1078
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1079
- content?: string;
1080
- target?: string;
1081
- })[];
1082
- cssVars?: {
1083
- theme?: Record<string, string>;
1084
- light?: Record<string, string>;
1085
- dark?: Record<string, string>;
1086
- };
1087
- config?: {
1088
- $schema?: string;
1089
- style?: string;
1090
- tailwind?: {
1091
- css?: string;
1092
- baseColor?: string;
1093
- prefix?: string;
1094
- };
1095
- aliases?: {
1096
- ui?: string;
1097
- };
1098
- registries?: Record<string, string | {
1099
- params?: Record<string, string>;
1100
- url?: string;
1101
- headers?: Record<string, string>;
1102
- }>;
1103
- };
1104
- }, {
1105
- type?: "registry:base";
1106
- name?: string;
1107
- title?: string;
1108
- description?: string;
1109
- dependencies?: string[];
1110
- devDependencies?: string[];
1111
- files?: ({
1112
- path?: string;
1113
- type?: "registry:page" | "registry:file";
1114
- content?: string;
1115
- target?: string;
1116
- } | {
1117
- path?: string;
1118
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1119
- content?: string;
1120
- target?: string;
1121
- })[];
1122
- cssVars?: {
1123
- theme?: Record<string, string>;
1124
- light?: Record<string, string>;
1125
- dark?: Record<string, string>;
1126
- };
1127
- config?: {
1128
- $schema?: string;
1129
- style?: string;
1130
- tailwind?: {
1131
- css?: string;
1132
- baseColor?: string;
1133
- prefix?: string;
1134
- };
1135
- aliases?: {
1136
- ui?: string;
1137
- };
1138
- registries?: Record<string, string | {
1139
- params?: Record<string, string>;
1140
- url?: string;
1141
- headers?: Record<string, string>;
1142
- }>;
1143
- };
1144
- }>, z.ZodObject<{
1145
- name: z.ZodString;
1146
- title: z.ZodOptional<z.ZodString>;
1147
- description: z.ZodOptional<z.ZodString>;
1148
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1149
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1150
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1151
- path: z.ZodString;
1152
- content: z.ZodOptional<z.ZodString>;
1153
- type: z.ZodEnum<["registry:file", "registry:page"]>;
1154
- target: z.ZodString;
1155
- }, "strip", z.ZodTypeAny, {
1156
- path?: string;
1157
- type?: "registry:page" | "registry:file";
1158
- content?: string;
1159
- target?: string;
1160
- }, {
1161
- path?: string;
1162
- type?: "registry:page" | "registry:file";
1163
- content?: string;
1164
- target?: string;
1165
- }>, z.ZodObject<{
1166
- path: z.ZodString;
1167
- content: z.ZodOptional<z.ZodString>;
1168
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
1169
- target: z.ZodOptional<z.ZodString>;
1170
- }, "strip", z.ZodTypeAny, {
1171
- path?: string;
1172
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1173
- content?: string;
1174
- target?: string;
1175
- }, {
1176
- path?: string;
1177
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1178
- content?: string;
1179
- target?: string;
1180
- }>]>, "many">>;
1181
- cssVars: z.ZodOptional<z.ZodObject<{
1182
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1183
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1184
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- theme?: Record<string, string>;
1187
- light?: Record<string, string>;
1188
- dark?: Record<string, string>;
1189
- }, {
1190
- theme?: Record<string, string>;
1191
- light?: Record<string, string>;
1192
- dark?: Record<string, string>;
1193
- }>>;
1194
- } & {
1195
- type: z.ZodLiteral<"registry:font">;
1196
- font: z.ZodObject<{
1197
- family: z.ZodString;
1198
- provider: z.ZodLiteral<"google">;
1199
- import: z.ZodString;
1200
- variable: z.ZodString;
1201
- weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1202
- subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1203
- }, "strip", z.ZodTypeAny, {
1204
- family?: string;
1205
- provider?: "google";
1206
- import?: string;
1207
- variable?: string;
1208
- weight?: string[];
1209
- subsets?: string[];
1210
- }, {
1211
- family?: string;
1212
- provider?: "google";
1213
- import?: string;
1214
- variable?: string;
1215
- weight?: string[];
1216
- subsets?: string[];
1217
- }>;
1218
- }, "strip", z.ZodTypeAny, {
1219
- type?: "registry:font";
1220
- name?: string;
1221
- title?: string;
1222
- description?: string;
1223
- dependencies?: string[];
1224
- devDependencies?: string[];
1225
- files?: ({
1226
- path?: string;
1227
- type?: "registry:page" | "registry:file";
1228
- content?: string;
1229
- target?: string;
1230
- } | {
1231
- path?: string;
1232
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1233
- content?: string;
1234
- target?: string;
1235
- })[];
1236
- cssVars?: {
1237
- theme?: Record<string, string>;
1238
- light?: Record<string, string>;
1239
- dark?: Record<string, string>;
1240
- };
1241
- font?: {
1242
- family?: string;
1243
- provider?: "google";
1244
- import?: string;
1245
- variable?: string;
1246
- weight?: string[];
1247
- subsets?: string[];
1248
- };
1249
- }, {
1250
- type?: "registry:font";
1251
- name?: string;
1252
- title?: string;
1253
- description?: string;
1254
- dependencies?: string[];
1255
- devDependencies?: string[];
1256
- files?: ({
1257
- path?: string;
1258
- type?: "registry:page" | "registry:file";
1259
- content?: string;
1260
- target?: string;
1261
- } | {
1262
- path?: string;
1263
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1264
- content?: string;
1265
- target?: string;
1266
- })[];
1267
- cssVars?: {
1268
- theme?: Record<string, string>;
1269
- light?: Record<string, string>;
1270
- dark?: Record<string, string>;
1271
- };
1272
- font?: {
1273
- family?: string;
1274
- provider?: "google";
1275
- import?: string;
1276
- variable?: string;
1277
- weight?: string[];
1278
- subsets?: string[];
1279
- };
1280
- }>, z.ZodObject<{
1281
- name: z.ZodString;
1282
- title: z.ZodOptional<z.ZodString>;
1283
- description: z.ZodOptional<z.ZodString>;
1284
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1285
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1286
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1287
- path: z.ZodString;
1288
- content: z.ZodOptional<z.ZodString>;
1289
- type: z.ZodEnum<["registry:file", "registry:page"]>;
1290
- target: z.ZodString;
1291
- }, "strip", z.ZodTypeAny, {
1292
- path?: string;
1293
- type?: "registry:page" | "registry:file";
1294
- content?: string;
1295
- target?: string;
1296
- }, {
1297
- path?: string;
1298
- type?: "registry:page" | "registry:file";
1299
- content?: string;
1300
- target?: string;
1301
- }>, z.ZodObject<{
1302
- path: z.ZodString;
1303
- content: z.ZodOptional<z.ZodString>;
1304
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
1305
- target: z.ZodOptional<z.ZodString>;
1306
- }, "strip", z.ZodTypeAny, {
1307
- path?: string;
1308
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1309
- content?: string;
1310
- target?: string;
1311
- }, {
1312
- path?: string;
1313
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1314
- content?: string;
1315
- target?: string;
1316
- }>]>, "many">>;
1317
- cssVars: z.ZodOptional<z.ZodObject<{
1318
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1319
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1320
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1321
- }, "strip", z.ZodTypeAny, {
1322
- theme?: Record<string, string>;
1323
- light?: Record<string, string>;
1324
- dark?: Record<string, string>;
1325
- }, {
1326
- theme?: Record<string, string>;
1327
- light?: Record<string, string>;
1328
- dark?: Record<string, string>;
1329
- }>>;
1330
- } & {
1331
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:page", "registry:file", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
1332
- }, "strip", z.ZodTypeAny, {
1333
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1334
- name?: string;
1335
- title?: string;
1336
- description?: string;
1337
- dependencies?: string[];
1338
- devDependencies?: string[];
1339
- files?: ({
1340
- path?: string;
1341
- type?: "registry:page" | "registry:file";
1342
- content?: string;
1343
- target?: string;
1344
- } | {
1345
- path?: string;
1346
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1347
- content?: string;
1348
- target?: string;
1349
- })[];
1350
- cssVars?: {
1351
- theme?: Record<string, string>;
1352
- light?: Record<string, string>;
1353
- dark?: Record<string, string>;
1354
- };
1355
- }, {
1356
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1357
- name?: string;
1358
- title?: string;
1359
- description?: string;
1360
- dependencies?: string[];
1361
- devDependencies?: string[];
1362
- files?: ({
1363
- path?: string;
1364
- type?: "registry:page" | "registry:file";
1365
- content?: string;
1366
- target?: string;
1367
- } | {
1368
- path?: string;
1369
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1370
- content?: string;
1371
- target?: string;
1372
- })[];
1373
- cssVars?: {
1374
- theme?: Record<string, string>;
1375
- light?: Record<string, string>;
1376
- dark?: Record<string, string>;
1377
- };
1378
- }>]>, "many">;
1379
- }, "strip", z.ZodTypeAny, {
1380
- name?: string;
1381
- homepage?: string;
1382
- items?: ({
1383
- type?: "registry:base";
1384
- name?: string;
1385
- title?: string;
1386
- description?: string;
1387
- dependencies?: string[];
1388
- devDependencies?: string[];
1389
- files?: ({
1390
- path?: string;
1391
- type?: "registry:page" | "registry:file";
1392
- content?: string;
1393
- target?: string;
1394
- } | {
1395
- path?: string;
1396
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1397
- content?: string;
1398
- target?: string;
1399
- })[];
1400
- cssVars?: {
1401
- theme?: Record<string, string>;
1402
- light?: Record<string, string>;
1403
- dark?: Record<string, string>;
1404
- };
1405
- config?: {
1406
- $schema?: string;
1407
- style?: string;
1408
- tailwind?: {
1409
- css?: string;
1410
- baseColor?: string;
1411
- prefix?: string;
1412
- };
1413
- aliases?: {
1414
- ui?: string;
1415
- };
1416
- registries?: Record<string, string | {
1417
- params?: Record<string, string>;
1418
- url?: string;
1419
- headers?: Record<string, string>;
1420
- }>;
1421
- };
1422
- } | {
1423
- type?: "registry:font";
1424
- name?: string;
1425
- title?: string;
1426
- description?: string;
1427
- dependencies?: string[];
1428
- devDependencies?: string[];
1429
- files?: ({
1430
- path?: string;
1431
- type?: "registry:page" | "registry:file";
1432
- content?: string;
1433
- target?: string;
1434
- } | {
1435
- path?: string;
1436
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1437
- content?: string;
1438
- target?: string;
1439
- })[];
1440
- cssVars?: {
1441
- theme?: Record<string, string>;
1442
- light?: Record<string, string>;
1443
- dark?: Record<string, string>;
1444
- };
1445
- font?: {
1446
- family?: string;
1447
- provider?: "google";
1448
- import?: string;
1449
- variable?: string;
1450
- weight?: string[];
1451
- subsets?: string[];
1452
- };
1453
- } | {
1454
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1455
- name?: string;
1456
- title?: string;
1457
- description?: string;
1458
- dependencies?: string[];
1459
- devDependencies?: string[];
1460
- files?: ({
1461
- path?: string;
1462
- type?: "registry:page" | "registry:file";
1463
- content?: string;
1464
- target?: string;
1465
- } | {
1466
- path?: string;
1467
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1468
- content?: string;
1469
- target?: string;
1470
- })[];
1471
- cssVars?: {
1472
- theme?: Record<string, string>;
1473
- light?: Record<string, string>;
1474
- dark?: Record<string, string>;
1475
- };
1476
- })[];
1477
- }, {
1478
- name?: string;
1479
- homepage?: string;
1480
- items?: ({
1481
- type?: "registry:base";
1482
- name?: string;
1483
- title?: string;
1484
- description?: string;
1485
- dependencies?: string[];
1486
- devDependencies?: string[];
1487
- files?: ({
1488
- path?: string;
1489
- type?: "registry:page" | "registry:file";
1490
- content?: string;
1491
- target?: string;
1492
- } | {
1493
- path?: string;
1494
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1495
- content?: string;
1496
- target?: string;
1497
- })[];
1498
- cssVars?: {
1499
- theme?: Record<string, string>;
1500
- light?: Record<string, string>;
1501
- dark?: Record<string, string>;
1502
- };
1503
- config?: {
1504
- $schema?: string;
1505
- style?: string;
1506
- tailwind?: {
1507
- css?: string;
1508
- baseColor?: string;
1509
- prefix?: string;
1510
- };
1511
- aliases?: {
1512
- ui?: string;
1513
- };
1514
- registries?: Record<string, string | {
1515
- params?: Record<string, string>;
1516
- url?: string;
1517
- headers?: Record<string, string>;
1518
- }>;
1519
- };
1520
- } | {
1521
- type?: "registry:font";
1522
- name?: string;
1523
- title?: string;
1524
- description?: string;
1525
- dependencies?: string[];
1526
- devDependencies?: string[];
1527
- files?: ({
1528
- path?: string;
1529
- type?: "registry:page" | "registry:file";
1530
- content?: string;
1531
- target?: string;
1532
- } | {
1533
- path?: string;
1534
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1535
- content?: string;
1536
- target?: string;
1537
- })[];
1538
- cssVars?: {
1539
- theme?: Record<string, string>;
1540
- light?: Record<string, string>;
1541
- dark?: Record<string, string>;
1542
- };
1543
- font?: {
1544
- family?: string;
1545
- provider?: "google";
1546
- import?: string;
1547
- variable?: string;
1548
- weight?: string[];
1549
- subsets?: string[];
1550
- };
1551
- } | {
1552
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1553
- name?: string;
1554
- title?: string;
1555
- description?: string;
1556
- dependencies?: string[];
1557
- devDependencies?: string[];
1558
- files?: ({
1559
- path?: string;
1560
- type?: "registry:page" | "registry:file";
1561
- content?: string;
1562
- target?: string;
1563
- } | {
1564
- path?: string;
1565
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1566
- content?: string;
1567
- target?: string;
1568
- })[];
1569
- cssVars?: {
1570
- theme?: Record<string, string>;
1571
- light?: Record<string, string>;
1572
- dark?: Record<string, string>;
1573
- };
1574
- })[];
1575
- }>;
1576
- export type Registry = z.infer<typeof registrySchema>;
1577
- export declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1578
- name: z.ZodString;
1579
- title: z.ZodOptional<z.ZodString>;
1580
- description: z.ZodOptional<z.ZodString>;
1581
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1582
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1583
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1584
- path: z.ZodString;
1585
- content: z.ZodOptional<z.ZodString>;
1586
- type: z.ZodEnum<["registry:file", "registry:page"]>;
1587
- target: z.ZodString;
1588
- }, "strip", z.ZodTypeAny, {
1589
- path?: string;
1590
- type?: "registry:page" | "registry:file";
1591
- content?: string;
1592
- target?: string;
1593
- }, {
1594
- path?: string;
1595
- type?: "registry:page" | "registry:file";
1596
- content?: string;
1597
- target?: string;
1598
- }>, z.ZodObject<{
1599
- path: z.ZodString;
1600
- content: z.ZodOptional<z.ZodString>;
1601
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
1602
- target: z.ZodOptional<z.ZodString>;
1603
- }, "strip", z.ZodTypeAny, {
1604
- path?: string;
1605
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1606
- content?: string;
1607
- target?: string;
1608
- }, {
1609
- path?: string;
1610
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1611
- content?: string;
1612
- target?: string;
1613
- }>]>, "many">>;
1614
- cssVars: z.ZodOptional<z.ZodObject<{
1615
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1616
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1617
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1618
- }, "strip", z.ZodTypeAny, {
1619
- theme?: Record<string, string>;
1620
- light?: Record<string, string>;
1621
- dark?: Record<string, string>;
1622
- }, {
1623
- theme?: Record<string, string>;
1624
- light?: Record<string, string>;
1625
- dark?: Record<string, string>;
1626
- }>>;
1627
- } & {
1628
- type: z.ZodLiteral<"registry:base">;
1629
- config: z.ZodOptional<z.ZodObject<{
1630
- $schema: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1631
- style: z.ZodOptional<z.ZodString>;
1632
- tailwind: z.ZodOptional<z.ZodObject<{
1633
- css: z.ZodOptional<z.ZodString>;
1634
- baseColor: z.ZodOptional<z.ZodString>;
1635
- prefix: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
1636
- }, "strip", z.ZodTypeAny, {
1637
- css?: string;
1638
- baseColor?: string;
1639
- prefix?: string;
1640
- }, {
1641
- css?: string;
1642
- baseColor?: string;
1643
- prefix?: string;
1644
- }>>;
1645
- aliases: z.ZodOptional<z.ZodObject<{
1646
- ui: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1647
- }, "strip", z.ZodTypeAny, {
1648
- ui?: string;
1649
- }, {
1650
- ui?: string;
1651
- }>>;
1652
- registries: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1653
- url: z.ZodEffects<z.ZodString, string, string>;
1654
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1655
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1656
- }, "strip", z.ZodTypeAny, {
1657
- params?: Record<string, string>;
1658
- url?: string;
1659
- headers?: Record<string, string>;
1660
- }, {
1661
- params?: Record<string, string>;
1662
- url?: string;
1663
- headers?: Record<string, string>;
1664
- }>]>>>>;
1665
- }, "strict", z.ZodTypeAny, {
1666
- $schema?: string;
1667
- style?: string;
1668
- tailwind?: {
1669
- css?: string;
1670
- baseColor?: string;
1671
- prefix?: string;
1672
- };
1673
- aliases?: {
1674
- ui?: string;
1675
- };
1676
- registries?: Record<string, string | {
1677
- params?: Record<string, string>;
1678
- url?: string;
1679
- headers?: Record<string, string>;
1680
- }>;
1681
- }, {
1682
- $schema?: string;
1683
- style?: string;
1684
- tailwind?: {
1685
- css?: string;
1686
- baseColor?: string;
1687
- prefix?: string;
1688
- };
1689
- aliases?: {
1690
- ui?: string;
1691
- };
1692
- registries?: Record<string, string | {
1693
- params?: Record<string, string>;
1694
- url?: string;
1695
- headers?: Record<string, string>;
1696
- }>;
1697
- }>>;
1698
- }, "strip", z.ZodTypeAny, {
1699
- type?: "registry:base";
1700
- name?: string;
1701
- title?: string;
1702
- description?: string;
1703
- dependencies?: string[];
1704
- devDependencies?: string[];
1705
- files?: ({
1706
- path?: string;
1707
- type?: "registry:page" | "registry:file";
1708
- content?: string;
1709
- target?: string;
1710
- } | {
1711
- path?: string;
1712
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1713
- content?: string;
1714
- target?: string;
1715
- })[];
1716
- cssVars?: {
1717
- theme?: Record<string, string>;
1718
- light?: Record<string, string>;
1719
- dark?: Record<string, string>;
1720
- };
1721
- config?: {
1722
- $schema?: string;
1723
- style?: string;
1724
- tailwind?: {
1725
- css?: string;
1726
- baseColor?: string;
1727
- prefix?: string;
1728
- };
1729
- aliases?: {
1730
- ui?: string;
1731
- };
1732
- registries?: Record<string, string | {
1733
- params?: Record<string, string>;
1734
- url?: string;
1735
- headers?: Record<string, string>;
1736
- }>;
1737
- };
1738
- }, {
1739
- type?: "registry:base";
1740
- name?: string;
1741
- title?: string;
1742
- description?: string;
1743
- dependencies?: string[];
1744
- devDependencies?: string[];
1745
- files?: ({
1746
- path?: string;
1747
- type?: "registry:page" | "registry:file";
1748
- content?: string;
1749
- target?: string;
1750
- } | {
1751
- path?: string;
1752
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1753
- content?: string;
1754
- target?: string;
1755
- })[];
1756
- cssVars?: {
1757
- theme?: Record<string, string>;
1758
- light?: Record<string, string>;
1759
- dark?: Record<string, string>;
1760
- };
1761
- config?: {
1762
- $schema?: string;
1763
- style?: string;
1764
- tailwind?: {
1765
- css?: string;
1766
- baseColor?: string;
1767
- prefix?: string;
1768
- };
1769
- aliases?: {
1770
- ui?: string;
1771
- };
1772
- registries?: Record<string, string | {
1773
- params?: Record<string, string>;
1774
- url?: string;
1775
- headers?: Record<string, string>;
1776
- }>;
1777
- };
1778
- }>, z.ZodObject<{
1779
- name: z.ZodString;
1780
- title: z.ZodOptional<z.ZodString>;
1781
- description: z.ZodOptional<z.ZodString>;
1782
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1783
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1784
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1785
- path: z.ZodString;
1786
- content: z.ZodOptional<z.ZodString>;
1787
- type: z.ZodEnum<["registry:file", "registry:page"]>;
1788
- target: z.ZodString;
1789
- }, "strip", z.ZodTypeAny, {
1790
- path?: string;
1791
- type?: "registry:page" | "registry:file";
1792
- content?: string;
1793
- target?: string;
1794
- }, {
1795
- path?: string;
1796
- type?: "registry:page" | "registry:file";
1797
- content?: string;
1798
- target?: string;
1799
- }>, z.ZodObject<{
1800
- path: z.ZodString;
1801
- content: z.ZodOptional<z.ZodString>;
1802
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
1803
- target: z.ZodOptional<z.ZodString>;
1804
- }, "strip", z.ZodTypeAny, {
1805
- path?: string;
1806
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1807
- content?: string;
1808
- target?: string;
1809
- }, {
1810
- path?: string;
1811
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1812
- content?: string;
1813
- target?: string;
1814
- }>]>, "many">>;
1815
- cssVars: z.ZodOptional<z.ZodObject<{
1816
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1817
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1818
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1819
- }, "strip", z.ZodTypeAny, {
1820
- theme?: Record<string, string>;
1821
- light?: Record<string, string>;
1822
- dark?: Record<string, string>;
1823
- }, {
1824
- theme?: Record<string, string>;
1825
- light?: Record<string, string>;
1826
- dark?: Record<string, string>;
1827
- }>>;
1828
- } & {
1829
- type: z.ZodLiteral<"registry:font">;
1830
- font: z.ZodObject<{
1831
- family: z.ZodString;
1832
- provider: z.ZodLiteral<"google">;
1833
- import: z.ZodString;
1834
- variable: z.ZodString;
1835
- weight: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1836
- subsets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1837
- }, "strip", z.ZodTypeAny, {
1838
- family?: string;
1839
- provider?: "google";
1840
- import?: string;
1841
- variable?: string;
1842
- weight?: string[];
1843
- subsets?: string[];
1844
- }, {
1845
- family?: string;
1846
- provider?: "google";
1847
- import?: string;
1848
- variable?: string;
1849
- weight?: string[];
1850
- subsets?: string[];
1851
- }>;
1852
- }, "strip", z.ZodTypeAny, {
1853
- type?: "registry:font";
1854
- name?: string;
1855
- title?: string;
1856
- description?: string;
1857
- dependencies?: string[];
1858
- devDependencies?: string[];
1859
- files?: ({
1860
- path?: string;
1861
- type?: "registry:page" | "registry:file";
1862
- content?: string;
1863
- target?: string;
1864
- } | {
1865
- path?: string;
1866
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1867
- content?: string;
1868
- target?: string;
1869
- })[];
1870
- cssVars?: {
1871
- theme?: Record<string, string>;
1872
- light?: Record<string, string>;
1873
- dark?: Record<string, string>;
1874
- };
1875
- font?: {
1876
- family?: string;
1877
- provider?: "google";
1878
- import?: string;
1879
- variable?: string;
1880
- weight?: string[];
1881
- subsets?: string[];
1882
- };
1883
- }, {
1884
- type?: "registry:font";
1885
- name?: string;
1886
- title?: string;
1887
- description?: string;
1888
- dependencies?: string[];
1889
- devDependencies?: string[];
1890
- files?: ({
1891
- path?: string;
1892
- type?: "registry:page" | "registry:file";
1893
- content?: string;
1894
- target?: string;
1895
- } | {
1896
- path?: string;
1897
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1898
- content?: string;
1899
- target?: string;
1900
- })[];
1901
- cssVars?: {
1902
- theme?: Record<string, string>;
1903
- light?: Record<string, string>;
1904
- dark?: Record<string, string>;
1905
- };
1906
- font?: {
1907
- family?: string;
1908
- provider?: "google";
1909
- import?: string;
1910
- variable?: string;
1911
- weight?: string[];
1912
- subsets?: string[];
1913
- };
1914
- }>, z.ZodObject<{
1915
- name: z.ZodString;
1916
- title: z.ZodOptional<z.ZodString>;
1917
- description: z.ZodOptional<z.ZodString>;
1918
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1919
- devDependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1920
- files: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1921
- path: z.ZodString;
1922
- content: z.ZodOptional<z.ZodString>;
1923
- type: z.ZodEnum<["registry:file", "registry:page"]>;
1924
- target: z.ZodString;
1925
- }, "strip", z.ZodTypeAny, {
1926
- path?: string;
1927
- type?: "registry:page" | "registry:file";
1928
- content?: string;
1929
- target?: string;
1930
- }, {
1931
- path?: string;
1932
- type?: "registry:page" | "registry:file";
1933
- content?: string;
1934
- target?: string;
1935
- }>, z.ZodObject<{
1936
- path: z.ZodString;
1937
- content: z.ZodOptional<z.ZodString>;
1938
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:theme", "registry:style", "registry:item", "registry:base", "registry:font", "registry:example", "registry:internal"]>;
1939
- target: z.ZodOptional<z.ZodString>;
1940
- }, "strip", z.ZodTypeAny, {
1941
- path?: string;
1942
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1943
- content?: string;
1944
- target?: string;
1945
- }, {
1946
- path?: string;
1947
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1948
- content?: string;
1949
- target?: string;
1950
- }>]>, "many">>;
1951
- cssVars: z.ZodOptional<z.ZodObject<{
1952
- theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1953
- light: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1954
- dark: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1955
- }, "strip", z.ZodTypeAny, {
1956
- theme?: Record<string, string>;
1957
- light?: Record<string, string>;
1958
- dark?: Record<string, string>;
1959
- }, {
1960
- theme?: Record<string, string>;
1961
- light?: Record<string, string>;
1962
- dark?: Record<string, string>;
1963
- }>>;
1964
- } & {
1965
- type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:page", "registry:file", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
1966
- }, "strip", z.ZodTypeAny, {
1967
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1968
- name?: string;
1969
- title?: string;
1970
- description?: string;
1971
- dependencies?: string[];
1972
- devDependencies?: string[];
1973
- files?: ({
1974
- path?: string;
1975
- type?: "registry:page" | "registry:file";
1976
- content?: string;
1977
- target?: string;
1978
- } | {
1979
- path?: string;
1980
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
1981
- content?: string;
1982
- target?: string;
1983
- })[];
1984
- cssVars?: {
1985
- theme?: Record<string, string>;
1986
- light?: Record<string, string>;
1987
- dark?: Record<string, string>;
1988
- };
1989
- }, {
1990
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1991
- name?: string;
1992
- title?: string;
1993
- description?: string;
1994
- dependencies?: string[];
1995
- devDependencies?: string[];
1996
- files?: ({
1997
- path?: string;
1998
- type?: "registry:page" | "registry:file";
1999
- content?: string;
2000
- target?: string;
2001
- } | {
2002
- path?: string;
2003
- type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:style" | "registry:item" | "registry:base" | "registry:font" | "registry:example" | "registry:internal";
2004
- content?: string;
2005
- target?: string;
2006
- })[];
2007
- cssVars?: {
2008
- theme?: Record<string, string>;
2009
- light?: Record<string, string>;
2010
- dark?: Record<string, string>;
2011
- };
2012
- }>]>, "many">;
2013
- export declare const stylesSchema: z.ZodArray<z.ZodObject<{
2014
- name: z.ZodString;
2015
- label: z.ZodString;
2016
- }, "strip", z.ZodTypeAny, {
2017
- name?: string;
2018
- label?: string;
2019
- }, {
2020
- name?: string;
2021
- label?: string;
2022
- }>, "many">;
2023
- export declare const iconsSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
2024
- export declare const searchResultItemSchema: z.ZodObject<{
2025
- name: z.ZodString;
2026
- type: z.ZodOptional<z.ZodString>;
2027
- description: z.ZodOptional<z.ZodString>;
2028
- registry: z.ZodString;
2029
- addCommandArgument: z.ZodString;
2030
- }, "strip", z.ZodTypeAny, {
2031
- type?: string;
2032
- name?: string;
2033
- description?: string;
2034
- registry?: string;
2035
- addCommandArgument?: string;
2036
- }, {
2037
- type?: string;
2038
- name?: string;
2039
- description?: string;
2040
- registry?: string;
2041
- addCommandArgument?: string;
2042
- }>;
2043
- export declare const registriesSchema: z.ZodArray<z.ZodObject<{
2044
- name: z.ZodString;
2045
- homepage: z.ZodOptional<z.ZodString>;
2046
- url: z.ZodString;
2047
- description: z.ZodOptional<z.ZodString>;
2048
- }, "strip", z.ZodTypeAny, {
2049
- url?: string;
2050
- name?: string;
2051
- description?: string;
2052
- homepage?: string;
2053
- }, {
2054
- url?: string;
2055
- name?: string;
2056
- description?: string;
2057
- homepage?: string;
2058
- }>, "many">;
2059
- export declare const presetSchema: z.ZodObject<{
2060
- name: z.ZodString;
2061
- title: z.ZodString;
2062
- description: z.ZodString;
2063
- base: z.ZodString;
2064
- style: z.ZodString;
2065
- baseColor: z.ZodString;
2066
- theme: z.ZodString;
2067
- iconLibrary: z.ZodString;
2068
- font: z.ZodString;
2069
- rtl: z.ZodDefault<z.ZodBoolean>;
2070
- menuAccent: z.ZodEnum<["subtle", "bold"]>;
2071
- menuColor: z.ZodEnum<["default", "inverted"]>;
2072
- radius: z.ZodString;
2073
- }, "strip", z.ZodTypeAny, {
2074
- name?: string;
2075
- style?: string;
2076
- baseColor?: string;
2077
- theme?: string;
2078
- title?: string;
2079
- description?: string;
2080
- font?: string;
2081
- base?: string;
2082
- iconLibrary?: string;
2083
- rtl?: boolean;
2084
- menuAccent?: "bold" | "subtle";
2085
- menuColor?: "default" | "inverted";
2086
- radius?: string;
2087
- }, {
2088
- name?: string;
2089
- style?: string;
2090
- baseColor?: string;
2091
- theme?: string;
2092
- title?: string;
2093
- description?: string;
2094
- font?: string;
2095
- base?: string;
2096
- iconLibrary?: string;
2097
- rtl?: boolean;
2098
- menuAccent?: "bold" | "subtle";
2099
- menuColor?: "default" | "inverted";
2100
- radius?: string;
2101
- }>;
2102
- export type Preset = z.infer<typeof presetSchema>;
2103
- export declare const configJsonSchema: z.ZodObject<{
2104
- presets: z.ZodArray<z.ZodObject<{
2105
- name: z.ZodString;
2106
- title: z.ZodString;
2107
- description: z.ZodString;
2108
- base: z.ZodString;
2109
- style: z.ZodString;
2110
- baseColor: z.ZodString;
2111
- theme: z.ZodString;
2112
- iconLibrary: z.ZodString;
2113
- font: z.ZodString;
2114
- rtl: z.ZodDefault<z.ZodBoolean>;
2115
- menuAccent: z.ZodEnum<["subtle", "bold"]>;
2116
- menuColor: z.ZodEnum<["default", "inverted"]>;
2117
- radius: z.ZodString;
2118
- }, "strip", z.ZodTypeAny, {
2119
- name?: string;
2120
- style?: string;
2121
- baseColor?: string;
2122
- theme?: string;
2123
- title?: string;
2124
- description?: string;
2125
- font?: string;
2126
- base?: string;
2127
- iconLibrary?: string;
2128
- rtl?: boolean;
2129
- menuAccent?: "bold" | "subtle";
2130
- menuColor?: "default" | "inverted";
2131
- radius?: string;
2132
- }, {
2133
- name?: string;
2134
- style?: string;
2135
- baseColor?: string;
2136
- theme?: string;
2137
- title?: string;
2138
- description?: string;
2139
- font?: string;
2140
- base?: string;
2141
- iconLibrary?: string;
2142
- rtl?: boolean;
2143
- menuAccent?: "bold" | "subtle";
2144
- menuColor?: "default" | "inverted";
2145
- radius?: string;
2146
- }>, "many">;
2147
- }, "strip", z.ZodTypeAny, {
2148
- presets?: {
2149
- name?: string;
2150
- style?: string;
2151
- baseColor?: string;
2152
- theme?: string;
2153
- title?: string;
2154
- description?: string;
2155
- font?: string;
2156
- base?: string;
2157
- iconLibrary?: string;
2158
- rtl?: boolean;
2159
- menuAccent?: "bold" | "subtle";
2160
- menuColor?: "default" | "inverted";
2161
- radius?: string;
2162
- }[];
2163
- }, {
2164
- presets?: {
2165
- name?: string;
2166
- style?: string;
2167
- baseColor?: string;
2168
- theme?: string;
2169
- title?: string;
2170
- description?: string;
2171
- font?: string;
2172
- base?: string;
2173
- iconLibrary?: string;
2174
- rtl?: boolean;
2175
- menuAccent?: "bold" | "subtle";
2176
- menuColor?: "default" | "inverted";
2177
- radius?: string;
2178
- }[];
2179
- }>;
2180
- export type ConfigJson = z.infer<typeof configJsonSchema>;