OptionalenabledThe file to resolve a thumbnail for.
Generators tried in order; the first one whose canHandle returns true runs.
Resolve a fetch-able URL for the file (e.g. a presigned S3 URL).
OptionalmaxLongest edge of the generated thumbnail, in pixels. Defaults to 320.
OptionalvisibleLive visibility of the consuming element. When false, the hook does no
work at all — no cache read, no generation — and any in-flight generation
is aborted; an already-resolved thumbnail is retained. Defaults to true.
Permission to run generators. When
false, the hook resolves from the cache but does not run any generator. Defaults totrue.