Plugins - Added plugin directory validation

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file check

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file extension

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Minor corrections

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Corrected ldap-auth file

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Added pattern to npmPackageName

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Removing pattern

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Ran prettier

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Changes based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2025-12-13 14:28:22 -06:00
parent 827aa1ea6d
commit ed3bcf377c
96 changed files with 159 additions and 293 deletions
+56
View File
@@ -0,0 +1,56 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/plugin",
"definitions": {
"plugin": {
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"authorUrl": {
"type": "string",
"format": "uri"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"documentation": {
"type": "string",
"format": "uri"
},
"iconUrl": {
"type": "string"
},
"npmPackageName": {
"type": "string"
},
"addedDate": {
"type": "string",
"format": "date"
},
"order": {
"type": "number"
}
},
"required": [
"addedDate",
"author",
"authorUrl",
"category",
"description",
"documentation",
"npmPackageName",
"title"
],
"title": "plugin"
}
}
}