@omnia/wcm 6.11.11-preview → 6.11.14-preview
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/internal-do-not-import-from-here/core/Constants.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannel.d.ts +2 -1
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelCategory.d.ts +7 -0
- package/internal-do-not-import-from-here/fx/models/channels/PublishingChannelCategory.js +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/channels/index.js +1 -0
- package/internal-do-not-import-from-here/fx/services/ChannelManagementService.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/services/PublishingChannelCategoriesService.d.ts +12 -0
- package/internal-do-not-import-from-here/fx/services/index.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelCategoriesStore.d.ts +27 -0
- package/internal-do-not-import-from-here/fx/stores/ChannelManagementStore.d.ts +2 -2
- package/internal-do-not-import-from-here/fx/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/manifests/omnia.wcm.fx.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActiveUserDashboardSettings, UnderusedSettings } from '../fx/models';
|
|
2
2
|
import { WCMTentantSettings } from '../models';
|
|
3
3
|
export declare class WcmCoreConstants {
|
|
4
|
+
static get ChannelGeneralCategory(): string;
|
|
4
5
|
static get SharepointSyncSettingsKey(): string;
|
|
5
6
|
static get WCMTenantSettingsKey(): string;
|
|
6
7
|
static get FakeAppInstanceIdForWcmTenant(): import("@omnia/fx-models").GuidValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Guid, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
|
|
1
|
+
import { Guid, GuidValue, Identity, MediaPickerImage, MultilingualString } from "@omnia/fx-models";
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp/models";
|
|
3
3
|
export declare enum PublishingChannelId {
|
|
4
4
|
}
|
|
@@ -13,6 +13,7 @@ export interface PublishingChannel {
|
|
|
13
13
|
administrator: Array<Identity>;
|
|
14
14
|
publisher: Array<Identity>;
|
|
15
15
|
targetingFilter?: TargetingFilterProperty;
|
|
16
|
+
publishingCategoryId?: GuidValue;
|
|
16
17
|
imageUrl?: string;
|
|
17
18
|
multilingualTitle?: string;
|
|
18
19
|
multilingualDescription?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
2
|
-
import { Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
2
|
+
import { GuidValue, Identity, MediaPickerImage, MultilingualString } from '@omnia/fx/models';
|
|
3
3
|
import { PublishingChannel, PageId, UserAuthorizedChannelResources, ChannelPage, PublishingStatus, PublishingChannelId, PublishingChannelPage, ChannelRollupQuery, PublisingChannelQueryResult } from '../models';
|
|
4
4
|
export declare class ChannelManagementService {
|
|
5
5
|
private httpClient;
|
|
6
6
|
constructor();
|
|
7
|
-
createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>;
|
|
7
|
+
createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty, publishingCategoryId?: GuidValue) => Promise<PublishingChannel>;
|
|
8
8
|
updatePublishingChannel: (updateData: PublishingChannel) => Promise<PublishingChannel>;
|
|
9
9
|
getPublishingChannels: () => Promise<Array<PublishingChannel>>;
|
|
10
10
|
getRecentlyUsedChannels: () => Promise<PublishingChannel[]>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GuidValue } from '@omnia/fx-models';
|
|
2
|
+
import { PublishingChannelCategory } from '../models';
|
|
3
|
+
export declare class PublishingChannelCategoriesService {
|
|
4
|
+
private httpClient;
|
|
5
|
+
private readonly baseUrl;
|
|
6
|
+
getAllCategories: () => Promise<Array<PublishingChannelCategory>>;
|
|
7
|
+
getCategoryById: (id: GuidValue) => Promise<PublishingChannelCategory>;
|
|
8
|
+
createCategory: (category: PublishingChannelCategory) => Promise<PublishingChannelCategory>;
|
|
9
|
+
updateCategory: (category: PublishingChannelCategory) => Promise<PublishingChannelCategory>;
|
|
10
|
+
deleteCategory: (id: GuidValue) => Promise<null>;
|
|
11
|
+
orderCategories: (ids: Array<GuidValue>) => Promise<null>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Store } from "@omnia/fx/stores";
|
|
2
|
+
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
+
import { PublishingChannelCategory } from "../models";
|
|
4
|
+
export declare class ChannelCategoriesStore extends Store {
|
|
5
|
+
private editingItem;
|
|
6
|
+
private editState;
|
|
7
|
+
private items;
|
|
8
|
+
private channelCategoriesService;
|
|
9
|
+
constructor();
|
|
10
|
+
getters: {
|
|
11
|
+
items: () => PublishingChannelCategory[];
|
|
12
|
+
editingItem: () => PublishingChannelCategory;
|
|
13
|
+
};
|
|
14
|
+
actions: {
|
|
15
|
+
ensureCategories: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: PublishingChannelCategory[]) => void, (failureReason: any) => void, () => Promise<PublishingChannelCategory[]>>;
|
|
16
|
+
deleteCategory: import("@omnia/fx/stores").StoreAction<unknown, (category: PublishingChannelCategory) => void, (result: null, category: PublishingChannelCategory) => void, (failureReason: any, category: PublishingChannelCategory) => void, (category: PublishingChannelCategory) => Promise<null>>;
|
|
17
|
+
addOrUpdate: import("@omnia/fx/stores").StoreAction<unknown, (category: PublishingChannelCategory) => void, (result: PublishingChannelCategory, category: PublishingChannelCategory) => void, (failureReason: any, category: PublishingChannelCategory) => void, (category: PublishingChannelCategory) => Promise<PublishingChannelCategory>>;
|
|
18
|
+
updateCategoriesOrders: import("@omnia/fx/stores").StoreAction<unknown, (ids: GuidValue[]) => void, (result: null, ids: GuidValue[]) => void, (failureReason: any, ids: GuidValue[]) => void, (ids: Array<GuidValue>) => Promise<null>>;
|
|
19
|
+
};
|
|
20
|
+
mutations: {
|
|
21
|
+
setEditState: import("@omnia/fx/stores").StoreMutation<(item: PublishingChannelCategory) => void, (item: PublishingChannelCategory) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
22
|
+
setCreateState: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
23
|
+
updateCategories: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
24
|
+
};
|
|
25
|
+
protected onActivated(): void;
|
|
26
|
+
protected onDisposing(): void;
|
|
27
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
|
|
1
|
+
import { GuidValue, Identity, IOmniaContext, MediaPickerImage, MultilingualString, ResolvedUser } from '@omnia/fx-models';
|
|
2
2
|
import { TargetingFilterProperty } from '@omnia/fx-sp/models';
|
|
3
3
|
import { MediaPickerService } from '@omnia/fx/services';
|
|
4
4
|
import { MultilingualStore, Store } from '@omnia/fx/stores';
|
|
@@ -69,7 +69,7 @@ export declare class ChannelManagementStore extends Store {
|
|
|
69
69
|
ensureChannelPages: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
|
|
70
70
|
ensurePublishedChannelsByPageId: import("@omnia/fx/stores").StoreAction<unknown, (pageId: PageId) => void, (result: boolean, pageId: PageId) => void, (failureReason: any, pageId: PageId) => void, (pageId: PageId) => Promise<boolean>>;
|
|
71
71
|
ensurePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: number) => void, (result: PublishingChannel, channelId: number) => void, (failureReason: any, channelId: number) => void, (channelId: number) => Promise<PublishingChannel>>;
|
|
72
|
-
createPublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (result: PublishingChannel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>>;
|
|
72
|
+
createPublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty, publishingCategoryId?: GuidValue) => void, (result: PublishingChannel, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty, publishingCategoryId?: GuidValue) => void, (failureReason: any, title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Identity[], image: MediaPickerImage, administrator: Identity[], publisher: Identity[], targetingFilter: TargetingFilterProperty, publishingCategoryId?: GuidValue) => void, (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty, publishingCategoryId?: GuidValue) => Promise<PublishingChannel>>;
|
|
73
73
|
updatePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (editRequest: PublishingChannel) => void, (result: PublishingChannel, editRequest: PublishingChannel) => void, (failureReason: any, editRequest: PublishingChannel) => void, (editRequest: PublishingChannel) => Promise<PublishingChannel>>;
|
|
74
74
|
deletePublishingChannel: import("@omnia/fx/stores").StoreAction<unknown, (channelId: PublishingChannelId) => void, (result: PublishingChannel, channelId: PublishingChannelId) => void, (failureReason: any, channelId: PublishingChannelId) => void, (channelId: PublishingChannelId) => Promise<PublishingChannel>>;
|
|
75
75
|
getPageApprovalList: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: ChannelPage[]) => void, (failureReason: any) => void, () => Promise<Array<ChannelPage>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"exports":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","SharepointPageService","SharepointPageStore","SharepointSynchronizedEventStatus","SynchronizedResourcesStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/stores/PageRollupStoreHelper.js":{"id":"./node_modules/@omnia/wcm/stores/pagerollupstorehelper.js","buildMeta":{"exportsType":"namespace"},"exports":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","PageRollupConfigurationFactory","PageRollupStoreHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"exports":["ActivityActionFactory","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaWCMPageBody","OutlookEvent","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","ScrollingUtils","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
|
|
1
|
+
{"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['a41d1723-10ca-4597-9c40-fd4f511ae2ae']","content":{"./node_modules/@omnia/wcm/internal/index.js":{"id":"./node_modules/@omnia/wcm/internal/index.js","buildMeta":{"exportsType":"namespace"},"exports":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","SharepointPageService","SharepointPageStore","SharepointSynchronizedEventStatus","SynchronizedResourcesStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"exports":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/stores/PageRollupStoreHelper.js":{"id":"./node_modules/@omnia/wcm/stores/pagerollupstorehelper.js","buildMeta":{"exportsType":"namespace"},"exports":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","PageRollupConfigurationFactory","PageRollupStoreHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"exports":["ActivityActionFactory","AutomaticPageCreationService","BASE_URL","BackgroundImageHelper","BreadcrumbStore","BreakpointStore","BuiltInActionButtonHandlers","CURRENT_DATE","CalendarConstants","CalendarService","ChannelCategoriesStore","ChannelManagementService","ChannelManagementStore","CommunityRules","CreatePageFormStore","CurrentEventStore","CurrentNavigationStore","CurrentPageStore","DisplayBreakPointFactory","DocumentService","EditingDisplayRules","EmailSettingsKey","EnterprisePropertyInternalNames","EventParticipantListElementName","EventService","GovernanceDashboard","IconRules","ItemQueryHelper","LayoutDataParentPageId","LayoutHelper","LayoutItemsTranslator","LinkPickerProviderMsg","LinkPickerProviders","LinkPickerStore","MaxIntNumber","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaWCMPageBody","OutlookEvent","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","ScrollingUtils","TargetingStore","ThemingRules","TimeFormat","TopicActivityService","TopicPrefixConstants","Topics","TopicsActivityStore","VariationRules","VariationService","VariationStore","VersionEnterpriseProperties","VersionPropertyBag","VisitedPageKeyPrefix","WCMPageKeyPrefix","WCMPageVersionStateException","WcmContext","WcmRouter","YammerService"]}}}
|