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:
parent
e1db6f16cd
commit
140633314f
@ -56,10 +56,20 @@ func (sys *System) GetCapabilities() adapter.Capabilities {
|
||||
ID: "list:posts",
|
||||
Name: "List Posts",
|
||||
},
|
||||
// TODO: https://github.com/hermanschaaf/hackernews/issues/1
|
||||
// adapter.Capability{
|
||||
// ID: "create:post",
|
||||
// Name: "Create Post",
|
||||
// },
|
||||
adapter.Capability{
|
||||
ID: "list:replies",
|
||||
Name: "List Replies",
|
||||
},
|
||||
// TODO: https://github.com/hermanschaaf/hackernews/issues/1
|
||||
// adapter.Capability{
|
||||
// ID: "create:reply",
|
||||
// Name: "Create Reply",
|
||||
// },
|
||||
)
|
||||
|
||||
return caps
|
||||
|
@ -50,14 +50,30 @@ func (sys *System) GetCapabilities() adapter.Capabilities {
|
||||
var caps []adapter.Capability
|
||||
|
||||
caps = append(caps,
|
||||
// TODO: https://github.com/Arsen6331/go-lemmy/issues/2
|
||||
// adapter.Capability{
|
||||
// ID: "list:forums",
|
||||
// Name: "List Forums",
|
||||
// },
|
||||
adapter.Capability{
|
||||
ID: "list:posts",
|
||||
Name: "List Posts",
|
||||
},
|
||||
adapter.Capability{
|
||||
ID: "create:post",
|
||||
Name: "Create Post",
|
||||
},
|
||||
// TODO: Not possible without list:forums
|
||||
// adapter.Capability{
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user