api.typ 860 B

123456789101112131415
  1. // ==========================================
  2. // ВНУТРЕННИЙ API ЯДРА
  3. // .template/lib/index.typ реэкспортирует только поддерживаемую публичную поверхность.
  4. // ==========================================
  5. #import "application/render-document.typ": render-document
  6. #import "domain/document.typ": document-profile, render-options
  7. #import "domain/company.typ": company-profile
  8. #import "domain/parties.typ": party, recipient, signer, approval
  9. #import "domain/attachments.typ": attachment, attachment-set, validate-attachment-set
  10. #import "domain/references.typ": bibliography-section
  11. #import "infrastructure/company-assets.typ": load-company, available-companies
  12. #let document(body, company: "scientia", profile: none, options: (:)) = {
  13. render-document(body, company, profile, options: options)
  14. }