dochub-sdk 0.1.300 → 0.1.302

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
@@ -22,6 +22,8 @@ export * from './interfaces/lang';
22
22
 
23
23
  export * from './interfaces/datasets';
24
24
 
25
+ export * from './metamodel/index';
26
+
25
27
  export * from './schemas/basetypes';
26
28
  export * from './schemas/dochub-yaml';
27
29
 
@@ -195,7 +195,9 @@ export interface IDocHubFileEditorContext {
195
195
  // Если не определено берется из параметра openFileEditor
196
196
  contentType?: string; // Тип контента файла.
197
197
  // Если не определено берется из данных полученных о файле в процессе открытия.
198
- targetWindow?: DocHubUITargetWindow; // Где открывать указанный URI для редактирования
198
+ targetWindow?: DocHubUITargetWindow; // Где открывать указанный URI для редактирования
199
+ location?: string; // Указатель точного расположения цели редактирования. Например: entities/components/schema
200
+ // Формат зависит от редактора
199
201
  [key: string]: any; // Произвольные ключи и значения
200
202
  }
201
203
 
@@ -0,0 +1,30 @@
1
+ import { DocHubJSONataQuery } from '../interfaces/datasets';
2
+ import {
3
+ IDocHubSchema,
4
+ BaseTypes,
5
+ } from '../schemas/basetypes';
6
+
7
+
8
+ export interface IDocHubEntityPresentation {
9
+ }
10
+
11
+ export interface IDocHubEntityPresentations {
12
+ [id: string]: IDocHubEntityPresentation;
13
+ }
14
+
15
+ export interface IDocHubEntityObject {
16
+ }
17
+
18
+ export interface IDocHubEntityObjects {
19
+ [id: string]: IDocHubEntityObject;
20
+ }
21
+
22
+ /**
23
+ * Структура сущностей
24
+ */
25
+ export interface IDocHubEntity {
26
+ schema?: IDocHubSchema;
27
+ presentations?: IDocHubEntityPresentations;
28
+ objects?: IDocHubEntityObjects;
29
+ menu?: DocHubJSONataQuery;
30
+ }
@@ -0,0 +1 @@
1
+ export * from './entity';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.300",
3
+ "version": "0.1.302",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",