@hubspot/project-parsing-lib 0.6.1-beta.0 → 0.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/project-parsing-lib",
3
- "version": "0.6.1-beta.0",
3
+ "version": "0.7.0",
4
4
  "description": "Parsing library for converting projects directory structures to their intermediate representation",
5
5
  "license": "Apache-2.0",
6
6
  "main": "src/index.js",
@@ -3,7 +3,7 @@ export declare const ThemeKey = "theme";
3
3
  export declare const ReactThemeKey = "react-theme";
4
4
  export declare const AppEventsKey = "app-event";
5
5
  export declare const AppFunctionsKey = "app-function";
6
- export declare const AppHomeKey = "home";
6
+ export declare const PagesKey = "page";
7
7
  export declare const AppObjectKey = "app-object";
8
8
  export declare const AppObjectAssociationKey = "app-object-association";
9
9
  export declare const CallingKey = "calling";
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.allowedSubComponentDirectories = exports.allowedComponentDirectories = exports.ProjectStructure = exports.allowedReactThemeSubComponentsDirs = exports.allowedThemeSubComponentsDirs = exports.allowedAppSubComponentsDirs = exports.packageLockJson = exports.packageJson = exports.hsProjectJsonFilename = exports.profileFilePrefix = exports.metafileExtension = exports.internalTypeToUserFacing = exports.userFacingToInternalType = exports.Components = exports.AutoGeneratedComponentTypes = exports.AppFunctionsPackageKey = exports.WorkflowActionsKey = exports.WebhooksKey = exports.VideoConferencingKey = exports.TelemetryKey = exports.SettingsKey = exports.MediaBridgeKey = exports.MCPRegistryKey = exports.MarketingEventsKey = exports.SCIMKey = exports.CardsKey = exports.CallingKey = exports.AppObjectAssociationKey = exports.AppObjectKey = exports.AppHomeKey = exports.AppFunctionsKey = exports.AppEventsKey = exports.ReactThemeKey = exports.ThemeKey = exports.AppKey = void 0;
36
+ exports.allowedSubComponentDirectories = exports.allowedComponentDirectories = exports.ProjectStructure = exports.allowedReactThemeSubComponentsDirs = exports.allowedThemeSubComponentsDirs = exports.allowedAppSubComponentsDirs = exports.packageLockJson = exports.packageJson = exports.hsProjectJsonFilename = exports.profileFilePrefix = exports.metafileExtension = exports.internalTypeToUserFacing = exports.userFacingToInternalType = exports.Components = exports.AutoGeneratedComponentTypes = exports.AppFunctionsPackageKey = exports.WorkflowActionsKey = exports.WebhooksKey = exports.VideoConferencingKey = exports.TelemetryKey = exports.SettingsKey = exports.MediaBridgeKey = exports.MCPRegistryKey = exports.MarketingEventsKey = exports.SCIMKey = exports.CardsKey = exports.CallingKey = exports.AppObjectAssociationKey = exports.AppObjectKey = exports.PagesKey = exports.AppFunctionsKey = exports.AppEventsKey = exports.ReactThemeKey = exports.ThemeKey = exports.AppKey = void 0;
37
37
  // Top Level Component types
38
38
  const path = __importStar(require("path"));
39
39
  // Component types
@@ -43,7 +43,7 @@ exports.ReactThemeKey = 'react-theme';
43
43
  // Sub-Component types
44
44
  exports.AppEventsKey = 'app-event';
45
45
  exports.AppFunctionsKey = 'app-function';
46
- exports.AppHomeKey = 'home';
46
+ exports.PagesKey = 'page';
47
47
  exports.AppObjectKey = 'app-object';
48
48
  exports.AppObjectAssociationKey = 'app-object-association';
49
49
  exports.CallingKey = 'calling';
@@ -89,11 +89,11 @@ exports.Components = {
89
89
  ...SubComponentFields,
90
90
  userFriendlyName: 'App Object Association',
91
91
  },
92
- [exports.AppHomeKey]: {
93
- dir: exports.AppHomeKey,
92
+ [exports.PagesKey]: {
93
+ dir: 'pages',
94
94
  parentComponent: exports.AppKey,
95
95
  ...SubComponentFields,
96
- userFriendlyName: 'App Home',
96
+ userFriendlyName: 'Page',
97
97
  singularComponent: true,
98
98
  },
99
99
  [exports.ThemeKey]: {