Appearance
Export and import scripts / Hm05Script / ExporterDefinition
Interface: ExporterDefinition<O>
Type Parameters
| Type Parameter | Default type |
|---|---|
O | Record<string, any> |
Properties
| Property | Type | Description |
|---|---|---|
description? | string | - |
name | string | shown in the Format list |
options? | OptionField[] | extra fields in the Export dialog; their values arrive as options |
version? | string | - |
Methods
run()
ts
run(api, options): void | Promise<void>;does the export. Throw an Error to stop with a message.
Parameters
| Parameter | Type |
|---|---|
api | Api |
options | O |
Returns
void | Promise<void>