ExportServiceDeps
@forge/monorepo / backend/src / ExportServiceDeps
Type Alias: ExportServiceDeps
ExportServiceDeps =
object
Defined in: backend/src/export/index.ts:68
Properties
artifacts
readonlyartifacts:ArtifactService
Defined in: backend/src/export/index.ts:69
clock?
readonlyoptionalclock?: () =>string
Defined in: backend/src/export/index.ts:74
Returns
string
content
readonlycontent:FileContentStore
Defined in: backend/src/export/index.ts:72
contentKey?
readonlyoptionalcontentKey?: () =>string
Defined in: backend/src/export/index.ts:77
Returns
string
dispatcher?
readonlyoptionaldispatcher?:ExportDispatcher
Defined in: backend/src/export/index.ts:73
documentDate?
readonlyoptionaldocumentDate?: () =>string
Defined in: backend/src/export/index.ts:85
The date stamped into a rendered PDF.
Defaults to a constant, not to now. AC-6 is byte-for-byte reproducibility, and a real timestamp makes it unachievable — every comparison would fail on a field nobody reads. A deployment that wants real dates in its PDFs sets this and gives up the guarantee knowingly.
Returns
string
exportId?
readonlyoptionalexportId?: () =>string
Defined in: backend/src/export/index.ts:75
Returns
string
exports
readonlyexports:ArtifactExportStore
Defined in: backend/src/export/index.ts:70
fileId?
readonlyoptionalfileId?: () =>string
Defined in: backend/src/export/index.ts:76
Returns
string
files
readonlyfiles:FileMetadataStore
Defined in: backend/src/export/index.ts:71
log?
readonlyoptionallog?: (message,detail?) =>void
Defined in: backend/src/export/index.ts:94
Parameters
message
string
detail?
Readonly<Record<string, unknown>>
Returns
void
maxExportBytes?
readonlyoptionalmaxExportBytes?:number
Defined in: backend/src/export/index.ts:93
The ceiling on a rendered export.
Injectable rather than a constant, for the reason UploadLimits is in #129: the real ceiling belongs to
the storage bucket, and a limit here larger than the bucket's would refuse at the wrong moment with the
wrong number. Defaults to MAX_EXPORT_BYTES.