@claspo/editor 1.0.10 → 1.0.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.d.ts +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claspo/editor",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Claspo Editor SDK and types",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
package/src/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ClPropertyPaneManifestModelName } from '@claspo/common/component-manifest/ComponentManifest.interface';
2
- import { ClBaseComponentI, ClBaseComponentI as ClBaseComponentI$1, ClComponentType, ClDocumentActionType, ClDocumentI as CommonDocumentI, ClDocumentSharedI as CommonDocumentSharedI } from '@claspo/common/document/Document.interface';
1
+ import { ClPropertyPaneManifestModelName } from '@claspo/common/component-manifest/PropertyPaneManifest.interface';
2
+ import { ClBaseComponentI, ClComponentType, ClDocumentActionType, ClDocumentI as CommonDocumentI, ClDocumentSharedI as CommonDocumentSharedI } from '@claspo/common/document/Document.interface';
3
3
  import { PrizePoolModelI, PrizePoolOptionI } from '@claspo/common/PrizePool.interface';
4
4
  import LayoutFactory from '@claspo/document-connector/layouts/LayoutFactory';
5
5
  import { Observable } from 'rxjs';
@@ -34,8 +34,6 @@ declare enum BaseListOrderOption {
34
34
  export interface MessageLanguageLocalisationI {
35
35
  native: string;
36
36
  en: string;
37
- ru: string;
38
- uk: string;
39
37
  [key: string]: string;
40
38
  }
41
39
  export interface ClDocumentI extends CommonDocumentI {
@@ -184,6 +182,19 @@ declare enum FormTestingStatus {
184
182
  TESTING = "TESTING",
185
183
  OFF = "OFF"
186
184
  }
185
+ export interface EsFormI {
186
+ id: number;
187
+ name: string;
188
+ restrictions: EsFormRestrictionI;
189
+ publishStatus: FormPublishStatus;
190
+ testingStatus: FormTestingStatus;
191
+ createdDate: string;
192
+ updatedDate: string;
193
+ variants: EsFormVariantI[];
194
+ abTestId: number | null;
195
+ config: EsFormVariantI;
196
+ deleted: boolean;
197
+ }
187
198
  export interface EsFormRestrictionI {
188
199
  BRANDED?: EsFormBrandingI;
189
200
  }