git-subtree-dir: crates/pumpkin-plugin-wit git-subtree-split: 1ad73fff1e0a9e21b99255816df5f99f6260c1b9
20 lines
571 B
Plaintext
20 lines
571 B
Plaintext
/// Plugin metadata describing the plugin and its compatibility.
|
|
interface metadata {
|
|
record plugin-metadata {
|
|
/// Name of the plugin.
|
|
name: string,
|
|
/// Plugin version (semver).
|
|
version: string,
|
|
/// Plugin authors.
|
|
authors: list<string>,
|
|
/// Short description of the plugin.
|
|
description: string,
|
|
/// Plugin dependencies.
|
|
dependencies: list<string>,
|
|
/// Permissions requested by the plugin.
|
|
permissions: list<string>,
|
|
}
|
|
|
|
get-metadata: func() -> plugin-metadata;
|
|
}
|