@livetiles/reach-plugin-types 0.5.0-preview.47 → 0.5.0-preview.50

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +19 -6
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2748,6 +2748,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2748
2748
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2749
2749
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2750
2750
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
2751
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
2752
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2751
2753
  };
2752
2754
  }
2753
2755
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -3974,6 +3976,7 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
3974
3976
  }[]>;
3975
3977
  export function getFileIcon(filename: string): string;
3976
3978
  export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
3979
+ export function getFileIconHorizontalTransform(fileIcon: string): -55 | -50;
3977
3980
  export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
3978
3981
  export function getMainScrollableContainer(): HTMLElement;
3979
3982
  }
@@ -6531,6 +6534,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6531
6534
  onSaved: (newProperties: UpdatableUserProperties) => void;
6532
6535
  }>;
6533
6536
  }
6537
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6538
+ import { FC } from 'react';
6539
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6540
+ export const GenerateApiKeyDialog: FC<{
6541
+ onApiKeyAdded?: () => void;
6542
+ onDismiss: () => void;
6543
+ user?: UserItem;
6544
+ }>;
6545
+ }
6534
6546
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6535
6547
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6536
6548
  import './UserList.scss';
@@ -6554,7 +6566,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6554
6566
  isLoading?: boolean;
6555
6567
  isEmpty?: boolean;
6556
6568
  emptyPlaceholder?: ReactNode;
6569
+ onKeyChanged?: () => void;
6557
6570
  }
6571
+ export type UserItem = Account & UserSummary & GroupUser & {
6572
+ accountType: string;
6573
+ lastLogin: string | JSX.Element;
6574
+ };
6558
6575
  export const UserList: FC<Props>;
6559
6576
  }
6560
6577
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6587,12 +6604,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6587
6604
  className?: string;
6588
6605
  }>;
6589
6606
  }
6590
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6591
- import { FC } from 'react';
6592
- export const GenerateApiKeyButton: FC<{
6593
- onApiKeyAdded: () => void;
6594
- }>;
6595
- }
6596
6607
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6597
6608
  import { FC } from 'react';
6598
6609
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -7526,6 +7537,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
7526
7537
  height?: number;
7527
7538
  hidePlayerIfActive?: boolean;
7528
7539
  className?: string;
7540
+ documentIconName?: string;
7529
7541
  }
7530
7542
  export const PublishableItemBanner: FC<Props>;
7531
7543
  }
@@ -9818,6 +9830,7 @@ declare module "libs/reach/feature/content/src/common/banner/Banner" {
9818
9830
  layoutMode?: ItemTileLayoutMode;
9819
9831
  bannerDefaultWidth?: number;
9820
9832
  showPlaceholderIfNoBannerInfo?: boolean;
9833
+ documentIconName?: string;
9821
9834
  }>;
9822
9835
  }
9823
9836
  declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.5.0-preview.47",
7
+ "version": "0.5.0-preview.50",
8
8
  "dependencies": {}
9
9
  }