route element file uploads
Add short and long PDF paths to elements, keep pdfPath as a short PDF compatibility alias, and route generic file uploads by fileType.
This commit is contained in:
parent
0d5783ba9c
commit
9bbabc7fa6
28 changed files with 686 additions and 214 deletions
|
|
@ -10,16 +10,15 @@ class UpdateElementRequest
|
|||
public ?string $description,
|
||||
public ?string $iconImageUrl,
|
||||
public ?string $richText,
|
||||
public ?string $shortPdfPath,
|
||||
public ?string $longPdfPath,
|
||||
public ?string $pdfPath,
|
||||
public ?string $youtubeUrl,
|
||||
public ?string $iconImageContents,
|
||||
public ?string $iconImageOriginalName,
|
||||
public ?string $iconImageMimeType,
|
||||
public ?int $iconImageSizeBytes,
|
||||
public ?string $pdfContents,
|
||||
public ?string $pdfOriginalName,
|
||||
public ?string $pdfMimeType,
|
||||
public ?int $pdfSizeBytes,
|
||||
public ?string $fileType,
|
||||
public ?string $fileContents,
|
||||
public ?string $fileOriginalName,
|
||||
public ?string $fileMimeType,
|
||||
public ?int $fileSizeBytes,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue