Skip to content

Commit

Permalink
feat: add backend dependency type to info.xsd (#1414)
Browse files Browse the repository at this point in the history
* feat: add backend dependency type to info.xsd

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>

* added "backend" to "dependencies" in "pre-info.xslt"

Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

---------

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Co-authored-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
  • Loading branch information
st3iny and bigcat88 authored Jul 21, 2024
1 parent 0e5595d commit e6417cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nextcloudappstore/api/v1/release/info.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,8 @@
maxOccurs="1"/>
<xs:element name="architecture" type="architecture" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="backend" type="backend" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

Expand Down Expand Up @@ -758,4 +760,10 @@
value="[a-zA-Z_][0-9a-zA-Z_]*(\\[a-zA-Z_][0-9a-zA-Z_]*)*"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="backend">
<xs:restriction base="xs:string">
<xs:enumeration value="caldav"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
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 @@ -136,6 +136,7 @@
<xsl:copy-of select="lib"/>
<xsl:copy-of select="owncloud"/>
<xsl:copy-of select="nextcloud"/>
<xsl:copy-of select="backend"/>
</dependencies>
</xsl:template>

Expand Down

0 comments on commit e6417cc

Please sign in to comment.