MCPcopy
hub / github.com/rejetto/hfs / CommonPluginInterface

Interface CommonPluginInterface

src/plugins.ts:383–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381export type Repo = string | { web?: string, main: string, zip?: string, zipRoot?: string } // string is github, object is custom
382type Depend = { repo: string, version?: number }[]
383export interface CommonPluginInterface {
384 id: string
385 description?: string
386 version?: number
387 apiRequired?: number | [number,number]
388 repo?: Repo
389 depend?: Depend
390 isTheme?: boolean | 'light' | 'dark'
391 preview?: string | string[]
392 changelog?: unknown
393}
394export interface InactivePlugin extends CommonPluginInterface {
395 branch?: string
396 badApi?: string

Callers

nothing calls this directly

Implementers 1

Pluginsrc/plugins.ts

Calls

no outgoing calls

Tested by

no test coverage detected