@omnia/wcm 6.7.124-preview → 6.10.1-dev

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.
@@ -1,6 +1,7 @@
1
1
  import { ActiveUserDashboardSettings, UnderusedSettings } from '../fx/models';
2
2
  export declare class WcmCoreConstants {
3
3
  static get SharepointSyncSettingsKey(): string;
4
+ static get WCMTenantSettingsKey(): string;
4
5
  static get FakeAppInstanceIdForWcmTenant(): import("@omnia/fx-models").GuidValue;
5
6
  static get UserPropertyMetricsSettingsKey(): string;
6
7
  static get UnderusedSettingsKey(): string;
@@ -417,7 +417,7 @@ export declare module EditorLocalization {
417
417
  Channels: {
418
418
  Title: string;
419
419
  EnablePublishingToChannels: string;
420
- SuggestedChannels: string;
420
+ RecentlyUsedChannels: string;
421
421
  AllChannels: string;
422
422
  OtherChannels: string;
423
423
  Search: string;
@@ -98,6 +98,12 @@ export declare module PageRollupLocalization {
98
98
  Channel: string;
99
99
  CurrentUserSubscription: string;
100
100
  CustomQuery: string;
101
+ PageHits: string;
102
+ CurrentUser: string;
103
+ AllUsers: string;
104
+ UniqueUsers: string;
105
+ LastViewed: string;
106
+ PageStatistics: string;
101
107
  };
102
108
  PagePicker: {
103
109
  AddPage: string;
@@ -23,6 +23,12 @@ export declare const PageRollupConstants: {
23
23
  readonly DefaultPageSize: number;
24
24
  readonly channelIdInternalName: string;
25
25
  readonly FilterByCurrentUserSubscription: string;
26
+ readonly pageHitsCurrentUserInternalName: string;
27
+ readonly pageHitsAllUsersInternalName: string;
28
+ readonly uniqueUsersInternalName: string;
29
+ readonly lastViewedCurrentUserInternalName: string;
30
+ readonly lastViewedAllUsersInternalName: string;
31
+ readonly pageStatistisGroupInternalName: string;
26
32
  };
27
33
  export declare const Constants: {
28
34
  social: {
@@ -60,11 +66,15 @@ export declare const Constants: {
60
66
  publishingApp: string;
61
67
  };
62
68
  };
63
- export declare class WCMRecipientsEnterpriseProperties {
69
+ export declare class WCMEnterpriseProperties {
64
70
  static Recipients: {
65
71
  id: Guid;
66
72
  internalName: string;
67
73
  };
74
+ static ScheduledStartDate: {
75
+ id: Guid;
76
+ internalName: string;
77
+ };
68
78
  }
69
79
  export declare const InfoScreenConstants: {
70
80
  readonly suffixInfoScreenSettingsKey: string;
@@ -27,6 +27,12 @@ export var PageRollupConstants = {
27
27
  get DefaultPageSize() { return 30; },
28
28
  get channelIdInternalName() { return "PChannelId"; },
29
29
  get FilterByCurrentUserSubscription() { return "CurrentUserSubscription"; },
30
+ get pageHitsCurrentUserInternalName() { return "5406e550-676e-4319-bbc8-3c2c21251d1f"; },
31
+ get pageHitsAllUsersInternalName() { return "9ac55985-8418-488e-96d3-3fbdee776408"; },
32
+ get uniqueUsersInternalName() { return "d3c32225-c550-4d75-ad11-c86f75a37b92"; },
33
+ get lastViewedCurrentUserInternalName() { return "ecc2ab45-85eb-4f83-a446-5518a4fbe754"; },
34
+ get lastViewedAllUsersInternalName() { return "d2c1a9f8-dc6e-4d3a-ac2c-734aed808ef6"; },
35
+ get pageStatistisGroupInternalName() { return "e91beabc-bde3-40e0-9ae5-24d362667bad"; }
30
36
  };
31
37
  export var Constants = {
32
38
  social: {
@@ -65,16 +71,20 @@ export var Constants = {
65
71
  publishingApp: "PublishingApp"
66
72
  }
67
73
  };
68
- var WCMRecipientsEnterpriseProperties = /** @class */ (function () {
69
- function WCMRecipientsEnterpriseProperties() {
74
+ var WCMEnterpriseProperties = /** @class */ (function () {
75
+ function WCMEnterpriseProperties() {
70
76
  }
71
- WCMRecipientsEnterpriseProperties.Recipients = {
77
+ WCMEnterpriseProperties.Recipients = {
72
78
  id: new Guid("fbe57b9b-b330-41c6-bb49-67ea4cf76af5"),
73
79
  internalName: "owcmrecipients"
74
80
  };
75
- return WCMRecipientsEnterpriseProperties;
81
+ WCMEnterpriseProperties.ScheduledStartDate = {
82
+ id: new Guid("1d5a4c79-8a8c-4e6a-b6a4-9ed1856c4360"),
83
+ internalName: "owcmscheduledstartdate"
84
+ };
85
+ return WCMEnterpriseProperties;
76
86
  }());
77
- export { WCMRecipientsEnterpriseProperties };
87
+ export { WCMEnterpriseProperties };
78
88
  export var InfoScreenConstants = {
79
89
  get suffixInfoScreenSettingsKey() { return "omx.infoscreendatakey_"; },
80
90
  get suffixRenderSettingsKey() { return "omx.renderdatakey_"; },
@@ -16,7 +16,8 @@ export declare enum RoleDefinitions {
16
16
  WCMAdmin = "8e8c01d4-7d3a-41bc-8c6f-a73773b57ae9",
17
17
  WCMResourceReader = "88014107-e837-41af-a5b1-b41bf1f2c753",
18
18
  WCMChannelAdmin = "5c9df4ab-f6b4-432b-bfb8-65ef20bc0198",
19
- WCMChannelPublisher = "08a55ae6-75c3-4dff-afc3-be78745fdcc9"
19
+ WCMChannelPublisher = "08a55ae6-75c3-4dff-afc3-be78745fdcc9",
20
+ ChannelAdministratorListReader = "fb739a2e-b0e8-4c3e-825a-c5b21768bc67"
20
21
  }
21
22
  export declare enum WcmPropertyDefaultValues {
22
23
  CalculateFromProperty = "[CalculateFromProperty]",
@@ -21,6 +21,7 @@ export var RoleDefinitions;
21
21
  RoleDefinitions["WCMResourceReader"] = "88014107-e837-41af-a5b1-b41bf1f2c753";
22
22
  RoleDefinitions["WCMChannelAdmin"] = "5c9df4ab-f6b4-432b-bfb8-65ef20bc0198";
23
23
  RoleDefinitions["WCMChannelPublisher"] = "08a55ae6-75c3-4dff-afc3-be78745fdcc9";
24
+ RoleDefinitions["ChannelAdministratorListReader"] = "fb739a2e-b0e8-4c3e-825a-c5b21768bc67";
24
25
  })(RoleDefinitions || (RoleDefinitions = {}));
25
26
  export var WcmPropertyDefaultValues;
26
27
  (function (WcmPropertyDefaultValues) {
@@ -157,6 +157,7 @@ export declare class WcmWebComponentManifests {
157
157
  static get WcmAdminJourney(): Guid;
158
158
  static get WcmAdminSharepointSyncBlade(): Guid;
159
159
  static get WcmAdminPermissionsBlade(): Guid;
160
+ static get WcmAdminSettingsBlade(): Guid;
160
161
  static get WcmAdminPageTypesBlade(): Guid;
161
162
  static get WcmAdminPageTypesArchiveBlade(): Guid;
162
163
  static get WcmAdminCreatePageTypesBlade(): Guid;
@@ -770,6 +770,11 @@ var WcmWebComponentManifests = /** @class */ (function () {
770
770
  enumerable: false,
771
771
  configurable: true
772
772
  });
773
+ Object.defineProperty(WcmWebComponentManifests, "WcmAdminSettingsBlade", {
774
+ get: function () { return new Guid("7f2ee159-a902-411f-970d-470c5ee8e400"); },
775
+ enumerable: false,
776
+ configurable: true
777
+ });
773
778
  Object.defineProperty(WcmWebComponentManifests, "WcmAdminPageTypesBlade", {
774
779
  get: function () { return new Guid("753d824f-9569-4050-bffe-834632ee6a00"); },
775
780
  enumerable: false,
@@ -158,6 +158,7 @@ export interface PageRollupBlockSettings {
158
158
  commentPeriod?: PageRollupEnums.DatePeriods;
159
159
  ratingPeriod?: PageRollupEnums.DatePeriods;
160
160
  feedbackPeriod?: PageRollupEnums.DatePeriods;
161
+ pageStatisticsPeriod?: PageRollupEnums.DatePeriods;
161
162
  sortBy?: string;
162
163
  sortDescending?: boolean;
163
164
  showCreateButton?: boolean;
@@ -40,3 +40,16 @@ export interface PageDetailsQuery {
40
40
  contentLimit?: number;
41
41
  contentProp?: string;
42
42
  }
43
+ export interface PageQueryPageStatistic {
44
+ datePeriod: PageRollupEnums.DatePeriods;
45
+ internalName: string;
46
+ }
47
+ export interface PageStatisticPageHits extends PageQueryPageStatistic {
48
+ pageHits: number;
49
+ }
50
+ export interface PageStatisticLastViewed extends PageQueryPageStatistic {
51
+ lastViewed: Date;
52
+ }
53
+ export interface PageStatisticUniqueUsers extends PageQueryPageStatistic {
54
+ uniqueUsers: number;
55
+ }
@@ -1,4 +1,5 @@
1
1
  import { PageQuery, PageDetailsQueryResult, PageId } from '..';
2
+ import { PageRollupEnums } from './PageRollupEnums';
2
3
  export interface PageRollupQuery {
3
4
  uniqueKey: string;
4
5
  itemQuery: PageQuery;
@@ -20,6 +21,7 @@ export interface NormalPageRollupPagingQuery {
20
21
  sortDesc?: boolean;
21
22
  }
22
23
  export interface BatchQueryPages extends PageQuery {
24
+ pageStatisticsPeriod: PageRollupEnums.DatePeriods;
23
25
  queryId: string;
24
26
  internalNames?: Array<string>;
25
27
  trimDuplicates?: boolean;
@@ -7,7 +7,7 @@ export declare class ChannelManagementService {
7
7
  createPublishingChannel: (title: MultilingualString, description: MultilingualString, publicUrl: string, owner: Array<Identity>, image: MediaPickerImage, administrator: Array<Identity>, publisher: Array<Identity>, targetingFilter: TargetingFilterProperty) => Promise<PublishingChannel>;
8
8
  updatePublishingChannel: (updateData: PublishingChannel) => Promise<PublishingChannel>;
9
9
  getPublishingChannels: () => Promise<Array<PublishingChannel>>;
10
- getSuggestedChannels: () => Promise<PublishingChannel[]>;
10
+ getRecentlyUsedChannels: () => Promise<PublishingChannel[]>;
11
11
  getPublishingChannelById: (channelId: number) => Promise<PublishingChannel>;
12
12
  getChannelPages: (pageId: PageId) => Promise<ChannelPage[]>;
13
13
  getPublishedChannelsByPageIds: (pageIds: PageId[]) => Promise<{
@@ -21,7 +21,7 @@ export declare class ChannelManagementStore extends Store {
21
21
  publishingChannels: import("@omnia/fx/stores").StoreState<ChannelIdtoChannelMap>;
22
22
  waitingforApproveList: import("@omnia/fx/stores").StoreState<ChannelPageGroupMapping>;
23
23
  resolvedUser: import("@omnia/fx/stores").StoreState<ResolvedUser>;
24
- private suggestedChannels;
24
+ private recentlyUsedChannels;
25
25
  private publishedChannelsPage;
26
26
  private userPublishingChannelSubscripton;
27
27
  private ensuredUserPublishingChannelSubscriptonPromise;
@@ -36,7 +36,7 @@ export declare class ChannelManagementStore extends Store {
36
36
  onActivated(): void;
37
37
  onDisposing(): void;
38
38
  getters: {
39
- getSuggestedChannels: () => PublishingChannel[];
39
+ getRecentlyUsedChannels: () => PublishingChannel[];
40
40
  getPublishedChannelsPage: () => {
41
41
  [key: string]: PublishingChannel[];
42
42
  };
@@ -68,7 +68,7 @@ export declare class PageRollupStore extends Store {
68
68
  pageTypes: (uniqueKey: string) => PageTypeSelection[];
69
69
  publishingChannelSettings: (uniqueKey: string) => string[];
70
70
  };
71
- private generatePageSocialCountingColumn;
71
+ private generatePageSocialCountingAndPageStatisticsColumn;
72
72
  private getPageRollupDataFromIndexedDB;
73
73
  private setPageRollupDataToIndexedDb;
74
74
  /**
@@ -104,7 +104,6 @@ export declare class PageRollupStoreHelper {
104
104
  queries: VariationQuery[];
105
105
  }>;
106
106
  populateTargetingVariationIds(variationQueries: VariationQuery[], settings: PageRollupBlockSettings, pageCollectionSelections: Array<PageCollectionSelection>): any[];
107
- buildQuery(serviceContainerContext: ServiceContainerContext, settings: PageRollupBlockSettings, instance: IBlockInstance<PageRollupBlockSettings>, uiQueryFilters: QueryFilter[]): Promise<PageQuery>;
108
107
  getPagesDetails(pageIds: number[], selectProps: PageDialogPropertiesMapping, contentLimit?: number, reloadData?: boolean): Promise<PageDialogData>;
109
108
  }
110
109
  export declare class FilterManager {
@@ -1 +1 @@
1
- {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WCMRecipientsEnterpriseProperties","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
1
+ {"name":"omniaWebpackJsonp['d60fa82a-129a-41a9-93ce-d784dcb217b0']['73f0116c-212c-4912-b780-d8df4ea3d78b']","content":{"./node_modules/@omnia/wcm/models/index.js":{"id":"0044f6fa-6f28-4130-9b07-649c0ab06fca","buildMeta":{"exportsType":"namespace"},"exports":["AccordionBlockStyles","ActionButtonLinkHandlerTargets","ActionButtonType","ActivityActionTypes","ActivityFeedScopes","ActivityType","ApprovalType","AutomaticPageCreationStatusType","BannerBlockStyles","BannerElementName","BannerLayout","BreadcrumbBlockStyles","BuildInContentBlockTextStyleFormatting","ButtonGroupings","CalendarRollupBlockListViewSettingsStyles","CalendarRollupBlockSettingsStyles","CalendarRollupBlockStyles","CalendarRollupEnums","CalendarType","CardTypes","ChannelCardViewStyles","ChildStructureType","ColleagueDialogContentStyles","CommentSorting","CommunityAppLayoutDefinition","CommunityPageActivityStyles","CommunityStyles","Constants","ContentBlockModes","ContentBlockStyles","CurrentNavigationBlockSettingsStyles","CurrentNavigationBlockStyles","CurrentNavigationStatus","CurrentPageStatus","DailyRecurrenceTypeEnums","DeletedPageDialogStyles","Directions","DocumentTypes","DynamicRollerSizes","DynamicRollerTypes","EnterpriseGlossaryPageInformationProviderStyles","EnterprisePropertiesBlockDateTimeModes","EnterprisePropertiesRichTextSettings","EnterprisePropertyDataTypeProvider","EnterprisePropertyDocumentProviderProperty","EventAttedeeType","EventCloneDialogContentStyles","EventParticipantCounterBlockStyles","EventParticipantListEnums","EventParticipantListStyles","EventParticipantListViewStyles","HtmlScriptBlockStyle","InfoScreenConstants","InfoScreenManifests","InfoScreenViewIdConstants","ItemQueryEnums","LabelPositions","LinkPickerStyle","MediaBlockStyles","MediaPickerStorageProviderPageContext","MediaPickerStorageProviderPageCreationContext","MediaPickerStorageProviderPageReadContext","MediaPickerStorageProviderWCMChannelAdminContext","MegaMenuStyles","MobileNavigationNodeStyles","MobileNavigationStyles","MonthlyRecurrenceTypeEnums","NavigationDataType","NavigationNodeQuery","NavigationNodeStyles","NavigationNodeType","NavigationRenders","NodeId","OutlookCalendarType","PageCollectionTopic","PageDataType","PageFeedbackBlockStyles","PageFeedbackDialogStyles","PageFeedbacksStyles","PageId","PageItemTemplateStyles","PagePickerNodeStyles","PagePickerProviderStyles","PagePropertiesBlockAdvancedStyles","PagePropertiesBlockStyles","PageRollUpDialogViewStyles","PageRollupBlockCardViewSettingsStyles","PageRollupBlockListViewSettingsStyles","PageRollupBlockListViewViewStyles","PageRollupBlockListingWithImageViewViewStyles","PageRollupBlockRollerViewViewStyles","PageRollupBlockSettingsFilterTabStyles","PageRollupBlockSettingsGeneralTabStyles","PageRollupBlockStyles","PageRollupConstants","PageRollupEnums","PageRollupListViewSettingsStyles","PageRollupListViewStyles","PageRollupListingPickedPagesStyles","PageRollupNavigationViewStyles","PageRollupNewsletterViewStyles","PageRollupPickedPagesDialogStyles","PageTopic","PageTypeConstants","PagesDashboardSettingsStyles","PagingTypes","Parameters","ParticipantType","PendingFileStatus","PublishingAppArchiveSettingsRouteProperty","PublishingAppBootRouteProperty","PublishingAppLayoutDefinition","PublishingAppReuseContentSettingsRouteProperty","PublishingAppTopic","PublishingChannelId","PublishingChannelTopic","PublishingStatus","RecurrenceTypeEnums","RelatedLinkAddHeadingDialogStyles","RelatedLinkBlockStyles","RelatedLinkEditFormStyles","RelatedLinkElementName","ResourceEvaluators","ReusablePageStatusType","ReuseContentMode","RoleDefinitions","RootService","RssReaderBlockLeftImageViewStyles","RssReaderBlockNoImageViewStyles","RssReaderBlockStyles","RuleStatus","RuleTypes","ScheduleEndTypeEnums","SearchTemplateOmniaPageStyles","SelectedPageItemStyles","SharepointPageTemplateStyles","SignOffRequestBlockStyles","SignOffRequestConstants","TagTopic","TaxonomyNavigationStyles","TaxonomyTopic","TopicInformationType","TopicType","UserTopic","VariationId","VariationInputStyles","VariationsRouteProperty","VersionId","VersionType","VersionUpdationMode","VideoType","WCMEnterpriseProperties","WCMFxLocalization","WCMNavigationDataTypes","WCMPageIdCustomPropertyName","WCMPageTypes","WCMReaderContext","WcmExtension","WcmGroupManifests","WcmLayoutProvider","WcmPropertyDefaultBooleanValues","WcmPropertyDefaultValues","WcmResourceManifests","WcmService","WcmWebComponentManifests","WeekOfMonthEnums","WorkplaceService","YammerProperties","layoutItemAction"]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "6.7.124-preview",
4
+ "version": "6.10.1-dev",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
package/task.d.ts CHANGED
@@ -1 +1,5 @@
1
- export declare function init(): void;
1
+ declare const path: any;
2
+ declare const fs: any;
3
+ declare const fsExtra: any;
4
+ declare const registerManifestsReference: any, registerWebComponentDefinitions: any;
5
+ declare function init(): void;
package/task.js CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
- import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
3
- Object.defineProperty(exports, "__esModule", { value: true });
2
+ //import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
4
3
  var path = require('path');
5
4
  var fs = require('fs');
6
5
  var fsExtra = require('fs-extra');
7
6
  require("./internal-do-not-import-from-here/tooling");
8
- export function init() {
7
+ var _a = require("@omnia/tooling-vue"), registerManifestsReference = _a.registerManifestsReference, registerWebComponentDefinitions = _a.registerWebComponentDefinitions;
8
+ function init() {
9
9
  if (fs.existsSync(process.cwd().replace(/\\/g, "/") + "/node_modules/@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle.js")) {
10
10
  //const tooling = require('@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle');
11
11
  registerManifestsReference([
@@ -31,3 +31,4 @@ export function init() {
31
31
  }
32
32
  }
33
33
  }
34
+ exports.init = init;
package/task.ts CHANGED
@@ -1,15 +1,14 @@
1
1
  'use strict';
2
- import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
2
+ //import { registerManifestsReference, registerWebComponentDefinitions } from "@omnia/tooling-vue";
3
3
 
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
4
 
6
5
  const path = require('path');
7
6
  const fs = require('fs');
8
7
  const fsExtra = require('fs-extra');
9
8
  require("./internal-do-not-import-from-here/tooling");
9
+ const { registerManifestsReference, registerWebComponentDefinitions } = require("@omnia/tooling-vue");
10
10
 
11
-
12
- export function init() {
11
+ function init() {
13
12
  if (fs.existsSync(process.cwd().replace(/\\/g, "/") + "/node_modules/@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle.js")) {
14
13
  //const tooling = require('@omnia/tooling-vue/internal-do-not-import-from-here/tasks/bundle');
15
14
 
@@ -38,4 +37,4 @@ export function init() {
38
37
  }
39
38
  }
40
39
 
41
- //exports.init = init;
40
+ exports.init = init;