pluginsOverview goes api data

This commit is contained in:
Florian Scholdei
2019-07-03 16:42:36 +02:00
parent a03a666afe
commit df501b162d
5 changed files with 65 additions and 23 deletions

View File

@@ -1,8 +1,7 @@
//@flow
import type { PagedCollection, Links } from "./hal";
import type { Collection, Links } from "./hal";
export type Plugin = {
namespace: string,
name: string,
type: string,
description?: string,
@@ -11,7 +10,7 @@ export type Plugin = {
_links: Links
};
export type PluginCollection = PagedCollection & {
export type PluginCollection = Collection & {
_embedded: {
plugins: Plugin[] | string[]
}