@livetiles/reach-plugin-types 0.5.0-preview.45 → 0.5.0-preview.49
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/lib/index.d.ts +16 -6
- 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" {
|
|
@@ -6531,6 +6533,15 @@ declare module "apps/reach-app/src/app/admin/users/EditUserButton" {
|
|
|
6531
6533
|
onSaved: (newProperties: UpdatableUserProperties) => void;
|
|
6532
6534
|
}>;
|
|
6533
6535
|
}
|
|
6536
|
+
declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyDialog" {
|
|
6537
|
+
import { FC } from 'react';
|
|
6538
|
+
import { UserItem } from "apps/reach-app/src/app/admin/users/UserList";
|
|
6539
|
+
export const GenerateApiKeyDialog: FC<{
|
|
6540
|
+
onApiKeyAdded?: () => void;
|
|
6541
|
+
onDismiss: () => void;
|
|
6542
|
+
user?: UserItem;
|
|
6543
|
+
}>;
|
|
6544
|
+
}
|
|
6534
6545
|
declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
6535
6546
|
import { Account, GroupRoles, GroupUser, SortDefinition, UpdatableUserProperties, UserSummary } from "libs/reach/util/common/src/index";
|
|
6536
6547
|
import './UserList.scss';
|
|
@@ -6554,7 +6565,12 @@ declare module "apps/reach-app/src/app/admin/users/UserList" {
|
|
|
6554
6565
|
isLoading?: boolean;
|
|
6555
6566
|
isEmpty?: boolean;
|
|
6556
6567
|
emptyPlaceholder?: ReactNode;
|
|
6568
|
+
onKeyChanged?: () => void;
|
|
6557
6569
|
}
|
|
6570
|
+
export type UserItem = Account & UserSummary & GroupUser & {
|
|
6571
|
+
accountType: string;
|
|
6572
|
+
lastLogin: string | JSX.Element;
|
|
6573
|
+
};
|
|
6558
6574
|
export const UserList: FC<Props>;
|
|
6559
6575
|
}
|
|
6560
6576
|
declare module "apps/reach-app/src/app/InfiniteScrollingStatus" {
|
|
@@ -6587,12 +6603,6 @@ declare module "apps/reach-app/src/app/admin/users/ExportUserButton" {
|
|
|
6587
6603
|
className?: string;
|
|
6588
6604
|
}>;
|
|
6589
6605
|
}
|
|
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
6606
|
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6597
6607
|
import { FC } from 'react';
|
|
6598
6608
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|