Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
e3cc05d6
Commit
e3cc05d6
authored
Jul 18, 2023
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved JSON Schema comments into "$comment" tags. Fixes #298
parent
90cde83b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configSchema.json
src/configSchema.json
+5
-5
No files found.
src/configSchema.json
View file @
e3cc05d6
...
...
@@ -290,7 +290,7 @@
"default"
:
[
"inhibitors"
,
"title"
,
"dnd"
,
"notifications"
],
"items"
:
{
"type"
:
"string"
,
//
Sadly
can't
use
regex
and
enums
at
the
same
time.
Fix
in
the
future?
"$comment"
:
"Sadly can't use regex and enums at the same time. Fix in the future?"
,
"pattern"
:
"^[a-zA-Z0-9_-]{1,}(#[a-zA-Z0-9_-]{1,}){0,1}?$"
}
},
...
...
@@ -298,10 +298,10 @@
"type"
:
"object"
,
"description"
:
"Configure specific widget properties."
,
"additionalProperties"
:
false
,
"$comment"
:
"New widgets go here in
\"
patternProperties
\"
↓"
,
"patternProperties"
:
{
//
New
widgets
go
here
"^title(#[a-zA-Z0-9_-]{1,}){0,1}?$"
:
{
//
References
the
widget
structure
from
"widgets"
below
"$comment"
:
"References the widget structure from
\"
widgets
\"
below"
,
"$ref"
:
"#/widgets/title"
},
"^dnd(#[a-zA-Z0-9_-]{1,}){0,1}?$"
:
{
...
...
@@ -326,14 +326,14 @@
"$ref"
:
"#/widgets/backlight"
},
"^inhibitors(#[a-zA-Z0-9_-]{1,}){0,1}?$"
:
{
//
References
the
widget
structure
from
"widgets"
below
"$comment"
:
"References the widget structure from
\"
widgets
\"
below"
,
"$ref"
:
"#/widgets/inhibitors"
}
}
}
},
"widgets"
:
{
//
New
widgets
go
here
"$comment"
:
"New widgets go here"
,
"title"
:
{
"type"
:
"object"
,
"description"
:
"Control Center Title Widget"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment