dochub-sdk 0.1.348 → 0.1.349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts CHANGED
@@ -27,6 +27,8 @@ export * from './interfaces/explainer';
27
27
  export * from './schemas/basetypes';
28
28
  export * from './schemas/dochub-yaml';
29
29
 
30
+ export * from './plugins/manifest';
31
+
30
32
  export const DocHub: IDocHubCore = dynamicProxy(() => window['DocHub']);
31
33
  export const Vue2 = () => window['Vue'];
32
34
  export const Vuetify2 = () => window['Vuetify'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.348",
3
+ "version": "0.1.349",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Зависимости плагина от свойств ядра и других плагинов
3
+ */
4
+ export interface IDependencies {
5
+ [module: string]: string;
6
+ }
7
+
8
+ /**
9
+ * Структура манифеста плагина для DocHub
10
+ */
11
+ export interface IDocHubPluginManifest {
12
+ // Системное название плагина
13
+ name: string;
14
+ // Описание плагина
15
+ description: string;
16
+ // Версия в формате xx.xx.xx
17
+ version: string;
18
+ // Ключевые слова для поиска в репозитории плагинов
19
+ keywords: string[];
20
+ // Автор/вендор
21
+ author: string;
22
+ // Лицензия
23
+ license: string;
24
+ // Связанные ресурсы
25
+ urls: {
26
+ homepage: string;
27
+ repository: string;
28
+ support: string;
29
+ }
30
+ // Зависимости
31
+ dependencies: IDependencies;
32
+ }