Skip to content

TypeScript API / laikacms/storage / defaultDetermineExtension

Variable: defaultDetermineExtension ​

ts
const defaultDetermineExtension: DetermineExtension;

The default DetermineExtension policy. Honors metadata.extension when present and otherwise falls back to the storage's defaultExtension.

Storage implementations use this when no explicit callback is supplied; user- supplied callbacks fully replace it (they may delegate to it manually if desired).

Released under the MIT License.