Type Alias: ArtifactFormat
ts
type ArtifactFormat = {
ctor: () => Promise<unknown>;
extensions: string[];
id: string;
mime: string[];
};Defined in: src/batteries/sandbox/defaults/default_minter.ts:8
A format declaration accepted by the default minter.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
ctor | () => Promise<unknown> | Lazy constructor loader; it is called only after the format is selected. | src/batteries/sandbox/defaults/default_minter.ts:16 |
extensions | string[] | Filename extensions handled by the format. | src/batteries/sandbox/defaults/default_minter.ts:14 |
id | string | Stable identifier for the format. | src/batteries/sandbox/defaults/default_minter.ts:10 |
mime | string[] | MIME types handled by the format. | src/batteries/sandbox/defaults/default_minter.ts:12 |