Skip to content

TypeScript API / @laikacms/vite-plugin / FsStorageOptions

Interface: FsStorageOptions ​

Properties ​

defaultExtension? ​

ts
optional defaultExtension?: string;

File extension applied to new objects created without one. Defaults to 'json'.


dir ​

ts
dir: string;

Absolute path the filesystem repository reads and writes.


serializers? ​

ts
optional serializers?: StorageSerializerRegistry;

Serializer registry keyed by format. Defaults to defaultSerializers.

Released under the MIT License.