Skip to content

@nhtio/lucid-resourceful/private/lucid_augmentations

Module augmentations that surface the relation-cache public methods on Lucid's own contracts, so Model.query().preloadCached(...) and instance.load(name, { forceLoad }) typecheck for consumers.

The methods are installed at runtime by withResourceful's static query() and instance load() overrides; these declarations describe their shapes without changing Lucid's runtime behavior.