@inappstory/js-sdk 3.6.2 → 3.7.0-rc.0
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/dist/index.esm.mjs +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/appearance-manager/appearanceCommon.d.ts +69 -3
- package/dist/types/appearance-manager/appearanceManager.d.ts +69 -1
- package/dist/types/appearance-manager/gameReader.d.ts +91 -15
- package/dist/types/appearance-manager/goodsWidget.d.ts +98 -17
- package/dist/types/appearance-manager/sharePanel.d.ts +129 -2
- package/dist/types/appearance-manager/storiesList.d.ts +303 -5
- package/dist/types/appearance-manager/storyFavoriteReader.d.ts +34 -0
- package/dist/types/appearance-manager/storyReader.d.ts +260 -0
- package/dist/types/in-app-messaging/iamErrors.d.ts +49 -45
- package/dist/types/in-app-messaging/inAppMessaging.d.ts +166 -0
- package/dist/types/inAppStoryManager.d.ts +187 -3
- package/dist/types/share-page/sharePage.d.ts +4 -0
- package/dist/types/story-list/StoryList.d.ts +30 -0
- package/dist/types/story-list/UGCStoryList.d.ts +30 -0
- package/dist/types/story-list/storyListLoadStatus.ts +46 -9
- package/package.json +6 -2
- package/plugins/banners/index.esm.mjs +1 -0
- package/plugins/banners/package.json +24 -0
- package/plugins/banners/types/banner.d.ts +197 -0
- package/plugins/banners/types/bannerPlace.d.ts +186 -0
- package/plugins/banners/types/bannerPlaceAppearance.d.ts +32 -0
- package/plugins/banners/types/iasBannerPlace.d.ts +77 -0
- package/plugins/banners/types/iasBannerPreview.d.ts +58 -0
- package/plugins/banners/types/iasBannersProvider.d.ts +52 -0
- package/plugins/banners/types/index.d.ts +29 -0
- package/plugins/dotLottie/iasDotLottiePlugin.umd.js +1 -1
- package/plugins/videoOnDemand/iasVideoOnDemandPlugin.umd.js +1 -1
- package/dist/types/appearance-manager/storyReader.ts +0 -73
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { CloseButtonPosition } from "./appearanceCommon";
|
|
2
|
-
import { GameReaderOptions } from "./gameReader";
|
|
3
|
-
import { SharePanel } from "./sharePanel"
|
|
4
|
-
import { Nullable, RecursivePartial } from "../global"
|
|
5
|
-
|
|
6
|
-
export declare enum StoryReaderSwipeStyle {
|
|
7
|
-
FLAT = "flat",
|
|
8
|
-
COVER = "cover",
|
|
9
|
-
CUBE = "cube"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type StoryReaderOptions = RecursivePartial<{
|
|
13
|
-
gameReaderOptions: GameReaderOptions;
|
|
14
|
-
closeButtonPosition: CloseButtonPosition | "left" | "right";
|
|
15
|
-
scrollStyle: StoryReaderSwipeStyle | "flat" | "cover" | "cube";
|
|
16
|
-
timelineBlockTopOffset: Nullable<number>;
|
|
17
|
-
actionPanelBottomOffset: Nullable<number>;
|
|
18
|
-
borderRadius: number;
|
|
19
|
-
loader: {
|
|
20
|
-
default: {
|
|
21
|
-
color: string;
|
|
22
|
-
accentColor: string;
|
|
23
|
-
};
|
|
24
|
-
custom: string;
|
|
25
|
-
};
|
|
26
|
-
recycleStoriesList: boolean;
|
|
27
|
-
closeOnLastSlideByTimer: boolean;
|
|
28
|
-
sharePanel: SharePanel<string>;
|
|
29
|
-
commonBackdrop: {
|
|
30
|
-
color: string;
|
|
31
|
-
backdropFilter: string;
|
|
32
|
-
};
|
|
33
|
-
slideBackdrop: {
|
|
34
|
-
opacity: number;
|
|
35
|
-
blur: number;
|
|
36
|
-
linearGradientOverlay: string[];
|
|
37
|
-
};
|
|
38
|
-
faviconApiUrl: string;
|
|
39
|
-
closeButton: {
|
|
40
|
-
svgSrc: {
|
|
41
|
-
baseState: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
likeButton: {
|
|
45
|
-
svgSrc: {
|
|
46
|
-
baseState: string;
|
|
47
|
-
activeState: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
dislikeButton: {
|
|
51
|
-
svgSrc: {
|
|
52
|
-
baseState: string;
|
|
53
|
-
activeState: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
favoriteButton: {
|
|
57
|
-
svgSrc: {
|
|
58
|
-
baseState: string;
|
|
59
|
-
activeState: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
muteButton: {
|
|
63
|
-
svgSrc: {
|
|
64
|
-
baseState: string;
|
|
65
|
-
activeState: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
shareButton: {
|
|
69
|
-
svgSrc: {
|
|
70
|
-
baseState: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
}>;
|