feat: implement the bDS2-compatible core Lua API

This commit is contained in:
2026-07-19 09:24:39 +02:00
parent 33929fd04b
commit 9a72287fc6
37 changed files with 11990 additions and 117 deletions

View File

@@ -0,0 +1,7 @@
function main()
local project = bds.projects.get_active()
if project == nil then return { processed = 0 } end
local posts = bds.posts.get_all()
bds.report_progress({ current = #posts, total = #posts, message = "Complete" })
return { processed = #posts }
end