mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
feat: migrate backend to cosmiconfig
This commit is contained in:
32
configuration/backend-config/menu.xsd
Normal file
32
configuration/backend-config/menu.xsd
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||||
<xs:element name="menu">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="group" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="item" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="xs:normalizedString">
|
||||
<xs:attributeGroup ref="link"/>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="title" type="xs:string" use="required"/>
|
||||
<xs:attributeGroup ref="link"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:attributeGroup name="link">
|
||||
<xs:attribute name="route" type="xs:string" use="required"/>
|
||||
<xs:attribute name="icon" type="xs:string" use="required"/>
|
||||
<xs:attribute name="authProvider" type="xs:string"/>
|
||||
</xs:attributeGroup>
|
||||
</xs:schema>
|
||||
Reference in New Issue
Block a user