Skip to content

Manifest

type Manifest = Omit<Static<typeof ManifestSchema>, "permissions" | "platforms"> & object;

The manifest of a plugin: the small file that describes it.

  • id: the name of the plugin, written like a website address backwards (com.example.pomodoro). Lowercase letters, digits, dots and dashes. At most 80 characters.
  • name: the name that Settings shows. From 1 to 60 characters.
  • version: the version of the plugin, three numbers: 1.0.0.
  • minCoreVersion: the oldest version of the core that the plugin works with, three numbers. If the app is older, the plugin stays off and Settings shows the version it needs.
  • description: at most 500 characters.
  • author: from 1 to 80 characters.
  • permissions: what the plugin asks for (see Permission). At most 32.
  • platforms: web, ios, or both.
  • entry: the file where the code of the plugin starts.
  • publisher: optional. A public key of 43 characters that shows who made the plugin. The plugin file then carries the signature of the publisher for the manifest and the code, and the app refuses a file whose signature does not match. It is required for crypto:friends.
Name Type
permissions readonly Permission[]
platforms readonly ("web" | "ios")[]