@livetiles/reach-plugin-types 0.4.141 → 0.4.143
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 +39 -24
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -473,6 +473,13 @@ declare module "libs/reach/util/common/src/SortDirection" {
|
|
|
473
473
|
desc = -1
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
+
declare module "libs/reach/util/context/src/ChromeSettingsContext" {
|
|
477
|
+
import { FC } from 'react';
|
|
478
|
+
export const ChromeSettingsContext: import("react").Context<{
|
|
479
|
+
hideChrome: boolean;
|
|
480
|
+
}>;
|
|
481
|
+
export const ChromeSettingsContextProvider: FC;
|
|
482
|
+
}
|
|
476
483
|
declare module "libs/reach/util/context/src/ErrorContext" {
|
|
477
484
|
import { AuthenticationType } from "libs/shared/util/authentication/src/index";
|
|
478
485
|
export const ErrorContext: import("react").Context<{
|
|
@@ -514,22 +521,19 @@ declare module "libs/reach/util/context/src/StorageContext" {
|
|
|
514
521
|
export const StorageContext: import("react").Context<Storage>;
|
|
515
522
|
export function useStorage(): Storage;
|
|
516
523
|
}
|
|
517
|
-
declare module "libs/reach/util/context/src/
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
524
|
+
declare module "libs/reach/util/context/src/MemoryCache" {
|
|
525
|
+
import { Storage } from "libs/reach/util/context/src/StorageContext";
|
|
526
|
+
class MemoryStorage implements Storage {
|
|
527
|
+
private storage;
|
|
528
|
+
remove(key: string): Promise<void>;
|
|
529
|
+
clearAll(): Promise<void>;
|
|
530
|
+
getObject<T>(key: string): Promise<T>;
|
|
531
|
+
set<T>(key: string, value: T): Promise<void>;
|
|
532
|
+
getString(key: string): Promise<string>;
|
|
533
|
+
setString(key: string, value: string): Promise<void>;
|
|
534
|
+
getAllKeys(): Promise<string[]>;
|
|
521
535
|
}
|
|
522
|
-
export const
|
|
523
|
-
setIdentifier: (identifier: SubscriptionIdentifier) => void;
|
|
524
|
-
} & {
|
|
525
|
-
identifier: SubscriptionIdentifier;
|
|
526
|
-
}>;
|
|
527
|
-
}
|
|
528
|
-
declare module "libs/reach/util/context/src/SubscriptionIdContextProvider" {
|
|
529
|
-
import { FC } from 'react';
|
|
530
|
-
export const SubscriptionIdContextProvider: FC<{
|
|
531
|
-
subscriptionId?: string;
|
|
532
|
-
}>;
|
|
536
|
+
export const memoryStorageInstance: MemoryStorage;
|
|
533
537
|
}
|
|
534
538
|
declare module "libs/reach/util/context/src/ResourceContext" {
|
|
535
539
|
import { FC } from 'react';
|
|
@@ -548,21 +552,32 @@ declare module "libs/reach/util/context/src/ResourceContext" {
|
|
|
548
552
|
}
|
|
549
553
|
export const ResourceContext: import("react").Context<ResourceContextType>;
|
|
550
554
|
}
|
|
551
|
-
declare module "libs/reach/util/context/src/
|
|
555
|
+
declare module "libs/reach/util/context/src/SubscriptionIdContext" {
|
|
556
|
+
export interface SubscriptionIdentifier {
|
|
557
|
+
id?: string;
|
|
558
|
+
subscriptionHandle?: string;
|
|
559
|
+
}
|
|
560
|
+
export const SubscriptionIdContext: import("react").Context<{
|
|
561
|
+
setIdentifier: (identifier: SubscriptionIdentifier) => void;
|
|
562
|
+
} & {
|
|
563
|
+
identifier: SubscriptionIdentifier;
|
|
564
|
+
}>;
|
|
565
|
+
}
|
|
566
|
+
declare module "libs/reach/util/context/src/SubscriptionIdContextProvider" {
|
|
552
567
|
import { FC } from 'react';
|
|
553
|
-
export const
|
|
554
|
-
|
|
568
|
+
export const SubscriptionIdContextProvider: FC<{
|
|
569
|
+
subscriptionId?: string;
|
|
555
570
|
}>;
|
|
556
|
-
export const ChromeSettingsContextProvider: FC;
|
|
557
571
|
}
|
|
558
572
|
declare module "libs/reach/util/context/src/index" {
|
|
573
|
+
export * from "libs/reach/util/context/src/ChromeSettingsContext";
|
|
559
574
|
export * from "libs/reach/util/context/src/ErrorContext";
|
|
560
575
|
export * from "libs/reach/util/context/src/LinkContext";
|
|
576
|
+
export * from "libs/reach/util/context/src/MemoryCache";
|
|
577
|
+
export * from "libs/reach/util/context/src/ResourceContext";
|
|
561
578
|
export * from "libs/reach/util/context/src/StorageContext";
|
|
562
579
|
export * from "libs/reach/util/context/src/SubscriptionIdContext";
|
|
563
580
|
export * from "libs/reach/util/context/src/SubscriptionIdContextProvider";
|
|
564
|
-
export * from "libs/reach/util/context/src/ResourceContext";
|
|
565
|
-
export * from "libs/reach/util/context/src/ChromeSettingsContext";
|
|
566
581
|
}
|
|
567
582
|
declare module "libs/reach/util/common/src/useCacheLanguageApi" {
|
|
568
583
|
export function useCacheLanguageApi(): {
|
|
@@ -7472,7 +7487,7 @@ declare module "libs/reach/feature/content/src/forms/videos/InsertVideoDialog" {
|
|
|
7472
7487
|
declare module "libs/reach/feature/content/src/forms/videos/VideoElementGenerator" {
|
|
7473
7488
|
import { VideoInfo } from "libs/reach/feature/content/src/forms/videos/InsertVideoDialog";
|
|
7474
7489
|
import { TVideoProperties } from "libs/reach/feature/content/src/forms/videos/VideoUrlParser";
|
|
7475
|
-
export const getMicrosoftStreamVideoUrl: (
|
|
7490
|
+
export const getMicrosoftStreamVideoUrl: (url: string) => string;
|
|
7476
7491
|
export class VideoElementGenerator {
|
|
7477
7492
|
private videoInfo;
|
|
7478
7493
|
private iframeAreaLabel;
|
|
@@ -11254,11 +11269,11 @@ declare module "libs/reach/feature/content/src/stream/useEventsStreamDataLoader"
|
|
|
11254
11269
|
export const CONTACTS_CONDITION: (contacts: string[]) => string;
|
|
11255
11270
|
}
|
|
11256
11271
|
declare module "libs/reach/feature/content/src/stream/useMarkStreamItemsAsRead" {
|
|
11257
|
-
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11258
11272
|
import { ItemTypeFilterFlag } from "libs/reach/feature/content/src/filter/index";
|
|
11273
|
+
import { StreamFilterDefinition } from "libs/reach/feature/content/src/stream/useStreamItemsQuery";
|
|
11259
11274
|
export interface onMarkAsReadHandlers {
|
|
11260
|
-
onStarted?: () => unknown;
|
|
11261
11275
|
onFinished?: () => unknown;
|
|
11276
|
+
onStarted?: () => unknown;
|
|
11262
11277
|
}
|
|
11263
11278
|
export function useMarkStreamItemsAsRead(itemTypes: ItemTypeFilterFlag, filter?: StreamFilterDefinition, searchText?: string, handlers?: onMarkAsReadHandlers, unreadCount?: number): () => Promise<void>;
|
|
11264
11279
|
}
|