@medusajs/types 2.21.1 → 2.21.2-preview-20260925133948

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -905,11 +905,11 @@ export interface FilterableCartProps extends BaseFilterable<FilterableCartProps>
905
905
  completed_at?: OperatorMap<string>;
906
906
  }
907
907
  /**
908
- * The filters to apply on the retrieved addresss.
908
+ * The filters to apply on the retrieved address.
909
909
  */
910
910
  export interface FilterableAddressProps extends BaseFilterable<FilterableAddressProps> {
911
911
  /**
912
- * The IDs to filter the addresss by.
912
+ * The IDs to filter the address by.
913
913
  */
914
914
  id?: string | string[];
915
915
  }
@@ -256,7 +256,7 @@ export interface ICartModuleService extends IModuleService {
256
256
  /**
257
257
  * This method retrieves a paginated list of addresses based on optional filters and configuration.
258
258
  *
259
- * @param {FilterableAddressProps} filters - The filters to apply on the retrieved addresss.
259
+ * @param {FilterableAddressProps} filters - The filters to apply on the retrieved address.
260
260
  * @param {FindConfig<CartAddressDTO>} config - The configurations determining how the address is retrieved. Its properties, such as `select` or `relations`, accept the
261
261
  * attributes or relations associated with a address.
262
262
  * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
@@ -19,7 +19,7 @@ export interface ServiceZoneDTO {
19
19
  */
20
20
  metadata: Record<string, unknown> | null;
21
21
  /**
22
- * The fulfillment set assoiated with the service zone.
22
+ * The fulfillment set associated with the service zone.
23
23
  */
24
24
  fulfillment_set: FulfillmentSetDTO;
25
25
  /**
@@ -27,11 +27,11 @@ export interface ServiceZoneDTO {
27
27
  */
28
28
  fulfillment_set_id: string;
29
29
  /**
30
- * The geo zones assoiated with the service zone.
30
+ * The geo zones associated with the service zone.
31
31
  */
32
32
  geo_zones: GeoZoneDTO[];
33
33
  /**
34
- * The shipping options assoiated with the service zone.
34
+ * The shipping options associated with the service zone.
35
35
  */
36
36
  shipping_options: ShippingOptionDTO[];
37
37
  /**
@@ -29,7 +29,7 @@ export interface BaseCurrency {
29
29
  */
30
30
  decimal_digits: number;
31
31
  /**
32
- * The rounding percision applied on prices in this currency.
32
+ * The rounding precision applied on prices in this currency.
33
33
  */
34
34
  rounding: number;
35
35
  /**
@@ -358,7 +358,7 @@ export interface ILockingModule {
358
358
  /**
359
359
  * This method executes a giuven asynchronous job with a lock on the given keys. You can optionally pass a
360
360
  * provider name to be used for locking. If no provider is passed, the default provider (in-memory or the
361
- * provider configuerd in `medusa-config.ts`) will be used.
361
+ * provider configured in `medusa-config.ts`) will be used.
362
362
  *
363
363
  * @param keys - The keys to lock durng the job's execution.
364
364
  * @param job - The asynchronous job to execute while the keys are locked.
@@ -409,13 +409,13 @@ export interface ILockingModule {
409
409
  */
410
410
  expire?: number;
411
411
  /**
412
- * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
412
+ * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
413
413
  */
414
414
  provider?: string;
415
415
  }, sharedContext?: Context): Promise<T>;
416
416
  /**
417
417
  * This method acquires a lock on the given keys. You can optionally pass a provider name to be used for locking.
418
- * If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
418
+ * If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
419
419
  *
420
420
  * You can pass an owner for the lock, which limits who can extend or release the acquired lock. Then, if you use this method again
421
421
  * passing the same owner, the lock's expiration time is extended with the value passed in the `expire` argument. Otherwise, if you pass a
@@ -460,13 +460,13 @@ export interface ILockingModule {
460
460
  */
461
461
  expire?: number;
462
462
  /**
463
- * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
463
+ * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
464
464
  */
465
465
  provider?: string;
466
466
  }, sharedContext?: Context): Promise<void>;
467
467
  /**
468
468
  * This method releases a lock on the given keys. You can optionally pass a provider name to be used for locking.
469
- * If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
469
+ * If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
470
470
  *
471
471
  * If the lock has an owner, you must pass the same owner to release the lock.
472
472
  *
@@ -502,14 +502,14 @@ export interface ILockingModule {
502
502
  */
503
503
  ownerId?: string | null;
504
504
  /**
505
- * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
505
+ * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
506
506
  */
507
507
  provider?: string;
508
508
  }, sharedContext?: Context): Promise<boolean>;
509
509
  /**
510
510
  * This method releases all locks. If you specify an owner ID, then all locks that the owner has acquired are released.
511
511
  *
512
- * You can also pass a provider name to be used for locking. If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
512
+ * You can also pass a provider name to be used for locking. If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
513
513
  *
514
514
  * @param args - Additional arguments for releasing the locks.
515
515
  * @param sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
@@ -540,7 +540,7 @@ export interface ILockingModule {
540
540
  */
541
541
  ownerId?: string | null;
542
542
  /**
543
- * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configuerd in `medusa-config.ts`) will be used.
543
+ * The provider name to use for locking. If no provider is passed, the default provider (in-memory or the provider configured in `medusa-config.ts`) will be used.
544
544
  */
545
545
  provider?: string;
546
546
  }, sharedContext?: Context): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.21.1",
3
+ "version": "2.21.2-preview-20260925133948",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "bignumber.js": "^9.1.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@medusajs/deps": "2.21.1"
41
+ "@medusajs/deps": "2.21.2-preview-20260925133948"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "ioredis": "^5.4.1",