-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cart): Shipping methods (#6101)
- Loading branch information
1 parent
5cfb662
commit 7f7cb2a
Showing
19 changed files
with
431 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@medusajs/types": patch | ||
--- | ||
|
||
feat(cart): Shipping methods |
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { DALUtils } from "@medusajs/utils" | ||
import { ShippingMethod } from "@models" | ||
import { CreateShippingMethodDTO, UpdateShippingMethodDTO } from "@types" | ||
|
||
export class ShippingMethodRepository extends DALUtils.mikroOrmBaseRepositoryFactory< | ||
ShippingMethod, | ||
{ | ||
create: CreateShippingMethodDTO | ||
update: UpdateShippingMethodDTO | ||
} | ||
>(ShippingMethod) { | ||
constructor(...args: any[]) { | ||
// @ts-ignore | ||
super(...arguments) | ||
} | ||
} |
Oops, something went wrong.
7f7cb2a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
medusa-dashboard – ./packages/admin-next/dashboard
medusa-dashboard-medusajs.vercel.app
medusa-dashboard-git-develop-medusajs.vercel.app
admin-preview.medusajs.com
medusa-dashboard.vercel.app