@inappstory/react-sdk 0.1.0-rc.0 → 0.2.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.js +3 -3
- package/dist/types/game-reader/gameReader.d.ts +7 -0
- package/dist/types/game-reader/index.d.ts +1 -0
- package/dist/types/ias-container/ias-container.d.ts +8 -0
- package/dist/types/ias-container/index.d.ts +1 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/story-list/FavoriteStoryList.d.ts +1 -7
- package/dist/types/story-list/StoryList.d.ts +1 -1
- package/dist/types/story-list/UGCStoryList.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./gameReader"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IASContainer } from './ias-container';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ export * from "./appearance-manager";
|
|
|
2
2
|
export { StoryManager } from "./story-manager/StoryManager";
|
|
3
3
|
export { StoryList } from "./story-list/StoryList";
|
|
4
4
|
export { UGCStoryList } from "./story-list/UGCStoryList";
|
|
5
|
-
export { FavoriteStoryList } from "./story-list/FavoriteStoryList"
|
|
5
|
+
export { FavoriteStoryList } from "./story-list/FavoriteStoryList";
|
|
6
6
|
export { StoryListViewModel } from "./story-list/storyListViewModel";
|
|
7
7
|
export { FavoriteStoryCardViewModel } from "./story-list/favoriteStoryCardViewModel";
|
|
8
8
|
export { NavigationViewModel } from "./story-list/navigationViewModel";
|
|
9
9
|
export { StoryCardViewModel } from "./story-list/storyCardViewModel";
|
|
10
10
|
export { StoryListLoadStatus } from "./story-list/storyListLoadStatus";
|
|
11
|
-
export { StoryManagerConfig } from "./story-manager/StoryManager.h";
|
|
11
|
+
export { StoryManagerConfig } from "./story-manager/StoryManager.h";
|
|
12
|
+
export { IASContainer } from "./ias-container";
|
|
@@ -5,14 +5,8 @@ import { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
|
5
5
|
import { StoryListViewModel } from "./storyListViewModel.d";
|
|
6
6
|
|
|
7
7
|
interface FavoriteStoryListProps {
|
|
8
|
-
storyManager: StoryManager;
|
|
9
8
|
appearanceManager: AppearanceManager;
|
|
10
9
|
storyCardView?: (storyCard: StoryCardViewModel) => JSX.Element;
|
|
11
10
|
navigationView?: (navigation: any) => JSX.Element;
|
|
12
11
|
}
|
|
13
|
-
export declare const FavoriteStoryList: (
|
|
14
|
-
storyManager,
|
|
15
|
-
appearanceManager,
|
|
16
|
-
storyCardView,
|
|
17
|
-
navigationView
|
|
18
|
-
}: FavoriteStoryListProps) => JSX.Element;
|
|
12
|
+
export declare const FavoriteStoryList: (props: FavoriteStoryListProps) => JSX.Element;
|
|
@@ -6,10 +6,10 @@ import { StoryListViewModel } from "./storyListViewModel.d";
|
|
|
6
6
|
import { FavoriteCardCompositeViewModel } from "./favoriteCardCompositeViewModel"
|
|
7
7
|
|
|
8
8
|
interface StoryListProps {
|
|
9
|
-
storyManager: StoryManager;
|
|
10
9
|
appearanceManager: AppearanceManager;
|
|
11
10
|
feedSlug: string;
|
|
12
11
|
testKey?: string;
|
|
12
|
+
onFavoriteCardClick?: () => void;
|
|
13
13
|
ugcCardClickHandler?: () => void;
|
|
14
14
|
useUgcCard?: boolean;
|
|
15
15
|
onLoadStart?: () => void;
|
|
@@ -5,7 +5,6 @@ import { StoryListLoadStatus } from "./storyListLoadStatus";
|
|
|
5
5
|
import { StoryListViewModel } from "./storyListViewModel.d";
|
|
6
6
|
|
|
7
7
|
interface UGCStoryListProps {
|
|
8
|
-
storyManager: StoryManager;
|
|
9
8
|
appearanceManager: AppearanceManager;
|
|
10
9
|
testKey?: string;
|
|
11
10
|
ugcCardClickHandler?: () => void;
|