chore: small tsdoc changes for remoteLink and remoteQueryConfig (#10837)
This commit is contained in:
@@ -111,6 +111,8 @@ export interface MedusaRequest<
|
||||
|
||||
/**
|
||||
* An object containing fields and variables to be used with the remoteQuery
|
||||
*
|
||||
* @version 2.1.4
|
||||
*/
|
||||
queryConfig: {
|
||||
fields: string[]
|
||||
@@ -118,7 +120,7 @@ export interface MedusaRequest<
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated. Instead use "req.queryConfig"
|
||||
* @deprecated Use {@link queryConfig} instead.
|
||||
*/
|
||||
remoteQueryConfig: MedusaRequest["queryConfig"]
|
||||
|
||||
|
||||
@@ -36,9 +36,12 @@ import { AwilixContainer, ResolveOptions } from "awilix"
|
||||
declare module "@medusajs/types" {
|
||||
export interface ModuleImplementations {
|
||||
/**
|
||||
* @deprecated. Instead use "link"
|
||||
* @deprecated use {@link ContainerRegistrationKeys.LINK} instead.
|
||||
*/
|
||||
[ContainerRegistrationKeys.REMOTE_LINK]: Link
|
||||
/**
|
||||
* @version 2.1.4
|
||||
*/
|
||||
[ContainerRegistrationKeys.LINK]: Link
|
||||
[ContainerRegistrationKeys.CONFIG_MODULE]: ConfigModule
|
||||
[ContainerRegistrationKeys.PG_CONNECTION]: Knex<any>
|
||||
|
||||
Reference in New Issue
Block a user