ep-craft 0.2.0 → 0.2.2

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 (239) hide show
  1. package/dist-ai/components/affix.json +3 -3
  2. package/dist-ai/components/affix.md +1 -1
  3. package/dist-ai/components/alert.json +3 -3
  4. package/dist-ai/components/alert.md +1 -1
  5. package/dist-ai/components/anchor-link.json +3 -3
  6. package/dist-ai/components/anchor-link.md +1 -1
  7. package/dist-ai/components/anchor.json +3 -3
  8. package/dist-ai/components/anchor.md +1 -1
  9. package/dist-ai/components/aside.json +3 -3
  10. package/dist-ai/components/aside.md +1 -1
  11. package/dist-ai/components/autocomplete.json +86 -86
  12. package/dist-ai/components/autocomplete.md +34 -34
  13. package/dist-ai/components/avatar.json +3 -3
  14. package/dist-ai/components/avatar.md +1 -1
  15. package/dist-ai/components/backtop.json +3 -3
  16. package/dist-ai/components/backtop.md +1 -1
  17. package/dist-ai/components/badge.json +3 -3
  18. package/dist-ai/components/badge.md +1 -1
  19. package/dist-ai/components/breadcrumb-item.json +3 -3
  20. package/dist-ai/components/breadcrumb-item.md +1 -1
  21. package/dist-ai/components/breadcrumb.json +3 -3
  22. package/dist-ai/components/breadcrumb.md +1 -1
  23. package/dist-ai/components/button-group.json +6 -6
  24. package/dist-ai/components/button-group.md +2 -2
  25. package/dist-ai/components/button.json +3 -3
  26. package/dist-ai/components/button.md +1 -1
  27. package/dist-ai/components/calendar.json +3 -3
  28. package/dist-ai/components/calendar.md +1 -1
  29. package/dist-ai/components/card.json +7 -7
  30. package/dist-ai/components/card.md +3 -3
  31. package/dist-ai/components/carousel-item.json +3 -3
  32. package/dist-ai/components/carousel-item.md +1 -1
  33. package/dist-ai/components/carousel.json +3 -3
  34. package/dist-ai/components/carousel.md +1 -1
  35. package/dist-ai/components/cascader-panel.json +3 -3
  36. package/dist-ai/components/cascader-panel.md +1 -1
  37. package/dist-ai/components/cascader.json +9 -9
  38. package/dist-ai/components/cascader.md +3 -3
  39. package/dist-ai/components/check-tag.json +3 -3
  40. package/dist-ai/components/check-tag.md +1 -1
  41. package/dist-ai/components/checkbox-button.json +3 -3
  42. package/dist-ai/components/checkbox-button.md +1 -1
  43. package/dist-ai/components/checkbox-group.json +3 -3
  44. package/dist-ai/components/checkbox-group.md +1 -1
  45. package/dist-ai/components/checkbox.json +3 -3
  46. package/dist-ai/components/checkbox.md +1 -1
  47. package/dist-ai/components/col.json +3 -3
  48. package/dist-ai/components/col.md +1 -1
  49. package/dist-ai/components/collapse-item.json +3 -3
  50. package/dist-ai/components/collapse-item.md +1 -1
  51. package/dist-ai/components/collapse-transition.json +3 -3
  52. package/dist-ai/components/collapse-transition.md +1 -1
  53. package/dist-ai/components/collapse.json +3 -3
  54. package/dist-ai/components/collapse.md +1 -1
  55. package/dist-ai/components/color-picker.json +3 -3
  56. package/dist-ai/components/color-picker.md +1 -1
  57. package/dist-ai/components/config-provider.json +3 -3
  58. package/dist-ai/components/config-provider.md +1 -1
  59. package/dist-ai/components/container.json +3 -3
  60. package/dist-ai/components/container.md +1 -1
  61. package/dist-ai/components/countdown.json +3 -3
  62. package/dist-ai/components/countdown.md +1 -1
  63. package/dist-ai/components/date-picker-panel.json +9 -9
  64. package/dist-ai/components/date-picker-panel.md +4 -4
  65. package/dist-ai/components/date-picker.json +65 -65
  66. package/dist-ai/components/date-picker.md +24 -24
  67. package/dist-ai/components/descriptions-item.json +3 -3
  68. package/dist-ai/components/descriptions-item.md +1 -1
  69. package/dist-ai/components/descriptions.json +3 -3
  70. package/dist-ai/components/descriptions.md +1 -1
  71. package/dist-ai/components/dialog.json +26 -26
  72. package/dist-ai/components/dialog.md +10 -10
  73. package/dist-ai/components/divider.json +3 -3
  74. package/dist-ai/components/divider.md +1 -1
  75. package/dist-ai/components/drawer.json +53 -53
  76. package/dist-ai/components/drawer.md +19 -19
  77. package/dist-ai/components/dropdown-item.json +3 -3
  78. package/dist-ai/components/dropdown-item.md +1 -1
  79. package/dist-ai/components/dropdown-menu.json +5 -5
  80. package/dist-ai/components/dropdown-menu.md +2 -2
  81. package/dist-ai/components/dropdown.json +3 -3
  82. package/dist-ai/components/dropdown.md +1 -1
  83. package/dist-ai/components/empty.json +3 -3
  84. package/dist-ai/components/empty.md +1 -1
  85. package/dist-ai/components/footer.json +3 -3
  86. package/dist-ai/components/footer.md +1 -1
  87. package/dist-ai/components/form-item.json +6 -6
  88. package/dist-ai/components/form-item.md +2 -2
  89. package/dist-ai/components/form.json +3 -3
  90. package/dist-ai/components/form.md +1 -1
  91. package/dist-ai/components/header.json +3 -3
  92. package/dist-ai/components/header.md +1 -1
  93. package/dist-ai/components/icon.json +3 -3
  94. package/dist-ai/components/icon.md +1 -1
  95. package/dist-ai/components/image-viewer.json +3 -3
  96. package/dist-ai/components/image-viewer.md +1 -1
  97. package/dist-ai/components/image.json +3 -3
  98. package/dist-ai/components/image.md +1 -1
  99. package/dist-ai/components/input-number.json +5 -5
  100. package/dist-ai/components/input-number.md +2 -2
  101. package/dist-ai/components/input.json +22 -22
  102. package/dist-ai/components/input.md +9 -9
  103. package/dist-ai/components/link.json +3 -3
  104. package/dist-ai/components/link.md +1 -1
  105. package/dist-ai/components/main.json +3 -3
  106. package/dist-ai/components/main.md +1 -1
  107. package/dist-ai/components/mention.json +86 -86
  108. package/dist-ai/components/mention.md +34 -34
  109. package/dist-ai/components/menu-item-group.json +3 -3
  110. package/dist-ai/components/menu-item-group.md +1 -1
  111. package/dist-ai/components/menu-item.json +3 -3
  112. package/dist-ai/components/menu-item.md +1 -1
  113. package/dist-ai/components/menu.json +3 -3
  114. package/dist-ai/components/menu.md +1 -1
  115. package/dist-ai/components/option-group.json +3 -3
  116. package/dist-ai/components/option-group.md +1 -1
  117. package/dist-ai/components/option.json +6 -6
  118. package/dist-ai/components/option.md +2 -2
  119. package/dist-ai/components/page-header.json +3 -3
  120. package/dist-ai/components/page-header.md +1 -1
  121. package/dist-ai/components/pagination.json +10 -10
  122. package/dist-ai/components/pagination.md +4 -4
  123. package/dist-ai/components/popconfirm.json +3 -3
  124. package/dist-ai/components/popconfirm.md +1 -1
  125. package/dist-ai/components/popover.json +20 -20
  126. package/dist-ai/components/popover.md +7 -7
  127. package/dist-ai/components/popper.json +3 -3
  128. package/dist-ai/components/popper.md +1 -1
  129. package/dist-ai/components/progress.json +6 -6
  130. package/dist-ai/components/progress.md +2 -2
  131. package/dist-ai/components/radio-button.json +8 -8
  132. package/dist-ai/components/radio-button.md +3 -3
  133. package/dist-ai/components/radio-group.json +13 -13
  134. package/dist-ai/components/radio-group.md +5 -5
  135. package/dist-ai/components/radio.json +3 -3
  136. package/dist-ai/components/radio.md +1 -1
  137. package/dist-ai/components/rate.json +5 -5
  138. package/dist-ai/components/rate.md +2 -2
  139. package/dist-ai/components/result.json +3 -3
  140. package/dist-ai/components/result.md +1 -1
  141. package/dist-ai/components/row.json +3 -3
  142. package/dist-ai/components/row.md +1 -1
  143. package/dist-ai/components/scrollbar.json +5 -5
  144. package/dist-ai/components/scrollbar.md +2 -2
  145. package/dist-ai/components/segmented.json +3 -3
  146. package/dist-ai/components/segmented.md +1 -1
  147. package/dist-ai/components/select-v2.json +3 -3
  148. package/dist-ai/components/select-v2.md +1 -1
  149. package/dist-ai/components/select.json +45 -45
  150. package/dist-ai/components/select.md +16 -16
  151. package/dist-ai/components/skeleton-item.json +3 -3
  152. package/dist-ai/components/skeleton-item.md +1 -1
  153. package/dist-ai/components/skeleton.json +3 -3
  154. package/dist-ai/components/skeleton.md +1 -1
  155. package/dist-ai/components/slider.json +10 -10
  156. package/dist-ai/components/slider.md +4 -4
  157. package/dist-ai/components/space.json +6 -6
  158. package/dist-ai/components/space.md +2 -2
  159. package/dist-ai/components/statistic.json +3 -3
  160. package/dist-ai/components/statistic.md +1 -1
  161. package/dist-ai/components/step.json +3 -3
  162. package/dist-ai/components/step.md +1 -1
  163. package/dist-ai/components/steps.json +3 -3
  164. package/dist-ai/components/steps.md +1 -1
  165. package/dist-ai/components/sub-menu.json +3 -3
  166. package/dist-ai/components/sub-menu.md +1 -1
  167. package/dist-ai/components/switch.json +14 -14
  168. package/dist-ai/components/switch.md +6 -6
  169. package/dist-ai/components/tab-pane.json +3 -3
  170. package/dist-ai/components/tab-pane.md +1 -1
  171. package/dist-ai/components/table-column.json +9 -9
  172. package/dist-ai/components/table-column.md +4 -4
  173. package/dist-ai/components/table-v2.json +3 -3
  174. package/dist-ai/components/table-v2.md +1 -1
  175. package/dist-ai/components/table.json +38 -38
  176. package/dist-ai/components/table.md +16 -16
  177. package/dist-ai/components/tabs.json +8 -8
  178. package/dist-ai/components/tabs.md +3 -3
  179. package/dist-ai/components/tag.json +3 -3
  180. package/dist-ai/components/tag.md +1 -1
  181. package/dist-ai/components/text.json +3 -3
  182. package/dist-ai/components/text.md +1 -1
  183. package/dist-ai/components/time-picker.json +3 -3
  184. package/dist-ai/components/time-picker.md +1 -1
  185. package/dist-ai/components/time-select.json +3 -3
  186. package/dist-ai/components/time-select.md +1 -1
  187. package/dist-ai/components/timeline-item.json +3 -3
  188. package/dist-ai/components/timeline-item.md +1 -1
  189. package/dist-ai/components/timeline.json +3 -3
  190. package/dist-ai/components/timeline.md +1 -1
  191. package/dist-ai/components/tooltip.json +73 -73
  192. package/dist-ai/components/tooltip.md +30 -30
  193. package/dist-ai/components/tour-step.json +3 -3
  194. package/dist-ai/components/tour-step.md +1 -1
  195. package/dist-ai/components/tour.json +3 -3
  196. package/dist-ai/components/tour.md +1 -1
  197. package/dist-ai/components/transfer.json +3 -3
  198. package/dist-ai/components/transfer.md +1 -1
  199. package/dist-ai/components/tree-select.json +136 -136
  200. package/dist-ai/components/tree-select.md +50 -50
  201. package/dist-ai/components/tree-v2.json +3 -3
  202. package/dist-ai/components/tree-v2.md +1 -1
  203. package/dist-ai/components/tree.json +3 -3
  204. package/dist-ai/components/tree.md +1 -1
  205. package/dist-ai/components/upload.json +8 -8
  206. package/dist-ai/components/upload.md +3 -3
  207. package/dist-ai/components/watermark.json +3 -3
  208. package/dist-ai/components/watermark.md +1 -1
  209. package/dist-ai/directives/click-outside.json +3 -3
  210. package/dist-ai/directives/click-outside.md +1 -1
  211. package/dist-ai/directives/infinite-scroll.json +3 -3
  212. package/dist-ai/directives/infinite-scroll.md +2 -1
  213. package/dist-ai/directives/loading.json +3 -3
  214. package/dist-ai/directives/loading.md +2 -1
  215. package/dist-ai/directives/mousewheel.json +3 -3
  216. package/dist-ai/directives/mousewheel.md +1 -1
  217. package/dist-ai/directives/repeat-click.json +3 -3
  218. package/dist-ai/directives/repeat-click.md +1 -1
  219. package/dist-ai/directives/trap-focus.json +3 -3
  220. package/dist-ai/directives/trap-focus.md +1 -1
  221. package/dist-ai/icons.json +1 -1
  222. package/dist-ai/index.json +1 -1
  223. package/dist-ai/llms.txt +117 -117
  224. package/dist-ai/manifest.json +255 -25512
  225. package/dist-ai/schema/card.schema.json +696 -0
  226. package/dist-ai/schema/icons.schema.json +151 -0
  227. package/dist-ai/schema/index.schema.json +137 -0
  228. package/dist-ai/schema/manifest.schema.json +21 -636
  229. package/dist-ai/services/infinite-scroll.json +4 -4
  230. package/dist-ai/services/infinite-scroll.md +9 -4
  231. package/dist-ai/services/loading.json +3 -3
  232. package/dist-ai/services/loading.md +2 -1
  233. package/dist-ai/services/message-box.json +3 -3
  234. package/dist-ai/services/message-box.md +1 -1
  235. package/dist-ai/services/message.json +3 -3
  236. package/dist-ai/services/message.md +1 -1
  237. package/dist-ai/services/notification.json +3 -3
  238. package/dist-ai/services/notification.md +1 -1
  239. package/package.json +3 -1
@@ -1,5 +1,8 @@
1
1
  {
2
- "$defs": {
2
+ "$id": "https://ep-craft.local/schema/manifest.schema.json",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "additionalProperties": false,
5
+ "definitions": {
3
6
  "categoryEntry": {
4
7
  "additionalProperties": false,
5
8
  "properties": {
@@ -33,7 +36,7 @@
33
36
  ],
34
37
  "type": "object"
35
38
  },
36
- "componentEntry": {
39
+ "manifestEntry": {
37
40
  "additionalProperties": false,
38
41
  "properties": {
39
42
  "category": {
@@ -50,202 +53,27 @@
50
53
  "other"
51
54
  ]
52
55
  },
53
- "events": {
54
- "items": {
55
- "$ref": "#/$defs/eventEntry"
56
- },
57
- "type": "array"
58
- },
59
- "exampleOmittedReason": {
60
- "type": [
61
- "string",
62
- "null"
63
- ]
64
- },
65
- "examples": {
66
- "items": {
67
- "$ref": "#/$defs/exampleEntry"
68
- },
69
- "type": "array"
70
- },
71
- "exposes": {
72
- "items": {
73
- "$ref": "#/$defs/exposeEntry"
74
- },
75
- "type": "array"
56
+ "hasExamples": {
57
+ "type": "boolean"
76
58
  },
77
59
  "hot": {
78
60
  "type": "boolean"
79
61
  },
80
62
  "id": {
81
- "pattern": "^component:",
63
+ "pattern": "^(component|service|directive):",
82
64
  "type": "string"
83
65
  },
84
- "keywords": {
85
- "$ref": "#/$defs/keywordSet"
86
- },
87
66
  "kind": {
88
- "const": "component"
89
- },
90
- "name": {
91
- "minLength": 1,
92
- "type": "string"
93
- },
94
- "nonUseCases": {
95
- "items": {
96
- "type": "string"
97
- },
98
- "type": "array"
99
- },
100
- "props": {
101
- "items": {
102
- "$ref": "#/$defs/propEntry"
103
- },
104
- "type": "array"
105
- },
106
- "related": {
107
- "items": {
108
- "type": "string"
109
- },
110
- "type": "array"
111
- },
112
- "relations": {
113
- "$ref": "#/$defs/relationEntry"
114
- },
115
- "slots": {
116
- "items": {
117
- "$ref": "#/$defs/slotEntry"
118
- },
119
- "type": "array"
120
- },
121
- "slug": {
122
- "minLength": 1,
123
- "type": "string"
124
- },
125
- "summary": {
126
- "minLength": 1,
127
- "type": "string"
128
- },
129
- "tag": {
130
- "pattern": "^ep-",
131
- "type": "string"
132
- },
133
- "useCases": {
134
- "items": {
135
- "type": "string"
136
- },
137
- "type": "array"
138
- },
139
- "variants": {
140
- "items": {
141
- "$ref": "#/$defs/variantEntry"
142
- },
143
- "type": "array"
144
- },
145
- "visual": {
146
- "$ref": "#/$defs/visualHints"
147
- }
148
- },
149
- "required": [
150
- "kind",
151
- "id",
152
- "name",
153
- "tag",
154
- "slug",
155
- "category",
156
- "summary",
157
- "keywords",
158
- "useCases",
159
- "nonUseCases",
160
- "hot",
161
- "variants",
162
- "relations",
163
- "visual",
164
- "props",
165
- "events",
166
- "slots",
167
- "exposes",
168
- "examples",
169
- "exampleOmittedReason",
170
- "related"
171
- ],
172
- "type": "object"
173
- },
174
- "directiveEntry": {
175
- "additionalProperties": false,
176
- "properties": {
177
- "bindingForm": {
178
- "minLength": 1,
179
- "type": "string"
180
- },
181
- "category": {
182
67
  "enum": [
183
- "basic",
184
- "layout",
185
- "form",
186
- "data",
187
- "navigation",
188
- "feedback",
189
- "media",
190
- "date-time",
191
- "interaction",
192
- "other"
193
- ]
194
- },
195
- "constraints": {
196
- "items": {
197
- "type": "string"
198
- },
199
- "type": "array"
200
- },
201
- "exampleOmittedReason": {
202
- "type": [
203
- "string",
204
- "null"
68
+ "component",
69
+ "service",
70
+ "directive"
205
71
  ]
206
72
  },
207
- "examples": {
208
- "items": {
209
- "$ref": "#/$defs/exampleEntry"
210
- },
211
- "type": "array"
212
- },
213
- "exportNames": {
214
- "items": {
215
- "type": "string"
216
- },
217
- "type": "array"
218
- },
219
- "id": {
220
- "pattern": "^directive:",
221
- "type": "string"
222
- },
223
- "keywords": {
224
- "$ref": "#/$defs/keywordSet"
225
- },
226
- "kind": {
227
- "const": "directive"
228
- },
229
73
  "name": {
230
74
  "minLength": 1,
231
75
  "type": "string"
232
76
  },
233
- "options": {
234
- "items": {
235
- "$ref": "#/$defs/optionEntry"
236
- },
237
- "type": "array"
238
- },
239
- "registrationName": {
240
- "minLength": 1,
241
- "type": "string"
242
- },
243
- "serviceId": {
244
- "type": [
245
- "string",
246
- "null"
247
- ]
248
- },
249
77
  "slug": {
250
78
  "minLength": 1,
251
79
  "type": "string"
@@ -253,481 +81,38 @@
253
81
  "summary": {
254
82
  "minLength": 1,
255
83
  "type": "string"
256
- }
257
- },
258
- "required": [
259
- "kind",
260
- "id",
261
- "name",
262
- "slug",
263
- "registrationName",
264
- "exportNames",
265
- "category",
266
- "summary",
267
- "keywords",
268
- "bindingForm",
269
- "options",
270
- "constraints",
271
- "examples",
272
- "exampleOmittedReason",
273
- "serviceId"
274
- ],
275
- "type": "object"
276
- },
277
- "eventEntry": {
278
- "additionalProperties": false,
279
- "properties": {
280
- "description": {
281
- "type": "string"
282
- },
283
- "name": {
284
- "minLength": 1,
285
- "type": "string"
286
- },
287
- "params": {
288
- "type": "string"
289
- }
290
- },
291
- "required": [
292
- "name",
293
- "params",
294
- "description"
295
- ],
296
- "type": "object"
297
- },
298
- "exampleEntry": {
299
- "additionalProperties": false,
300
- "properties": {
301
- "code": {
302
- "minLength": 1,
303
- "type": "string"
304
- },
305
- "id": {
306
- "minLength": 1,
307
- "type": "string"
308
- },
309
- "language": {
310
- "enum": [
311
- "vue",
312
- "ts"
313
- ]
314
- },
315
- "title": {
316
- "minLength": 1,
317
- "type": "string"
318
- }
319
- },
320
- "required": [
321
- "id",
322
- "title",
323
- "language",
324
- "code"
325
- ],
326
- "type": "object"
327
- },
328
- "exposeEntry": {
329
- "additionalProperties": false,
330
- "properties": {
331
- "description": {
332
- "type": "string"
333
- },
334
- "name": {
335
- "minLength": 1,
336
- "type": "string"
337
- },
338
- "type": {
339
- "type": "string"
340
- }
341
- },
342
- "required": [
343
- "name",
344
- "type",
345
- "description"
346
- ],
347
- "type": "object"
348
- },
349
- "iconCategoryEntry": {
350
- "additionalProperties": false,
351
- "properties": {
352
- "id": {
353
- "enum": [
354
- "arrow",
355
- "edit",
356
- "media",
357
- "people",
358
- "weather",
359
- "commerce",
360
- "device",
361
- "communication",
362
- "other"
363
- ]
364
- },
365
- "label": {
366
- "minLength": 1,
367
- "type": "string"
368
- },
369
- "summary": {
370
- "minLength": 1,
371
- "type": "string"
372
- }
373
- },
374
- "required": [
375
- "id",
376
- "label",
377
- "summary"
378
- ],
379
- "type": "object"
380
- },
381
- "keywordSet": {
382
- "additionalProperties": false,
383
- "properties": {
384
- "en": {
385
- "items": {
386
- "type": "string"
387
- },
388
- "type": "array"
389
- },
390
- "zh": {
391
- "items": {
392
- "type": "string"
393
- },
394
- "type": "array"
395
- }
396
- },
397
- "required": [
398
- "zh",
399
- "en"
400
- ],
401
- "type": "object"
402
- },
403
- "methodEntry": {
404
- "additionalProperties": false,
405
- "properties": {
406
- "description": {
407
- "type": "string"
408
- },
409
- "name": {
410
- "minLength": 1,
411
- "type": "string"
412
- },
413
- "signature": {
414
- "type": "string"
415
- }
416
- },
417
- "required": [
418
- "name",
419
- "signature",
420
- "description"
421
- ],
422
- "type": "object"
423
- },
424
- "optionEntry": {
425
- "additionalProperties": false,
426
- "properties": {
427
- "defaultText": {
428
- "type": [
429
- "string",
430
- "null"
431
- ]
432
- },
433
- "description": {
434
- "type": "string"
435
- },
436
- "name": {
437
- "minLength": 1,
438
- "type": "string"
439
- },
440
- "required": {
441
- "type": "boolean"
442
- },
443
- "type": {
444
- "minLength": 1,
445
- "type": "string"
446
- }
447
- },
448
- "required": [
449
- "name",
450
- "type",
451
- "required",
452
- "defaultText",
453
- "description"
454
- ],
455
- "type": "object"
456
- },
457
- "propEntry": {
458
- "additionalProperties": false,
459
- "properties": {
460
- "alias": {
461
- "type": [
462
- "string",
463
- "null"
464
- ]
465
- },
466
- "defaultText": {
467
- "type": [
468
- "string",
469
- "null"
470
- ]
471
- },
472
- "description": {
473
- "type": "string"
474
- },
475
- "hasDefault": {
476
- "type": "boolean"
477
- },
478
- "name": {
479
- "minLength": 1,
480
- "type": "string"
481
- },
482
- "required": {
483
- "type": "boolean"
484
- },
485
- "type": {
486
- "minLength": 1,
487
- "type": "string"
488
- }
489
- },
490
- "required": [
491
- "name",
492
- "alias",
493
- "type",
494
- "required",
495
- "hasDefault",
496
- "defaultText",
497
- "description"
498
- ],
499
- "type": "object"
500
- },
501
- "relationEntry": {
502
- "additionalProperties": false,
503
- "properties": {
504
- "children": {
505
- "items": {
506
- "type": "string"
507
- },
508
- "type": "array"
509
- },
510
- "combos": {
511
- "items": {
512
- "type": "string"
513
- },
514
- "type": "array"
515
- },
516
- "parents": {
517
- "items": {
518
- "type": "string"
519
- },
520
- "type": "array"
521
- },
522
- "requiredChildren": {
523
- "items": {
524
- "type": "string"
525
- },
526
- "type": "array"
527
- }
528
- },
529
- "required": [
530
- "parents",
531
- "children",
532
- "requiredChildren",
533
- "combos"
534
- ],
535
- "type": "object"
536
- },
537
- "serviceEntry": {
538
- "additionalProperties": false,
539
- "properties": {
540
- "callForm": {
541
- "minLength": 1,
542
- "type": "string"
543
84
  },
544
- "category": {
545
- "enum": [
546
- "basic",
547
- "layout",
548
- "form",
549
- "data",
550
- "navigation",
551
- "feedback",
552
- "media",
553
- "date-time",
554
- "interaction",
555
- "other"
556
- ]
557
- },
558
- "constraints": {
559
- "items": {
560
- "type": "string"
561
- },
562
- "type": "array"
563
- },
564
- "directiveId": {
565
- "type": [
566
- "string",
567
- "null"
568
- ]
569
- },
570
- "exampleOmittedReason": {
85
+ "tag": {
571
86
  "type": [
572
87
  "string",
573
88
  "null"
574
89
  ]
575
- },
576
- "examples": {
577
- "items": {
578
- "$ref": "#/$defs/exampleEntry"
579
- },
580
- "type": "array"
581
- },
582
- "id": {
583
- "pattern": "^service:",
584
- "type": "string"
585
- },
586
- "keywords": {
587
- "$ref": "#/$defs/keywordSet"
588
- },
589
- "kind": {
590
- "const": "service"
591
- },
592
- "methods": {
593
- "items": {
594
- "$ref": "#/$defs/methodEntry"
595
- },
596
- "type": "array"
597
- },
598
- "name": {
599
- "minLength": 1,
600
- "type": "string"
601
- },
602
- "options": {
603
- "items": {
604
- "$ref": "#/$defs/optionEntry"
605
- },
606
- "type": "array"
607
- },
608
- "slug": {
609
- "minLength": 1,
610
- "type": "string"
611
- },
612
- "summary": {
613
- "minLength": 1,
614
- "type": "string"
615
90
  }
616
91
  },
617
92
  "required": [
618
- "kind",
619
93
  "id",
94
+ "kind",
620
95
  "name",
96
+ "tag",
621
97
  "slug",
622
98
  "category",
623
99
  "summary",
624
- "keywords",
625
- "callForm",
626
- "options",
627
- "methods",
628
- "constraints",
629
- "examples",
630
- "exampleOmittedReason",
631
- "directiveId"
632
- ],
633
- "type": "object"
634
- },
635
- "slotEntry": {
636
- "additionalProperties": false,
637
- "properties": {
638
- "description": {
639
- "type": "string"
640
- },
641
- "name": {
642
- "minLength": 1,
643
- "type": "string"
644
- }
645
- },
646
- "required": [
647
- "name",
648
- "description"
649
- ],
650
- "type": "object"
651
- },
652
- "variantEntry": {
653
- "additionalProperties": false,
654
- "properties": {
655
- "dimension": {
656
- "enum": [
657
- "type",
658
- "size",
659
- "state",
660
- "effect"
661
- ]
662
- },
663
- "values": {
664
- "items": {
665
- "type": "string"
666
- },
667
- "type": "array"
668
- },
669
- "when": {
670
- "minLength": 1,
671
- "type": "string"
672
- }
673
- },
674
- "required": [
675
- "dimension",
676
- "values",
677
- "when"
678
- ],
679
- "type": "object"
680
- },
681
- "visualHints": {
682
- "additionalProperties": false,
683
- "properties": {
684
- "cssVars": {
685
- "items": {
686
- "type": "string"
687
- },
688
- "type": "array"
689
- },
690
- "density": {
691
- "type": [
692
- "string",
693
- "null"
694
- ]
695
- },
696
- "shape": {
697
- "type": [
698
- "string",
699
- "null"
700
- ]
701
- },
702
- "slotContent": {
703
- "items": {
704
- "type": "string"
705
- },
706
- "type": "array"
707
- }
708
- },
709
- "required": [
710
- "shape",
711
- "density",
712
- "slotContent",
713
- "cssVars"
100
+ "hot",
101
+ "hasExamples"
714
102
  ],
715
103
  "type": "object"
716
104
  }
717
105
  },
718
- "$id": "https://ep-craft.local/schema/manifest.schema.json",
719
- "$schema": "https://json-schema.org/draft/2020-12/schema",
720
- "additionalProperties": false,
721
106
  "properties": {
722
107
  "categories": {
723
108
  "items": {
724
- "$ref": "#/$defs/categoryEntry"
109
+ "$ref": "#/definitions/categoryEntry"
725
110
  },
726
111
  "type": "array"
727
112
  },
728
113
  "components": {
729
114
  "items": {
730
- "$ref": "#/$defs/componentEntry"
115
+ "$ref": "#/definitions/manifestEntry"
731
116
  },
732
117
  "type": "array"
733
118
  },
@@ -756,7 +141,7 @@
756
141
  },
757
142
  "directives": {
758
143
  "items": {
759
- "$ref": "#/$defs/directiveEntry"
144
+ "$ref": "#/definitions/manifestEntry"
760
145
  },
761
146
  "type": "array"
762
147
  },
@@ -769,11 +154,11 @@
769
154
  "type": "string"
770
155
  },
771
156
  "schemaVersion": {
772
- "const": 1
157
+ "const": 2
773
158
  },
774
159
  "services": {
775
160
  "items": {
776
- "$ref": "#/$defs/serviceEntry"
161
+ "$ref": "#/definitions/manifestEntry"
777
162
  },
778
163
  "type": "array"
779
164
  }