Skip to main content

SavedFile

A file the person is offered to keep.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { SavedFile } from "@mapcairn/core";

interface SavedFile

Properties​

content​

readonly content: string;

The text of the file.

filename​

readonly filename: string;

The name the file is saved under, for example shapes.geojson.

mimeType​

readonly mimeType: string;

The media type, for example application/geo+json.

Source: packages/core/src/ports/files.ts:4