implements |
BackedEnum |
|---|
The closed vocabulary of table-export formats. String-backed so the client's
format field and the wire token are the same value; the backing string is
also the file extension the writer appends.
Csv is served by the SDK's native, zero-dependency {@see \LaravelUi5\Sdk\Export\CsvExportWriter}.
Xlsx is host-bound (an OpenSpoutXlsxWriter the consumer app registers) — the
SDK carries no spreadsheet library. A requested format with no bound writer is a
clean 422 at the controller, not a 500.
| Cases | |
|---|---|
Csv = 'csv'
|
# |
Xlsx = 'xlsx'
|
# |
| Methods | ||
|---|---|---|
public
|
extension(): string
|
# |
public
|
mimeType(): string
|
# |