feat(*): Modules export entities and fields (#5242)
This commit is contained in:
@@ -133,6 +133,10 @@ export type ModuleJoinerConfig = Omit<
|
||||
JoinerServiceConfig,
|
||||
"serviceName" | "primaryKeys" | "relationships" | "extends"
|
||||
> & {
|
||||
/**
|
||||
* GraphQL schema for the all module's available entities and fields
|
||||
*/
|
||||
schema?: string
|
||||
relationships?: ModuleJoinerRelationship[]
|
||||
extends?: {
|
||||
serviceName: string
|
||||
@@ -153,9 +157,9 @@ export type ModuleJoinerConfig = Omit<
|
||||
*/
|
||||
isLink?: boolean
|
||||
/**
|
||||
* Keys that can be used to link to other modules
|
||||
* Keys that can be used to link to other modules. e.g { product_id: "Product" } "Product" being the entity it refers to
|
||||
*/
|
||||
linkableKeys?: string[]
|
||||
linkableKeys?: Record<string, string>
|
||||
/**
|
||||
* If true it expands a RemoteQuery property but doesn't create a pivot table
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user