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",
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user