Skip to content

Commit

Permalink
+ dashboard/widget (#567)
Browse files Browse the repository at this point in the history
* + dashboard/widget

* Update info.xsd
  • Loading branch information
ArtificialOwl authored and BernhardPosselt committed Oct 18, 2018
1 parent dc25a90 commit 394f202
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nextcloudappstore/api/v1/release/info.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
maxOccurs="1"/>
<xs:element name="activity" type="activity" minOccurs="0"
maxOccurs="1"/>
<xs:element name="dashboard" type="dashboard"
minOccurs="0" maxOccurs="1"/>
<xs:element name="navigations" type="navigations" minOccurs="0"
maxOccurs="1"/>
<xs:element name="contactsmenu" type="contactsmenu" minOccurs="0"
Expand Down Expand Up @@ -644,6 +646,13 @@
</xs:sequence>
</xs:complexType>

<xs:complexType name="dashboard">
<xs:sequence>
<xs:element name="widget" type="php-class" minOccurs="1"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

<xs:simpleType name="php-class">
<xs:restriction base="xs:string">
<xs:pattern
Expand Down
1 change: 1 addition & 0 deletions nextcloudappstore/api/v1/release/pre-info.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<xsl:copy-of select="commands"/>
<xsl:apply-templates select="settings"/>
<xsl:apply-templates select="activity"/>
<xsl:copy-of select="dashboard"/>
<xsl:apply-templates select="navigations"/>
<xsl:copy-of select="contactsmenu"/>
<xsl:copy-of select="collaboration" />
Expand Down

0 comments on commit 394f202

Please sign in to comment.