mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
Description
Shared library for page publishing (snapshot payloads, SSR helpers, shared schemas, and storage contracts).
The Cloudflare Durable Object implementation is expected to use SQLite with the Logseq datascript fork layered on top. Page publish payloads are expected to send datoms (transit) so the DO can reconstruct/query datascript state.
See deps/publish/worker for a Cloudflare Worker skeleton that stores transit
blobs in R2 and metadata in a SQLite-backed Durable Object.
API
Namespaces live under logseq.publish.
Usage
This module is intended to be consumed by the Logseq app and the publishing worker.
Dev
Keep this module aligned with the main repo's linting and testing conventions.