fansunited-management-components 1.42.2 → 1.43.0-RC2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fansunited-management-components",
3
- "version": "1.42.2",
3
+ "version": "1.43.0-RC2",
4
4
  "main": "index.es.js",
5
5
  "author": "Fans United",
6
6
  "description": "",
@@ -1,9 +1,11 @@
1
1
  import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material';
2
3
 
3
4
  type FlagsProps = {
4
5
  labels: any;
5
6
  flags: string[];
6
7
  onChange: (flags: string[]) => void;
8
+ sx?: SxProps;
7
9
  };
8
10
  declare const Flags: React.FC<FlagsProps>;
9
11
  export default Flags;
@@ -33,6 +33,7 @@ export default class HttpsService extends Https {
33
33
  createGame: (requestBody: GameRequestBody) => Promise<Response>;
34
34
  editGame: (gameId: string, requestBody: GameRequestBody) => Promise<Response>;
35
35
  getEntityFeature: (entityType: FeatureType, disableCache?: boolean) => Promise<Response>;
36
+ getClientFeatures: (disableCache?: boolean) => Promise<Response>;
36
37
  updateEntityFeatures: (entityType: FeatureType, requestBody: any) => Promise<Response>;
37
38
  getClassicQuizFeature: () => Promise<Response>;
38
39
  getEitherOrFeature: () => Promise<Response>;
@@ -84,4 +85,6 @@ export default class HttpsService extends Https {
84
85
  getReportedPosts: (queryParams: Record<string, any>) => Promise<Response>;
85
86
  updateDiscussionsFeature: (requestBody: any) => Promise<Response>;
86
87
  updateProfilePreferences: (requestBody: any) => Promise<Response>;
88
+ getClientBadges: () => Promise<Response>;
89
+ updateClientBadges: (requestBody: any) => Promise<Response>;
87
90
  }