File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export {usePluginElementCounts} from "./composables/usePluginElementCounts";
1111export { default as RotatingDotsIcon } from "./assets/icons/RotatingDots.vue" ;
1212
1313export type { YamlElement } from "./utils/YamlUtilsLegacy" ;
14- export type { Plugin } from "./utils/plugins" ;
14+ export type { Plugin , PluginMetadata , PluginElement } from "./utils/plugins" ;
1515export type { JSONSchema , JSONProperty } from "./utils/schemaUtils" ;
1616
1717import "./scss/ks-theme-light.scss" ;
Original file line number Diff line number Diff line change @@ -6,6 +6,20 @@ export type PluginElement = {
66 // description?: string; - Upcoming
77}
88
9+ export type PluginMetadata = {
10+ group : string ;
11+ artifactGroupId : string ;
12+ artifactId : string ;
13+ name : string ;
14+ title : string ;
15+ description ?: string ;
16+ videos ?: string [ ] ;
17+ createdBy ?: string ;
18+ managedBy ?: string ;
19+ version ?: string ;
20+ icon ?: string ;
21+ }
22+
923export type Plugin = {
1024 name : string ;
1125 title : string ;
@@ -19,6 +33,7 @@ export type Plugin = {
1933 storages ?: string [ ] ;
2034 aliases ?: string [ ] ;
2135 guides ?: string [ ] ;
36+ manifest ?: Record < string , any > ;
2237
2338} & {
2439 [ pluginElement : string ] : PluginElement [ ] ;
You can’t perform that action at this time.
0 commit comments