@livetiles/reach-components-react 0.5.0-preview.132 → 0.5.0-preview.134

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/index.d.ts CHANGED
@@ -314,19 +314,9 @@ interface WebPluginDefinition {
314
314
  subscriptionId?: string;
315
315
  environment?: string;
316
316
  }
317
- declare enum ExtensionArea {
318
- global = "Global",
319
- page = "Page",
320
- eventEditorFeedbackSection = "EventEditorFeedbackSection",
321
- eventDetailViewSection = "EventDetailViewSection",
322
- itemEditor = "ItemEditor"
323
- }
324
- declare type InlinePlugin = {
325
- area: ExtensionArea.itemEditor;
326
- objectButton: PluginObjectButton;
327
- };
328
- declare type PagePlugin = {
329
- area: ExtensionArea.page;
317
+ interface PluginExtension {
318
+ area: string;
319
+ componentName: string;
330
320
  route: string;
331
321
  navigationNode?: {
332
322
  componentName?: string;
@@ -336,20 +326,7 @@ declare type PagePlugin = {
336
326
  [key: string]: string;
337
327
  };
338
328
  };
339
- };
340
- declare type PluginExtension = {
341
- area: ExtensionArea;
342
- componentName: string;
343
- } & (InlinePlugin | PagePlugin);
344
- declare type PluginObjectButton = {
345
- buttonLabel: {
346
- defaultLabel: string;
347
- translations?: {
348
- [key: string]: string;
349
- };
350
- };
351
- iconName: string;
352
- };
329
+ }
353
330
  interface PluginNotificationDefinitions {
354
331
  key: string;
355
332
  title: string;