From c03d6fb266f9fb11638172b2247f03a7225dc675 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 4 Oct 2016 00:23:23 +0100 Subject: Add slicer collection element metadata --- gentoobrowse-api/domain/extended-models.ice | 7 +++++++ gentoobrowse-api/domain/portage-models.ice | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/gentoobrowse-api/domain/extended-models.ice b/gentoobrowse-api/domain/extended-models.ice index de9e514..aee4af1 100644 --- a/gentoobrowse-api/domain/extended-models.ice +++ b/gentoobrowse-api/domain/extended-models.ice @@ -32,12 +32,19 @@ module Gentoo { IntList ebuildids; }; + [ "slicer:element:package" ] sequence SearchResultPackages; + [ "slicer:element:bug" ] sequence SearchResultBugs; + [ "slicer:element:category" ] sequence OverviewCategories; + [ "slicer:element:ebuild" ] sequence EbuildDetails; + [ "slicer:item:super", "slicer:key:name", "slicer:value:categories" ] dictionary OverviewCategoriesBySuper; + [ "slicer:element:package" ] sequence PackageDependencyPackages; + [ "slicer:element:mask" ] sequence PackageMasks; }; diff --git a/gentoobrowse-api/domain/portage-models.ice b/gentoobrowse-api/domain/portage-models.ice index 42eb0c0..5ee9b76 100644 --- a/gentoobrowse-api/domain/portage-models.ice +++ b/gentoobrowse-api/domain/portage-models.ice @@ -107,13 +107,21 @@ module Gentoo { int ebuilds; }; + [ "slicer:element:category" ] sequence Categories; + [ "slicer:element:package" ] sequence Packages; + [ "slicer:element:ebuild" ] sequence Ebuilds; + [ "slicer:element:bug" ] sequence Bugs; + [ "slicer:element:entry" ] sequence ChangeLog; + [ "slicer:element:article" ] sequence News; + [ "slicer:element:sync" ] sequence Syncs; + [ "slicer:element:mask" ] sequence Masks; }; -- cgit v1.2.3