new EntitySchemaWeaver():
EntitySchemaWeaver
static
createWeaver<TSchemaIO
>(toSilk
,creatorOptions
):CallableEntitySchemaWeaver
<TSchemaIO
>
• TSchemaIO extends AbstractSchemaIO
• toSilk
• creatorOptions: EntitySchemaWeaverOptions
= {}
CallableEntitySchemaWeaver
<TSchemaIO
>
packages/mikro-orm/src/entity-schema.ts:201
static
getGraphQLScalarType(gqlType
):"string"
|"bigint"
|"boolean"
|"integer"
|"tinyint"
|"smallint"
|"mediumint"
|"double"
|"decimal"
|"float"
|"datetime"
|"time"
|"date"
|"interval"
|"uuid"
|"text"
|"enum"
|"blob"
|"json"
|AnyString
|"uint8array"
|"array"
|"enumArray"
|"unknown"
• gqlType: GraphQLScalarType
<any
, any
>
"string"
| "bigint"
| "boolean"
| "integer"
| "tinyint"
| "smallint"
| "mediumint"
| "double"
| "decimal"
| "float"
| "datetime"
| "time"
| "date"
| "interval"
| "uuid"
| "text"
| "enum"
| "blob"
| "json"
| AnyString
| "uint8array"
| "array"
| "enumArray"
| "unknown"
packages/mikro-orm/src/entity-schema.ts:182
static
getPropertyType(wrappedType
,field
,options
?):object
&PropertyOptions
<any
>
• wrappedType: GraphQLOutputType
• field: GraphQLField
<any
, any
, any
>
• options?: EntitySchemaWeaverOptions
object
& PropertyOptions
<any
>
packages/mikro-orm/src/entity-schema.ts:126
static
toProperties(gqlType
,options
?):Record
<string
,EntitySchemaProperty
<any
,any
>>
• gqlType: GraphQLObjectType
<any
, any
>
• options?: EntitySchemaWeaverOptions
Record
<string
, EntitySchemaProperty
<any
, any
>>
packages/mikro-orm/src/entity-schema.ts:101
static
weave(silk
,relations
?,options
?):any
• silk: GraphQLSilk
<any
, any
>
• relations?: Record
<string
, RelationProperty
<any
, object
>>
• options?: Partial<EntitySchemaMetadata<any>> & EntitySchemaWeaverOptions
any
packages/mikro-orm/src/entity-schema.ts:50