@livetiles/reach-plugin-types 0.4.97 → 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 +13 -12
- 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";
|
|
@@ -5123,8 +5129,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarEventViewSelector
|
|
|
5123
5129
|
export const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
5124
5130
|
}
|
|
5125
5131
|
declare module "libs/reach/ui/common/src/common/useAttachmentsApi" {
|
|
5126
|
-
import { ChatMessage } from "libs/reach/util/common/src/index";
|
|
5127
|
-
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
5132
|
+
import { ChatMessage, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
5128
5133
|
export function useAttachmentsApi(): {
|
|
5129
5134
|
uploadImage: (basePath: string, subscriptionId: string, imageId: string, containerId: string, file: File) => Promise<Response>;
|
|
5130
5135
|
uploadFile: (basePath: string, subscriptionId: string, fileId: string, containerId: string, file: File) => Promise<Response>;
|
|
@@ -5637,11 +5642,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
5637
5642
|
}
|
|
5638
5643
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
5639
5644
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
5640
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult,
|
|
5641
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
5642
|
-
import { Language } from "libs/reach/util/common/src/index";
|
|
5643
|
-
import { Audience } from "libs/reach/util/common/src/index";
|
|
5644
|
-
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";
|
|
5645
5646
|
export function useSubscriptionAdminApi(): {
|
|
5646
5647
|
getAdminSubscription: () => Promise<AdminSubscription>;
|
|
5647
5648
|
setContact: (account: Account) => Promise<Account>;
|
|
@@ -12030,9 +12031,9 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
12030
12031
|
}
|
|
12031
12032
|
}
|
|
12032
12033
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
12033
|
-
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
12034
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
12035
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";
|
|
12036
12037
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
12037
12038
|
export function useEditorApi(): {
|
|
12038
12039
|
cloneItem: (itemType: ItemResourceTypes, itemId: string) => Promise<PublishableItem>;
|