Wrapper struct for rendered Typst documents.
This is the return type of all render actions declared via the AshTypst.Resource
extension. The data field contains the raw binary output (PDF, SVG string, or
HTML string) and format indicates which export was used.
Summary
Types
@type t() :: %AshTypst.Document{ data: binary(), format: :pdf | :svg | :html, page_count: non_neg_integer(), warnings: [AshTypst.Diagnostic.t()] }