Skip to content

Commit

Permalink
Cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Sep 11, 2024
1 parent ee15079 commit 6a565a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions packages/payloadset/packages/payments/src/Discount/Diviner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@ import {
import { creatableModule } from '@xyo-network/module-model'
import { PayloadBuilder } from '@xyo-network/payload-builder'
import { Payload } from '@xyo-network/payload-model'
import { EscrowTerms, isEscrowTerms } from '@xyo-network/payment-payload-plugins'

import { PaymentDiscountDivinerConfigSchema } from './Config.ts'
import { applyCoupons } from './lib/index.ts'
import { PaymentDiscountDivinerParams } from './Params.ts'
import {
Coupon,
Discount,
isCoupon,
EscrowTerms, isCoupon,
isCouponWithMeta,
NO_DISCOUNT,
} from './Payload/index.ts'
isEscrowTerms, NO_DISCOUNT, PaymentDiscountDivinerConfigSchema, PaymentDiscountDivinerParams,
} from '@xyo-network/payment-payload-plugins'

import { applyCoupons } from './lib/index.ts'

const DEFAULT_BOUND_WITNESS_DIVINER_QUERY_PROPS: Readonly<BoundWitnessDivinerQueryPayload> = {
limit: 1,
Expand Down
2 changes: 1 addition & 1 deletion packages/payloadset/packages/payments/src/Total/Diviner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import { creatableModule } from '@xyo-network/module-model'
import {
Discount,
isDiscount, isDiscountWithMeta, isSubtotal,
isDiscountWithMeta,
isSubtotalWithMeta,
PaymentTotalDivinerConfigSchema, PaymentTotalDivinerParams, Subtotal, Total, TotalSchema,
} from '@xyo-network/payment-payload-plugins'
Expand Down

0 comments on commit 6a565a1

Please sign in to comment.