Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
[MM-30982] Add filter metadata to Marketplace response (#1309)
Browse files Browse the repository at this point in the history
* Add filter metadata to Marketplace response

* Add metadata from mattermost/mattermost-marketplace#145
  • Loading branch information
hanzei authored Dec 16, 2020
1 parent 6b54068 commit baa8fd0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/types/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,33 @@ export type MarketplaceLabel = {
color?: string;
}

export enum HostingType {
OnPrem = 'on-prem',
Cloud = 'cloud',
}

export enum AuthorType {
Mattermost = 'mattermost',
Partner = 'partner',
Community = 'community',
}

export enum ReleaseStage {
Production = 'production',
Beta = 'beta',
Experimental = 'experimental',
}

export type MarketplacePlugin = {
homepage_url?: string;
icon_data?: string;
download_url?: string;
release_notes_url?: string;
labels?: MarketplaceLabel[];
hosting?: HostingType;
author_type: AuthorType;
release_stage: ReleaseStage;
enterprise: boolean;
manifest: PluginManifest;
installed_version?: string;
}

0 comments on commit baa8fd0

Please sign in to comment.