dochub-sdk 0.1.365 → 0.1.366
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/package.json +1 -1
- package/plugins/manifest.ts +27 -13
package/package.json
CHANGED
package/plugins/manifest.ts
CHANGED
@@ -19,6 +19,27 @@ export interface IDocHubPluginEnvironmentsOneOf extends IDocHubJSONSchemaBase {
|
|
19
19
|
oneOf: IDocHubJSONSchemaObject[];
|
20
20
|
}
|
21
21
|
|
22
|
+
export interface IDocHubManifestProps {
|
23
|
+
building: {
|
24
|
+
// Момент сборки
|
25
|
+
moment: number;
|
26
|
+
// Версия SDK сборки
|
27
|
+
'dochub-sdk': string;
|
28
|
+
// Коммит
|
29
|
+
commit: string;
|
30
|
+
// Версия node при сборке
|
31
|
+
node: string;
|
32
|
+
// Версия приложения в формате xx.xx.xx
|
33
|
+
version: string;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
export type IDocHubManifestPlugins = string[];
|
38
|
+
|
39
|
+
export interface IDocHubManifestEnvironments {
|
40
|
+
[module: string]: string;
|
41
|
+
}
|
42
|
+
|
22
43
|
export type IDocHubPluginEnvironments =
|
23
44
|
| IDocHubJSONSchemaObject
|
24
45
|
| IDocHubPluginEnvironmentsAllOf
|
@@ -33,8 +54,6 @@ export interface IDocHubPluginManifest {
|
|
33
54
|
name: string;
|
34
55
|
// Описание плагина
|
35
56
|
description?: string;
|
36
|
-
// Версия в формате xx.xx.xx
|
37
|
-
version: string;
|
38
57
|
// Ключевые слова для поиска в репозитории плагинов
|
39
58
|
keywords?: string[];
|
40
59
|
// Автор/вендор
|
@@ -47,15 +66,10 @@ export interface IDocHubPluginManifest {
|
|
47
66
|
repository: string;
|
48
67
|
support: string;
|
49
68
|
}
|
50
|
-
//
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
},
|
57
|
-
// Зависимости
|
58
|
-
dependencies?: IDocHubManifestDependencies;
|
59
|
-
// Переменные окружения требуемые для работы плагина
|
60
|
-
environments?: IDocHubPluginEnvironments;
|
69
|
+
// Свойства приложения
|
70
|
+
app_props: IDocHubManifestProps;
|
71
|
+
// Подключаемые плагины
|
72
|
+
app_plugins?: IDocHubManifestPlugins;
|
73
|
+
// Переменные среды исполнения
|
74
|
+
app_environments?: IDocHubManifestEnvironments;
|
61
75
|
}
|