@medusajs/types 2.0.0 → 2.0.1-snapshot-20241025090810

Sign up to get free protection for your applications and to get access to all the features.
@@ -548,7 +548,7 @@ export type ProjectConfigOptions = {
548
548
  * However, some platforms don't offer access to the HTTP layer and in those cases, this is a good alternative.
549
549
  *
550
550
  * If you enable HTTP compression and you want to disable it for specific API Routes, you can pass in the request header `"x-no-compression": true`.
551
- * Learn more in the [API Reference](https://docs.medusajs.com/v2/api/store#http-compression).
551
+ * Learn more in the [API Reference](https://docs.medusajs.com/api/store#http-compression).
552
552
  *
553
553
  * @example
554
554
  * ```js title="medusa-config.js"
@@ -101,7 +101,7 @@ export interface StoreAddCartShippingMethods {
101
101
  /**
102
102
  * Data useful for the associated fulfillment provider.
103
103
  *
104
- * Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property).
104
+ * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property).
105
105
  */
106
106
  data?: Record<string, unknown>;
107
107
  }
@@ -2,7 +2,7 @@ export interface SelectParams {
2
2
  /**
3
3
  * The fields and relations to retrieve.
4
4
  *
5
- * Learn more in the [API reference](https://docs.medusajs.com/v2/api/store#select-fields-and-relations).
5
+ * Learn more in the [API reference](https://docs.medusajs.com/api/store#select-fields-and-relations).
6
6
  */
7
7
  fields?: string;
8
8
  }
@@ -178,7 +178,7 @@ export interface AdminFulfillment {
178
178
  /**
179
179
  * Data useful for the fulfillment provider handling the fulfillment.
180
180
  *
181
- * Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment#data-property).
181
+ * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment#data-property).
182
182
  */
183
183
  data: Record<string, unknown> | null;
184
184
  /**
@@ -119,7 +119,7 @@ export interface AdminCreateFulfillment {
119
119
  /**
120
120
  * Data useful for the fulfillment provider handling the fulfillment.
121
121
  *
122
- * Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment#data-property).
122
+ * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment#data-property).
123
123
  */
124
124
  data?: Record<string, unknown> | null;
125
125
  /**
@@ -29,7 +29,7 @@ export interface StoreCartShippingOption {
29
29
  /**
30
30
  * The data useful for the fulfillment provider when handling the shipment and fulfillment.
31
31
  *
32
- * Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property).
32
+ * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property).
33
33
  */
34
34
  data: Record<string, unknown> | null;
35
35
  /**
@@ -272,7 +272,7 @@ export interface BaseOrderShippingMethod {
272
272
  /**
273
273
  * Data relevant for the fulfillment provider handling the shipping.
274
274
  *
275
- * Learn more in [this guide](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property).
275
+ * Learn more in [this guide](https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property).
276
276
  */
277
277
  data: Record<string, unknown> | null;
278
278
  /**
@@ -671,7 +671,7 @@ export interface BaseOrderFulfillment {
671
671
  /**
672
672
  * Data necessary for the provider handling the fulfillment.
673
673
  *
674
- * Learn more in [this guide](https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property).
674
+ * Learn more in [this guide](https://docs.medusajs.com/resources/commerce-modules/fulfillment/shipping-option#data-property).
675
675
  */
676
676
  data: Record<string, unknown> | null;
677
677
  /**
@@ -15,7 +15,7 @@ export interface StoreInitializePaymentSession {
15
15
  /**
16
16
  * Any data necessary for the payment provider to process the payment.
17
17
  *
18
- * Learn more in [this documentation](https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property).
18
+ * Learn more in [this documentation](https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property).
19
19
  */
20
20
  data?: Record<string, unknown>;
21
21
  }
@@ -36,7 +36,7 @@ export interface TaxRateDTO {
36
36
  /**
37
37
  * Whether the tax rate should be combined with parent rates.
38
38
  *
39
- * Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
39
+ * Learn more [here](https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
40
40
  */
41
41
  is_combinable: boolean;
42
42
  /**
@@ -108,7 +108,7 @@ export interface UpdateTaxRateDTO {
108
108
  /**
109
109
  * Whether the tax rate is combinable.
110
110
  *
111
- * Learn more [here](https://docs.medusajs.com/v2/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
111
+ * Learn more [here](https://docs.medusajs.com/resources/commerce-modules/tax/tax-rates-and-rules#combinable-tax-rates).
112
112
  */
113
113
  is_combinable?: boolean;
114
114
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.0.0",
3
+ "version": "2.0.1-snapshot-20241025090810",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",