mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-05 19:19:35 +00:00
12 lines
292 B
Lua
12 lines
292 B
Lua
-- Social feed module
|
|
|
|
---@class FeedModule
|
|
---@field post fun(author: string, content: string, timestamp: string): FeedPost
|
|
---@field list fun(posts: FeedPost[], layout?: string): FeedList
|
|
local feed = {
|
|
post = require("feed.post"),
|
|
list = require("feed.list")
|
|
}
|
|
|
|
return feed
|