@livetiles/reach-plugin-types 0.5.0-preview.642 → 0.5.0-preview.643
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
|
@@ -1831,6 +1831,14 @@ declare module "libs/reach/util/common/src/content/PublishableItem" {
|
|
|
1831
1831
|
draftCount: number;
|
|
1832
1832
|
}
|
|
1833
1833
|
}
|
|
1834
|
+
declare module "libs/reach/util/api-factory/src/apiUtils" {
|
|
1835
|
+
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
1836
|
+
type headerType = {
|
|
1837
|
+
[key: string]: any;
|
|
1838
|
+
};
|
|
1839
|
+
export function addInformationalHeaders(env: EnvironmentConfig, initialHeaders?: headerType): headerType;
|
|
1840
|
+
export function getAuthorizationHeaders(token: string, subscriptionId?: string): headerType;
|
|
1841
|
+
}
|
|
1834
1842
|
declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
1835
1843
|
import { Api } from 'restful.js';
|
|
1836
1844
|
import { EnvironmentConfig } from "libs/shared/util/environment/src/index";
|
|
@@ -1851,9 +1859,6 @@ declare module "libs/reach/util/api-factory/src/ClientFactoryInstance" {
|
|
|
1851
1859
|
}) => string;
|
|
1852
1860
|
fetchFromApi: (url: string, config?: RequestInit) => Promise<Response>;
|
|
1853
1861
|
}
|
|
1854
|
-
export function fetchFromApi(appConfig: {
|
|
1855
|
-
apiEndpoint: string;
|
|
1856
|
-
}, env: EnvironmentConfig, url: string, config?: RequestInit): Promise<Response>;
|
|
1857
1862
|
}
|
|
1858
1863
|
declare module "libs/reach/util/api-factory/src/useApi" {
|
|
1859
1864
|
import { Api } from 'restful.js';
|
|
@@ -1881,6 +1886,7 @@ declare module "libs/reach/util/api-factory/src/index" {
|
|
|
1881
1886
|
export * from "libs/reach/util/api-factory/src/useApi";
|
|
1882
1887
|
export * from "libs/reach/util/api-factory/src/useBeaconHandler";
|
|
1883
1888
|
export * from "libs/reach/util/api-factory/src/gql/GraphQlClientProvider";
|
|
1889
|
+
export * from "libs/reach/util/api-factory/src/apiUtils";
|
|
1884
1890
|
}
|
|
1885
1891
|
declare module "libs/reach/util/common/src/user/UserUtils" {
|
|
1886
1892
|
import { CurrentUser, GroupRoles, UserGroup, UserSummary } from "libs/reach/util/common/src/user/User";
|
|
@@ -4934,8 +4940,7 @@ declare module "libs/reach/ui/common/src/common/toolbar/ToolbarEventViewSelector
|
|
|
4934
4940
|
export const ToolbarEventViewSelector: FC<ToolbarEventViewSelectorProps>;
|
|
4935
4941
|
}
|
|
4936
4942
|
declare module "libs/reach/ui/common/src/common/useAttachmentsApi" {
|
|
4937
|
-
import { ChatMessage } from "libs/reach/util/common/src/index";
|
|
4938
|
-
import { ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
4943
|
+
import { ChatMessage, ItemWithAttachments } from "libs/reach/util/common/src/index";
|
|
4939
4944
|
export function useAttachmentsApi(): {
|
|
4940
4945
|
uploadImage: (basePath: string, subscriptionId: string, imageId: string, containerId: string, file: File) => Promise<Response>;
|
|
4941
4946
|
uploadFile: (basePath: string, subscriptionId: string, fileId: string, containerId: string, file: File) => Promise<Response>;
|
|
@@ -9086,9 +9091,9 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
|
|
|
9086
9091
|
}
|
|
9087
9092
|
}
|
|
9088
9093
|
declare module "libs/reach/feature/content/src/editor/useEditorApi" {
|
|
9089
|
-
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9090
|
-
import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
|
|
9091
9094
|
import { Observable } from 'rxjs';
|
|
9095
|
+
import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
|
|
9096
|
+
import { NewsFilterDefinition } from "libs/reach/feature/content/src/filter/NewsFilterDefinition";
|
|
9092
9097
|
import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
|
|
9093
9098
|
export function useEditorApi(): {
|
|
9094
9099
|
cloneItem: (itemType: ItemResourceTypes, itemId: string) => Promise<PublishableItem>;
|
|
@@ -11133,11 +11138,7 @@ declare module "apps/reach-app/src/app/admin/customization/HandleVerifier" {
|
|
|
11133
11138
|
}
|
|
11134
11139
|
declare module "apps/reach-app/src/app/admin/useSubscriptionAdminApi" {
|
|
11135
11140
|
import { ValidationResult } from "apps/reach-app/src/app/admin/customization/HandleVerifier";
|
|
11136
|
-
import { AdminSubscription, DirectoryConfigurationPatch, LinkDirectoryResult,
|
|
11137
|
-
import { Account } from "libs/reach/util/common/src/index";
|
|
11138
|
-
import { Language } from "libs/reach/util/common/src/index";
|
|
11139
|
-
import { Audience } from "libs/reach/util/common/src/index";
|
|
11140
|
-
import { UserSummary } from "libs/reach/util/common/src/index";
|
|
11141
|
+
import { Account, AdminSubscription, Audience, DirectoryConfigurationPatch, Language, LinkDirectoryResult, LogoSize, TermsAndConditions, Theme, UserSummary } from "libs/reach/util/common/src/index";
|
|
11141
11142
|
export function useSubscriptionAdminApi(): {
|
|
11142
11143
|
getAdminSubscription: () => Promise<AdminSubscription>;
|
|
11143
11144
|
setContact: (account: Account) => Promise<Account>;
|