Skip to content

Commit

Permalink
Remove duplicated interface (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch authored Apr 11, 2024
1 parent cc60fdc commit 7cfbb0e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { MediaMessageItem } from '../media-message';

export interface ChoiceItem {

/** A message component for interactive messages, containing a choice. */
choice: ChoiceItemItem;
}

Expand Down
1 change: 0 additions & 1 deletion packages/conversation/src/models/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export * from './media-message';
export * from './merge-contact-request';
export * from './message-retry-settings';
export * from './product';
export * from './product-item';
export * from './product-response-message';
export * from './error-detail';
export * from './lookup-capability-request';
Expand Down
1 change: 0 additions & 1 deletion packages/conversation/src/models/v1/product-item/index.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/conversation/src/models/v1/product-item/product-item.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProductItem } from '../product-item';
import { ProductItem } from '../product';

/**
* Represents an interactive WhatsApp message containing ProductItem objects
Expand Down
2 changes: 1 addition & 1 deletion packages/conversation/src/models/v1/product/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type { Product } from './product';
export type { Product, ProductItem } from './product';

0 comments on commit 7cfbb0e

Please sign in to comment.