pumpkin-plugin-wit/v0.1/metadata.wit
Alexander Medvedev 41d8c71c65 first commit
2026-05-19 17:43:50 +02:00

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