@hubspot/ui-extensions 0.9.2 → 0.9.4

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/dist/types.d.ts CHANGED
@@ -231,6 +231,10 @@ export interface SettingsActions {
231
231
  addAlert: AddAlertAction;
232
232
  }
233
233
  /** @ignore */
234
+ export interface AppHomeActions {
235
+ addAlert: AddAlertAction;
236
+ }
237
+ /** @ignore */
234
238
  export interface UiePlatformActions {
235
239
  copyTextToClipboard: Clipboard['writeText'];
236
240
  closeOverlay: CloseOverlayAction;
@@ -2461,6 +2465,10 @@ export interface SettingsContext extends BaseContext {
2461
2465
  location: 'settings';
2462
2466
  }
2463
2467
  /** @ignore */
2468
+ export interface AppHomeContext extends BaseContext {
2469
+ location: 'home';
2470
+ }
2471
+ /** @ignore */
2464
2472
  export interface GenericContext extends BaseContext {
2465
2473
  location: 'uie.playground.middle';
2466
2474
  }
@@ -2793,6 +2801,11 @@ export interface SettingsExtensionPoint extends ExtensionPointContract {
2793
2801
  actions: SettingsActions & UiePlatformActions;
2794
2802
  context: SettingsContext;
2795
2803
  }
2804
+ /** @ignore */
2805
+ export interface AppHomeExtensionPoint extends ExtensionPointContract {
2806
+ actions: AppHomeActions;
2807
+ context: AppHomeContext;
2808
+ }
2796
2809
  export interface ExampleCrmComponentProps {
2797
2810
  name: string;
2798
2811
  size: 'sm' | 'md' | 'lg';
@@ -2808,7 +2821,7 @@ interface RemotePlaygroundExtensionPoint extends ExtensionPointContract {
2808
2821
  ExampleCrmComponent: ComponentType<ExampleCrmComponentProps>;
2809
2822
  };
2810
2823
  }
2811
- export declare const EXTENSION_POINT_LOCATIONS: readonly ["crm.preview", "crm.record.sidebar", "crm.record.tab", "helpdesk.sidebar", "uie.playground.middle", "settings"];
2824
+ export declare const EXTENSION_POINT_LOCATIONS: readonly ["crm.preview", "crm.record.sidebar", "crm.record.tab", "helpdesk.sidebar", "uie.playground.middle", "settings", "home"];
2812
2825
  export type ExtensionPointLocation = TypesOfReadOnlyArray<typeof EXTENSION_POINT_LOCATIONS>;
2813
2826
  /** @ignore */
2814
2827
  interface LocationToExtensionPoint {
@@ -2818,6 +2831,7 @@ interface LocationToExtensionPoint {
2818
2831
  'crm.record.sidebar': CrmSidebarExtensionPoint;
2819
2832
  'helpdesk.sidebar': StandardCrmExtensionPoint;
2820
2833
  settings: SettingsExtensionPoint;
2834
+ home: AppHomeExtensionPoint;
2821
2835
  }
2822
2836
  /**
2823
2837
  * While this resolves to the same result as LocationToExtensionPoint, it ensures that every location
package/dist/types.js CHANGED
@@ -235,6 +235,7 @@ export const EXTENSION_POINT_LOCATIONS = [
235
235
  'helpdesk.sidebar',
236
236
  'uie.playground.middle',
237
237
  'settings',
238
+ 'home',
238
239
  ];
239
240
  /**
240
241
  * @category Serverless
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/ui-extensions",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -66,5 +66,5 @@
66
66
  "ts-jest": "^29.1.1",
67
67
  "typescript": "5.0.4"
68
68
  },
69
- "gitHead": "931c7cf7cc3f87a54909e67a0a7df74e4eee2c3b"
69
+ "gitHead": "65046f5f3ce4c51652bc454e4425b57bd33aedbf"
70
70
  }