Skip to content

Commit

Permalink
Return and fulfillment ids (#1425)
Browse files Browse the repository at this point in the history
* Adding ids to return and fulfillment card

* Comments
  • Loading branch information
gracerivas authored Oct 6, 2023
1 parent fe518da commit 0c8c11f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@ export interface CompanyLocationApi {
locationId: string;
}

export interface FulfillmentApi {
/**
* Id of a single fulfillment.
*/
fulfillmentId: string;
}

export interface ReturnApi {
/**
* Id of a single return.
*/
returnId: string;
}

export interface OrderApi {
orderId: string;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import {
FullExtensionNavigation,
CompanyLocationApi,
OrderApi,
FulfillmentApi,
ReturnApi,
} from './api/standard-api/standard-api';

type Components = typeof import('./components');
Expand Down Expand Up @@ -57,11 +59,13 @@ export interface OrderStatusExtensionTargets {
AnyComponent
>;
'customer-account.order-status.return-details.render-after': RenderExtension<
OrderStatusApi<'customer-account.order-status.return-details.render-after'>,
OrderStatusApi<'customer-account.order-status.return-details.render-after'> &
ReturnApi,
AnyComponent
>;
'customer-account.order-status.fulfillment-details.render-after': RenderExtension<
OrderStatusApi<'customer-account.order-status.fulfillment-details.render-after'>,
OrderStatusApi<'customer-account.order-status.fulfillment-details.render-after'> &
FulfillmentApi,
AnyComponent
>;
'customer-account.order-status.unfulfilled-items.render-after': RenderExtension<
Expand Down

0 comments on commit 0c8c11f

Please sign in to comment.