@claspo/editor 1.0.16 → 1.0.17
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 +3 -3
- package/src/types.d.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claspo/editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Claspo Editor SDK and types",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"rxjs": ">=6.0.0",
|
|
33
|
-
"@claspo/common": "7.0.
|
|
34
|
-
"@claspo/document-connector": "16.2.
|
|
33
|
+
"@claspo/common": "7.0.8",
|
|
34
|
+
"@claspo/document-connector": "16.2.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"rxjs": { "optional": true }
|
package/src/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentManifestI } from '@claspo/common/component-manifest/ComponentManifest.interface';
|
|
2
2
|
import { ClPropertyPaneManifestModelName } from '@claspo/common/component-manifest/PropertyPaneManifest.interface';
|
|
3
|
-
import { ClBaseComponentI, ClComponentType, ClDocumentActionType, ClDocumentI as CommonDocumentI, ClDocumentSharedI as CommonDocumentSharedI } from '@claspo/common/document/Document.interface';
|
|
4
|
-
import { LayoutType } from '@claspo/common/LayoutType';
|
|
3
|
+
import { ClBaseComponentI, ClBaseComponentI as ClBaseComponentI$1, ClComponentType, ClDocumentActionType, ClDocumentI as CommonDocumentI, ClDocumentSharedI as CommonDocumentSharedI } from '@claspo/common/document/Document.interface';
|
|
4
|
+
import { LayoutType, LayoutType as LayoutType$1 } from '@claspo/common/LayoutType';
|
|
5
5
|
import { PrizePoolModelI, PrizePoolOptionI } from '@claspo/common/PrizePool.interface';
|
|
6
|
-
import { WidgetType } from '@claspo/common/WidgetType';
|
|
6
|
+
import { WidgetType, WidgetType as WidgetType$1 } from '@claspo/common/WidgetType';
|
|
7
7
|
import LayoutFactory from '@claspo/document-connector/layouts/LayoutFactory';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
declare enum BaseListSortOption {
|
|
@@ -193,7 +193,7 @@ export interface WidgetVariantDtoI {
|
|
|
193
193
|
publishedRevision?: string;
|
|
194
194
|
}
|
|
195
195
|
export interface WidgetVariantConfigDtoI {
|
|
196
|
-
type: LayoutType;
|
|
196
|
+
type: LayoutType$1;
|
|
197
197
|
placements?: WidgetPlacementI[];
|
|
198
198
|
prizePoolIds?: string[];
|
|
199
199
|
}
|
|
@@ -253,7 +253,7 @@ export interface WidgetVariantI {
|
|
|
253
253
|
publishedRevision: string | null;
|
|
254
254
|
}
|
|
255
255
|
export interface WidgetVariantConfigI {
|
|
256
|
-
type: LayoutType;
|
|
256
|
+
type: LayoutType$1;
|
|
257
257
|
placements: WidgetPlacementI[];
|
|
258
258
|
prizePoolIds?: string[];
|
|
259
259
|
}
|
|
@@ -270,7 +270,7 @@ export interface WidgetRevisionPayloadI {
|
|
|
270
270
|
linkedTo?: number | null;
|
|
271
271
|
}
|
|
272
272
|
export interface WidgetRevisionPresentationI {
|
|
273
|
-
type: LayoutType;
|
|
273
|
+
type: LayoutType$1;
|
|
274
274
|
}
|
|
275
275
|
export interface WidgetRevisionAppearanceI {
|
|
276
276
|
id: number | string;
|
|
@@ -310,7 +310,7 @@ export declare enum WidgetProjectConfigId {
|
|
|
310
310
|
CABINET_AB_TESTS = "CABINET_AB_TESTS"
|
|
311
311
|
}
|
|
312
312
|
export interface BaseFormsListRequestParamsI {
|
|
313
|
-
layoutTypes?: LayoutType[];
|
|
313
|
+
layoutTypes?: LayoutType$1[];
|
|
314
314
|
order?: BaseListOrderOption;
|
|
315
315
|
search?: string;
|
|
316
316
|
offset?: number;
|
|
@@ -1215,7 +1215,7 @@ export {
|
|
|
1215
1215
|
LayoutType,
|
|
1216
1216
|
PrizePoolModelI,
|
|
1217
1217
|
PrizePoolOptionI,
|
|
1218
|
-
WidgetType,
|
|
1218
|
+
WidgetType$1 as WidgetType,
|
|
1219
1219
|
};
|
|
1220
1220
|
|
|
1221
1221
|
export {};
|