mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-09-27 06:00:10 +00:00
62d82765fd
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
27 lines
936 B
TypeScript
27 lines
936 B
TypeScript
export type WoodpeckerPluginHeader = {
|
|
name?: string; // name of the plugin
|
|
description?: string; // short description of the plugin
|
|
url?: string; // url of the plugin normally link to forge
|
|
tags?: string[]; // tags to categorize the plugin
|
|
author?: string; // author of the plugin
|
|
icon?: string; // url pointing to an icon
|
|
containerImage?: string; // name of a container image
|
|
containerImageUrl?: string; // url to a container image registry
|
|
};
|
|
|
|
export type WoodpeckerPluginIndexEntry = {
|
|
'// todo'?: boolean;
|
|
name: string; // name of the plugin
|
|
docs: string; // http url to the docs.md file
|
|
verified?: boolean; // plugins maintained by trusted parties
|
|
};
|
|
|
|
export type WoodpeckerPlugin = WoodpeckerPluginHeader & {
|
|
name: string;
|
|
docs: string; // body of the docs .md file
|
|
verified: boolean; // we set verified to false when not explicitly set
|
|
};
|
|
|
|
export type Content = {
|
|
plugins: WoodpeckerPlugin[];
|
|
};
|