File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
exercises/03.resources/04.problem.completion/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export async function initializeResources(agent: EpicMeMCP) {
2828 'tag' ,
2929 new ResourceTemplate ( 'epicme://tags/{id}' , {
3030 // 🐨 add a `complete` callback for the `id` parameter
31+ // 🐨 accept a value and return an array of strings of ids that include the value
3132 // 💰 const tags = await agent.db.getTags()
3233 list : async ( ) => {
3334 const tags = await agent . db . getTags ( )
@@ -63,6 +64,7 @@ export async function initializeResources(agent: EpicMeMCP) {
6364 'entry' ,
6465 new ResourceTemplate ( 'epicme://entries/{id}' , {
6566 // 🐨 add a `complete` callback for the `id` parameter
67+ // 🐨 accept a value and return an array of strings of ids that include the value
6668 // 💰 const entries = await agent.db.getEntries()
6769 list : async ( ) => {
6870 const entries = await agent . db . getEntries ( )
You can’t perform that action at this time.
0 commit comments