@omnia/wcm 6.10.91-preview → 6.10.92-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.
@@ -549,6 +549,7 @@ export declare module EditorLocalization {
549
549
  Title: string;
550
550
  SelectPublishingApp: string;
551
551
  InvalidVariationsMessage: string;
552
+ ExistingUrlSegmentMessage: string;
552
553
  IsNotAppAdminMessage: string;
553
554
  };
554
555
  DeleteLink: {
@@ -0,0 +1,10 @@
1
+ export declare enum SharepointSynchronizedEventStatus {
2
+ Pending = 0,
3
+ Success = 1,
4
+ Failed = 2
5
+ }
6
+ export interface SharepointSynchronizedEvent {
7
+ id: number;
8
+ versionId: number;
9
+ status: SharepointSynchronizedEventStatus;
10
+ }
@@ -4,3 +4,4 @@ export * from "./BreadcrumNode";
4
4
  export * from "./PagesDashboardMetric";
5
5
  export * from "./PagesDashboard";
6
6
  export * from "./UserActivityDashboard";
7
+ export * from "./SharepointSynchronizedEvent";
@@ -1,9 +1,10 @@
1
1
  import { DocumentFileUpload } from '../../models';
2
2
  import { EnterprisePropertyDocumentProviderProperty } from '../../models/components/EnterprisePropertyDocumentProvider';
3
- import { SharepointSynchronizedResource } from '../models';
3
+ import { SharepointSynchronizedEvent, SharepointSynchronizedResource } from '../models';
4
4
  export declare class SharepointPageService {
5
5
  private httpClient;
6
6
  private readonly baseUrl;
7
+ getPublishedSynchronizedEvent: (versionId: number) => Promise<SharepointSynchronizedEvent>;
7
8
  getSynchronizedResourceStatus: (resourceId: string) => Promise<SharepointSynchronizedResource>;
8
9
  triggerFullSyncPublishingApp: (resumeFromLastSync?: boolean) => Promise<string>;
9
10
  uploadFile: (fileInfo: DocumentFileUpload) => Promise<EnterprisePropertyDocumentProviderProperty>;
@@ -1,13 +1,12 @@
1
- import { Store } from '@omnia/fx/stores';
2
1
  import { AppInstance } from '@omnia/fx-models';
3
- import { SharepointSynchronizedResource } from '../models';
2
+ import { Store } from '@omnia/fx/stores';
4
3
  import { SharepointSyncPageSettings } from 'internal/fx/internal/models';
4
+ import { SharepointSynchronizedResource } from '../models';
5
5
  export declare class SharepointPageStore extends Store {
6
6
  private settingsService;
7
7
  private sharepointPageService;
8
8
  private spContext;
9
9
  private currentPageStore;
10
- private pagesStore;
11
10
  private subscriptionHandler;
12
11
  private fxLoc;
13
12
  private spSyncPageSettingsState;
@@ -157,15 +157,19 @@ export interface PageRollupBlockBreakPointSettings {
157
157
  export interface PageRollupBlockProperty {
158
158
  pickedPages?: Array<PageItemNode>;
159
159
  }
160
+ export interface PageRollupResource {
161
+ id: string;
162
+ typeId?: GuidValue;
163
+ filters?: Array<PageRollupPropertyFilter>;
164
+ }
165
+ export interface PageRollupPageCollectionResource extends PageRollupResource {
166
+ publishingAppId?: string;
167
+ }
160
168
  export interface PageRollupBlockSettings {
161
169
  scope: PageRollupEnums.RollupScopes;
162
170
  excludeCurrentPage: boolean;
163
171
  excludeVariations: boolean;
164
- resources: Array<{
165
- id: string;
166
- typeId?: GuidValue;
167
- filters?: Array<PageRollupPropertyFilter>;
168
- }>;
172
+ resources: Array<PageRollupResource>;
169
173
  itemLimit: number;
170
174
  queryItemLimit: number;
171
175
  priority: number;
@@ -1,5 +1,5 @@
1
1
  import { GuidValue, SpacingSettings, MultilingualString, IconPickerModel, MediaPickerVideo } from '@omnia/fx-models';
2
- import { PageQuery, PageRollupEnums, PageRollupPropertyFilter, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType } from '@omnia/wcm/models';
2
+ import { PageQuery, PageRollupEnums, PagingTypes, PageRollupUiFilter, PageItemNode, VideoType, PageRollupResource } from '@omnia/wcm/models';
3
3
  import { TargetingFilterProperty } from '@omnia/fx-sp/models';
4
4
  export interface BlockDataWithSettingsAndData<Data, Settings> {
5
5
  settings: Settings;
@@ -12,10 +12,7 @@ export interface AdminInfoScreenBlockDataData {
12
12
  export interface AdminInfoScreenBlockSettings {
13
13
  scope: PageRollupEnums.RollupScopes;
14
14
  excludeCurrentPage: boolean;
15
- resources: Array<{
16
- id: string;
17
- filters?: Array<PageRollupPropertyFilter>;
18
- }>;
15
+ resources: Array<PageRollupResource>;
19
16
  itemLimit: number;
20
17
  priority: number;
21
18
  noResultText: MultilingualString;
@@ -1,7 +1,7 @@
1
1
  import { ServiceContainerContext } from '@omnia/fx';
2
2
  import { EnterprisePropertyDefinition, IBlockInstance, TargetingPropertyFlatResult, RollupFilter } from '@omnia/fx-models';
3
3
  import { IBlockInstanceExtends } from '@omnia/fx/ux';
4
- import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, PageCollectionSelection, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter } from '../../fx/models';
4
+ import { PageRollupBlockSettings, PageRollupEnums, PageQuery, PageItemNode, QueryFilter, PageRollupPropertyFilter, ReactivePageBlockProperty, PageRollupBlockProperty, VariationQuery, VariationId, BatchQueryPages, PageRollupUiSearchboxFilterValue, QueryOrder, NormalPageRollupPagingQuery, PageDialogPropertiesMapping, PageDialogData, PageRollupUiFilter, PageRollupPageCollectionResource } from '../../fx/models';
5
5
  import { MultilingualStore, EnterpriseGlossaryStore } from '@omnia/fx/stores';
6
6
  import { TermStore } from '@omnia/fx-sp';
7
7
  interface BlockPageRollupInstanceExtends extends IBlockInstanceExtends<PageRollupBlockSettings> {
@@ -58,6 +58,7 @@ declare class InternalPageRollupStoreHelper {
58
58
  ensureUserTargetingData(settings: PageRollupBlockSettings): Promise<TargetingPropertyFlatResult[]>;
59
59
  ensureLoadedCurrentNavigation(blockInstances: IBlockInstanceExtends<PageRollupBlockSettings>[]): Promise<void>;
60
60
  getTargetingData(settings: PageRollupBlockSettings): TargetingPropertyFlatResult[];
61
+ getPublishingAppIdForCurrentPageIdResource(resourceId: string): string;
61
62
  getResourceId(resourceId: string): string;
62
63
  getStartNode(settings: PageRollupBlockSettings): PageItemNode;
63
64
  generateFilters(settings: PageRollupBlockSettings, filters?: Array<PageRollupPropertyFilter>): Array<QueryFilter>;
@@ -67,7 +68,7 @@ declare class InternalPageRollupStoreHelper {
67
68
  }>;
68
69
  populateTargetingVariationIds(variationQueriesDict: {
69
70
  [key: number]: VariationQuery;
70
- }, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
71
+ }, settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageRollupPageCollectionResource>): any[];
71
72
  buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
72
73
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
73
74
  generateBatchQuery(blockInstance: BlockPageRollupInstanceExtends, settings: PageRollupBlockSettings, uiQueryFilters: QueryFilter[], orderBy?: Array<QueryOrder>, blockProperty?: ReactivePageBlockProperty<PageRollupBlockProperty>): Promise<BatchQueryPages>;
@@ -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","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","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","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"]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.10.91-preview",
4
+ "version": "6.10.92-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"