-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/multiple type import fixes (#182)
* Improve multiple type import patterns * Change multiple missing imports * Add missing import --------- Co-authored-by: José Carneiro <[email protected]>
- Loading branch information
1 parent
503e08c
commit 16af76e
Showing
5 changed files
with
37 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
import type { Components } from '@epilot/pricing-client'; | ||
export type { | ||
Price, | ||
PriceItem, | ||
PriceItemDto, | ||
Product, | ||
Coupon, | ||
PricingDetails, | ||
PriceItems, | ||
PriceItemsDto, | ||
Tax, | ||
TaxAmountDto, | ||
TaxAmount, | ||
CompositePrice, | ||
CompositePriceItemDto, | ||
CompositePriceItem, | ||
EntityItem, | ||
TaxAmountBreakdown, | ||
RecurrenceAmount, | ||
RecurrenceAmountWithTax, | ||
BillingPeriod, | ||
PriceInputMappings, | ||
PriceInputMapping, | ||
ExternalFeeMappings, | ||
ExternalFeeMapping, | ||
PriceTier, | ||
PriceTierEnhanced, | ||
PriceTierDisplayMode, | ||
PriceGetAg, | ||
CashbackAmount, | ||
} from '@epilot/pricing-client'; | ||
import type { BillingPeriod } from '@epilot/pricing-client'; | ||
|
||
export type Price = Components.Schemas.Price; | ||
export type PriceItem = Components.Schemas.PriceItem; | ||
export type PriceItemDto = Components.Schemas.PriceItemDto; | ||
export type Product = Components.Schemas.Product; | ||
export type Coupon = Components.Schemas.Coupon; | ||
export type PricingDetails = Components.Schemas.PricingDetails; | ||
export type PriceItems = Components.Schemas.PriceItems; | ||
export type PriceItemsDto = Components.Schemas.PriceItemsDto; | ||
export type Tax = Components.Schemas.Tax; | ||
export type TaxAmountDto = Components.Schemas.TaxAmountDto; | ||
export type TaxAmount = Components.Schemas.TaxAmount; | ||
export type CompositePrice = Components.Schemas.CompositePrice; | ||
export type CompositePriceItemDto = Components.Schemas.CompositePriceItemDto; | ||
export type CompositePriceItem = Components.Schemas.CompositePriceItem; | ||
export type EntityItem = Components.Schemas.EntityItem; | ||
export type TaxAmountBreakdown = Components.Schemas.TaxAmountBreakdown; | ||
export type RecurrenceAmount = Components.Schemas.RecurrenceAmount; | ||
export type RecurrenceAmountWithTax = Components.Schemas.RecurrenceAmountWithTax; | ||
export type BillingPeriod = Components.Schemas.BillingPeriod; | ||
export type PriceInputMappings = Components.Schemas.PriceInputMappings; | ||
export type PriceInputMapping = Components.Schemas.PriceInputMapping; | ||
export type ExternalFeeMappings = Components.Schemas.ExternalFeeMappings; | ||
export type ExternalFeeMapping = Components.Schemas.ExternalFeeMapping; | ||
export type TimeFrequency = Exclude<BillingPeriod, 'one_time'>; | ||
export type PriceTier = Components.Schemas.PriceTier; | ||
export type PriceTierEnhanced = Components.Schemas.PriceTierEnhanced; | ||
export type PriceTierDisplayMode = Components.Schemas.PriceTierDisplayMode; | ||
export type PriceGetAg = Components.Schemas.PriceGetAg; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters