Skip to content

GetReleasedPluginPopulateParams

Parameters for getReleasedPluginPopulate.

Import:

import type { GetReleasedPluginPopulateParams } from '@mnaoumov/obsidian-dev-toolkit/test-runners/released-plugin';

Signature:

export interface GetReleasedPluginPopulateParams extends DownloadReleasedPluginParams

Extends: DownloadReleasedPluginParams

Properties

PropertyTypeDescription
configFolder?stringThe vault's configuration folder. Defaults to .obsidian, which every vault the harness opens uses.
data?unknownThe plugin settings to seed as its data.json, serialized with JSON.stringify. Omitted, no data.json is seeded and the plugin starts on its defaults.
pluginIdstringThe plugin's manifest.id, used as the cache folder name.
(Inherited from DownloadReleasedPluginParams)
repostringThe owner/name of the GitHub repository publishing the release.
(Inherited from DownloadReleasedPluginParams)
rootFolder?stringThe project root whose node_modules/.cache holds the downloads. Defaults to the root of the current working directory.
(Inherited from DownloadReleasedPluginParams)
versionstringThe release tag to download. A pinned version, never latest.
(Inherited from DownloadReleasedPluginParams)

Links to this page: