Function: getFacilityContractPdfUrl()
getFacilityContractPdfUrl(
contractId,download?):Promise<{ok:true;url:string; } | {error:string;ok:false; }>
Defined in: src/server/actions/facilities.ts:758
Read-only: a short-lived signed URL for a stored contract PDF (inline view or forced download). Like the invoice PDF viewer — the bucket is private, so access goes through this admin-gated action.
Parameters
contractId
string
download?
boolean = false
Returns
Promise<{ ok: true; url: string; } | { error: string; ok: false; }>