dochub-sdk 0.1.215 → 0.1.216

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.
@@ -0,0 +1,16 @@
1
+ /* eslint-disable no-unused-vars */
2
+ import { Prop, Component } from 'vue-property-decorator';
3
+ import { DocHubComponentProto } from './Components';
4
+ import type { DocHubEditorContext } from '../..';
5
+
6
+ @Component
7
+ export class DocHubConstructorProto extends DocHubComponentProto {
8
+ /**
9
+ * Контекст вызова конструктора.
10
+ * Содержит в себе информацию окружения для работы конструктора.
11
+ */
12
+ @Prop({
13
+ type: Object,
14
+ required: true
15
+ }) readonly context: DocHubEditorContext;
16
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './Documents';
2
2
  export * from './Components';
3
+ export * from './Constructors';
3
4
  export * from './Editor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.215",
3
+ "version": "0.1.216",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",