@livetiles/reach-plugin-types 0.5.0-preview.665 → 0.5.0-preview.666
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 +30 -25
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -985,6 +985,7 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
985
985
|
import { Language, LanguageBase } from "libs/reach/util/common/src/content/Language";
|
|
986
986
|
import { Keyword, KeywordGroup } from "libs/reach/util/common/src/content/KeywordGroup";
|
|
987
987
|
import { Channel } from "libs/reach/util/common/src/channels/Channel";
|
|
988
|
+
import { ItemType } from "libs/reach/util/common/src/index";
|
|
988
989
|
export interface DirectoryConfiguration extends DirectoryConfigurationPatch {
|
|
989
990
|
domains?: string[];
|
|
990
991
|
tenantId: string;
|
|
@@ -1097,6 +1098,9 @@ declare module "libs/reach/util/common/src/user/Subscription" {
|
|
|
1097
1098
|
directories: DirectoryConfiguration[];
|
|
1098
1099
|
selfRegistration: SelfRegistrationOptions;
|
|
1099
1100
|
customBrandingIdentifier?: string;
|
|
1101
|
+
customNotificationSettings?: {
|
|
1102
|
+
[key in keyof typeof ItemType]: string;
|
|
1103
|
+
};
|
|
1100
1104
|
}
|
|
1101
1105
|
export interface SelfRegistrationOptions {
|
|
1102
1106
|
enabled?: boolean;
|
|
@@ -2040,6 +2044,12 @@ declare module "libs/reach/util/common/src/content/ItemResourceType" {
|
|
|
2040
2044
|
Events = "events",
|
|
2041
2045
|
Comments = "comments"
|
|
2042
2046
|
}
|
|
2047
|
+
export enum ItemType {
|
|
2048
|
+
News = 0,
|
|
2049
|
+
Post = 1,
|
|
2050
|
+
Page = 2,
|
|
2051
|
+
Event = 3
|
|
2052
|
+
}
|
|
2043
2053
|
}
|
|
2044
2054
|
declare module "libs/reach/util/common/src/content/EventItem" {
|
|
2045
2055
|
import { Account } from "libs/reach/util/common/src/user/Account";
|
|
@@ -11306,17 +11316,12 @@ declare module "apps/reach-app/src/app/admin/customization/Favicon" {
|
|
|
11306
11316
|
}
|
|
11307
11317
|
declare module "apps/reach-app/src/app/admin/customization/EmailNotificationItem" {
|
|
11308
11318
|
import { FC } from 'react';
|
|
11319
|
+
import { ItemType } from "libs/reach/util/common/src/index";
|
|
11309
11320
|
export type NotificationSetting = {
|
|
11310
11321
|
option: Option;
|
|
11311
11322
|
url?: string;
|
|
11312
11323
|
error?: Error;
|
|
11313
11324
|
};
|
|
11314
|
-
export enum ItemType {
|
|
11315
|
-
News = 0,
|
|
11316
|
-
Posts = 1,
|
|
11317
|
-
Pages = 2,
|
|
11318
|
-
Events = 3
|
|
11319
|
-
}
|
|
11320
11325
|
export enum Option {
|
|
11321
11326
|
Reach = "reach",
|
|
11322
11327
|
Custom = "custom"
|
|
@@ -11333,25 +11338,6 @@ declare module "apps/reach-app/src/app/admin/customization/EmailNotificationItem
|
|
|
11333
11338
|
onChange: (itemType: ItemType, option: Option, url?: string) => void;
|
|
11334
11339
|
}>;
|
|
11335
11340
|
}
|
|
11336
|
-
declare module "apps/reach-app/src/app/admin/customization/EmailNotifications" {
|
|
11337
|
-
import { FC } from 'react';
|
|
11338
|
-
export const EmailNotifications: FC;
|
|
11339
|
-
}
|
|
11340
|
-
declare module "apps/reach-app/src/app/admin/customization/Customization" {
|
|
11341
|
-
import { FC } from 'react';
|
|
11342
|
-
export const Customization: FC;
|
|
11343
|
-
}
|
|
11344
|
-
declare module "apps/reach-app/src/app/admin/languages/LanguageDialog" {
|
|
11345
|
-
import { FC } from 'react';
|
|
11346
|
-
import { LocalizedLanguageSummary } from "libs/reach/util/common/src/index";
|
|
11347
|
-
export const LanguageDialog: FC<{
|
|
11348
|
-
languages: LocalizedLanguageSummary[];
|
|
11349
|
-
onChange: (language: LocalizedLanguageSummary) => unknown;
|
|
11350
|
-
onClose: () => unknown;
|
|
11351
|
-
titleResource: string;
|
|
11352
|
-
showDialog: boolean;
|
|
11353
|
-
}>;
|
|
11354
|
-
}
|
|
11355
11341
|
declare module "libs/shared/util/authentication-services/src/LoginArguments" {
|
|
11356
11342
|
import { AuthenticationStrategy, AuthenticationType, IdentityProvider } from "libs/shared/util/authentication/src/index";
|
|
11357
11343
|
export class LoginArguments {
|
|
@@ -12026,6 +12012,25 @@ declare module "apps/reach-app/src/app/admin/AdminSubscriptionContext" {
|
|
|
12026
12012
|
}>;
|
|
12027
12013
|
export const AdminSubscriptionContextProvider: FC;
|
|
12028
12014
|
}
|
|
12015
|
+
declare module "apps/reach-app/src/app/admin/customization/EmailNotifications" {
|
|
12016
|
+
import { FC } from 'react';
|
|
12017
|
+
export const EmailNotifications: FC;
|
|
12018
|
+
}
|
|
12019
|
+
declare module "apps/reach-app/src/app/admin/customization/Customization" {
|
|
12020
|
+
import { FC } from 'react';
|
|
12021
|
+
export const Customization: FC;
|
|
12022
|
+
}
|
|
12023
|
+
declare module "apps/reach-app/src/app/admin/languages/LanguageDialog" {
|
|
12024
|
+
import { FC } from 'react';
|
|
12025
|
+
import { LocalizedLanguageSummary } from "libs/reach/util/common/src/index";
|
|
12026
|
+
export const LanguageDialog: FC<{
|
|
12027
|
+
languages: LocalizedLanguageSummary[];
|
|
12028
|
+
onChange: (language: LocalizedLanguageSummary) => unknown;
|
|
12029
|
+
onClose: () => unknown;
|
|
12030
|
+
titleResource: string;
|
|
12031
|
+
showDialog: boolean;
|
|
12032
|
+
}>;
|
|
12033
|
+
}
|
|
12029
12034
|
declare module "apps/reach-app/src/app/admin/languages/Languages" {
|
|
12030
12035
|
import { FC } from 'react';
|
|
12031
12036
|
export const Languages: FC;
|