* luci/libs: uvl: add definition of package sections to meta scheme
This commit is contained in:
parent
730b5fad7a
commit
6179e46ff5
1 changed files with 36 additions and 0 deletions
|
@ -7,6 +7,42 @@
|
||||||
|
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# Central package definition
|
||||||
|
#
|
||||||
|
# config package
|
||||||
|
# option ...
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Section definition (schema.@package)
|
||||||
|
config section
|
||||||
|
option name 'package'
|
||||||
|
option title 'Definition of uci package'
|
||||||
|
option package 'schema'
|
||||||
|
option required false
|
||||||
|
option named false
|
||||||
|
option unique true
|
||||||
|
option dynamic false
|
||||||
|
|
||||||
|
# Section title (schema.@package.title)
|
||||||
|
config variable
|
||||||
|
option name 'title'
|
||||||
|
option title 'Title of the defined package'
|
||||||
|
option section 'schema.package'
|
||||||
|
option type 'variable'
|
||||||
|
option datatype 'string'
|
||||||
|
option required false
|
||||||
|
|
||||||
|
# Section description (schema.@package.description)
|
||||||
|
config variable
|
||||||
|
option name 'description'
|
||||||
|
option title 'Description of the defined package'
|
||||||
|
option section 'schema.package'
|
||||||
|
option type 'variable'
|
||||||
|
option datatype 'string'
|
||||||
|
option required false
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Central section definition
|
# Central section definition
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue