1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-12-04 14:46:37 -05:00

Updated capabilities with TODOs

This commit is contained in:
マリウス 2023-01-05 13:24:32 -05:00
parent e1db6f16cd
commit 140633314f
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F
2 changed files with 30 additions and 4 deletions

View File

@ -56,10 +56,20 @@ func (sys *System) GetCapabilities() adapter.Capabilities {
ID: "list:posts", ID: "list:posts",
Name: "List Posts", Name: "List Posts",
}, },
// TODO: https://github.com/hermanschaaf/hackernews/issues/1
// adapter.Capability{
// ID: "create:post",
// Name: "Create Post",
// },
adapter.Capability{ adapter.Capability{
ID: "list:replies", ID: "list:replies",
Name: "List Replies", Name: "List Replies",
}, },
// TODO: https://github.com/hermanschaaf/hackernews/issues/1
// adapter.Capability{
// ID: "create:reply",
// Name: "Create Reply",
// },
) )
return caps return caps

View File

@ -50,14 +50,30 @@ func (sys *System) GetCapabilities() adapter.Capabilities {
var caps []adapter.Capability var caps []adapter.Capability
caps = append(caps, caps = append(caps,
// TODO: https://github.com/Arsen6331/go-lemmy/issues/2
// adapter.Capability{
// ID: "list:forums",
// Name: "List Forums",
// },
adapter.Capability{ adapter.Capability{
ID: "list:posts", ID: "list:posts",
Name: "List Posts", Name: "List Posts",
}, },
adapter.Capability{ // TODO: Not possible without list:forums
ID: "create:post", // adapter.Capability{
Name: "Create Post", // ID: "create:post",
}, // Name: "Create Post",
// },
// TODO: https://github.com/Arsen6331/go-lemmy/issues/1
// adapter.Capability{
// ID: "list:replies",
// Name: "List Replies",
// },
// TODO: Maybe possible but kind of pointless without list:replies
// adapter.Capability{
// ID: "create:reply",
// Name: "Create Reply",
// },
) )
return caps return caps