16 lines
860 B
Typst
16 lines
860 B
Typst
// ==========================================
|
|
// ВНУТРЕННИЙ API ЯДРА
|
|
// .template/lib/index.typ реэкспортирует только поддерживаемую публичную поверхность.
|
|
// ==========================================
|
|
#import "application/render-document.typ": render-document
|
|
#import "domain/document.typ": document-profile, render-options
|
|
#import "domain/company.typ": company-profile
|
|
#import "domain/parties.typ": party, recipient, signer, approval
|
|
#import "domain/attachments.typ": attachment, attachment-set, validate-attachment-set
|
|
#import "domain/references.typ": bibliography-section
|
|
#import "infrastructure/company-assets.typ": load-company, available-companies
|
|
|
|
#let document(body, company: "scientia", profile: none, options: (:)) = {
|
|
render-document(body, company, profile, options: options)
|
|
}
|