@livetiles/reach-plugin-types 0.4.0-preview.72 → 0.4.0-preview.76

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +2 -5
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -9725,12 +9725,8 @@ declare module "libs/reach/feature/content/src/editor/editorUtils" {
9725
9725
  }
9726
9726
  }
9727
9727
  declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9728
- import { ItemResourceTypes } from "libs/reach/util/common/src/index";
9728
+ import { ItemResourceTypes, ItemVersionSummary, PaginatedList, PublishableItem, PublishableItemContent, PublishableItemVersion, ResponseItem, WorkflowStatus } from "libs/reach/util/common/src/index";
9729
9729
  import { NewsFilterDefinition } from "libs/reach/feature/content/src/index";
9730
- import { PaginatedList } from "libs/reach/util/common/src/index";
9731
- import { PublishableItem, ItemVersionSummary, PublishableItemVersion } from "libs/reach/util/common/src/index";
9732
- import { WorkflowStatus } from "libs/reach/util/common/src/index";
9733
- import { ResponseItem } from "libs/reach/util/common/src/index";
9734
9730
  import { Observable } from 'rxjs';
9735
9731
  import { KeepAliveHandle } from "libs/reach/feature/content/src/editor/editorUtils";
9736
9732
  export function useEditorApi(): {
@@ -9750,6 +9746,7 @@ declare module "libs/reach/feature/content/src/editor/useEditorApi" {
9750
9746
  keepLeaseAlive: (itemId: string, leaseId: string, token: string, subscriptionId: string) => KeepAliveHandle;
9751
9747
  saveItem: (subscriptionId: string, type: ItemResourceTypes | null, item: PublishableItem, createLease?: boolean) => Observable<any>;
9752
9748
  updateGroups: (itemType: ItemResourceTypes, itemId: string, groupIds: string[]) => Promise<PublishableItem>;
9749
+ translateContent: (itemId: string, translateFrom: string, translateTo: string[]) => Promise<PublishableItemContent[]>;
9753
9750
  };
9754
9751
  }
9755
9752
  declare module "libs/reach/feature/content/src/editor/useNewsEditorApi" {
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.72",
7
+ "version": "0.4.0-preview.76",
8
8
  "dependencies": {}
9
9
  }