@equinor/echo-framework 0.24.0-beta-1 → 0.24.0-beta-2

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@equinor/echo-framework",
3
- "version": "0.24.0-beta-1",
3
+ "version": "0.24.0-beta-2",
4
4
  "peerDependencies": {
5
5
  "@equinor/echo-base": ">= 0.7.0 < 0.8.0",
6
6
  "@equinor/echo-components": ">= 0.12.0 < 0.13.0",
7
7
  "@equinor/echo-core": ">= 0.9.0 < 0.10.0",
8
8
  "@equinor/echo-search": "0.15.17-beta-0",
9
- "@equinor/echo-utils": ">= 0.4.0 < 0.5.0",
9
+ "@equinor/echo-utils": "0.4.11-beta-0",
10
10
  "@equinor/eds-core-react": "0.43.0",
11
11
  "@equinor/eds-icons": "0.22.0",
12
12
  "react": ">= 17.0.2",
@@ -1,6 +1,5 @@
1
- import { NotificationDetails, PrepviewAttachment, PrepviewDocumentGroup, PrepviewHistory, PrepviewObject, PrepviewOperation, PrepviewSafety, PrepviewTagInformation, PunchDetails, SubseaNotificationDetails, SubseaWorkOrderDetails, WorkOrderDetails, WorkOrderEquipment } from '../types';
1
+ import { NotificationDetails, PrepviewAttachment, PrepviewDocumentGroup, PrepviewHistory, PrepviewObject, PrepviewOperation, PrepviewSafety, PrepviewTagInformation, PunchDetails, SubseaNotificationDetails, WorkOrderDetails, WorkOrderEquipment } from '../types';
2
2
  export declare function getWorkOrderDetails(workOrderId: string): Promise<WorkOrderDetails>;
3
- export declare function getSubseaWorkOrderDetails(workOrderId: string): Promise<SubseaWorkOrderDetails>;
4
3
  export declare function getWorkType(workOrderId: string): Promise<string[]>;
5
4
  export declare function getNotificationDetails(notificationId: string): Promise<NotificationDetails>;
6
5
  export declare function getSubseaNotificationDetails(notificationId: string): Promise<SubseaNotificationDetails>;
@@ -1,5 +1,4 @@
1
1
  export declare function getWorkOrder(workOrderId: string): string;
2
- export declare function getSubseaWorkOrder(workOrderId: string): string;
3
2
  export declare function getWorkTypeUrl(workOrderId: string): string;
4
3
  export declare function getNotification(maintenanceRecordId: string): string;
5
4
  export declare function getSubseaNotification(maintenanceRecordId: string): string;
@@ -44,11 +44,6 @@ export type PlantReference = {
44
44
  label: string;
45
45
  typeLabel: string;
46
46
  };
47
- export type SubseaWorkOrderDetails = FetchStatus & {
48
- hasPrts: boolean;
49
- hasB30Document: boolean;
50
- recordTypeIds?: string[];
51
- };
52
47
  export type PrepviewOperation = {
53
48
  operationNumber: string;
54
49
  title: string;
@@ -0,0 +1,3 @@
1
+ import { WorkOrderItem } from '@equinor/echo-components';
2
+ import { WorkOrderDetails } from '../../types';
3
+ export declare function mapWorkOrderDetailsToWorkOrderItem(details: WorkOrderDetails): WorkOrderItem;