fansunited-management-components 1.33.2 → 1.34.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/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
type AdvancedProfileSearchSelectProps = {
|
|
4
|
+
labels: any;
|
|
5
|
+
ids: string[];
|
|
6
|
+
onChange: (ids: string[] | null) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const AdvancedProfileSearchSelect: React.FC<AdvancedProfileSearchSelectProps>;
|
|
9
|
+
export default AdvancedProfileSearchSelect;
|
|
@@ -20,6 +20,7 @@ export default class HttpsService extends Https {
|
|
|
20
20
|
private votingApiBaseUrl;
|
|
21
21
|
private profileApiBaseUrl;
|
|
22
22
|
private customResolverUrl;
|
|
23
|
+
private discussionsApiBaseUrl;
|
|
23
24
|
constructor(config: SDKConfigurationModel, sportal365Config: Sportal365Config | null);
|
|
24
25
|
getClientById: () => Promise<Response>;
|
|
25
26
|
createTemplate: (requestBody: TemplateRequestBody) => Promise<Response>;
|
|
@@ -66,4 +67,10 @@ export default class HttpsService extends Https {
|
|
|
66
67
|
createStandingGame: (requestBody: StandingGameRequestBody) => Promise<Response>;
|
|
67
68
|
updateStandingGame: (id: string, requestBody: StandingGameRequestBody) => Promise<Response>;
|
|
68
69
|
resolveStandingPredictions: (gameId: string) => Promise<Response>;
|
|
70
|
+
moderateUserPosts: (userId: string, reason: string) => Promise<Response>;
|
|
71
|
+
getUserBanStatus: (userId: string) => Promise<Response>;
|
|
72
|
+
banUser: (userId: string, period: number, reason: string) => Promise<Response>;
|
|
73
|
+
unbanUser: (userId: string, reason: string) => Promise<Response>;
|
|
74
|
+
updateUser: (userId: string, action: "verify" | "staff_member_status", value: boolean) => Promise<Response>;
|
|
75
|
+
deleteUserProfile: (userId: string) => Promise<Response>;
|
|
69
76
|
}
|