@livetiles/reach-plugin-types 0.5.0-preview.3 → 0.5.0-preview.30
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 +22 -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;
|
|
@@ -6357,10 +6359,11 @@ declare module "apps/reach-app/src/app/admin/users/useUserCsvInviter" {
|
|
|
6357
6359
|
setError: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
6358
6360
|
inviteUsers: (onSuccess?: () => void) => Promise<void>;
|
|
6359
6361
|
isParserReady: boolean;
|
|
6360
|
-
|
|
6362
|
+
isInviting: boolean;
|
|
6363
|
+
canInvite: boolean;
|
|
6361
6364
|
};
|
|
6362
6365
|
}
|
|
6363
|
-
declare module "apps/reach-app/src/app/admin/users/ImportUserButton" {
|
|
6366
|
+
declare module "apps/reach-app/src/app/admin/users/invite-users-csv/ImportUserButton" {
|
|
6364
6367
|
import { FC } from 'react';
|
|
6365
6368
|
export const ImportUserButton: FC<{
|
|
6366
6369
|
onSuccessfulImport?: () => void;
|
|
@@ -11221,6 +11224,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
|
|
|
11221
11224
|
deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
|
|
11222
11225
|
};
|
|
11223
11226
|
}
|
|
11227
|
+
declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
|
|
11228
|
+
import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
|
|
11229
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
11230
|
+
export function useEventsEditorApi(): {
|
|
11231
|
+
getEvent: (eventId: string) => Promise<EventItem>;
|
|
11232
|
+
cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
|
|
11233
|
+
uncancelEvent: (id: string) => Promise<unknown>;
|
|
11234
|
+
unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
|
|
11235
|
+
deleteEventPermanently: (eventId: string) => any;
|
|
11236
|
+
saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
|
|
11237
|
+
deleteModifiedRecurrence: (eventId: string) => any;
|
|
11238
|
+
};
|
|
11239
|
+
}
|
|
11224
11240
|
declare module "libs/reach/feature/content/src/editor/index" {
|
|
11225
11241
|
export * from "libs/reach/feature/content/src/editor/EditorListItem";
|
|
11226
11242
|
export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
|
|
@@ -11230,6 +11246,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
|
|
|
11230
11246
|
export * from "libs/reach/feature/content/src/editor/useEditorApi";
|
|
11231
11247
|
export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
|
|
11232
11248
|
export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
|
|
11249
|
+
export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
|
|
11233
11250
|
}
|
|
11234
11251
|
declare module "libs/reach/feature/content/src/public-user/index" {
|
|
11235
11252
|
export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
|
|
@@ -11308,7 +11325,6 @@ declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader"
|
|
|
11308
11325
|
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/index";
|
|
11309
11326
|
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11310
11327
|
export const PAGES_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11311
|
-
export const PARENT_ID_CONDITION: (parentId?: string) => string;
|
|
11312
11328
|
}
|
|
11313
11329
|
declare module "libs/reach/feature/content/src/stream/index" {
|
|
11314
11330
|
export * from "libs/reach/feature/content/src/stream/StreamList";
|