@livetiles/reach-plugin-types 0.4.10 → 0.4.12

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 +17 -6
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2732,6 +2732,8 @@ declare module "libs/reach/util/common/src/user/useUserAdminApi" {
2732
2732
  updateUserAvatarByUPN: (upn: string, subscriptionId: string, file?: File) => Promise<unknown>;
2733
2733
  deleteUserAvatarByUPN: (upn: string) => Promise<unknown>;
2734
2734
  importUsers: (file: File) => Promise<SubscriptionJoinResult[]>;
2735
+ refreshApiKey: (apiKeyId: string, expiryDate: string) => Promise<Response>;
2736
+ requestApiKey: (email: string, displayName: string, expiryDate: string) => Promise<Response>;
2735
2737
  };
2736
2738
  }
2737
2739
  declare module "libs/reach/util/common/src/user/useCurrentUserCache" {
@@ -6520,6 +6522,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
6520
6522
  onSaved: (newProperties: UpdatableUserProperties) => void;
6521
6523
  }>;
6522
6524
  }
6525
+ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
6526
+ import { FC } from 'react';
6527
+ import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
6528
+ export const GenerateApiKeyDialog: FC<{
6529
+ onApiKeyAdded?: () => void;
6530
+ onDismiss: () => void;
6531
+ user?: UserItem;
6532
+ }>;
6533
+ }
6523
6534
  declare module "apps/reach-app/src/app/admin/users/UserList" {
6524
6535
  import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
6525
6536
  import './UserList.scss';
@@ -6543,7 +6554,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
6543
6554
  isLoading?: boolean;
6544
6555
  isEmpty?: boolean;
6545
6556
  emptyPlaceholder?: ReactNode;
6557
+ onKeyChanged?: () => void;
6546
6558
  }
6559
+ export type UserItem = Account & UserSummary & GroupUser & {
6560
+ accountType: string;
6561
+ lastLogin: string | JSX.Element;
6562
+ };
6547
6563
  export const UserList: FC<Props>;
6548
6564
  }
6549
6565
  declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
@@ -6576,12 +6592,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
6576
6592
  className?: string;
6577
6593
  }>;
6578
6594
  }
6579
- declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
6580
- import { FC } from 'react';
6581
- export const GenerateApiKeyButton: FC<{
6582
- onApiKeyAdded: () => void;
6583
- }>;
6584
- }
6585
6595
  declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
6586
6596
  import { FC } from 'react';
6587
6597
  import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
@@ -8100,6 +8110,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
8100
8110
  enableModalRouting?: boolean;
8101
8111
  itemId?: string;
8102
8112
  isOverrideLink: boolean;
8113
+ icon?: string;
8103
8114
  }>;
8104
8115
  }
8105
8116
  declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.10",
7
+ "version": "0.4.12",
8
8
  "dependencies": {}
9
9
  }