File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -224,17 +224,21 @@ export const IconSchema = z
224
224
. passthrough ( ) ;
225
225
226
226
/**
227
- * Optional set of sized icons that the client can display in a user interface .
227
+ * Base schema to add ` icons` property .
228
228
*
229
- * Clients that support rendering icons MUST support at least the following MIME types:
230
- * - `image/png` - PNG images (safe, universal compatibility)
231
- * - `image/jpeg` (and `image/jpg`) - JPEG images (safe, universal compatibility)
232
- *
233
- * Clients that support rendering icons SHOULD also support:
234
- * - `image/svg+xml` - SVG images (scalable but requires security precautions)
235
- * - `image/webp` - WebP images (modern, efficient format)
236
229
*/
237
230
export const IconsSchema = z . object ( {
231
+ /**
232
+ * Optional set of sized icons that the client can display in a user interface.
233
+ *
234
+ * Clients that support rendering icons MUST support at least the following MIME types:
235
+ * - `image/png` - PNG images (safe, universal compatibility)
236
+ * - `image/jpeg` (and `image/jpg`) - JPEG images (safe, universal compatibility)
237
+ *
238
+ * Clients that support rendering icons SHOULD also support:
239
+ * - `image/svg+xml` - SVG images (scalable but requires security precautions)
240
+ * - `image/webp` - WebP images (modern, efficient format)
241
+ */
238
242
icons : z . array ( IconSchema ) . optional ( ) ,
239
243
} ) . passthrough ( ) ;
240
244
You can’t perform that action at this time.
0 commit comments