@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.
- package/package.json +1 -1
- package/src/types.d.ts +15 -4
package/package.json
CHANGED
package/src/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClPropertyPaneManifestModelName } from '@claspo/common/component-manifest/
|
|
2
|
-
import { ClBaseComponentI,
|
|
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
|
}
|