@livetiles/reach-plugin-types 0.4.0-preview.993 → 0.5.0-preview.11
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 +13 -6
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1443,6 +1443,7 @@ declare module "libs/reach/util/common/src/user/User" {
|
|
|
1443
1443
|
subscriptionId: string;
|
|
1444
1444
|
tenantId: string;
|
|
1445
1445
|
expires?: string;
|
|
1446
|
+
hasPrivateEmail?: boolean;
|
|
1446
1447
|
}
|
|
1447
1448
|
export interface HashUser {
|
|
1448
1449
|
id: string;
|
|
@@ -6330,7 +6331,7 @@ declare module "apps/reach-app/src/app/admin/users/GenerateApiKeyButton" {
|
|
|
6330
6331
|
onApiKeyAdded: () => void;
|
|
6331
6332
|
}>;
|
|
6332
6333
|
}
|
|
6333
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
6334
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview" {
|
|
6334
6335
|
import { FC } from 'react';
|
|
6335
6336
|
import { SubscriptionJoinResultType } from "libs/reach/util/common/src/index";
|
|
6336
6337
|
export enum GenericErrorType {
|
|
@@ -6339,6 +6340,7 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6339
6340
|
export interface UserImport {
|
|
6340
6341
|
displayName?: string;
|
|
6341
6342
|
email?: string;
|
|
6343
|
+
hasPrivateEmail?: boolean;
|
|
6342
6344
|
importResult?: SubscriptionJoinResultType | GenericErrorType;
|
|
6343
6345
|
errorMessage?: string;
|
|
6344
6346
|
}
|
|
@@ -6346,8 +6348,8 @@ declare module "apps/reach-app/src/app/admin/users/ImportUsersPreview" {
|
|
|
6346
6348
|
previewUsers: UserImport[];
|
|
6347
6349
|
}>;
|
|
6348
6350
|
}
|
|
6349
|
-
declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
6350
|
-
import { UserImport } from "apps/reach-app/src/app/admin/users/ImportUsersPreview";
|
|
6351
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/useUserCsvInviter" {
|
|
6352
|
+
import { UserImport } from "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUsersPreview";
|
|
6351
6353
|
export function useUserCsvInviter(): {
|
|
6352
6354
|
invitedUsers: UserImport[];
|
|
6353
6355
|
isValidating: boolean;
|
|
@@ -6360,7 +6362,7 @@ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
|
6360
6362
|
isImporting: boolean;
|
|
6361
6363
|
};
|
|
6362
6364
|
}
|
|
6363
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
|
|
6365
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6364
6366
|
import { FC } from 'react';
|
|
6365
6367
|
export const ImportUserButton: FC<{
|
|
6366
6368
|
onSuccessfulImport?: () => void;
|
|
@@ -7799,6 +7801,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcr
|
|
|
7799
7801
|
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
7800
7802
|
import { FC, ReactNode } from 'react';
|
|
7801
7803
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7804
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7802
7805
|
interface StyleDefinition {
|
|
7803
7806
|
backgroundColor?: string;
|
|
7804
7807
|
bannerDefaultWidth: number;
|
|
@@ -7813,6 +7816,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7813
7816
|
item: PageItem;
|
|
7814
7817
|
baseRoute: string;
|
|
7815
7818
|
targetUrl?: string;
|
|
7819
|
+
layoutMode?: ItemTileLayoutMode;
|
|
7816
7820
|
filterBaseUrl?: string;
|
|
7817
7821
|
styleDefinition?: StyleDefinition;
|
|
7818
7822
|
readOnly?: boolean;
|
|
@@ -7822,6 +7826,9 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7822
7826
|
showBannerPlaceholder?: boolean;
|
|
7823
7827
|
showBreadcrumb?: boolean;
|
|
7824
7828
|
showIntro?: boolean;
|
|
7829
|
+
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7830
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7831
|
+
openTargetInNewWindow?: boolean;
|
|
7825
7832
|
className?: string;
|
|
7826
7833
|
}
|
|
7827
7834
|
export const PageItemTile: FC<Props>;
|
|
@@ -9871,6 +9878,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9871
9878
|
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9872
9879
|
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9873
9880
|
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9881
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
9874
9882
|
}
|
|
9875
9883
|
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
9876
9884
|
import { FC } from 'react';
|
|
@@ -11300,9 +11308,8 @@ declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader"
|
|
|
11300
11308
|
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11301
11309
|
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11302
11310
|
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/index";
|
|
11303
|
-
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string
|
|
11311
|
+
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11304
11312
|
export const PAGES_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11305
|
-
export const PARENT_ID_CONDITION: (parentId?: string) => string;
|
|
11306
11313
|
}
|
|
11307
11314
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11308
11315
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|