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;
|
|
}
|