diff --git a/README.md b/README.md index 909249c9..017fe71e 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ We will then create a new repository to reflect our custom entity. import { ProductRepository as MedusaProductRepository } from '@medusa/medusa/dist/repositories/product'; import { EntityRepository, Repository } from "typeorm"; import { Injectable, Utils } from "medusa-extender"; -import { Product } from "../entities/product.entity"; +import { Product } from "./product.entity"; //... @Injectable({ type: 'repository', override: MedusaProductRepository }) @@ -186,9 +186,9 @@ And to wrap everything properly here is the module. // modules/products/myModule.module.ts import { Module } from 'medusa-extender'; -import { Product } from './entities/product.entity'; -import ProductRepository from './repositories/product.repository'; -import ProductService from './services/product.service'; +import { Product } from './product.entity'; +import ProductRepository from './product.repository'; +import ProductService from './product.service'; @Module({ imports: [ diff --git a/docs/README.md b/docs/README.md index 9ce6243a..15155ff4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -120,7 +120,7 @@ We will then create a new repository to reflect our custom entity. import { ProductRepository as MedusaProductRepository } from '@medusa/medusa/dist/repositories/product'; import { EntityRepository, Repository } from "typeorm"; import { Injectable, Utils } from "medusa-extender"; -import { Product } from "../entities/product.entity"; +import { Product } from "./product.entity"; //... @Injectable({ type: 'repository', override: MedusaProductRepository }) @@ -188,9 +188,9 @@ And to wrap everything properly here is the module. // modules/products/myModule.module.ts import { Module } from 'medusa-extender'; -import { Product } from './entities/product.entity'; -import ProductRepository from './repositories/product.repository'; -import ProductService from './services/product.service'; +import { Product } from './product.entity'; +import ProductRepository from './product.repository'; +import ProductService from './product.service'; @Module({ imports: [ diff --git a/docs/classes/decorators_onMedusaEvent_decorator.OnMedusaEvent.md b/docs/classes/decorators_onMedusaEvent_decorator.OnMedusaEvent.md index 4bd22e33..2d81b953 100644 --- a/docs/classes/decorators_onMedusaEvent_decorator.OnMedusaEvent.md +++ b/docs/classes/decorators_onMedusaEvent_decorator.OnMedusaEvent.md @@ -45,7 +45,7 @@ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:41](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L41) +[src/decorators/onMedusaEvent.decorator.ts:41](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L41) ## Properties @@ -55,7 +55,7 @@ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:39](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L39) +[src/decorators/onMedusaEvent.decorator.ts:39](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L39) ___ @@ -65,7 +65,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:38](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L38) +[src/decorators/onMedusaEvent.decorator.ts:38](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L38) ## Accessors @@ -79,7 +79,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:49](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L49) +[src/decorators/onMedusaEvent.decorator.ts:49](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L49) ___ @@ -93,7 +93,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:45](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L45) +[src/decorators/onMedusaEvent.decorator.ts:45](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L45) ## Methods @@ -120,7 +120,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:69](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L69) +[src/decorators/onMedusaEvent.decorator.ts:69](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L69) ___ @@ -146,7 +146,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:57](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L57) +[src/decorators/onMedusaEvent.decorator.ts:57](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L57) ___ @@ -173,7 +173,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:83](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L83) +[src/decorators/onMedusaEvent.decorator.ts:83](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L83) ___ @@ -199,7 +199,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:65](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L65) +[src/decorators/onMedusaEvent.decorator.ts:65](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L65) ___ @@ -226,7 +226,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:76](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L76) +[src/decorators/onMedusaEvent.decorator.ts:76](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L76) ___ @@ -252,7 +252,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:61](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L61) +[src/decorators/onMedusaEvent.decorator.ts:61](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L61) ___ @@ -280,7 +280,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:90](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L90) +[src/decorators/onMedusaEvent.decorator.ts:90](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L90) ___ @@ -300,4 +300,4 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:53](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L53) +[src/decorators/onMedusaEvent.decorator.ts:53](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L53) diff --git a/docs/classes/event_emmiter.Internals.CustomEventEmmiter.md b/docs/classes/event_emmiter.Internals.CustomEventEmmiter.md index 50e83355..eecb92d0 100644 --- a/docs/classes/event_emmiter.Internals.CustomEventEmmiter.md +++ b/docs/classes/event_emmiter.Internals.CustomEventEmmiter.md @@ -41,7 +41,7 @@ EventEmitter.constructor #### Defined in -[src/event-emmiter.ts:21](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L21) +[src/event-emmiter.ts:21](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L21) ## Properties @@ -51,7 +51,7 @@ EventEmitter.constructor #### Defined in -[src/event-emmiter.ts:19](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L19) +[src/event-emmiter.ts:19](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L19) ## Methods @@ -74,7 +74,7 @@ Emit an asynchrone event entity based and wait for the result. #### Defined in -[src/event-emmiter.ts:81](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L81) +[src/event-emmiter.ts:81](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L81) ___ @@ -104,7 +104,7 @@ Register a new event handler. #### Defined in -[src/event-emmiter.ts:31](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L31) +[src/event-emmiter.ts:31](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L31) ___ @@ -126,7 +126,7 @@ Apply all event handlers hold by the `listenerDescriptor`. #### Defined in -[src/event-emmiter.ts:43](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L43) +[src/event-emmiter.ts:43](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L43) ___ @@ -140,4 +140,4 @@ ___ #### Defined in -[src/event-emmiter.ts:69](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L69) +[src/event-emmiter.ts:69](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L69) diff --git a/docs/classes/loader.Loader.md b/docs/classes/loader.Loader.md index 0b47a70f..a61180a0 100644 --- a/docs/classes/loader.Loader.md +++ b/docs/classes/loader.Loader.md @@ -44,4 +44,4 @@ internal container and database connection. #### Defined in -[src/loader.ts:35](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loader.ts#L35) +[src/loader.ts:35](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loader.ts#L35) diff --git a/docs/classes/medusa.Medusa.md b/docs/classes/medusa.Medusa.md index bb19f7b3..20790b4a 100644 --- a/docs/classes/medusa.Medusa.md +++ b/docs/classes/medusa.Medusa.md @@ -36,7 +36,7 @@ Register steps that must be executed before/after medusa is load. #### Defined in -[src/medusa.ts:15](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/medusa.ts#L15) +[src/medusa.ts:15](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/medusa.ts#L15) ## Properties @@ -46,7 +46,7 @@ Register steps that must be executed before/after medusa is load. #### Defined in -[src/medusa.ts:8](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/medusa.ts#L8) +[src/medusa.ts:8](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/medusa.ts#L8) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[src/medusa.ts:9](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/medusa.ts#L9) +[src/medusa.ts:9](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/medusa.ts#L9) ## Methods @@ -78,4 +78,4 @@ Launch all the steps before/after medusa according to the `stepOptions`. #### Defined in -[src/medusa.ts:23](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/medusa.ts#L23) +[src/medusa.ts:23](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/medusa.ts#L23) diff --git a/docs/classes/modules_metadata_reader.Internals.CustomMap.md b/docs/classes/modules_metadata_reader.Internals.CustomMap.md index 655eb2e9..17efe23b 100644 --- a/docs/classes/modules_metadata_reader.Internals.CustomMap.md +++ b/docs/classes/modules_metadata_reader.Internals.CustomMap.md @@ -84,4 +84,4 @@ Map.get #### Defined in -[src/modules-metadata-reader.ts:6](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/modules-metadata-reader.ts#L6) +[src/modules-metadata-reader.ts:6](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/modules-metadata-reader.ts#L6) diff --git a/docs/classes/utils.Utils.md b/docs/classes/utils.Utils.md index 0c1301eb..8180ad1c 100644 --- a/docs/classes/utils.Utils.md +++ b/docs/classes/utils.Utils.md @@ -56,7 +56,7 @@ Attach a new subscriber to a specific entities. #### Defined in -[src/utils.ts:40](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L40) +[src/utils.ts:40](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L40) ___ @@ -78,7 +78,7 @@ Log all the routes from the express instance. #### Defined in -[src/utils.ts:61](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L61) +[src/utils.ts:61](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L61) ___ @@ -101,7 +101,7 @@ Prepare the log to be shown to be consistent everywhere. #### Defined in -[src/utils.ts:70](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L70) +[src/utils.ts:70](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L70) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/utils.ts:81](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L81) +[src/utils.ts:81](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L81) ___ @@ -153,7 +153,7 @@ Since it is not possible to use multiple extend, you can use that utilities to a #### Defined in -[src/utils.ts:17](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L17) +[src/utils.ts:17](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L17) ___ @@ -173,4 +173,4 @@ ___ #### Defined in -[src/utils.ts:101](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/utils.ts#L101) +[src/utils.ts:101](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/utils.ts#L101) diff --git a/docs/interfaces/types.MedusaMiddleware.md b/docs/interfaces/types.MedusaMiddleware.md index c4b20490..2a1040a6 100644 --- a/docs/interfaces/types.MedusaMiddleware.md +++ b/docs/interfaces/types.MedusaMiddleware.md @@ -46,4 +46,4 @@ Describe a custom middleware instance. #### Defined in -[src/types.ts:126](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L126) +[src/types.ts:126](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L126) diff --git a/docs/interfaces/types.Type.md b/docs/interfaces/types.Type.md index 2a3d73c1..76e39d26 100644 --- a/docs/interfaces/types.Type.md +++ b/docs/interfaces/types.Type.md @@ -40,4 +40,4 @@ Function.constructor #### Defined in -[src/types.ts:5](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L5) +[src/types.ts:5](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L5) diff --git a/docs/media/medusa-extender.jpeg b/docs/media/medusa-extender.jpeg index 7147a51a..7c941fec 100644 Binary files a/docs/media/medusa-extender.jpeg and b/docs/media/medusa-extender.jpeg differ diff --git a/docs/modules/contants.md b/docs/modules/contants.md index 58755cf6..1216248b 100644 --- a/docs/modules/contants.md +++ b/docs/modules/contants.md @@ -20,7 +20,7 @@ Metadata key to store config from decorated injectables. #### Defined in -[src/contants.ts:9](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/contants.ts#L9) +[src/contants.ts:9](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/contants.ts#L9) ___ @@ -66,7 +66,7 @@ Hold the name of the medusa services registered into the container for later on #### Defined in -[src/contants.ts:14](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/contants.ts#L14) +[src/contants.ts:14](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/contants.ts#L14) ___ @@ -78,4 +78,4 @@ Metadata key to store config from decorated injectables. #### Defined in -[src/contants.ts:4](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/contants.ts#L4) +[src/contants.ts:4](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/contants.ts#L4) diff --git a/docs/modules/decorators_injectable_decorator.md b/docs/modules/decorators_injectable_decorator.md index 10af6078..8c68eb92 100644 --- a/docs/modules/decorators_injectable_decorator.md +++ b/docs/modules/decorators_injectable_decorator.md @@ -34,4 +34,4 @@ Mark a class as an injectable to be used by the loader. #### Defined in -[src/decorators/injectable.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/injectable.decorator.ts#L10) +[src/decorators/injectable.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/injectable.decorator.ts#L10) diff --git a/docs/modules/decorators_module_decorator.md b/docs/modules/decorators_module_decorator.md index c631d5c3..ed3eae28 100644 --- a/docs/modules/decorators_module_decorator.md +++ b/docs/modules/decorators_module_decorator.md @@ -29,4 +29,4 @@ Mark a class as aa module and store all injectable on it. #### Defined in -[src/decorators/module.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/module.decorator.ts#L10) +[src/decorators/module.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/module.decorator.ts#L10) diff --git a/docs/modules/decorators_onMedusaEvent_decorator.md b/docs/modules/decorators_onMedusaEvent_decorator.md index e8d897d5..f5dd0236 100644 --- a/docs/modules/decorators_onMedusaEvent_decorator.md +++ b/docs/modules/decorators_onMedusaEvent_decorator.md @@ -24,7 +24,7 @@ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L10) +[src/decorators/onMedusaEvent.decorator.ts:10](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L10) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:5](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L5) +[src/decorators/onMedusaEvent.decorator.ts:5](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L5) ___ @@ -66,7 +66,7 @@ Event types that can be emitted. #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:15](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L15) +[src/decorators/onMedusaEvent.decorator.ts:15](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L15) ___ @@ -92,7 +92,7 @@ The arguments expected by the [OnMedusaEvent](../classes/decorators_onMedusaEven #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:24](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L24) +[src/decorators/onMedusaEvent.decorator.ts:24](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L24) ___ @@ -118,4 +118,4 @@ The arguments expected by the event handler. #### Defined in -[src/decorators/onMedusaEvent.decorator.ts:32](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/decorators/onMedusaEvent.decorator.ts#L32) +[src/decorators/onMedusaEvent.decorator.ts:32](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/decorators/onMedusaEvent.decorator.ts#L32) diff --git a/docs/modules/event_emmiter.Internals.md b/docs/modules/event_emmiter.Internals.md index ba9e65c3..ab07dcef 100644 --- a/docs/modules/event_emmiter.Internals.md +++ b/docs/modules/event_emmiter.Internals.md @@ -38,4 +38,4 @@ A listener descriptor. #### Defined in -[src/event-emmiter.ts:9](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L9) +[src/event-emmiter.ts:9](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L9) diff --git a/docs/modules/event_emmiter.md b/docs/modules/event_emmiter.md index e9b682f8..c374dd93 100644 --- a/docs/modules/event_emmiter.md +++ b/docs/modules/event_emmiter.md @@ -23,4 +23,4 @@ Export the instance of the event emmiter. #### Defined in -[src/event-emmiter.ts:103](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/event-emmiter.ts#L103) +[src/event-emmiter.ts:103](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/event-emmiter.ts#L103) diff --git a/docs/modules/index.md b/docs/modules/index.md index 8967e3bb..6d0e691a 100644 --- a/docs/modules/index.md +++ b/docs/modules/index.md @@ -13,10 +13,12 @@ - [EntityEventType](index.md#entityeventtype) - [GetInjectableOption](index.md#getinjectableoption) - [GetInjectableOptions](index.md#getinjectableoptions) +- [INJECTABLE\_OPTIONS\_KEY](index.md#injectable_options_key) - [Injectable](index.md#injectable) - [InjectableComponentTypes](index.md#injectablecomponenttypes) - [InjectableOptions](index.md#injectableoptions) - [MEDUSA\_RESOLVER\_KEYS](index.md#medusa_resolver_keys) +- [MODULE\_KEY](index.md#module_key) - [Medusa](index.md#medusa) - [MedusaAuthenticatedRequest](index.md#medusaauthenticatedrequest) - [MedusaEventEmittedParams](index.md#medusaeventemittedparams) @@ -82,6 +84,12 @@ Re-exports [GetInjectableOptions](types.md#getinjectableoptions) ___ +### INJECTABLE\_OPTIONS\_KEY + +Re-exports [INJECTABLE_OPTIONS_KEY](contants.md#injectable_options_key) + +___ + ### Injectable Re-exports [Injectable](decorators_injectable_decorator.md#injectable) @@ -106,6 +114,12 @@ Re-exports [MEDUSA_RESOLVER_KEYS](contants.md#medusa_resolver_keys) ___ +### MODULE\_KEY + +Re-exports [MODULE_KEY](contants.md#module_key) + +___ + ### Medusa Re-exports [Medusa](../classes/medusa.Medusa.md) @@ -215,4 +229,4 @@ Renames and re-exports [customEventEmitter](event_emmiter.md#customeventemitter) #### Defined in -[src/index.ts:12](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/index.ts#L12) +[src/index.ts:20](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/index.ts#L20) diff --git a/docs/modules/loaders_api_loader.md b/docs/modules/loaders_api_loader.md index 9ee26cf5..032266a3 100644 --- a/docs/modules/loaders_api_loader.md +++ b/docs/modules/loaders_api_loader.md @@ -30,4 +30,4 @@ Decorate the original api loader to apply our custom middleware first. #### Defined in -[src/loaders/api.loader.ts:12](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/api.loader.ts#L12) +[src/loaders/api.loader.ts:12](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/api.loader.ts#L12) diff --git a/docs/modules/loaders_database_loader.md b/docs/modules/loaders_database_loader.md index 12f66176..ec6598e7 100644 --- a/docs/modules/loaders_database_loader.md +++ b/docs/modules/loaders_database_loader.md @@ -27,4 +27,4 @@ #### Defined in -[src/loaders/database.loader.ts:5](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/database.loader.ts#L5) +[src/loaders/database.loader.ts:5](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/database.loader.ts#L5) diff --git a/docs/modules/loaders_entities_loader.md b/docs/modules/loaders_entities_loader.md index bced7268..741a4f79 100644 --- a/docs/modules/loaders_entities_loader.md +++ b/docs/modules/loaders_entities_loader.md @@ -30,7 +30,7 @@ #### Defined in -[src/loaders/entities.loader.ts:6](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/entities.loader.ts#L6) +[src/loaders/entities.loader.ts:5](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/entities.loader.ts#L5) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/loaders/entities.loader.ts:17](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/entities.loader.ts#L17) +[src/loaders/entities.loader.ts:16](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/entities.loader.ts#L16) ___ @@ -73,7 +73,7 @@ Load custom entity and override existing ones. #### Defined in -[src/loaders/entities.loader.ts:51](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/entities.loader.ts#L51) +[src/loaders/entities.loader.ts:50](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/entities.loader.ts#L50) ___ @@ -97,4 +97,4 @@ Load custom entity into the container. #### Defined in -[src/loaders/entities.loader.ts:31](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/entities.loader.ts#L31) +[src/loaders/entities.loader.ts:30](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/entities.loader.ts#L30) diff --git a/docs/modules/loaders_middlewares_loader.md b/docs/modules/loaders_middlewares_loader.md index f69d1177..4586b700 100644 --- a/docs/modules/loaders_middlewares_loader.md +++ b/docs/modules/loaders_middlewares_loader.md @@ -31,4 +31,4 @@ Register custom middlewares into the middlewareRegistery. #### Defined in -[src/loaders/middlewares.loader.ts:13](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/middlewares.loader.ts#L13) +[src/loaders/middlewares.loader.ts:13](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/middlewares.loader.ts#L13) diff --git a/docs/modules/loaders_migrations_loader.md b/docs/modules/loaders_migrations_loader.md index 7943f87d..ec327035 100644 --- a/docs/modules/loaders_migrations_loader.md +++ b/docs/modules/loaders_migrations_loader.md @@ -30,4 +30,4 @@ Run custom migrations that are find from the provided directory and stored in a #### Defined in -[src/loaders/migrations.loader.ts:10](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/migrations.loader.ts#L10) +[src/loaders/migrations.loader.ts:10](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/migrations.loader.ts#L10) diff --git a/docs/modules/loaders_plugins_loader.md b/docs/modules/loaders_plugins_loader.md index 0402c2ff..1e33ff91 100644 --- a/docs/modules/loaders_plugins_loader.md +++ b/docs/modules/loaders_plugins_loader.md @@ -29,4 +29,4 @@ Register all listeners before the plugins are loaded to be sure that the scope m #### Defined in -[src/loaders/plugins.loader.ts:11](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/plugins.loader.ts#L11) +[src/loaders/plugins.loader.ts:11](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/plugins.loader.ts#L11) diff --git a/docs/modules/loaders_repository_loader.md b/docs/modules/loaders_repository_loader.md index 4123fb51..50452ad4 100644 --- a/docs/modules/loaders_repository_loader.md +++ b/docs/modules/loaders_repository_loader.md @@ -29,7 +29,7 @@ #### Defined in -[src/loaders/repository.loader.ts:17](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/repository.loader.ts#L17) +[src/loaders/repository.loader.ts:16](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/repository.loader.ts#L16) ___ @@ -52,7 +52,7 @@ Load custom repositories and override existing ones. #### Defined in -[src/loaders/repository.loader.ts:50](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/repository.loader.ts#L50) +[src/loaders/repository.loader.ts:49](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/repository.loader.ts#L49) ___ @@ -76,7 +76,7 @@ Load custom repository into the container. #### Defined in -[src/loaders/repository.loader.ts:31](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/repository.loader.ts#L31) +[src/loaders/repository.loader.ts:30](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/repository.loader.ts#L30) ___ @@ -97,4 +97,4 @@ ___ #### Defined in -[src/loaders/repository.loader.ts:6](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/repository.loader.ts#L6) +[src/loaders/repository.loader.ts:5](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/repository.loader.ts#L5) diff --git a/docs/modules/loaders_routes_loader.md b/docs/modules/loaders_routes_loader.md index 2537dc68..78b976bd 100644 --- a/docs/modules/loaders_routes_loader.md +++ b/docs/modules/loaders_routes_loader.md @@ -28,7 +28,7 @@ #### Defined in -[src/loaders/routes.loader.ts:4](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/routes.loader.ts#L4) +[src/loaders/routes.loader.ts:4](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/routes.loader.ts#L4) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/loaders/routes.loader.ts:12](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/routes.loader.ts#L12) +[src/loaders/routes.loader.ts:12](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/routes.loader.ts#L12) diff --git a/docs/modules/loaders_services_loader.md b/docs/modules/loaders_services_loader.md index 63b1e753..5413193c 100644 --- a/docs/modules/loaders_services_loader.md +++ b/docs/modules/loaders_services_loader.md @@ -33,7 +33,7 @@ Load custom service and override existing ones. #### Defined in -[src/loaders/services.loader.ts:57](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/services.loader.ts#L57) +[src/loaders/services.loader.ts:56](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/services.loader.ts#L56) ___ @@ -58,7 +58,7 @@ Load custom service into the container. #### Defined in -[src/loaders/services.loader.ts:32](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/services.loader.ts#L32) +[src/loaders/services.loader.ts:31](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/services.loader.ts#L31) ___ @@ -81,4 +81,4 @@ Load custom services from the rootDir. #### Defined in -[src/loaders/services.loader.ts:10](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/loaders/services.loader.ts#L10) +[src/loaders/services.loader.ts:9](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/loaders/services.loader.ts#L9) diff --git a/docs/modules/modules_metadata_reader.md b/docs/modules/modules_metadata_reader.md index b906872e..b21b214b 100644 --- a/docs/modules/modules_metadata_reader.md +++ b/docs/modules/modules_metadata_reader.md @@ -40,7 +40,7 @@ Return the options from components. #### Defined in -[src/modules-metadata-reader.ts:43](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/modules-metadata-reader.ts#L43) +[src/modules-metadata-reader.ts:43](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/modules-metadata-reader.ts#L43) ___ @@ -62,4 +62,4 @@ Read all metadata from the imported modules and extract components that will be #### Defined in -[src/modules-metadata-reader.ts:15](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/modules-metadata-reader.ts#L15) +[src/modules-metadata-reader.ts:15](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/modules-metadata-reader.ts#L15) diff --git a/docs/modules/types.md b/docs/modules/types.md index df0e70ff..f822a281 100644 --- a/docs/modules/types.md +++ b/docs/modules/types.md @@ -51,7 +51,7 @@ Defines the injection options for services, entities. #### Defined in -[src/types.ts:18](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L18) +[src/types.ts:18](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L18) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[src/types.ts:8](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L8) +[src/types.ts:8](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L8) ___ @@ -95,7 +95,7 @@ Determine which options type it actually is depending on the component type. #### Defined in -[src/types.ts:75](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L75) +[src/types.ts:75](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L75) ___ @@ -113,7 +113,7 @@ Determine which options type it actually is depending on the component type. #### Defined in -[src/types.ts:91](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L91) +[src/types.ts:91](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L91) ___ @@ -125,7 +125,7 @@ Components that does not required any other options that Type. #### Defined in -[src/types.ts:13](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L13) +[src/types.ts:13](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L13) ___ @@ -143,7 +143,7 @@ Union of all options type possible for injectable. #### Defined in -[src/types.ts:65](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L65) +[src/types.ts:65](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L65) ___ @@ -155,7 +155,7 @@ Describe the expected request from a middleware [MedusaMiddleware](../interfaces #### Defined in -[src/types.ts:104](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L104) +[src/types.ts:104](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L104) ___ @@ -174,7 +174,7 @@ Medusa request extended. #### Defined in -[src/types.ts:97](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L97) +[src/types.ts:97](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L97) ___ @@ -184,7 +184,7 @@ ___ #### Defined in -[src/types.ts:111](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L111) +[src/types.ts:111](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L111) ___ @@ -203,7 +203,7 @@ Describe all the available options for the Route [MedusaMiddleware](../interface #### Defined in -[src/types.ts:116](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L116) +[src/types.ts:116](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L116) ___ @@ -223,7 +223,7 @@ Defines the injection options for middlewares. #### Defined in -[src/types.ts:56](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L56) +[src/types.ts:56](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L56) ___ @@ -241,7 +241,7 @@ Defines the injection options for migrations. #### Defined in -[src/types.ts:38](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L38) +[src/types.ts:38](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L38) ___ @@ -268,7 +268,7 @@ Defines the injection options for services, entities, repositories. #### Defined in -[src/types.ts:28](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L28) +[src/types.ts:28](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L28) ___ @@ -290,4 +290,4 @@ Defines the injection options for routes. #### Defined in -[src/types.ts:45](https://github.com/adrien2p/medusa-extender/blob/bedfabe/src/types.ts#L45) +[src/types.ts:45](https://github.com/adrien2p/medusa-extender/blob/15c1462/src/types.ts#L45)