Skip to content

Commit ee5e498

Browse files
committed
Add highlighted flags (with default to them being false)
1 parent 2fdc8a5 commit ee5e498

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

catalog.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ labspaces:
1919
level: Beginner
2020
tags:
2121
- getting-started
22+
highlighted: true
2223

2324
- title: Using MCP Servers with the MCP Gateway
2425
description: |
@@ -32,3 +33,4 @@ labspaces:
3233
- ai
3334
- mcp-gateway
3435
- getting-started
36+
highlighted: true

generator/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ async function validate() {
2929
.max(new Date(), { error: "Can't have a future date" }),
3030
level: zod.enum(['Beginner', 'Intermediate', 'Advanced']),
3131
tags: zod.array(zod.enum(availableTags)),
32+
highlighted: zod.boolean().optional().default(false),
3233
})
3334
);
3435

0 commit comments

Comments
 (0)