@omnia/wcm 7.8.52-preview → 7.8.54-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.
@@ -33,3 +33,7 @@ export declare class OmniaPageSearch extends TenantProperty {
33
33
  enabled?: boolean;
34
34
  constructor();
35
35
  }
36
+ export declare enum SyncOmniaSearchType {
37
+ FullSync = 1,
38
+ ResumeSync = 2
39
+ }
@@ -1,5 +1,5 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
- import { ReindexContentOmniaSearch } from "../models";
2
+ import { ReindexContentOmniaSearch, SyncOmniaSearchType } from "../models";
3
3
  export declare class OmniaSearchPageStore extends Store {
4
4
  private omniaSearchPageService;
5
5
  onActivated(): void;
@@ -14,7 +14,7 @@ export declare class OmniaSearchPageStore extends Store {
14
14
  */
15
15
  actions: {
16
16
  triggerReindexContentOmniaSearchPublishingApp: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
17
- triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: string) => void, (failureReason: any) => void, () => Promise<string>>;
17
+ triggerReindexOmniaSearchTenant: import("@omnia/fx/stores").StoreAction<unknown, (syncType: SyncOmniaSearchType) => void, (result: string, syncType: SyncOmniaSearchType) => void, (failureReason: any, syncType: SyncOmniaSearchType) => void, (syncType: SyncOmniaSearchType) => Promise<string>>;
18
18
  pollingReindexContentOmniaSearchStatus: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string) => void, (result: ReindexContentOmniaSearch, resourceId: string) => void, (failureReason: any, resourceId: string) => void, (resourceId: string) => Promise<ReindexContentOmniaSearch>>;
19
19
  getReindexContentLogs: import("@omnia/fx/stores").StoreAction<unknown, (resourceId: string, pageNr?: number, pageSize?: number, sortColumn?: string, sortDesc?: boolean) => void, (result: {
20
20
  total: number;
@@ -1,9 +1,10 @@
1
1
  import { FilePickerStorageProviderContext, GuidValue } from "@omnia/fx-models";
2
- import { VersionId } from "../pages";
2
+ import { PageId, VersionId } from "../pages";
3
3
  export declare class FileUploaderWCMPageContext implements FilePickerStorageProviderContext {
4
4
  readonly omniaServiceId: GuidValue;
5
5
  readonly metadataTypeId: GuidValue;
6
6
  fileName: string;
7
7
  readonly versionId: VersionId;
8
- constructor(versionId: VersionId);
8
+ readonly pageId: PageId;
9
+ constructor(versionId: VersionId, pageId: PageId);
9
10
  }
@@ -4,11 +4,12 @@ exports.FileUploaderWCMPageContext = void 0;
4
4
  const fx_models_1 = require("@omnia/fx-models");
5
5
  const ManifestIds_1 = require("../ManifestIds");
6
6
  class FileUploaderWCMPageContext {
7
- constructor(versionId) {
7
+ constructor(versionId, pageId) {
8
8
  this.omniaServiceId = ManifestIds_1.WcmService.Id;
9
9
  this.metadataTypeId = new fx_models_1.Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
10
10
  this.fileName = "";
11
11
  this.versionId = versionId;
12
+ this.pageId = pageId;
12
13
  }
13
14
  }
14
15
  exports.FileUploaderWCMPageContext = FileUploaderWCMPageContext;
@@ -1,9 +1,11 @@
1
1
  import { FileMetadata, GuidValue } from "@omnia/fx-models";
2
+ import { PageId } from "./Page";
2
3
  import { VersionId } from "./VersionedPageData";
3
4
  export declare class PageFile implements FileMetadata {
4
5
  omniaServiceId: GuidValue;
5
6
  metadataTypeId: GuidValue;
6
7
  fileName: string;
7
8
  versionId: VersionId;
8
- constructor(fileName: string, versionId: VersionId);
9
+ pageId: PageId;
10
+ constructor(fileName: string, versionId: VersionId, pageId: PageId);
9
11
  }
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PageFile = void 0;
4
4
  const fx_models_1 = require("@omnia/fx-models");
5
5
  class PageFile {
6
- constructor(fileName, versionId) {
6
+ constructor(fileName, versionId, pageId) {
7
7
  this.omniaServiceId = new fx_models_1.Guid("d60fa82a-129a-41a9-93ce-d784dcb217b0");
8
8
  this.metadataTypeId = new fx_models_1.Guid("18f54ab3-0a36-4b7d-a184-b9f2d59e5730");
9
9
  this.fileName = fileName;
10
10
  this.versionId = versionId;
11
+ this.pageId = pageId;
11
12
  }
12
13
  }
13
14
  exports.PageFile = PageFile;
@@ -1,6 +1,6 @@
1
1
  import { PagedBatchSearchRequest, IPagedSearchResult } from "@omnia/fx-models";
2
2
  import { ExtendedInformationPageQueryData, PageDocument, PageId } from "../models";
3
- import { ReindexContentOmniaSearch } from "../internal";
3
+ import { ReindexContentOmniaSearch, SyncOmniaSearchType } from "../internal";
4
4
  import { OmniaSearchService } from "@omnia/fx/services";
5
5
  export declare class OmniaSearchPageService {
6
6
  private httpClient;
@@ -9,7 +9,7 @@ export declare class OmniaSearchPageService {
9
9
  queryBatchPages: (searchQueryRequest: PagedBatchSearchRequest, cancelRequest?: (cancelToken: any) => void) => Promise<IPagedSearchResult<PageDocument>[]>;
10
10
  getExtendedInformationPageQueryData: (pageIds: Array<PageId>) => Promise<ExtendedInformationPageQueryData>;
11
11
  triggerReindexContentOmniaSearchPublishingApp: () => Promise<string>;
12
- triggerReindexContentOmniaSearchTenant: () => Promise<string>;
12
+ triggerReindexContentOmniaSearchTenant: (syncType: SyncOmniaSearchType) => Promise<string>;
13
13
  getReindexContentOmniaSearchStatus: (resourceId: string) => Promise<ReindexContentOmniaSearch>;
14
14
  getReindexContentLogs: (resourceId: string, pageNr?: number, pageSize?: number, sortColumn?: string, sortDesc?: boolean) => Promise<{
15
15
  total: number;
@@ -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"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchCategoryQueryHelper","OmniaSearchQueryHelper","OmniaSearchQueryUtils","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","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","MediaRollupService","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OmniaWCMPageBody","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","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"},"expo.js":["ActiveUserDashboardQueryTypes","BreadcrumNodeTypes","NavigationTitleHelperService","OmniaPageSearch","OmniaSearchPageStore","PageDashboardDetail","PageTypesFilterValue","PagesDashboardDetailResult","PagesDashboardMetricQuery","PagesDashboardQueryTypes","PagesDetailDashboardQuery","PublishingAppsFilterValue","ReindexContentOmniaSearchStatus","SyncOmniaSearchType","UserPropertiesFilterValue","YammerIntegrationStore"]},"./node_modules/@omnia/wcm/messaging/InternalWcmTopics.js":{"id":"./node_modules/@omnia/wcm/messaging/internalwcmtopics.js","buildMeta":{"exportsType":"namespace"},"expo.js":["InternalWcmTopics"]},"./node_modules/@omnia/wcm/shared/index.js":{"id":"./node_modules/@omnia/wcm/shared/index.js","buildMeta":{"exportsType":"namespace"},"expo.js":["BatchQueryRegistration","EnsureMigrateBlockData","FilterManager","OmniaSearchCategoryQueryHelper","OmniaSearchQueryHelper","OmniaSearchQueryUtils","PageRollupConfigurationFactory","PageRollupStoreHelper","PageSearchHelper"]},"./node_modules/@omnia/wcm/index.js":{"id":"dd7f30f1-7b1b-47a5-acfb-c173d2fcb1f3","buildMeta":{"exportsType":"namespace"},"expo.js":["ActivityActionFactory","AiContentPageReportService","AppInfoStore","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","MediaRollupService","NavigationNodeHelper","NavigationService","NavigationStore","NewsletterService","OmniaSearchPageService","OmniaWCMPageBody","OpenAIPageCreationService","OutlookEvent","PageApprovalConstants","PageBlockPropertyStore","PageFactory","PageHiddenService","PageNavigationNodeHelper","PagePermissionService","PageQueryService","PageRedirectHelper","PageRollupFilterEngineContext","PageRollupIndexedDB","PageRollupListView","PageRollupStore","PageService","PageStatisticsService","PageStatisticsStore","PageVariationHelper","PageVersion","PagesStore","ParticipantService","ParticipantsFields","PublishingAppDefaultScrollElementClass","PublishingAppInfoStore","PublishingAppUniqueModelName","PublishingChannelCategoriesService","PublishingRuleService","PublishingRuleStore","QueryableProperties","ReusablePageService","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": "7.8.52-preview",
4
+ "version": "7.8.54-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"