fansunited-widget-either-or 2.11.0 → 2.11.1
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.
|
@@ -3,7 +3,7 @@ import { EitherOrBasicModel } from 'fansunited-sdk-esm';
|
|
|
3
3
|
type ActionsMenuProps = {
|
|
4
4
|
eitherOr: EitherOrBasicModel;
|
|
5
5
|
onClickEdit: () => void;
|
|
6
|
-
reloadGames: () => void;
|
|
6
|
+
reloadGames: (scenario: 'create' | 'clone' | 'delete') => void;
|
|
7
7
|
};
|
|
8
8
|
declare const ActionsMenu: React.FC<ActionsMenuProps>;
|
|
9
9
|
export default ActionsMenu;
|
|
@@ -3,7 +3,7 @@ import { EitherOrBasicModel } from 'fansunited-sdk-esm';
|
|
|
3
3
|
type EitherOrRowProps = {
|
|
4
4
|
row: EitherOrBasicModel;
|
|
5
5
|
onClickEdit: () => void;
|
|
6
|
-
|
|
6
|
+
reloadGames: (scenario: 'create' | 'clone' | 'delete') => void;
|
|
7
7
|
};
|
|
8
8
|
declare const EitherOrRow: React.FC<EitherOrRowProps>;
|
|
9
9
|
export default EitherOrRow;
|
|
@@ -9,7 +9,7 @@ type EitherOrsTableProps = {
|
|
|
9
9
|
getPreviousPage: () => void;
|
|
10
10
|
getNextPage: () => void;
|
|
11
11
|
onClickEdit?: (id: string) => void;
|
|
12
|
-
|
|
12
|
+
reloadGames?: (scenario: 'create' | 'clone' | 'delete') => void;
|
|
13
13
|
isGameTemplate?: boolean;
|
|
14
14
|
selectedGames?: string[];
|
|
15
15
|
gamesQuestions?: Map<string, IEitherOrPoints[]>;
|