Body, Mind & Soul — API Reference
    Preparing search index...

    Function syncTriggerSchemaExport

    • Keep the runtime-exported trigger schema JSON (world Data/ root, see triggerSchemaExportPath()) in sync with the current registry. Called from the GM-gated ready hook in body-mind-and-soul.mjs on every world boot. Content-diffs against the existing file (ignoring generatedAt, which always differs) and skips the upload entirely when nothing changed, so a normal reload doesn't write to disk every time.

      Returns Promise<boolean>

      true if a new file was uploaded, false if skipped/failed