@livetiles/reach-plugin-types 0.5.0-preview.2 → 0.5.0-preview.23

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 +21 -6
  2. 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;
@@ -11221,6 +11223,19 @@ declare module "libs/reach/feature/content/src/editor/useShareTokenEditorApi" {
11221
11223
  deleteShareToken: (newsId: string, tokenType?: ShareTokenType) => Promise<any>;
11222
11224
  };
11223
11225
  }
11226
+ declare module "libs/reach/feature/content/src/editor/useEventsEditorApi" {
11227
+ import { EventCancelReasons, EventCancelInformation, EventItem } from "libs/reach/util/common/src/index";
11228
+ import { PublishableItem } from "libs/reach/util/common/src/index";
11229
+ export function useEventsEditorApi(): {
11230
+ getEvent: (eventId: string) => Promise<EventItem>;
11231
+ cancelEvent: (id: string, reasons: EventCancelReasons) => Promise<EventCancelInformation>;
11232
+ uncancelEvent: (id: string) => Promise<unknown>;
11233
+ unpublishEvent: (id: string, leaseId: string) => Promise<unknown>;
11234
+ deleteEventPermanently: (eventId: string) => any;
11235
+ saveEvent: (subscriptionId: string, event: PublishableItem, createLease: boolean) => Promise<EventItem>;
11236
+ deleteModifiedRecurrence: (eventId: string) => any;
11237
+ };
11238
+ }
11224
11239
  declare module "libs/reach/feature/content/src/editor/index" {
11225
11240
  export * from "libs/reach/feature/content/src/editor/EditorListItem";
11226
11241
  export * from "libs/reach/feature/content/src/editor/NewsEditorItem";
@@ -11230,6 +11245,7 @@ declare module "libs/reach/feature/content/src/editor/index" {
11230
11245
  export * from "libs/reach/feature/content/src/editor/useEditorApi";
11231
11246
  export * from "libs/reach/feature/content/src/editor/useNewsEditorApi";
11232
11247
  export * from "libs/reach/feature/content/src/editor/useShareTokenEditorApi";
11248
+ export * from "libs/reach/feature/content/src/editor/useEventsEditorApi";
11233
11249
  }
11234
11250
  declare module "libs/reach/feature/content/src/public-user/index" {
11235
11251
  export * from "libs/reach/feature/content/src/public-user/PublicUserFullAccessButton";
@@ -11306,9 +11322,8 @@ declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader"
11306
11322
  import { ItemLoader } from "libs/reach/ui/common/src/index";
11307
11323
  import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
11308
11324
  import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/index";
11309
- export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string, pageParentId?: string): ItemLoader<PageStreamItem, number>;
11325
+ export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
11310
11326
  export const PAGES_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
11311
- export const PARENT_ID_CONDITION: (parentId?: string) => string;
11312
11327
  }
11313
11328
  declare module "libs/reach/feature/content/src/stream/index" {
11314
11329
  export * from "libs/reach/feature/content/src/stream/StreamList";
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.2",
7
+ "version": "0.5.0-preview.23",
8
8
  "dependencies": {}
9
9
  }