Skip to content

Commit fb5197c

Browse files
committed
feat: Add generatorUrl and _nsfw to official schema
- generatorUrl: URL for web-based plugin generators (shows Generate button) - _nsfw: Boolean flag for NSFW content filtering - Enhanced _customButtons description - Official support for generator pattern
1 parent c0326ea commit fb5197c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sources.schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,20 @@
104104
},
105105
"_customButtons": {
106106
"type": "array",
107+
"description": "Custom action buttons shown on the source card",
107108
"items": {
108109
"$ref": "#/definitions/CustomButton"
109110
}
110111
},
112+
"generatorUrl": {
113+
"type": "string",
114+
"format": "uri",
115+
"description": "URL to a web-based generator for creating custom plugin instances. If present, shows a 'Generate' button instead of 'Install'"
116+
},
117+
"_nsfw": {
118+
"type": "boolean",
119+
"description": "Mark source as NSFW content. Will be filtered by default unless user opts in"
120+
},
111121
"iconUrl_": {
112122
"type": "string",
113123
"format": "uri"

0 commit comments

Comments
 (0)