@livetiles/reach-plugin-types 0.4.96 → 0.4.98
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 -14
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2192,6 +2192,14 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
2192
2192
|
draftCount: number;
|
|
2193
2193
|
}
|
|
2194
2194
|
}
|
|
2195
|
+
declare module "libs/reach/util/api-factory/src/apiUtils" {
|
|
2196
|
+
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
2197
|
+
type headerType = {
|
|
2198
|
+
[key: string]: any;
|
|
2199
|
+
};
|
|
2200
|
+
export function addInformationalHeaders(env: EnvironmentConfig, initialHeaders?: headerType): headerType;
|
|
2201
|
+
export function getAuthorizationHeaders(token: string, subscriptionId?: string): headerType;
|
|
2202
|
+
}
|
|
2195
2203
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
2196
2204
|
import { Api } from 'restful.js';
|
|
2197
2205
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
@@ -2212,9 +2220,6 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
2212
2220
|
}) => string;
|
|
2213
2221
|
fetchFromApi: (url: string, config?: RequestInit) => Promise<Response>;
|
|
2214
2222
|
}
|
|
2215
|
-
export function fetchFromApi(appConfig: {
|
|
2216
|
-
apiEndpoint: string;
|
|
2217
|
-
}, env: EnvironmentConfig, url: string, config?: RequestInit): Promise<Response>;
|
|
2218
2223
|
}
|
|
2219
2224
|
declare module "libs/reach/util/api-factory/src/useApi" {
|
|
2220
2225
|
import { Api } from 'restful.js';
|
|
@@ -2242,6 +2247,7 @@ declare module "libs/reach/util/api-factory/src/index" {
|
|
|
2242
2247
|
export * from "libs/reach/util/api-factory/src/useApi";
|
|
2243
2248
|
export * from "libs/reach/util/api-factory/src/useBeaconHandler";
|
|
2244
2249
|
export * from "libs/reach/util/api-factory/src/gql/GraphQlClientProvider";
|
|
2250
|
+
export * from "libs/reach/util/api-factory/src/apiUtils";
|
|
2245
2251
|
}
|
|
2246
2252
|
declare module "libs/reach/util/common/src/user/UserUtils" {
|
|
2247
2253
|
import { CurrentUser, GroupRoles, UserGroup, UserSummary } from "libs/reach/util/common/src/user/User";
|
|
@@ -2882,10 +2888,10 @@ declare module "libs/reach/util/common/src/analytics/analyticsUtils" {
|
|
|
2882
2888
|
export function sanitizeQueryParamsForDownloadLinks(url: string): string;
|
|
2883
2889
|
}
|
|
2884
2890
|
declare module "libs/reach/util/common/src/analytics/useLinkInteraction" {
|
|
2885
|
-
export function useLinkInteraction(): void;
|
|
2891
|
+
export function useLinkInteraction(element: HTMLElement): void;
|
|
2886
2892
|
}
|
|
2887
2893
|
declare module "libs/reach/util/common/src/analytics/useIframeInteraction" {
|
|
2888
|
-
export function useIframeInteraction(): void;
|
|
2894
|
+
export function useIframeInteraction(element: HTMLElement): void;
|
|
2889
2895
|
}
|
|
2890
2896
|
declare module "libs/reach/util/common/src/analytics/AnalyticsModuleContextProvider" {
|
|
2891
2897
|
import { FC } from 'react';
|
|
@@ -2928,6 +2934,7 @@ declare module "libs/reach/util/common/src/analytics/AnalyticsContextProvider" {
|
|
|
2928
2934
|
appName?: string;
|
|
2929
2935
|
}>;
|
|
2930
2936
|
export const AnalyticsContextProvider: FC;
|
|
2937
|
+
export const AdditionalAnalyticsTracking: FC;
|
|
2931
2938
|
}
|
|
2932
2939
|
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
2933
2940
|
export interface ModalRouting {
|
|
@@ -5122,8 +5129,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarEventViewSelector
|
|
|
5122
5129
|
export const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
5123
5130
|
}
|
|
5124
5131
|
declare module "libs/reach/ui/common/src/common/useAttachmentsApi" {
|
|
5125
|
-
import { ChatMessage } from "libs/reach/util/common/src/index";
|
|
5126
|
-
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
5132
|
+
import { ChatMessage, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
5127
5133
|
export function useAttachmentsApi(): {
|
|
5128
5134
|
uploadImage: (basePath: string, subscriptionId: string, imageId: string, containerId: string, file: File) => Promise<Response>;
|
|
5129
5135
|
uploadFile: (basePath: string, subscriptionId: string, fileId: string, containerId: string, file: File) => Promise<Response>;
|
|
@@ -5636,11 +5642,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
5636
5642
|
}
|
|
5637
5643
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
5638
5644
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
5639
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult,
|
|
5640
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
5641
|
-
import { Language } from "libs/reach/util/common/src/index";
|
|
5642
|
-
import { Audience } from "libs/reach/util/common/src/index";
|
|
5643
|
-
import { UserSummary } from "libs/reach/util/common/src/index";
|
|
5645
|
+
import { Account, AdminSubscription, Audience, DirectoryConfigurationPatch, Language, LinkDirectoryResult, LogoSize, TermsAndConditions, Theme, UserSummary } from "libs/reach/util/common/src/index";
|
|
5644
5646
|
export function useSubscriptionAdminApi(): {
|
|
5645
5647
|
getAdminSubscription: () => Promise<AdminSubscription>;
|
|
5646
5648
|
setContact: (account: Account) => Promise<Account>;
|
|
@@ -12029,9 +12031,9 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
12029
12031
|
}
|
|
12030
12032
|
}
|
|
12031
12033
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
12032
|
-
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
12033
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
12034
12034
|
import { Observable } from 'rxjs';
|
|
12035
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
12036
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
12035
12037
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
12036
12038
|
export function useEditorApi(): {
|
|
12037
12039
|
cloneItem: (itemType: ItemResourceTypes, itemId: string) => Promise<PublishableItem>;
|