Skip to content

SudoSOS Back-end API / internal/pdf / IStoredPdfService

Interface: IStoredPdfService<T, S> ​

Optional interface for services that also persist and return a Pdf entity. Services that do not persist can simply not implement this interface.

Type Parameters ​

Type Parameter
T
S extends Pdf

Methods ​

createPdfWithEntity() ​

ts
createPdfWithEntity(entity): Promise<S>;

Parameters ​

ParameterType
entityT

Returns ​

Promise<S>