-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'custom-admin' into feat/product-organize-section-transl…
…ations
- Loading branch information
Showing
17 changed files
with
364 additions
and
149 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
export declare module "@medusajs/medusa/dist/models/store" { | ||
declare interface Store { | ||
members?: User[] | ||
products?: Product[] | ||
orders?: Order[] | ||
shipping_profiles?: ShippingProfile[] | ||
} | ||
} | ||
|
||
export declare module "@medusajs/medusa/dist/models/user" { | ||
declare interface User { | ||
store_id?: string | ||
store?: Store | ||
} | ||
} | ||
|
||
export declare module "@medusajs/medusa/dist/models/product" { | ||
declare interface Product { | ||
store_id?: string | ||
store?: Store | ||
} | ||
} | ||
|
||
export declare module "@medusajs/medusa/dist/models/order" { | ||
declare interface Order { | ||
store_id: string | ||
store?: Store | ||
order_parent_id: string | ||
parent?: Order | ||
children?: Order[] | ||
} | ||
} | ||
|
||
export declare module "@medusajs/medusa/dist/models/shipping-profile" { | ||
declare interface ShippingProfile { | ||
store_id?: string | ||
store?: Store | ||
} | ||
} | ||
|
||
export declare module "@medusajs/medusa/dist/models/payment" { | ||
declare interface Payment { | ||
payment_parent_id?: string | ||
} | ||
} |
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
Oops, something went wrong.